query-f08b0b2e5a6201ce01a51bed01e7f042

rq turtle/ttl

title: Items that have both MyAnimeList manga ID (P4087) and MyAnimeList anime ID (P4086) SELECT ?item ?itemLabel ?manga ?anime WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } ?item wdt:P4087 ?manga. ?item wdt:P4086 ?anime. }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title: Items that have both MyAnimeList manga ID (P4087) and MyAnimeList anime ID (P4086)
SELECT ?item ?itemLabel ?manga ?anime WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?item wdt:P4087 ?manga.
  ?item wdt:P4086 ?anime.
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?anime"):::projected v1("?item"):::projected v2("?manga"):::projected c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P4087"--> v2 v1 --"wdt:P4086"--> v3