query-562472c52a99ed01fc9d3c471e5a4cee

rq turtle/ttl

Personne qui ont un ID SAPA dans Wikidata et qui ont une occupation "bizarre" (sport) SELECT DISTINCT ?item ?itemLabel (CONCAT("http://data.performing-arts.ch/",?idSAPA) AS ?SAPA) WHERE { ?item wdt:P8974 ?idSAPA; wdt:P106 ?occupation . ?occupation wdt:P279* wd:Q2066131. # occupation est un sous-classe de sport SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,de,fr,en". } # le label viendra de préférence dans votre langue, et autrement en italien, allemand, français, anglais }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Personne qui ont un ID SAPA dans Wikidata et qui ont une occupation "bizarre" (sport)
SELECT DISTINCT ?item ?itemLabel (CONCAT("http://data.performing-arts.ch/",?idSAPA) AS ?SAPA)
WHERE 
{
  ?item wdt:P8974 ?idSAPA;
        wdt:P106 ?occupation . 
  ?occupation wdt:P279* wd:Q2066131. # occupation est un sous-classe de sport
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,de,fr,en". } # le label viendra de préférence dans votre langue, et autrement en italien, allemand, français, anglais
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?SAPA") v2("?idSAPA"):::projected v1("?item"):::projected v3("?occupation") c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;,it,de,fr,en"]):::literal c4(["wd:Q2066131"]):::iri v1 --"wdt:P8974"--> v2 v1 --"wdt:P106"--> v3 v3 --"wdt:P279"--> c4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end bind0[/"concat('http://data.performing-arts.ch/',?idSAPA)"/] v2 --o bind0 bind0 --as--o v4