query-19cb4cafa4d070b7c280a93c28fc3a8f

rq turtle/ttl

Synia: Film

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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#>
PREFIX target: <http://www.wikidata.org/entity/Q87126473>

SELECT
  ?description ?descriptionLabel

  ?value ?valueLabel ?valueUrl ?valueDescription

  ?wikidata ?wikidataUrl
WHERE {
  {
    BIND(1 AS ?order)
    BIND(wd:Q82799 AS ?description)
    BIND(target: AS ?value)
    BIND("Wikidata&nbsp;↗" AS ?wikidata)
    BIND(CONCAT("https://www.wikidata.org/wiki/", SUBSTR(STR(?value), 32)) AS ?wikidataUrl)
  }
  UNION
  {
    BIND(2 AS ?order)
    BIND(wd:Q47223 AS ?description)
    target: wdt:P569 ?birthday_time .
    BIND(xsd:date(?birthday_time) AS ?value)
  }
  UNION
  {
    BIND(3 AS ?order)
    BIND(wd:Q2526255 AS ?description)
    target: wdt:P57 ?value .
    BIND("Wikidata&nbsp;↗" AS ?wikidata)
    BIND(CONCAT("https://www.wikidata.org/wiki/", SUBSTR(STR(?value), 32)) AS ?wikidataUrl)
  }
  UNION
  {
    BIND(10 AS ?order)
    BIND(wd:Q34770 AS ?description)
    target: wdt:P364 ?value .
    BIND("Wikidata&nbsp;↗" AS ?wikidata)
    BIND(CONCAT("https://www.wikidata.org/wiki/", SUBSTR(STR(?value), 32)) AS ?wikidataUrl)
  }  

  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} 
ORDER BY ?order

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v6("?birthday_time") v7("?description"):::projected v7("?order") v7("?value"):::projected v7("?wikidata"):::projected v7("?wikidataUrl"):::projected c6(["bd:serviceParam"]):::iri c1(["wd:Q87126473"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal 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; subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; bind0[/"'10^^xsd:integer'"/] bind0 --as--o v7 bind1[/"'wd:Q34770'"/] bind1 --as--o v7 c1 --"wdt:P364"--> v7 bind2[/"'Wikidata&nbsp;↗'"/] bind2 --as--o v7 bind3[/"concat('https://www.wikidata.org/wiki/',substring(str(?value),'32^^xsd:integer'))"/] v7 --o bind3 bind3 --as--o v7 end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; bind4[/"'3^^xsd:integer'"/] bind4 --as--o v7 bind5[/"'wd:Q2526255'"/] bind5 --as--o v7 c1 --"wdt:P57"--> v7 bind6[/"'Wikidata&nbsp;↗'"/] bind6 --as--o v7 bind7[/"concat('https://www.wikidata.org/wiki/',substring(str(?value),'32^^xsd:integer'))"/] v7 --o bind7 bind7 --as--o v7 end union2r <== or ==> union2l end end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; bind8[/"'2^^xsd:integer'"/] bind8 --as--o v7 bind9[/"'wd:Q47223'"/] bind9 --as--o v7 c1 --"wdt:P569"--> v6 bind10[/"http://www.w3.org/2001/XMLSchema#date(?birthday_time)"/] v6 --o bind10 bind10 --as--o v7 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; bind11[/"'1^^xsd:integer'"/] bind11 --as--o v7 bind12[/"'wd:Q82799'"/] bind12 --as--o v7 bind13[/"'wd:Q87126473'"/] bind13 --as--o v7 bind14[/"'Wikidata&nbsp;↗'"/] bind14 --as--o v7 bind15[/"concat('https://www.wikidata.org/wiki/',substring(str(?value),'32^^xsd:integer'))"/] v7 --o bind15 bind15 --as--o v7 end union0r <== or ==> union0l end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end