dbpedia / dbpedia-lookup

A generic entity retrieval service for linked data. Contains presets to replicate the DBpedia Lookup service.
Apache License 2.0
43 stars 13 forks source link

Get list of all classes which name starts with a given prefix #13

Open sergejsrk opened 1 year ago

sergejsrk commented 1 year ago

Is it possible to get a list of all classes whose name starts with a certain prefix from a public dbpedia-lookup instance https://lookup.dbpedia.org/api/search?

I tried the following queries: 1) https://lookup.dbpedia.org/api/search?typeNameRequired=true&query=Ci matches on the resource label, not the class label

2)https://lookup.dbpedia.org/api/search?typeNameRequired=true&typeName=Cit Returns empty result set.

Looks like it happens because fieldName: typeName -> exact is set to true. But maybe there is some workaround?