query-7e71f857ce3b10b7ff037ce65eddff25
Why do we have both e.g. "peptidase" (class of enzymes) and "peptidase activity" (molecular function). Can't they be merged? in the query: (Q67211934)multifunctional enzyme No. An enzyme can have multiple functions, see
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?item ?label WHERE {
{ ?item wdt:P31 wd:Q67211934. } UNION { ?item wdt:P279/wdt:P279* wd:Q67211934. }
?item rdfs:label ?label.
FILTER(lang(?label) = 'en')
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?label"):::projected
a1((" "))
c3(["wd:Q67211934"]):::iri
f0[["?label = 'en'"]]
f0 --> v1
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P279"--> a1
a1 --"wdt:P279"--> c3
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P31"--> c3
end
union0r <== or ==> union0l
end
v2 --"rdfs:label"--> v1