Description Usage Arguments Value Examples
Can specify any part of statement, and all matches will be returned. If no subject, predicate, or object supplied, all statements will be returned.
1 2 3 4 |
repository |
Object of type repository specifying server details and repository to work on. |
subj |
Subject triple pattern you want to match - optional |
pred |
Predicate of triple pattern you want to match - optional |
obj |
Object of triple pattern you want to match - optional |
context |
Context of triple pattern you want to match - optional |
infer |
Specifies the kind of inference to use for this query. Defaults to FALSE, can also be 'rdfs++' or 'hasvalue' |
limit |
How many triples should be returned |
tripleIDs |
... |
count |
... |
returnType |
What type the return value should be. Best performance achieved with matrix. |
cleanUp |
Should the xml schemas be removed. Has to be true for converting to R types to work |
convert |
Convert variable to appropriate R type |
Triples based on the specified pattern
1 2 3 4 5 6 7 | ## Not run:
service = createService("localhost","user","password")
rep = repository(catalog(service,"root"),"test")
getStatements(rep,
pred = '<http://test.org/pred>', limit = 10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.