New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ontology self-resolution handled as term request #52

Closed
carueda opened this Issue Jul 7, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@carueda
Member

carueda commented Jul 7, 2017

This is about "ontology format" resolution (not html resolution).

This is a regression (noted while trying http://labs.sparna.fr/skos-testing-tool/).

Example with http://mmisw.org/ont/cf/parameter:

$ http get https://mmisw.org/ont/cf/parameter
HTTP/1.1 200
Access-Control-Allow-Origin: *
Connection: close
Content-Length: 42
Content-Type: application/json;charset=UTF-8
Date: Fri, 07 Jul 2017 15:20:18 GMT
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block

{
    "names": [
        "property",
        "value"
    ],
    "values": []
}

Note that resolution through the API is fine:

$ http get 'https://mmisw.org/ont/api/v0/ont?oiri=http://mmisw.org/ont/cf/parameter'
HTTP/1.1 200
Access-Control-Allow-Origin: *
Connection: close
Content-Type: application/rdf+xml;charset=UTF-8
Date: Fri, 07 Jul 2017 15:21:21 GMT
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block

<?xml version="1.0"?>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:omvm="http://mmisw.org/ont/mmi/20081020/ontologyMetadata/"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:skos="http://www.w3.org/2004/02/skos/core#"
    xmlns:omv="http://omv.ontoware.org/2005/05/ontology#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns="http://mmisw.org/ont/cf/parameter/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
  xml:base="http://mmisw.org/ont/cf/parameter/">
  <owl:Ontology rdf:about="http://mmisw.org/ont/cf/parameter">
...
</rdf:RDF>

@carueda carueda self-assigned this Jul 7, 2017

@carueda carueda added this to the ESIPSummer17 milestone Jul 7, 2017

carueda added a commit that referenced this issue Jul 21, 2017

@carueda carueda closed this in 9854d25 Jul 21, 2017

@carueda

This comment has been minimized.

Show comment
Hide comment
@carueda
Member

carueda commented Jul 21, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment