Editing QAWiki:Guide/Mentions

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 63: Line 63:
* '''Direct property''' ([[Property:P18|P18 (''Wikidata property ID'')]]) Use this when the property is a direct match for the phrase of the mention; for example, in the question "[[Item:Q82|''What is the population of Chile?'']]", the phrase "''population''" can be directly linked via to the Wikidata property [https://www.wikidata.org/wiki/Property:P1082 P1082 (population)] on Wikidata.
* '''Direct property''' ([[Property:P18|P18 (''Wikidata property ID'')]]) Use this when the property is a direct match for the phrase of the mention; for example, in the question "[[Item:Q82|''What is the population of Chile?'']]", the phrase "''population''" can be directly linked via to the Wikidata property [https://www.wikidata.org/wiki/Property:P1082 P1082 (population)] on Wikidata.


* '''Inverse property''' ([[Property:P45|P45 (''Wikidata inverse property ID'')]]) Use this when the property is an inverse match for the phrase of the mention; for example, in the question "[[Item:Q388|''Who discovered Pluto?'']]", the phrase "''discovered''" can be inversely linked to the Wikidata property [https://www.wikidata.org/wiki/Property:P61 P61 (''discoverer or inventor'')], noting that subject and object are flipped (''Clyde Tombaugh '''discovered''' Pluto'', vs. ''Pluto has '''discoverer''' Tombaugh''). <!-- SELECT ?q ?qLabel ?m ?vIri WHERE { ?q wdt:P1 wd:Q1 . ?q p:P38 ?o . ?o ps:P38 ?m . ?o pq:P45 ?v . BIND(IRI(CONCAT("http://www.wikidata.org/prop/",?v)) AS ?vIri) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } -->
* '''Inverse property''' ([[Property:P45|P45 (''Wikidata inverse property ID'')]]) Use this when the property is an inverse match for the phrase of the mention; for example, in the question "[[Item:Q388|''Who discovered Pluto?'']]", the phrase "''discovered''" can be inversely linked to the Wikidata property [https://www.wikidata.org/wiki/Property:P61 P61 (''discoverer or inventor'')], noting that subject and object are flipped (''Clyde Tombaugh '''discovered''' Pluto'', vs. ''Pluto has '''discoverer''' Tombaugh''). [See [https://tinyurl.com/2nanty97 other examples]]<!-- SELECT ?q ?qLabel ?m ?vIri WHERE { ?q wdt:P1 wd:Q1 . ?q p:P38 ?o . ?o ps:P38 ?m . ?o pq:P45 ?v . BIND(IRI(CONCAT("http://www.wikidata.org/prop/",?v)) AS ?vIri) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } -->


* '''Super property''' ([[Property:P58|P58 (''Wikidata super property ID'')]]) Use this when the property is a more general match for the phrase of the mention (and there is no better match); for example, in the question "[[Item:Q230|''Who is the prime minister of South Korea?'']]", we can use this qualifier to link the phrase "''prime minister''" with the more general Wikidata property [https://www.wikidata.org/wiki/Property:P6 P6 (''head of government'')] since there is no specific property for "''prime minister''". (There also exists a qualifier for the sub-property variant: [[Property:P59|P59 (''Wikidata sub property ID'')]].) <!-- SELECT ?q ?qLabel ?m ?vIri WHERE { ?q wdt:P1 wd:Q1 . ?q p:P38 ?o . ?o ps:P38 ?m . ?o pq:P58 ?v . BIND(IRI(CONCAT("http://www.wikidata.org/prop/",?v)) AS ?vIri) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } -->
* '''Super property''' ([[Property:P58|P58 (''Wikidata super property ID'')]]) Use this when the property is a more general match for the phrase of the mention (and there is no better match); for example, in the question "[[Item:Q230|''Who is the prime minister of South Korea?'']]", we can use this qualifier to link the phrase ''prime minister'' with the more general Wikidata property ]https://www.wikidata.org/wiki/Property:P6 P6 (''head of government'')] since there is no specific property for ''prime minister''. (There also exists a qualifier for the sub-property variant: [[Property:P59|P59 (''Wikidata sub property ID'')]].) <!-- SELECT ?q ?qLabel ?m ?vIri WHERE { ?q wdt:P1 wd:Q1 . ?q p:P38 ?o . ?o ps:P38 ?m . ?o pq:P58 ?v . BIND(IRI(CONCAT("http://www.wikidata.org/prop/",?v)) AS ?vIri) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } -->


* '''Implicit property''' ([[Property:P50|P50 (''value for Wikidata property ID'')]]) Use this to annotate an entity mention whose linking property is not explicitly mentioned in the question text; for example, in the question "[[Item:Q371|''Which mathematician has the most followers on Twitter?'']]", the entity mention for "''mathematician''" can be annotated using this qualifier with the Wikidata property [https://www.wikidata.org/wiki/Property:P1687 P1687 (''occupation'')] (since the question does not mention "''occupation''" anywhere, and thus an explicit property mention is not applicable). As another example, for the question "[[Item:Q183|''Which Chilean companies have U.S. parent companies?'']]", the mention "''Chilean''" can be annotated with this qualifier to link it to the Wikidata property [https://www.wikidata.org/wiki/Property:P17 P17 (''country'')]. Another common usage is for gender, where in the question "[[Item:Q333|''Who is the richest woman in Germany'']]", the phrase "''woman''" has value [https://www.wikidata.org/wiki/Q6581072 Q6581072 (''female'')] for Wikidata property [https://www.wikidata.org/wiki/Property:P21 P21 (''sex or gender'')]).
* '''Implicit property''' ([[Property:P50|P50 (''value for Wikidata property ID'')]]) Use this to annotate an entity mention whose linking property is not explicitly mentioned in the question text; for example, in the question "[[Item:Q371|''Which mathematician has the most followers on Twitter?'']]", the entity mention for "''mathematician''" can be annotated using this qualifier with the Wikidata property [https://www.wikidata.org/wiki/Property:P1687 P1687 (''occupation'')] (since the question does not mention "''occupation''" anywhere, and thus an explicit property mention is not applicable). As another example, for the question "[[Item:Q183|''Which Chilean companies have U.S. parent companies?'']]", the mention "''Chilean''" can be annotated with this qualifier to link it to the Wikidata property [https://www.wikidata.org/wiki/Property:P17 P17 (''country'')]. Another common usage is for gender, where in the question "[[Item:Q333|''Who is the richest woman in Germany'']]", the phrase "''woman''" has value [https://www.wikidata.org/wiki/Q6581072 Q6581072 (''female'')] for Wikidata property [https://www.wikidata.org/wiki/Property:P21 P21 (''sex or gender'')]).
Line 72: Line 72:
* '''Superlatives of properties''' ([[Property:P48|P48 (''maximum value of Wikidata property ID'')]]/[[Property:P49|P49 ''minimum value of Wikidata property ID'')]] Use this to indicate that a phrase refers to a superlative of a property. For example, in the question "[[Item:Q330|''What is the heaviest Pokémon?'']]", the phrase "''heaviest''" can be linked to the Wikidata property [https://www.wikidata.org/wiki/Property:P2067 P2067 (''mass'')] using the former (maximum value) qualifier. On the other hand, in the question "[[Item:Q152|''Is Michael Jackson the oldest child?'']], the phrase "''oldest''" can be linked to the Wikidata property [https://www.wikidata.org/wiki/Property:P569 P569 (''date of birth'')] using the latter (minimum value) qualifier. <!-- SELECT ?q ?qLabel ?m ?vIri WHERE { ?q wdt:P1 wd:Q1 . ?q p:P38 ?o . ?o ps:P38 ?m . ?o pq:P49 ?v . BIND(IRI(CONCAT("http://www.wikidata.org/prop/",?v)) AS ?vIri) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } -->
* '''Superlatives of properties''' ([[Property:P48|P48 (''maximum value of Wikidata property ID'')]]/[[Property:P49|P49 ''minimum value of Wikidata property ID'')]] Use this to indicate that a phrase refers to a superlative of a property. For example, in the question "[[Item:Q330|''What is the heaviest Pokémon?'']]", the phrase "''heaviest''" can be linked to the Wikidata property [https://www.wikidata.org/wiki/Property:P2067 P2067 (''mass'')] using the former (maximum value) qualifier. On the other hand, in the question "[[Item:Q152|''Is Michael Jackson the oldest child?'']], the phrase "''oldest''" can be linked to the Wikidata property [https://www.wikidata.org/wiki/Property:P569 P569 (''date of birth'')] using the latter (minimum value) qualifier. <!-- SELECT ?q ?qLabel ?m ?vIri WHERE { ?q wdt:P1 wd:Q1 . ?q p:P38 ?o . ?o ps:P38 ?m . ?o pq:P49 ?v . BIND(IRI(CONCAT("http://www.wikidata.org/prop/",?v)) AS ?vIri) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } -->


* '''Existence/non-existence of values for properties''' ([[Property:P51|P51 (''exists value for Wikidata property ID'')]]/[[Property:P53|P53 (''not exists value for Wikidata property ID'')]]) Use this to indicate that a phrase refers to the existence, or lack thereof respectively, of a value for a given Wikidata property. For example, in the question "[[Item:Q145|''Is Justin Bieber dead?'']]", we can use the former qualifier to indicate that "''dead''" refers to the existence of a value for [https://www.wikidata.org/wiki/Property:P570 P570 (''date of death'')] or [https://www.wikidata.org/wiki/Property:P20 P20 (''place of death'')] (given the incompleteness of Wikidata, if multiple such properties are indicated, the existence of a value for ''any'' such property suffices). On the other hand, in the question "[[Item:Q144|''Is Justin Bieber alive?'']], we can use the latter qualifier to indicate that "''alive''" refers to the non-existence of a value for [https://www.wikidata.org/wiki/Property:P570 P570 (''date of death'')] and [https://www.wikidata.org/wiki/Property:P20 P20 (''place of death'')] (given the incompleteness of Wikidata, if multiple such properties are indicated, the non-existence of a value for ''all'' such properties suffices). <!-- SELECT ?q ?qLabel ?m ?vIri WHERE { ?q wdt:P1 wd:Q1 . ?q p:P38 ?o . ?o ps:P38 ?m . ?o pq:P51 ?v . BIND(IRI(CONCAT("http://www.wikidata.org/prop/",?v)) AS ?vIri) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } --> There are also inverse versions of these qualifiers: [[Property:P55|P55 (''exists value for inverse Wikidata property ID'')]]/[[Property:P56|P56 (''not exists value for inverse  Wikidata property ID'')]].
* '''Existence/non-existence of values for properties''' ([[Property:P51|P51 (''exists value for Wikidata property ID'')]]/[[Property:P53|P53 (''not exists value for Wikidata property ID'')]]) Use this to indicate that a phrase refers to the existence, or lack thereof respectively, of a value for a given Wikidata property. For example, in the question "[[Item:Q145|''Is Justin Bieber dead?'']]", we can use the former qualifier to indicate that "''dead''" refers to the existence of a value for [https://www.wikidata.org/wiki/Property:P570 P570 (''date of death'')] or [https://www.wikidata.org/wiki/Property:P20 P20 (''place of death'')] (given the incompleteness of Wikidata, if multiple such properties are indicated, the existence of a value for ''any'' such property suffices). On the other hand, in the question "[[Item:Q144|''Is Justin Bieber alive?'']], we can use the latter qualifier to indicate that "''alive''" refers to the non-existence of a value for [https://www.wikidata.org/wiki/Property:P570 P570 (''date of death'')] or [https://www.wikidata.org/wiki/Property:P20 P20 (''place of death'')] (given the incompleteness of Wikidata, if multiple such properties are indicated, the non-existence of a value for ''all'' such properties suffices). <!-- SELECT ?q ?qLabel ?m ?vIri WHERE { ?q wdt:P1 wd:Q1 . ?q p:P38 ?o . ?o ps:P38 ?m . ?o pq:P51 ?v . BIND(IRI(CONCAT("http://www.wikidata.org/prop/",?v)) AS ?vIri) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } --> (There are also inverse versions of these qualifiers: [[Property:P55|P55 (''exists value for inverse Wikidata property ID'')]]/[[Property:P56|P56 (''not exists value for inverse  Wikidata property ID'')]].)

Please note that all contributions to QAWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)