Importing ontology from Protege to Sesame - semantic-web

I have created an ontology where I've imported a couple of external ontologies and mapped some of my classes to those in them. When I open the ontology in Protege, I see the classes that I created as well as the mapping to other ontologies.
However, when I open the ontology in a text editor or export it to Sesame, I only see the classes I created or mapped to those in existing ontologies. The ones I haven't touched do not show up. I need all the classes from the imported ontologies for my application. How do I get them to show up in my owl file?
UPDATE1
When I import these ontologies directly into Sesame, all the triples show up. This is in contrast to the case of importing these ontologies to Protege and then uploading the file to Sesame. In the latter case, the classes I haven't modified/mapped to those in my ontology don't show up.
What explains the difference in the behavior?
These are the ontologies I am concerned with:
http://svn.code.sf.net/p/vaccineontology/code/trunk/src/ontology/VO.owl
http://ovae.googlecode.com/svn/trunk/src/ontology/ovae.owl

Related

DL Expressivity not available in Protégé Ontology Metrics View

I installed Protégé 5.5 and I am interested in the DL expressivity of my ontology.
In the documentation, it is written that this information should be found in the Ontology Metrics view. However, my view does not contain this particular information.
Do I need to install some additional plugin?
Are you saying you cannot find the view, or that the view shows no information?
If it's the former, in Protege, navigate to Window > Views > Ontology views > Ontology metrics.
If it's the latter, you shouldn't need any additional plugin(s).
If the problem persists you'll need to post the file or some trivial example otherwise there is nothing to test.

GraphDB's Visual Graph does not show any visible connections

Here's what I have (using a Mac):
An ontology was created in Protege (v5), incorporating some classes
from established ontologies.
All classes were given the same Base URI.
HermiT, FacT++, Pellet, and Ontop plugin reasoners were used to test the ontology in Protege, and no errors or messages were returned.
Protege's Ontop plugin (v1.8) was used to map the classes to
postgres RDBS column headers (table_column) and exported the R2RML
mapping file.
The Ontop CLI was used to materialize triples through a
jdbc postgres connection the ontology in turtle format, according to
the R2RML .ttl mappings file.
Here's where my interactions with GraphDB (v8.2) start:
The GraphDB repository was created with an OWL2-RL profile with the 'read only' unchecked.
All ontology and materialized data triples were uploaded to GraphDB through graphdb-import folder in turtle format. All options checked on upload, and the same Base URI was provided.
The Class Hierarchy diagram suggests that the imported triples are properly structured.
The Class Relationship circular network graph shows reasonable
relationships between the largest 10 classes.
The Domain-Range graph shows a number of in-going and out-going connections to nodes/individuals with predicates.
SPARQL queries appear to return expected values.
Here's my problem: When I enter the Visual Graph, I don't see anything. When I search and select a value that should have nodes, all I see is the single node with a message "This node has no visible connections."
What does this mean and where can I start troubleshooting? Or is the Visual Graph buggy?

How to merge two ontologies in Protege

I'm new to using Protege. I'm using two small owl files, both containing one super class and two sub classes. Both the ontologies are exactly same except for the class names. I imported both the files into a new file and merged one ontology to the other using refactor menu. I used "equivalent to" to map the corresponding classes of the ontologies and did the same for the properties. I want the SPARQL queries to fetch results from both the ontologies. How should I proceed?
There is an option Refactor->Merge ontologies, may be helpful?

Linking my own ontology with DBPedia's populated ontology

I have this assignment where I have created an rdfs ontology with artists, their songs, their genres, etc using Protégé and populated it with some data. I am now supposed to connect my ontology and it's data with DBPedia's, so that I can SPARQL for my artists' birthdate. I have successfully imported http://dbpedia.org/ontology/ and http://dbpedia.org/property/ into protégé, but I can't find a way to import the data (http://dbpedia.org/resource/).
Can anyone point me in the right direction?
DBpedia datasets are stored and available for download here (http://wiki.dbpedia.org/Downloads2015-04#h96554-1) but Protégé isn't going to perform well (or at all) when you load a dataset of this size into it.
You may be better downloading various entities by hand such as - http://dbpedia.org/data/Blink-182.ntriples and then loading into Protégé. You can go to any DBPedia page. E.G. http://dbpedia.org/page/Ras_Barker and find download links at the bottom.

Is it possible to load multiple ontologies with Jena?

I am new with Jena and I am implementing an application in order to manipulate RDF data. I have already implemented some basic fonctions to see Classes, Properties and other stuffs.
And I wonder if it could be possible to load multiple ontologies with Jena and then have some SPARQL queries on those. (I already know that is possible because Protégé does it).
Thank's for your interest.
I'm open for any questions or precision.