query-79545ecb451839f22706b87987ca5693
Item that have a bacdive ID and have a duplicate taxon name SELECT DISTINCT ?item1 ?item1Label ?item2 ?item2Label ?value { ?item1 wdt:P2946 ?bacdive . ?item1 wdt:P225 ?value . ?item2 wdt:P225 ?value . FILTER(?item1 != ?item2) . SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en" } . } LIMIT 500
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#>
# Item that have a bacdive ID and have a duplicate taxon name
SELECT DISTINCT ?item1 ?item1Label ?item2 ?item2Label ?value
{
?item1 wdt:P2946 ?bacdive .
?item1 wdt:P225 ?value .
?item2 wdt:P225 ?value .
FILTER(?item1 != ?item2) .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en" } .
} LIMIT 500
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?bacdive")
v1("?item1"):::projected
v2("?item2"):::projected
v4("?value"):::projected
c4(["bd:serviceParam"]):::iri
c6(["en,en"]):::literal
f0[["?item1 != ?item2"]]
f0 --> v1
f0 --> v2
v1 --"wdt:P2946"--> v3
v1 --"wdt:P225"--> v4
v2 --"wdt:P225"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end