freme-project / freme-ner

Apache License 2.0
6 stars 1 forks source link

what does "TotalEntities" mean? #18

Closed pheyvaer closed 9 years ago

pheyvaer commented 9 years ago

What does "TotalEntities" mean, when you as for more information about a dataset? The dataset contains the following <www.example.com/me> <www.example.com#p> "test" .

m1ci commented 9 years ago

It represents the total number of indexed entities be FREME NER.

pheyvaer commented 9 years ago

And do you know why for my dataset this is 0?

m1ci commented 9 years ago

Actually this represents the total number of indexed entities. Unfortunately, you entity wasn't indexed. How did you submit the dataset? By default we index the rdfs:label, skos:prefLabel and skos:altLabel properties. In your example, you have the www.example.com#p property which is unknown for us. To index also your properties you can set the properties parameter when submitting the request. For example properties=www.example.com/me.

I just noticed this parameter wasn't documented. Sorry! @ArneBinder can you please document this parameter. Thanks!

pheyvaer commented 9 years ago

If I use rdfs:label it works, thanks!

ArneBinder commented 9 years ago

@m1ci is it possible to index several additional properties? How would the syntax be?

m1ci commented 9 years ago

Yes, there is the properties parameter. The value of the parameter is a comma separated list of properties. E.g.

properties=http://www.example.com/prop1,http://www.example.com/prop2
ArneBinder commented 9 years ago

thanks! I've added this to the documentation.