query-96cb69b97fd6bf1d3f40b865fb39c563
disappears from the map of Important Bird Areas of Moldova: (Q2898951)Codru Reserve . But if I do that, (Q28861097)scientific reserve . I can apply a workaround in which I assign the Preferred Rank to (Q28861097)scientific reserve when in fact I need (Q39517589)Important Bird Area of Moldova receives the value of ?tipThe problem is that
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT DISTINCT ?IBALabel ?IBA ?coor WHERE {
?IBA (wdt:P1435/wdt:P279*) wd:Q39517589.
#?IBA wdt:P625 ?coor
OPTIONAL { ?IBA wdt:P625 ?coor }
SERVICE wikibase:label { bd:serviceParam wikibase:language "ro". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?IBA"):::projected
v2("?coor"):::projected
a1((" "))
c6(["bd:serviceParam"]):::iri
c3(["wd:Q39517589"]):::iri
c8(["ro"]):::literal
v1 --"wdt:P1435"--> a1
a1 --"wdt:P279"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P625".-> v2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end