query-e0ecf0e810a07cf6fd30ecddfb7a7717
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?article ?title
WHERE
{
?item wdt:P31 wd:Q5 . # Humans
?item wdt:P21 wd:Q6581072 . # Female
VALUES ?Maria { wd:Q325872 wd:Q25413386 wd:Q26904997 } # female, male, or family name is Maria
?item wdt:P735 | wdt:P734 ?Maria .
?article schema:about ?item .
?article schema:isPartOf <https://de.wikipedia.org/> .
?article schema:name ?title .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?Maria")
v3("?article"):::projected
v1("?item"):::projected
v4("?title"):::projected
c9([https://de.wikipedia.org/]):::iri
c2(["wd:Q5"]):::iri
c4(["wd:Q6581072"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P21"--> c4
bind0[/VALUES ?Maria/]
bind0-->v2
bind00(["wd:Q325872"])
bind00 --> bind0
bind01(["wd:Q25413386"])
bind01 --> bind0
bind02(["wd:Q26904997"])
bind02 --> bind0
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P734"--> v2
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P735"--> v2
end
union0r <== or ==> union0l
end
v3 --"schema:about"--> v1
v3 --"schema:isPartOf"--> c9
v3 --"schema:name"--> v4