query-94ead09cc57345908cddc515aa5c047c
võib kirjutada ümber nii:
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 ?naine ?naineLabel
WHERE
{
BIND(wdt:P31 AS ?üksikjuhtNähtusest).
BIND(wd:Q5 AS ?inimene).
BIND(wdt:P21 AS ?sugu).
BIND(wd:Q6581072 AS ?naine).
BIND(wdt:P106 AS ?amet).
BIND(wd:Q42603 AS ?preester).
?naine ?üksikjuhtNähtusest ?inimene;
?sugu ?naine;
?amet ?preester.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?amet")
v2("?inimene")
v4("?naine"):::projected
v6("?preester")
v3("?sugu")
v1("?üksikjuhtNähtusest")
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;"]):::literal
bind0[/"'wdt:P31'"/]
bind0 --as--o v1
bind1[/"'wd:Q5'"/]
bind1 --as--o v2
bind2[/"'wdt:P21'"/]
bind2 --as--o v3
bind3[/"'wd:Q6581072'"/]
bind3 --as--o v4
bind4[/"'wdt:P106'"/]
bind4 --as--o v5
bind5[/"'wd:Q42603'"/]
bind5 --as--o v6
v4 -->v1--> v2
v4 -->v3--> v4
v4 -->v5--> v6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end