Giter VIP home page Giter VIP logo

Comments (6)

LisaDawn avatar LisaDawn commented on August 25, 2024

Hi,

We looked at our KB and now the import is there. It seems like there is some latency issue. We originally loaded these KBs a week ago. We haven't tested how long it takes for the imports to show up, but somewhere between a few days and a week. Any idea what may be causing these issues? Are there some configuration settings we should set to make the transitive owl:imports happen faster?

thanks again,
lisa

from ontowiki.

pfrischmuth avatar pfrischmuth commented on August 25, 2024

Hi Lisa,

we tested this again with Virtuoso as well as with MySQL backend. We have an ontology A, which defines two classes, a ontology B, which defines two instances of this classes and imports A and an ontology C, which imports B. Cache is enabled and we get the expected results. Please make sure, that you use the right URIs for the import statements (e.g. a common mistake is two leave out the trailing slash). Is it possible that you send us the RDF files?

Cheers,
Philipp

from ontowiki.

0xfeedface avatar 0xfeedface commented on August 25, 2024

Here are the files we used for testing:

Ontology A:

@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix : <http://localhost/OntoWiki/A/> .

<http://localhost/OntoWiki/A/> a owl:Ontology ;
  rdfs:label "Ontology A" .

:C1 a owl:Class ;
  rdfs:label "C1" .

:C2 a owl:Class ;
  rdfs:label "C2" .

Ontology B:

@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix : <http://localhost/OntoWiki/B/> .

<http://localhost/OntoWiki/B/> a owl:Ontology ;
  owl:imports <http://localhost/OntoWiki/A/> ;
  rdfs:label "Ontology B" .

:I1 a <http://localhost/OntoWiki/A/C1> ;
  rdfs:label "I1" .

:I2 a <http://localhost/OntoWiki/A/C2> ;
  rdfs:label "I2" .

Ontology C:

@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<http://localhost/OntoWiki/C/> a owl:Ontology ;
  owl:imports <http://localhost/OntoWiki/B/> ;
  rdfs:label "Ontology C" .

from ontowiki.

LisaDawn avatar LisaDawn commented on August 25, 2024

Thanks Philipp and Norman,
It looks like there may be an issue with our version. I tried the files that Norman attached to our up-to-date OW/ASKW develop branch version (running on Windows w/ Virtuoso) and it does work fine. However, on our own development branch version, it is not working (using the files above). Or, rather, it works sporadically. When testing earlier, the imported classes did not show up in our "Ontology C" until days later. Any hints as to where we should look in our code to help debug this?

I was hoping it would be a "slash" problem :) but it looks like it's not since we are still not seeing classes from Ontology C (using the files you provided) (which work on the ASKW develop branch).

Thanks again for looking at this. Hope it wasn't too much trouble to test. It would be really helpful if you could give us a pointer as to where we may have affected this functionality as we are a bit of a loss. :)

from ontowiki.

LisaDawn avatar LisaDawn commented on August 25, 2024

To clarify, when I say "there is an issue with our version", I mean, our UDFR branch which is stored here: https://github.com/UDFR

from ontowiki.

seebi avatar seebi commented on August 25, 2024

ok, so I close this issue ...

from ontowiki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.