query-6727b685f7f9e47bd10b17d44ecf5b50

rq turtle/ttl

Common properties for Lexemes

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?p ?propLabel (COUNT(?l) AS ?numOccurs) 
WHERE {
  ?l a ontolex:LexicalEntry ;
       ?p [] .
  OPTIONAL {?prop wikibase:directClaim ?p }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?p ?propLabel
ORDER BY DESC(?numOccurs)
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?l"):::projected v5("?numOccurs") v3("?p"):::projected v4("?prop") a1((" ")) c5(["bd:serviceParam"]):::iri c2(["ontolex:LexicalEntry"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 --"a"--> c2 v2 -->v3--> a1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v4 -."wikibase:directClaim".-> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end bind1[/"count(?l)"/] v2 --o bind1 bind1 --as--o v5