query-a0c54758b69d85d1c03559315bc98371
Self-referencingHi, I see that you add some self-referenced statement on ships today, can you correct them? See for example : ⟩ (Q7869365)USS Fieberling ⟨ (P138)named after ⟩ (Q7869365)USS Fieberling ⟨ The list can be found here :
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 ?item ?itemLabel WHERE {
?item wdt:P138 ?item .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a1((" "))
c3(["bd:serviceParam"]):::iri
c5(["en"]):::literal
f0[["sameterm(?item,)"]]
f0 --> v1
f0 --> a1
v1 --"wdt:P138"--> a1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end