query-a09a2394c60e28c60b0dcd4f003e35aa
17:36, 27 March 2018 (UTC)) talk (Pasleimno support for deletion -- Subsequent comments should be made in a new section. A summary of the conclusions reached follows.Please do not modify it.The following discussion is closed. )discussion | logs | entity usage | links | history | delete(: (P3590)Relations Ontology ID as shown in this query: (P1628)equivalent property Duplicating
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?property ?propertyLabel ?id ?equivalentProperty {
?property wdt:P3590 ?id .
OPTIONAL {
?property wdt:P1628 ?equivalentProperty
FILTER (STRSTARTS(STR(?equivalentProperty),"http://purl.obolibrary.org/obo/"))
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?equivalentProperty"):::projected
v3("?id"):::projected
v2("?property"):::projected
c5(["bd:serviceParam"]):::iri
c7(["en,en"]):::literal
v2 --"wdt:P3590"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P1628".-> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end