powered by
dracor_sparql() submits SPARQL queries and parses the result.
dracor_sparql()
dracor_sparql(sparql_query = NULL, parse = TRUE, ...)
SPARQL xml parsed.
Character, SPARQL query.
Logical, if TRUE the result is parsed by xml2::read_xml(), otherwise character value is returned. Default value is TRUE.
TRUE
xml2::read_xml()
Additional arguments passed to dracor_api.
dracor_api
get_dracor
dracor_sparql("SELECT * WHERE {?s ?p ?o} LIMIT 10") # If you want to avoid parsing by xml2::read_xml(): dracor_sparql("SELECT * WHERE {?s ?p ?o} LIMIT 10", parse = FALSE)
Run the code above in your browser using DataLab