construct: CONSTRUCT

View source: R/construct.R

constructR Documentation

CONSTRUCT

Description

CONSTRUCT

Usage

construct(.data, ...)

construct_(.data, ..., .dots)

Arguments

.data

input. This can be JSON input, or an object of class sparql_dsl that has JSON and query params combined, which is passed from function to function when using the sparqldsl DSL.

...

Comma separated list of unquoted variable names

.dots

Used to work around non-standard evaluation

dots

dots

Examples

## Not run: 
### CONSTRUCT { ?s ?p ?o } WHERE { ?s ?p ?o } LIMIT 10
sparql_dsl("http://dbpedia.org/sparql") %>%
 construct(s, p, o) %>%
 where(s, p, o) %>%
 limit(10)

## End(Not run)

ropenscilabs/sparqldsl documentation built on May 18, 2022, 8:32 p.m.