Closed micheldumontier closed 10 years ago
@VEmonet
This issue has been corrected : $ curl -H 'Accept: application/rdf+xml' http://bio2rdf.org/hgnc_vocabulary:approved-name
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:j.0="http://bio2rdf.org/hgnc_vocabulary:"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:void="http://rdfs.org/ns/void#"
xmlns:ns5="http://bio2rdf.org/bio2rdf_vocabulary:"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" >
<rdf:Description rdf:about="http://bio2rdf.org/hgnc_vocabulary:approved-name">
<ns5:uri rdf:datatype="http://www.w3.org/2001/XMLSchema#string">http://bio2rdf.org/hgnc_vocabulary:approved-name</ns5:uri>
<dc:identifier>hgnc_vocabulary:approved-name</dc:identifier>
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
<rdfs:label xml:lang="en">approved name [hgnc_vocabulary:approved-name]</rdfs:label>
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">approved name [hgnc_vocabulary:approved-name]</rdfs:label>
<ns5:namespace rdf:datatype="http://www.w3.org/2001/XMLSchema#string">hgnc_vocabulary</ns5:namespace>
<dcterms:title xml:lang="en">approved name</dcterms:title>
<rdf:type rdf:resource="http://bio2rdf.org/hgnc_vocabulary:Resource"/>
<ns5:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#string">approved-name</ns5:identifier>
<dcterms:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#string">hgnc_vocabulary:approved-name</dcterms:identifier>
<void:inDataset rdf:resource="http://bio2rdf.org/hgnc_resource:bio2rdf.dataset.hgnc.R3"/>
</rdf:Description>
</rdf:RDF>
It looks like there is some rewriting of the content because the rdf:type should be http://bio2rdf.org/hgnc_vocabulary:Resource
but is being incorrectly rewritten to http://hgnc_vocabulary.bio2rdf.org/resource
$ curl -H 'Accept: application/rdf+xml' http://bio2rdf.org/hgnc_vocabulary:approved-name HTTP/1.1 200 OK Date: Fri, 13 Jun 2014 08:03:11 GMT Server: Jetty(8.1.12.v20130726) Content-Type: application/rdf+xml Content-Length: 1720