Modelling/Humans: Difference between revisions

From MetaBase
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Modelling navigation}}
{{Modelling navigation}}
We only create items about {{Q|Q23}} when these are needed to describe authorship/speaker/event or project responsibility. And only when this information is already publicly available, any affiliation would also need to have been publicly communicated. Since the main affiliation might not always apply, it can be superseded by a qualifier on an item-by-item basis.
We only create items about {{Q|Q23}} when these are needed to describe authorship/speaker/event or project responsibility. And only when this information is already publicly available, any affiliation would also need to have been publicly communicated. Since the main affiliation might not always apply, it can be superseded by a qualifier on an item-by-item basis. Can also have {{P|P6}}, {{P|P7}} qualifiers if later affiliations are relevant for linked data.


'''ONLY''' the following properties are ever allowed on a human. This is to minimize the personal data that is stored.
'''ONLY''' the following properties are ever allowed on a human. This is to minimize the personal data that is stored.

Revision as of 13:15, 24 October 2023


We only create items about human (Q23) when these are needed to describe authorship/speaker/event or project responsibility. And only when this information is already publicly available, any affiliation would also need to have been publicly communicated. Since the main affiliation might not always apply, it can be superseded by a qualifier on an item-by-item basis. Can also have start time (P6), end time (P7) qualifiers if later affiliations are relevant for linked data.

ONLY the following properties are ever allowed on a human. This is to minimize the personal data that is stored.

Examples: Tore Danielsson (Q64), John Andersson (Q63)

Required Property Example value Notes
REQUIRED instance of (P5) human (Q23)
IF EXISTS sameAs on Wikidata (P1) Q68773375
ONLY if no sameAs on Wikidata (P1) affiliation (P34) Wikimedia Sverige (Q9) Should be the main affiliation of the person. Can be overridden on a case-by-case basis with a qualifier if needed.

Query to find all humans:

PREFIX wb: <https://metabase.wikibase.cloud/entity/>
PREFIX wbt: <https://metabase.wikibase.cloud/prop/direct/>

SELECT ?item ?itemLabelEN ?itemLabelSV ?wikidata_iri
WHERE
{
?item wbt:P5 wb:Q23 .
OPTIONAL {?item wbt:P1 ?wikidataQ}
OPTIONAL {?item rdfs:label ?itemLabelEN filter (lang(?itemLabelEN) = "en")}.
OPTIONAL {?item rdfs:label ?itemLabelSV filter (lang(?itemLabelSV) = "sv")}.
BIND(URI(concat("http://www.wikidata.org/entity/", ?wikidataQ)) AS ?wikidata_iri)
}
ORDER BY ?itemLabelEN

Try it!