query-20959deedde869a284fb043137374cd6
Propertiesinstance of (P31)main subject (P921)item for this sense (P5137)
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 ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?book ?bookLabel ?mainSubjectLabel ?sense ?lexeme ?pluralForm
WHERE {
?book wdt:P31 wd:Q571 ;
wdt:P921 ?mainSubject .
?sense wdt:P5137 ?mainSubject .
?lexeme ontolex:sense ?sense ;
dct:language wd:Q1860 ;
ontolex:lexicalForm ?lexicalForm .
?lexicalForm wikibase:grammaticalFeature wd:Q146786;
ontolex:representation ?pluralForm .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?book"):::projected
v4("?lexeme"):::projected
v5("?lexicalForm")
v2("?mainSubject")
v6("?pluralForm"):::projected
v3("?sense"):::projected
c10(["wd:Q146786"]):::iri
c13(["bd:serviceParam"]):::iri
c15(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c7(["wd:Q1860"]):::iri
c2(["wd:Q571"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P921"--> v2
v3 --"wdt:P5137"--> v2
v4 --"ontolex:sense"--> v3
v4 --"dct:language"--> c7
v4 --"ontolex:lexicalForm"--> v5
v5 --"wikibase:grammaticalFeature"--> c10
v5 --"ontolex:representation"--> v6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c13 --"wikibase:language"--> c15
end