query-b06c53db276f706a3831f13fbf44ca63
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
SELECT ?form (COUNT(?grammaticalFeature) AS ?grammaticalFeaturesCount) {
?lexeme ontolex:lexicalForm wd:L307241-F5, ?form .
wd:L307241-F5 wikibase:grammaticalFeature ?grammaticalFeature .
?form wikibase:grammaticalFeature ?grammaticalFeature .
}
GROUP BY ?form
HAVING (?grammaticalFeaturesCount = 2)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?form"):::projected
v4("?grammaticalFeature"):::projected
v5("?grammaticalFeaturesCount")
v2("?lexeme")
c3(["wd:L307241-F5"]):::iri
f0[["?grammaticalFeaturesCount = '2^^xsd:integer'"]]
f0 --> v5
v2 --"ontolex:lexicalForm"--> c3
v2 --"ontolex:lexicalForm"--> v3
c3 --"wikibase:grammaticalFeature"--> v4
v3 --"wikibase:grammaticalFeature"--> v4
bind2[/"count(?grammaticalFeature)"/]
v4 --o bind2
bind2 --as--o v5