query-a607c12743eaff48edf111bcd6f56d48
TODO
Use at
- https://query.wikidata.org/sparql
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 ?television_programLabel ?hashtag_Twitter ?diffuseur_originalLabel ?site_officiel ?blog_officiel ?page_Facebook_officielle WHERE {
?television_program wdt:P495 wd:Q142.
?television_program wdt:P31/wdt:P279* wd:Q15416.
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
OPTIONAL { ?television_program wdt:P495 ?pays_d_origine. }
OPTIONAL { ?television_program wdt:P2572 ?hashtag_Twitter. }
OPTIONAL { ?television_program wdt:P449 ?diffuseur_original. }
OPTIONAL { ?television_program wdt:P2561 ?titre. }
OPTIONAL { ?television_program wdt:P856 ?site_officiel. }
OPTIONAL { ?television_program wdt:P1581 ?blog_officiel. }
OPTIONAL { ?television_program wdt:P4003 ?page_Facebook_officielle. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v7("?blog_officiel"):::projected
v4("?diffuseur_original")
v3("?hashtag_Twitter"):::projected
v8("?page_Facebook_officielle"):::projected
v2("?pays_d_origine")
v6("?site_officiel"):::projected
v1("?television_program")
v5("?titre")
a1((" "))
c9(["fr"]):::literal
c5(["wd:Q15416"]):::iri
c7(["bd:serviceParam"]):::iri
c2(["wd:Q142"]):::iri
v1 --"wdt:P495"--> c2
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P495".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P2572".-> v3
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P449".-> v4
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P2561".-> v5
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P856".-> v6
end
subgraph optional5["(optional)"]
style optional5 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P1581".-> v7
end
subgraph optional6["(optional)"]
style optional6 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P4003".-> v8
end