Uploaded image for project: 'Stanbol'
  1. Stanbol
  2. STANBOL-384

GET calls on managed ontology resources do not include import statements

    Details

      Description

      Suppose an ontology X.owl imports Y.owl and Z.owl

      if POSTing X.owl to a Scope or a Session via e.g.

      curl -d @X.owl -H "Content-type: application/rdf+xml" http://localhost:8080/ontonet/ontology/Scope1

      or

      curl -d @X.owl -H "Content-type: application/rdf+xml" http://localhost:8080/ontonet/session/alessandro-20111123145420

      when GETting the corresponding resources (scopeId/ontologyId or sessionId/ontologyId), the imports to Y.owl and Z.owl are not included, and so are the interpretations of their referenced entities (e.g. object and data properties described in Y become annotation properties).

      Import statements are included correctly if the GET is performed directly on a Scope or Space resource.

      This could be a bug of the OntoNet offline mode implementation kicking in even if tha Stanbol offline mode is not set.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alessandro.adamou Alessandro Adamou
                Reporter:
                alessandro.adamou Alessandro Adamou
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: