Class SPARQLStarResultsJSONConstants
java.lang.Object
org.eclipse.rdf4j.query.resultio.sparqljson.SPARQLStarResultsJSONConstants
Constants for the SPARQL-star JSON format. The format handles
TupleQueryResult only.
For Boolean results, the SPARQL JSON format is used.
The format introduces a new type, triple, whose value is an object consisting of three elements:
- s - the triple's subject
- p - the triple's predicate
- o - the triple's object
Each of the three elements s, p and o is another object identical in structure to the value for each binding.
For example:
"b" : {
"type" : "triple",
"value" : {
"s" : {
"type" : "uri",
"value" : "urn:a"
},
"p" : {
"type" : "uri",
"value" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
},
"o" : {
"type" : "uri",
"value" : "urn:b"
}
}
}
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final StringKey name of the JSON object for the triple's object.(package private) static final StringKey name of the JSON object for the triple's object - Apache Jena dialect(package private) static final StringKey name of the JSON object for the triple's predicate.(package private) static final StringKey name of the JSON object for the triple's predicate - Apache Jena dialect(package private) static TupleQueryResultFormat(package private) static final StringKey name of the JSON object for the triple's subject.(package private) static final StringKey name of the JSON object for the triple's subject - Apache Jena dialect(package private) static final StringType string for serializedTriplevalue.(package private) static final StringType string for serializedTriplevalue - Stardog dialect -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
QUERY_RESULT_FORMAT
-
TRIPLE
-
SUBJECT
-
PREDICATE
-
OBJECT
-
TRIPLE_STARDOG
-
SUBJECT_JENA
Key name of the JSON object for the triple's subject - Apache Jena dialect- See Also:
-
PREDICATE_JENA
Key name of the JSON object for the triple's predicate - Apache Jena dialect- See Also:
-
OBJECT_JENA
Key name of the JSON object for the triple's object - Apache Jena dialect- See Also:
-
-
Constructor Details
-
SPARQLStarResultsJSONConstants
SPARQLStarResultsJSONConstants()
-