Hello Adrian, On Wed, 2012-05-30 at 22:28 +0200, Adrian Gschwend wrote: > Hi again, > > We did some more tests against DBpedia resources on our framework, it > looks like DBpedia does not do content negotiation properly in case it > does not support the client requested MIME-type: > > curl -v -H "Accept: text/turtle" http://dbpedia.org/resource/Tim_Berners-Lee > > BTW2 any reasons that turtle is not supported?
I guess that's because some configs should be reviewed there. At the very beginning, only couple of formats were supported and turtle had "x-" prefix of experimental/custom status. Now the internals of Virtuoso recognize the following MIMEs: For SPARQL result-sets: "text/rdf+n3" , "TTL" "text/rdf+ttl" , "TTL" "text/rdf+turtle" , "TTL" "text/turtle" , "TTL" "text/n3" , "TTL" "application/turtle" , "TTL" "application/x-turtle" , "TTL" "application/sparql-results+json" , "JSON;RES" "application/json" , "JSON" "application/soap+xml" , "SOAP" "application/soap+xml;11" , "SOAP" "application/sparql-results+xml" , "XML" "text/html" , "HTML" "application/vnd.ms-excel" , "HTML" "application/javascript" , "JS" "application/rdf+xml" , "RDFXML" "application/atom+xml" , "ATOM;XML" "application/odata+json" , "JSON;ODATA" "text/rdf+nt" , "NT" "text/plain" , "NT" "text/cxml+qrcode" , "CXML" "text/cxml" , "CXML" "text/csv" , "CSV" For triples: "application/x-trig" , "TRIG" "text/rdf+n3" , "TTL" "text/rdf+ttl" , "TTL" "text/rdf+turtle" , "TTL" "text/turtle" , "TTL" "text/n3" , "TTL" "application/turtle" , "TTL" "application/x-turtle" , "TTL" "application/json" , "JSON" "application/rdf+json" , "JSON;TALIS" "application/x-rdf+json" , "JSON;TALIS" "application/soap+xml" , "SOAP" "application/soap+xml;11" , "SOAP" "application/rdf+xml" , "RDFXML" "text/rdf+nt" , "NT" "application/xhtml+xml" , "RDFA;XHTML" "text/plain" , "NT" "application/sparql-results+json" , "JSON;RES" "text/html" , "HTML;MICRODATA" "application/vnd.ms-excel" , "HTML" "application/javascript" , "JS" "application/atom+xml" , "ATOM;XML" "application/odata+json" , "JSON;ODATA" "application/sparql-results+xml" , "XML" "text/cxml+qrcode" , "CXML;QRCODE" "text/cxml" , "CXML" "text/x-html+ul" , "HTML;UL" "text/x-html+tr" , "HTML;TR" "text/md+html" , "HTML;MICRODATA" "text/microdata+html" , "HTML;MICRODATA" "application/microdata+json" , "JSON;MICRODATA" "application/x-json+ld" , "JSON;LD" "application/ld+json" , "JSON;LD" "text/csv" , "CSV" When everything is tweaked completely, the query page should recognize MIMEs of both lists and descriptions of resources --- the whole second list. Best Regards, Ivan Mikhailov OpenLink Software http://virtuoso.openlinksw.com ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Dbpedia-discussion mailing list Dbpedia-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion