application/json+ntriples

application/json+ntriples

[1] Documentation | HyperGraphQL () <http://hypergraphql.org/documentation>

GraphQL-compatible content types

application/json+rdf+xml

application/json+turtle

application/json+ntriples

application/json+n3

For instance, the response above in application/json+rdf+xml is served as:

{

"extensions": {},

"data": "<rdf:RDF\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n xmlns:j.0=\"http://hypergraphql.org/query/\"\n xmlns:j.1=\"http://dbpedia.org/ontology/\"\n xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\"\n xmlns:j.2=\"http://xmlns.com/foaf/0.1/\">\n <rdf:Description rdf:about=\"http://hypergraphql.org/query\">\n <j.0:Person_GET>\n <j.1:Person rdf:about=\"http://dbpedia.org/resource/Sani_ol_molk\">\n <j.1:birthDate rdf:datatype=\"http://www.w3.org/2001/XMLSchema#date\"\n >1814-1-1</j.1:birthDate>\n <j.1:birthPlace>\n <j.1:City rdf:about=\"http://dbpedia.org/resource/Kashan\">\n <j.1:country>\n <j.1:Country rdf:about=\"http://dbpedia.org/resource/Iran\">\n <rdfs:label xml:lang=\"en\">Iran</rdfs:label>\n </j.1:Country>\n </j.1:country>\n <rdfs:label xml:lang=\"en\">Kashan</rdfs:label>\n </j.1:City>\n </j.1:birthPlace>\n <j.2:name xml:lang=\"en\">Mirza Abolhassan Khan Ghaffari</j.2:name>\n </j.1:Person>\n </j.0:Person_GET>\n </rdf:Description>\n</rdf:RDF>\n",>

"errors": []

}