4,162
edits
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
===Modeling human roles=== | ===Modeling human roles=== | ||
The following properties are used to add humans to items: | The following properties are used to add humans to items: | ||
* {{P|P19}} – creator of a written work | * '''{{P|P19}}''' – creator of a written work | ||
** '''Example:''' {{Q|Q28}} : {{P|P19}} : {{Q|Q30}} | ** '''Example:''' {{Q|Q28}} : {{P|P19}} : {{Q|Q30}} | ||
* {{P|P33}} – person who holds a presentation or a speech | * '''{{P|P33}}''' – person who holds a presentation or a speech | ||
** '''Example:''' {{Q|Q68}} : {{P|P33}} : {{Q|Q46}} | ** '''Example:''' {{Q|Q68}} : {{P|P33}} : {{Q|Q46}} | ||
* {{P|P32}} – person who leads or coordinates an activity, such as a project or a workshop | * '''{{P|P32}}''' – person who leads or coordinates an activity, such as a project or a workshop | ||
** '''Example:''' {{Q|Q1}} : {{P|P32}} : {{Q|Q63}} | ** '''Example:''' {{Q|Q1}} : {{P|P32}} : {{Q|Q63}} | ||
** '''Example:''' {{Q|Q23073}} : {{P|P32}} : {{Q|Q22698}} | ** '''Example:''' {{Q|Q23073}} : {{P|P32}} : {{Q|Q22698}} | ||
==Properties used== | |||
'''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. | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 49: | Line 49: | ||
|- | |- | ||
|} | |} | ||
==SPARQL== | ==SPARQL== | ||
=== | ===All humans=== | ||
<SPARQL tryit="1"> | <SPARQL tryit="1"> | ||
PREFIX wb: <https://metabase.wikibase.cloud/entity/> | PREFIX wb: <https://metabase.wikibase.cloud/entity/> | ||
Line 66: | Line 67: | ||
ORDER BY ?itemLabelEN | ORDER BY ?itemLabelEN | ||
</SPARQL> | </SPARQL> | ||
=== | ===Count of all humans=== | ||
<SPARQL tryit="1"> | <SPARQL tryit="1"> | ||
PREFIX wb: <https://metabase.wikibase.cloud/entity/> | PREFIX wb: <https://metabase.wikibase.cloud/entity/> |