query-68f129c40cc704e884d21ef0921f43c0
Wikimedia users and their voice recording, if any SELECT ?user ?userLabel ?Wikimedia_user_name ?userVoice WHERE { ?user wdt:P4174 ?Wikimedia_user_name. OPTIONAL { ?user wdt:P990 ?userVoice. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Wikimedia users and their voice recording, if any
SELECT ?user ?userLabel ?Wikimedia_user_name ?userVoice WHERE
{
?user wdt:P4174 ?Wikimedia_user_name.
OPTIONAL { ?user wdt:P990 ?userVoice. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?Wikimedia_user_name"):::projected
v1("?user"):::projected
v3("?userVoice"):::projected
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P4174"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P990".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end