query-0e988b228f0c692f68512e8d680307d3
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?id ?idLabel ?audioFile ?audioLangLabel ?speakerLabel
WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
?id p:P443 ?audioStatement .
?audioStatement ps:P443 ?audioFile.
FILTER(CONTAINS(STR(?audioFile), "LL-Q117707514")) # occitan whistled -Q117707514
# ?id wdt:P625 ?coord . # geocoordinates
?audioStatement pq:P407 ?audioLang.
?audioStatement pq:P10894 ?speaker.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?audioFile"):::projected
v4("?audioLang")
v3("?audioStatement")
v2("?id"):::projected
v5("?speaker")
c3(["bd:serviceParam"]):::iri
c5(["en"]):::literal
f0[["contains(str(?audioFile),'LL-Q117707514')"]]
f0 --> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
v2 --"p:P443"--> v3
v3 --"p:statement/P443"--> v1
v3 --"p:qualifier/P407"--> v4
v3 --"p:qualifier/P10894"--> v5