-
-
Save mwjames/0ee589bee74a647b89664403513d34bf to your computer and use it in GitHub Desktop.
Occupation (P106 query examples)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Data == | |
<pre> | |
{{#subobject: | |
|P106=Teacher | |
}}{{#subobject: | |
|P106=Actor | |
}} | |
</pre> | |
{{#subobject: | |
|P106=Teacher | |
}}<!-- -->{{#subobject: | |
|P106=Actor | |
}}{{#set: | |
|P106=Teacher | |
}}<!-- -->{{#set: | |
|P106=Actor | |
}} | |
== Queries == | |
<pre> | |
{{#ask: [[P106::+]] | |
|?P106 | |
}} | |
</pre> | |
{{#ask: [[P106::+]] | |
|?P106 | |
}} | |
{{#ask: [[P106::+]] | |
|?P106 | |
|limit=1 | |
}} | |
<pre> | |
{{#ask: [[P106::+]] | |
|?P106 | |
|limit=1 | |
|headers=plain | |
}} | |
</pre> | |
{{#ask: [[P106::+]] | |
|?P106 | |
|limit=1 | |
|headers=plain | |
}} | |
<pre> | |
{{#ask: [[P106::+]] | |
|?P106=with a different Label | |
|limit=1 | |
|headers=plain | |
}} | |
</pre> | |
{{#ask: [[P106::+]] | |
|?P106=with a different Label | |
|limit=1 | |
|headers=plain | |
}} | |
__SHOWFACTBOX__ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment