query-6f6c73395b1838c5c159658b833d7904
Propertiesmain subject (P921)studied in (P2579)subclass of (P279)maintained by WikiProject (P6104)title (P1476)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT
DISTINCT
?item ?title
(REPLACE(STR(?item), ".*Q", "Q") AS ?qid)
("P6104" AS ?property)
("Q56241615" AS ?WikiProjectQID)
WHERE {
{ ?item wdt:P921 wd:Q42985020 .}
UNION
{ ?item wdt:P921 wd:Q105094378 .}
UNION
{ ?item wdt:P921 wd:Q113050263 .}
# UNION
# { ?item wdt:P921 [ wdt:P2579 wd:Q42985020 ].} # this is about things studied by invasion biology - use with caution
UNION
{ ?item wdt:P921 wd:Q446911 .}
UNION
{ ?item wdt:P921 [ wdt:P279* wd:Q446911 ].}
UNION
{ ?item wdt:P921 wd:Q446911 .}
UNION
{ ?item wdt:P921 wd:Q183368 .}
UNION
{ ?item wdt:P921 [ wdt:P279* wd:Q183368 ].}
UNION
{ ?item wdt:P921 wd:Q109467185 .}
UNION
{ ?item wdt:P921 wd:Q7250076 .}
UNION
{ ?item wdt:P921 wd:Q110758984 .}
UNION
{ ?item wdt:P921 wd:Q85759287 .}
UNION
{ ?item wdt:P921 wd:Q124217921 .}
UNION
{ ?item wdt:P921 wd:Q124217952 .}
MINUS {?item wdt:P6104 wd:Q56241615 }
MINUS {?item wdt:P921 wd:Q122674206 }
MINUS {?item wdt:P921 wd:Q122208643 }
?item wdt:P1476 ?title .
FILTER (!REGEX(LCASE(?title), "(minimally|strand(.)invasion)|immun|tissue"))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?WikiProjectQID")
v2("?item"):::projected
v4("?property")
v3("?qid")
v1("?title"):::projected
a1((" "))
a2((" "))
c3(["wd:Q42985020"]):::iri
c16(["wd:Q56241615"]):::iri
c8(["wd:Q183368"]):::iri
c6(["wd:Q446911"]):::iri
c9(["wd:Q109467185"]):::iri
c10(["wd:Q7250076"]):::iri
c14(["wd:Q124217952"]):::iri
c4(["wd:Q105094378"]):::iri
c12(["wd:Q85759287"]):::iri
c5(["wd:Q113050263"]):::iri
c17(["wd:Q122674206"]):::iri
c18(["wd:Q122208643"]):::iri
c11(["wd:Q110758984"]):::iri
c13(["wd:Q124217921"]):::iri
f0[["not regex(lower-case(?title),'(minimally|strand(.)invasion)|immun|tissue')"]]
f0 --> v1
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;
subgraph union3[" Union "]
subgraph union3l[" "]
style union3l fill:#abf,stroke-dasharray: 3 3;
subgraph union4[" Union "]
subgraph union4l[" "]
style union4l fill:#abf,stroke-dasharray: 3 3;
subgraph union5[" Union "]
subgraph union5l[" "]
style union5l fill:#abf,stroke-dasharray: 3 3;
subgraph union6[" Union "]
subgraph union6l[" "]
style union6l fill:#abf,stroke-dasharray: 3 3;
subgraph union7[" Union "]
subgraph union7l[" "]
style union7l fill:#abf,stroke-dasharray: 3 3;
subgraph union8[" Union "]
subgraph union8l[" "]
style union8l fill:#abf,stroke-dasharray: 3 3;
subgraph union9[" Union "]
subgraph union9l[" "]
style union9l fill:#abf,stroke-dasharray: 3 3;
subgraph union10[" Union "]
subgraph union10l[" "]
style union10l fill:#abf,stroke-dasharray: 3 3;
subgraph union11[" Union "]
subgraph union11l[" "]
style union11l fill:#abf,stroke-dasharray: 3 3;
subgraph union12[" Union "]
subgraph union12l[" "]
style union12l fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P921"--> c14
end
subgraph union12r[" "]
style union12r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P921"--> c13
end
union12r <== or ==> union12l
end
end
subgraph union11r[" "]
style union11r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P921"--> c12
end
union11r <== or ==> union11l
end
end
subgraph union10r[" "]
style union10r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P921"--> c11
end
union10r <== or ==> union10l
end
end
subgraph union9r[" "]
style union9r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P921"--> c10
end
union9r <== or ==> union9l
end
end
subgraph union8r[" "]
style union8r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P921"--> c9
end
union8r <== or ==> union8l
end
end
subgraph union7r[" "]
style union7r fill:#abf,stroke-dasharray: 3 3;
a2 --"wdt:P279"--> c8
v2 --"wdt:P921"--> a2
end
union7r <== or ==> union7l
end
end
subgraph union6r[" "]
style union6r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P921"--> c8
end
union6r <== or ==> union6l
end
end
subgraph union5r[" "]
style union5r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P921"--> c6
end
union5r <== or ==> union5l
end
end
subgraph union4r[" "]
style union4r fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P279"--> c6
v2 --"wdt:P921"--> a1
end
union4r <== or ==> union4l
end
end
subgraph union3r[" "]
style union3r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P921"--> c6
end
union3r <== or ==> union3l
end
end
subgraph union2r[" "]
style union2r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P921"--> c5
end
union2r <== or ==> union2l
end
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P921"--> c4
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P921"--> c3
end
union0r <== or ==> union0l
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P6104"--> c16
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P921"--> c17
end
subgraph minus3["MINUS"]
style minus3 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P921"--> c18
end
v2 --"wdt:P1476"--> v1
bind4[/"replace(str(?item),'.*Q','Q')"/]
v2 --o bind4
bind4 --as--o v3
bind5[/"'P6104'"/]
bind5 --as--o v4
bind6[/"'Q56241615'"/]
bind6 --as--o v5