Description
I am trying to get all resources that have type "City" and whose label has "Rig" inside it.
To do it I created the following query
https://lookup.dbpedia.org/api/search?typeName=City&label=Rig
As far as I understand typeName=City says that we will get only resources that have type City and label=Rig says that we will get only resources that have substring Rig inside label.
However, when I run this query, one of the results I get is as follows:
<Result>
<Label>London</Label>
<URI>http://dbpedia.org/resource/London</URI>
<Description>London is the capital and largest ...</Description>
<Classes>
<Class>
So it is a resource that has label London, and this label obviously does not contain substring Rig.
The question is why London is inside the results.
Is there a way to specify a query that would return just objects belonging to a given type, such that they have a given substring inside label?
Thanks in advance!