query-a0aa25f5940b73ad8364f2a3d8beacdd
MarĂa in male compound names without series ordinal
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item
WHERE {
{ ?item wdt:P735 wd:Q18088640 . }
UNION { ?item wdt:P735 wd:Q56842555 . }
?item wdt:P21 wd:Q6581097 .
?item p:P735 ?statement .
FILTER NOT EXISTS { ?statement pq:P1545 ?ordinal . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v2("?ordinal")
v1("?statement")
c3(["wd:Q18088640"]):::iri
c6(["wd:Q6581097"]):::iri
c4(["wd:Q56842555"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:qualifier/P1545"--> e0v2
e0v2("?ordinal"):::projected
e0v1("?statement"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"p:qualifier/P1545"--> v2
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v3 --"p:direct/P735"--> c4
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v3 --"p:direct/P735"--> c3
end
union0r <== or ==> union0l
end
v3 --"p:direct/P21"--> c6
v3 --"p:P735"--> v1