query-4c4e63fabdc088220af4ecdcaac9e785
"登場"で検索ヒットするが分類・上位クラス・登場する作品・親項目のいずれも指定されていない項目
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?sitelinks
WHERE {
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Search";
wikibase:endpoint "www.wikidata.org";
mwapi:srsearch "登場 -haswbstatement:P31 -haswbstatement:P279 -haswbstatement:P1441 -haswbstatement:P1269" .
?title wikibase:apiOutput mwapi:title.
}
BIND(IRI(CONCAT(STR(wd:), ?title)) AS ?item)
?item wikibase:sitelinks ?sitelinks.
FILTER(?sitelinks >= 1)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}
ORDER BY (?item)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?item"):::projected
v2("?sitelinks"):::projected
v3("?title")
c7(["www.wikidata.org"]):::literal
c3(["bd:serviceParam"]):::iri
c15(["#91;AUTO_LANGUAGE#93;"]):::literal
c5(["Search"]):::literal
c9(["登場 -haswbstatement:P31 -haswbstatement:P279 -haswbstatement:P1441 -haswbstatement:P1269"]):::literal
c11(["mwapi:title"]):::iri
f0[["?sitelinks >= '1^^xsd:integer'"]]
f0 --> v2
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c3 --"mwapi:api"--> c5
c3 --"mwapi:endpoint"--> c7
c3 --"mwapi:srsearch"--> c9
v3 --"mwapi:apiOutput"--> c11
end
bind1[/"concat(str('wd:'),?title)"/]
v3 --o bind1
bind1 --as--o v4
v4 --"mwapi:sitelinks"--> v2
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c3 --"mwapi:language"--> c15
end