gsi-upm / sematch

semantic similarity framework for knowledge graph
http://gsi-upm.github.io/sematch/
Other
429 stars 109 forks source link

Use custom sparql endpoint #23

Open angelpinheiro opened 5 years ago

angelpinheiro commented 5 years ago

Is there any way to configure a custom sparql endpoint different than "http://dbpedia.org/sparql"?

It would be useful for working with local versions of the dbpedia (at "http://localhost:8080/spanishdbpedia/sparql, for example)

Thanks!

balkian commented 3 years ago

Thank you for your question. The semantic.sparql.BaseSPARQL class can be instantiated with a different URL. Unfortunately, that parameter is not used in other classes such as EntityFeatures.

It is possible to override that, but it is less than ideal. We will fix that in future releases!