query-a643b1c8d7d49325c2778ad6f54690ae
Lmerice("this is a link " as ?TabakaleraURLLabel)
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#>
#defaultView:Map
#Fimmakers
SELECT DISTINCT ?filmmaker ?filmmakerLabel ?lugar ?coord ?birthdate ?year ?TabakaleraURL ("this is a link " as ?TabakaleraURLLabel)
WHERE
{
?filmmaker wdt:P31 wd:Q5 ;
wdt:P106 wd:Q2526255 ; #zinemagilea
wdt:P19 ?lugar ;
wdt:P1344 wd:Q9081343.
?lugar wdt:P625 ?coord.
OPTIONAL{ ?filmmaker wdt:P569 ?birthdate . } # P569 : Date de naissance
BIND(year(?birthdate) as ?year)
FILTER(?year > 1800)
?filmmaker wdt:P10069 ?tabakalera.
wd:P10069 wdt:P1630 ?formatterurl .
BIND(IRI(REPLACE(?tabakalera, '^(.+)$', ?formatterurl)) AS ?TabakaleraURL).
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;
v8("?TabakaleraURL"):::projected
v9("?TabakaleraURLLabel")
v5("?birthdate"):::projected
v4("?coord"):::projected
v2("?filmmaker"):::projected
v7("?formatterurl")
v3("?lugar"):::projected
v6("?tabakalera")
v6("?year"):::projected
c12(["wd:P10069"]):::iri
c15(["bd:serviceParam"]):::iri
c5(["wd:Q2526255"]):::iri
c3(["wd:Q5"]):::iri
c17(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c8(["wd:Q9081343"]):::iri
f0[["?year > '1800^^xsd:integer'"]]
f0 --> v6
v2 --"wdt:P31"--> c3
v2 --"wdt:P106"--> c5
v2 --"wdt:P19"--> v3
v2 --"wdt:P1344"--> c8
v3 --"wdt:P625"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P569".-> v5
end
bind1[/"year-from-dateTime(?birthdate)"/]
v5 --o bind1
bind1 --as--o v6
v2 --"wdt:P10069"--> v6
c12 --"wdt:P1630"--> v7
bind2[/"replace(?tabakalera,'^(.+)$',?formatterurl)"/]
v6 --o bind2
v7 --o bind2
bind2 --as--o v8
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c15 --"wikibase:language"--> c17
end
bind3[/"'this is a link '"/]
bind3 --as--o v9