R/pmd.r
subpredobj_binding.Rd
Creates a basic graph pattern a subject with predicate-object pairs.
The subject binding is interpolated directly, so it should be specified
accordingly (e.g. as a variable "?uri"
or a URI "<http://example.net>"
)
The predicate is taken from the property's uri
.
The object is a variable binding made from the property's label
.
Unless the pattern is to be contained in an OPTIONAL clause, it
is terminated with a "." character.
subpredobj_binding(subject, properties, optional = F)
subject | A character vector of length 1 with the subject binding |
---|---|
properties | A list or data frame with vectors named |
optional | Should the pattern be wrapped in an optional clause? |
a character vector of basic graph patterns