Help

SPARQL

Revision as of 23:34, 3 December 2021 by Yug (talk | contribs)

Base

✅ Property Gender(Q7) → list all possible values

SELECT ?item ?itemLabel
WHERE {
  ?item prop:P2* entity:Q7
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
  } 
}


... Loading ...

✅ Query → list all speakers

select ?locutor ?locutorLabel
where {
  ?locutor prop:P2 entity:Q3 .
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
  } 
}


... Loading ...