Searched refs:ontology (Results 1 - 16 of 16) sorted by relevance

/owl-s/src/org/mindswap/owls/
H A DOWLSVersionTranslator.java31 * Transforms an older version of an OWLS ontology to the latest version that
44 public boolean canTranslate(OWLOntology ontology); argument
47 * Transform the descriptions in the given ontology to the latest version
50 * @param ontology
53 public OWLOntology translate(OWLOntology ontology); argument
/owl-s/src/impl/owls/
H A DOWLSTranslator_1_1.java45 public boolean canTranslate(OWLOntology ontology) { argument
46 return ontology.getInstances(OWLS_1_1.Service.Service).size() > 0;
49 public OWLOntology translate(OWLOntology ontology) { argument
50 return ontology;
H A DGenericVersionTranslator.java52 public boolean canTranslate(OWLOntology ontology) { argument
53 return findTranslator(ontology) != null;
67 public OWLOntology translate(OWLOntology ontology) { argument
68 OWLSVersionTranslator translator = findTranslator(ontology);
70 return translator.translate(ontology);
H A DOWLSTranslator_1_0.java115 public boolean canTranslate(OWLOntology ontology) { argument
116 return ontology.getInstances(OWLS_1_0.Service.Service).size() > 0;
/owl-s/src/impl/jena/
H A DOWLPropertyImpl.java16 public OWLPropertyImpl(OWLOntology ontology, Resource resource) { argument
17 super(ontology, resource);
H A DOWLIndividualImpl.java57 public OWLIndividualImpl(OWLOntology ontology, Resource resource) { argument
58 super(ontology, resource);
62 if(ontology.equals(ont))
65 return new OWLIndividualImpl(ontology, resource);
109 ontology.setProperty(this, prop, value);
113 ontology.setProperty(this, prop, value);
117 ontology.setProperty(this, prop, value);
121 ontology.addProperty(this, prop, value);
126 ontology.addProperty(this, prop, value);
130 ontology
[all...]
H A DOWLEntityImpl.java34 protected OWLOntology ontology; field in class:OWLEntityImpl
36 public OWLEntityImpl(OWLOntology ontology, Resource resource) { argument
38 this.ontology = ontology;
39 this.kb = ontology.getKB();
47 return ontology;
H A DOWLKnowledgeBaseImpl.java41 import com.hp.hpl.jena.ontology.OntModel;
94 OWLOntology ontology = createOntologyWithoutLoading( uri, null, model);
96 ontologies.add(ontology);
98 setBaseOntology(ontology);
232 public void unload( OWLOntology ontology ) {
233 URI uri = ontology.getURI();
234 boolean removed = ontologies.remove( ontology );
237 String msg = ontology + " is not in the KB";
239 msg += " but there is another ontology with the same URI in the KB";
247 notImported.remove( ontology );
[all...]
H A DOWLWriterImpl.java24 import com.hp.hpl.jena.ontology.OntModel;
25 import com.hp.hpl.jena.ontology.Ontology;
76 // create ontology node for imports
93 // otherwise, lets just add an imports stmt for the ontology
99 // otherwise this is a model/ontology, lets just get its implementation
142 // search for existing ontology nodes in the model...
149 // named with the URI of the ontology
162 // if we didnt find an ontology tag, create it
H A DOWLOntologyImpl.java41 import com.hp.hpl.jena.ontology.OntModel;
120 public void addImport(OWLOntology ontology) { argument
121 URI fileURI = ontology.getFileURI();
123 imports.put( fileURI, ontology );
136 // probably a cast exception, someone trying to add an ontology that
137 // isnt actually an ontology object. just ignore, try the next one
434 public void setTranslationSource(OWLOntology ontology) { argument
435 sourceOntology = ontology;
H A DOWLModelImpl.java141 import com.hp.hpl.jena.ontology.OntClass;
142 import com.hp.hpl.jena.ontology.OntDocumentManager;
143 import com.hp.hpl.jena.ontology.OntModel;
144 import com.hp.hpl.jena.ontology.OntModelSpec;
145 import com.hp.hpl.jena.ontology.OntProperty;
146 import com.hp.hpl.jena.ontology.OntResource;
246 public void setBaseOntology(OWLOntology ontology) { argument
247 this.baseOntology = ontology;
674 private Map getProperties(Resource resource, OWLOntology ontology) { argument
719 list.add(OWLModelImpl.this.wrapIndividual(stmt.getResource(), ontology));
[all...]
/owl-s/src/org/mindswap/owls/validation/
H A DOWLSValidator.java34 * Validate the <code>Service</code> description in the OWL-S ontology.
45 * @param ontology Ontology being validated
48 public Map validate(OWLOntology ontology) { argument
/owl-s/src/org/mindswap/owl/
H A DOWLOntology.java27 public void addImport(OWLOntology ontology); argument
31 * If this OWL-S ontology was translated from an older version of OWL-S
33 * reference to the original ontology. This way the information that
35 * in the original file, can still be accessed. If the ontology
43 public void setTranslationSource(OWLOntology ontology); argument
48 * Merge the contents of this ontology with <code>ont</code> and return the
49 * merged ontology. Neither of the ontologies is changed. The returned
50 * ontology is NOT loaded to the KB automatically.
59 * Add the contents of <code>ont</code> into this ontology.
H A DOWLKnowledgeBase.java29 * imported ones. An ontology <code>ont</code> is considered to be imported if there
30 * was no explicit function call to load the ontology, i.e load(ont) or read(ont.getURI(),
40 * Return the loaded ontology associated with this URI. Return null if there is not ontology
43 * @param uri URI of the ontology
49 * Return the base ontology of this KB. At the creation time of each KB an empty ontology is
51 * RDF model (addProperty, setProperty, etc.) will actually add the data to this base ontology.
56 * Create an empty ontology which is automatically loaded to the KB.
58 * @return An empty ontology
99 loadOntology(OWLOntology ontology) argument
110 load(OWLOntology ontology) argument
122 load(OWLOntology ontology, boolean withImports) argument
132 unload(OWLOntology ontology) argument
[all...]
/owl-s/lib/jena/
H A Djena.jarcom/ com/hp/ com/hp/hpl/ com/hp/hpl/jena/ com/hp/hpl/jena/datatypes/ com/hp/hpl/jena/ ...
/owl-s/lib/pellet/
H A Dpellet.jarcom/ com/lre/ com/lre/graph/ com/lre/graph/Edge.class Edge.java package com.lre ...

Completed in 55 milliseconds