205,551
edits
Superraptor (talk | contribs) No edit summary |
Superraptor (talk | contribs) |
||
Line 112: | Line 112: | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # Helps get the label in your language, if not, then en (English) language | SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # Helps get the label in your language, if not, then en (English) language | ||
} | } | ||
</sparql> | |||
==== Instances of English-language pronoun sets with different forms ==== | |||
This query returns all instances of English-language pronoun sets with the assorted pronoun forms (subject, object, dependent possessive, independent possessive, and reflexive forms). It uses the service wikibase:label to return the labels in your default language or in English. | |||
<sparql tryit="1">PREFIX wd: <https://lgbtdb.wikibase.cloud/entity/> | |||
PREFIX wdt: <https://lgbtdb.wikibase.cloud/prop/direct/> | |||
SELECT ?pronounSetLabel ?subjectLabel ?objectLabel ?dependentPossessiveLabel ?independentPossessiveLabel ?reflexiveLabel | |||
WHERE | |||
{ | |||
?pronounSet wdt:P1 wd:Q2524 . | |||
?pronounSet wdt:P216 ?subject . | |||
?subject ontolex:representation ?subjectLabel . | |||
?pronounSet wdt:P217 ?object . | |||
?object ontolex:representation ?objectLabel . | |||
?pronounSet wdt:P218 ?dependentPossessive . | |||
?dependentPossessive ontolex:representation ?dependentPossessiveLabel . | |||
?pronounSet wdt:P219 ?independentPossessive . | |||
?independentPossessive ontolex:representation ?independentPossessiveLabel . | |||
?pronounSet wdt:P220 ?reflexive . | |||
?reflexive ontolex:representation ?reflexiveLabel . | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # Helps get the label in your language, if not, then en (English) language | |||
} | |||
ORDER BY ?pronounSetLabel | |||
</sparql> | </sparql> | ||