query-49924739dedbbe0d3651fe6baa55aa06
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 ?audio ?audioLabel ?audioFile ?audioLangLabel ?speakerLabel
WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
?id wdt:P443 ?audio.
FILTER(CONTAINS(STR(?audio), "LL-Q117707514")) # occitan whistled -Q117707514
# ?id wdt:P625 ?coord . # geocoordinates
OPTIONAL {
?id p:P443 ?audioStatement .
?audioStatement ps:P443 ?audioFile.
?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("?audio"):::projected
v4("?audioFile"):::projected
v5("?audioLang")
v3("?audioStatement")
v2("?id"):::projected
v6("?speaker")
c3(["bd:serviceParam"]):::iri
c5(["en"]):::literal
f0[["contains(str(?audio),'LL-Q117707514')"]]
f0 --> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
v2 --"p:direct/P443"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."p:P443".-> v3
v3 --"p:statement/P443"--> v4
v3 --"p:qualifier/P407"--> v5
v3 --"p:qualifier/P10894"--> v6
end