Help

Difference between revisions of "SPARQL/test"

< Help:SPARQL

Line 26: Line 26:
  
 
== Commons ==
 
== Commons ==
 +
To run on WCQS.<ref name="WCQS">https://w.wiki/6UVR</ref>
 
{| style="width:100%"  
 
{| style="width:100%"  
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
Line 49: Line 50:
 
</query>
 
</query>
 
|}
 
|}
 +
 +
== References ==
 +
<references />

Revision as of 10:05, 22 March 2023

✅ Languages → List of Sign languages on wikidata

To run on WDQS.[1]

#defaultEndpoint:Wikidata
SELECT DISTINCT ?item ?itemLabel
WHERE {
  ?item p:P31 ?statement0.
  ?statement0 (ps:P31/(wdt:P279*)) wd:Q34228.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}
... Loading ...

Commons

To run on WCQS.[2]

#defaultEndpoint:Commons
SELECT ?item
WHERE { 
  ?item wdt:P31 wd:Q108167708 . # Filter: P31 'instance of' Q108167708 'record'
  ?item wdt:P407 wd:Q1860 .     # Filter: P407 'language' is Q1860 'English'
  ?item wdt:P9533 "apple"@en.   # Filter: P9533 'transcription' is "apple"
}
... Loading ...

References