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.

        Issue Links

          Activity

          Hide
          Alessandro Adamou added a comment -

          After the partial fix in revision #1205546, the bug can be scaled down to Major.

          Show
          Alessandro Adamou added a comment - After the partial fix in revision #1205546, the bug can be scaled down to Major.
          Hide
          Alessandro Adamou added a comment -

          Import management policy (with options for flattening, merging or preserving the import tree) is now implemented.

          Show
          Alessandro Adamou added a comment - Import management policy (with options for flattening, merging or preserving the import tree) is now implemented.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development