fnielsen / ordia

Wikidata lexemes presentations
https://ordia.toolforge.org
Apache License 2.0
24 stars 13 forks source link

Form table for properties does not show because of timeout #63

Closed fnielsen closed 2 years ago

fnielsen commented 5 years ago

New version

SELECT ?count ?property ?propertyLabel
WITH {
  SELECT ?direct_property (COUNT(*) AS ?count) WHERE {
    [] ontolex:sense ?sense .
    ?sense ?direct_property [] .
  }
  GROUP BY ?direct_property
} AS %results
WHERE {
  INCLUDE %results
  ?property wikibase:directClaim ?direct_property .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?count)
fnielsen commented 2 years ago

This seems to work ok now with the present application