query-4bdd726f28a77579242fa37ba8ae5c16

rq turtle/ttl

TODO

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#>
SELECT DISTINCT ?iteme ?itemeLabel ?mouvementLabel
WHERE {
  VALUES ?target {wd:Q58805164 wd:Q60781646}
  ?iteme wdt:P31 wd:Q5.
  ?iteme wdt:P463|wdt:P135|wdt:P1344 ?target.
  ?iteme wdt:P463|wdt:P135|wdt:P1344 ?mouvement.      
  FILTER(BOUND(?mouvement)) 
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE], fr, en". }
} order by ?itemeLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?iteme"):::projected v1("?itemeLabel"):::projected v2("?mouvement") v3("?target") c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;, fr, en"]):::literal c2(["wd:Q5"]):::iri f0[["bound(?mouvement)"]] f0 --> v2 bind1[/VALUES ?target/] bind1-->v3 bind10(["wd:Q58805164"]) bind10 --> bind1 bind11(["wd:Q60781646"]) bind11 --> bind1 v4 --"wdt:P31"--> c2 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; v4 --"wdt:P1344"--> v3 end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v4 --"wdt:P135"--> v3 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v4 --"wdt:P463"--> v3 end union0r <== or ==> union0l end subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; subgraph union3[" Union "] subgraph union3l[" "] style union3l fill:#abf,stroke-dasharray: 3 3; v4 --"wdt:P1344"--> v2 end subgraph union3r[" "] style union3r fill:#abf,stroke-dasharray: 3 3; v4 --"wdt:P135"--> v2 end union3r <== or ==> union3l end end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; v4 --"wdt:P463"--> v2 end union2r <== or ==> union2l end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end