PolMine / dbpedia

R Wrapper for Corpus Annotation with DBpedia Spotlight
3 stars 0 forks source link

function `sparql_query()` has no timeout #56

Closed ablaette closed 6 months ago

ablaette commented 6 months ago

The SPARQL endpoint 'http://de.dbpedia.org/sparql' does not respond when running examples, and the example of the function runs endlessly.

Potential solution: Add ... to function so thattimeout() can be passed into httr::GET() call.

ablaette commented 6 months ago

We now also have the ... argument for passing a timeout into httr::GET, and the documentation explains this scenario.