Searched refs:kb (Results 1 - 25 of 39) sorted by relevance

12

/owl-s/src/impl/jena/
H A DOWLClassImpl.java27 return kb.isSubClassOf(this, c);
31 return kb.isDisjoint(this, c);
35 return kb.getProperties(this);
39 return kb.getDeclaredProperties(this);
43 return kb.getDeclaredProperties(this, direct);
47 return kb.getSubClasses(this);
51 return kb.getSubClasses( this, direct );
55 return kb.getSuperClasses( this );
59 return kb.getSuperClasses( this, direct );
63 return kb
[all...]
H A DOWLIndividualImpl.java69 return kb.hasProperty(this, prop);
73 return kb.getProperty(this, prop);
77 return kb.getProperties(this, prop);
81 return kb.getProperties(this);
85 return kb.getProperty(this, prop);
89 return kb.getProperty(this, prop, lang);
93 return kb.getProperties(this, prop);
97 return kb.getIncomingProperty(prop, this);
101 return kb.getIncomingProperties(prop, this);
105 return kb
[all...]
H A DOWLDataTypeImpl.java22 private static OWLKnowledgeBase kb = OWLFactory.createKB(); field in class:OWLDataTypeImpl
73 return kb.isSubTypeOf(this, dataType);
77 return kb.isSubTypeOf(this, type);
81 return kb.isEquivalent(this, type);
H A DJenaOWLFactory.java33 private OWLKnowledgeBase kb; field in class:JenaOWLFactory
71 if(kb == null) {
72 kb = createKB();
73 kb.setAutoTranslate(false);
75 return kb;
H A DOWLReaderImpl.java174 public OWLOntology read(OWLKnowledgeBase kb, URI uri) throws FileNotFoundException { argument
176 return readInternal(kb, in, uri, uri);
179 public OWLOntology read(OWLKnowledgeBase kb, Reader in, URI baseURI) { argument
180 return readInternal(kb, new InputSource(in), null, baseURI);
183 public OWLOntology read(OWLKnowledgeBase kb, InputStream in, URI baseURI) { argument
184 return readInternal(kb, new InputSource(in), null, baseURI);
187 private OWLOntology readInternal(OWLKnowledgeBase kb, InputSource in, URI physicalURI, URI baseURI) { argument
188 OWLOntology ont = readFile((OWLKnowledgeBaseImpl) kb, in, physicalURI, baseURI);
189 return kb.load(ont);
192 private OWLOntology readImport(OWLKnowledgeBaseImpl kb, UR argument
205 readFile(OWLKnowledgeBaseImpl kb, InputSource in, URI physicalURI, URI baseURI) argument
[all...]
H A DOWLEntityImpl.java33 protected OWLKnowledgeBase kb; field in class:OWLEntityImpl
39 this.kb = ontology.getKB();
43 return kb;
69 return kb.getQNames().shortForm( resource.getURI() );
157 addAnnotation(propURI, kb.createDataValue(value, lang));
182 setAnnotation(propURI, kb.createDataValue(value, lang));
263 value = (kb == null)
265 : kb.getQNames().shortForm(uri);
H A DOWLOntologyImpl.java58 private OWLKnowledgeBase kb; field in class:OWLOntologyImpl
71 public OWLOntologyImpl(OWLKnowledgeBase kb, URI uri, URI fileURI, Model jenaModel) { argument
77 this.kb = kb;
87 return kb;
149 kb.refresh();
163 kb.refresh();
177 kb.refresh();
192 kb.refresh();
202 kb
[all...]
/owl-s/src/impl/owls/grounding/
H A DJavaClassTransformator.java17 protected OWLKnowledgeBase kb; field in class:JavaClassTransformator
19 public JavaClassTransformator(OWLKnowledgeBase kb) { argument
21 setKB(kb);
24 public void setKB(OWLKnowledgeBase kb) { argument
25 this.kb = kb;
/owl-s/src/test/
H A DRemovalTests.java21 private OWLKnowledgeBase kb; field in class:RemovalTests
35 kb = OWLFactory.createKB();
36 kb.setReasoner("Pellet");
40 kb.getReader().getCache().setLocalCacheDirectory("E://Workspaces//NExT//Ontologies//ont_cache");
41 kb.getReader().getCache().setForced(true);
45 service = kb.readService("http://www.ifi.unizh.ch/ddis/ont/next/ProcessSpace/Projectgigimgii.owl#gigimgii");
59 p1 = kb.createPerform(URIUtils.createURI(uri + "1"));
60 p2 = kb.createPerform(URIUtils.createURI(uri + "2"));
61 p3 = kb.createPerform(URIUtils.createURI(uri + "3"));
62 p4 = kb
[all...]
/owl-s/src/examples/
H A DRunService.java79 OWLKnowledgeBase kb = OWLFactory.createKB();
80 kb.setReasoner("Pellet");
83 service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/FrenchDictionary.owl");
99 // Service service1 = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/FrenchDictionary.owl");
100 // Service service2 = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/FindCheaperBook.owl");
101 // Service service3 = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/Dictionary.owl");
102 // Service service4 = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/BabelFishTranslator.owl");
124 // OWLIndividual English = kb.getIndividual(URI.create(langOnt + "English"));
125 // OWLIndividual French = kb.getIndividual(URI.create(langOnt + "French"));
138 OWLKnowledgeBase kb
[all...]
H A DTranslator.java51 OWLKnowledgeBase kb = OWLFactory.createKB();
52 kb.setAutoTranslate(true);
53 OWLOntology ont = kb.read(uri);
H A DQuickTest.java38 private OWLKnowledgeBase kb; field in class:QuickTest
46 kb = OWLFactory.createKB();
47 kb.setReasoner("Pellet");
48 PelletReasoner r = (PelletReasoner) kb.getReasoner();
51 kb.getReader().getCache().setLocalCacheDirectory("e://workspaces//NExT//Ontologies//ont_cache");
52 kb.getReader().getCache().setForced(true);
57 OWLOntology ont = kb.read("http://www.w3.org/2001/sw/WebOnt/guide-src/wine.owl");
H A DMatchmaker.java29 OWLKnowledgeBase kb; field in class:Matchmaker
68 kb = OWLFactory.createKB();
70 kb.setReasoner("Pellet");
75 kb.read( new URI( ont ) );
80 kb.read( ont );
94 return kb.query( queryString );
H A DPreconditionCheck.java49 OWLKnowledgeBase kb = OWLFactory.createKB();
52 kb.setReasoner("Pellet");
57 Service service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/BabelFishTranslator.owl");
60 OWLIndividual English = kb.getIndividual(URI.create(langOnt + "English"));
61 OWLIndividual German = kb.getIndividual(URI.create(langOnt + "German"));
62 OWLIndividual Italian = kb.getIndividual(URI.create(langOnt + "Italian"));
H A DPreconditionUsage.java50 OWLKnowledgeBase kb = OWLFactory.createKB();
52 kb.setReasoner("Pellet");
57 Service service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/BabelFishTranslator.owl");
63 OWLIndividual English = kb.getIndividual(URI.create(langOnt + "English"));
64 OWLIndividual Italian = kb.getIndividual(URI.create(langOnt + "Italian"));
65 OWLIndividual Russian = kb.getIndividual(URI.create(langOnt + "Russian"));
H A DServiceExtension.java54 OWLKnowledgeBase kb = OWLFactory.createKB();
55 kb.setReasoner("Pellet");
56 OWLOntology ont = kb.createOntology();
83 OWLKnowledgeBase kb = OWLFactory.createKB();
85 kb.setReasoner("Pellet");
88 Service s = (Service) kb.readService("http://www.ifi.unizh.ch/ddis/ont/owl-s/ServiceExtensionTest.owl#");
H A DForEachExample.java67 OWLKnowledgeBase kb = OWLFactory.createKB();
69 Service service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/FindLatLong.owl");
72 OWLOntology ont = kb.createOntology();
97 OWLClass ZipCode = kb.getClass(URI.create(zipcodeOnt + "ZipCode"));
98 OWLDataProperty zip = kb.getDataProperty(URI.create(zipcodeOnt + "zip"));
H A DServiceParameterExample.java29 static OWLKnowledgeBase kb = OWLFactory.createKB(); field in class:ServiceParameterExample
38 Service service = kb.readService("http://www.daml.org/services/owl-s/1.1/BravoAirService.owl");
60 kb.setReasoner( reasoner );
H A DCreateComplexProcess.java63 OWLKnowledgeBase kb; field in class:CreateComplexProcess
297 kb = OWLFactory.createKB();
300 ont = kb.createOntology();
306 BookFinder = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/BookFinder.owl#").getProcess();
307 BNPrice = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/BNPrice.owl#").getProcess();
308 AmazonPrice = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/AmazonBookPrice.owl#").getProcess();
316 xsdString = kb.getDataType( XSD.string );
317 xsdFloat = kb.getDataType( XSD.xsdFloat );
318 Price = kb.getClass( URIUtils.createURI( concepts, "Price" ) );
319 amount = kb
[all...]
H A DOWLSExtensions.java48 OWLKnowledgeBase kb = OWLFactory.createKB();
50 kb.setReasoner("Pellet");
53 Service s = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/Dictionary.owl");
/owl-s/src/org/mindswap/owl/
H A DOWLReader.java58 public OWLOntology read(OWLKnowledgeBase kb, URI uri) throws FileNotFoundException; argument
60 public OWLOntology read(OWLKnowledgeBase kb, Reader in, URI uri); argument
62 public OWLOntology read(OWLKnowledgeBase kb, InputStream in, URI baseURI); argument
H A DOWLFactory.java41 private static OWLKnowledgeBase kb; field in class:OWLFactory
149 if( kb == null ) {
150 kb = createKB();
153 owlsService = kb.read( OWLS.Service.URI );
154 owlsProfile = kb.read( OWLS.Profile.URI );
155 owlsProcess = kb.read( OWLS.Process.URI );
156 owlsGrounding = kb.read( OWLS.Grounding.URI );
159 owlsService = kb.createOntology( URI.create( OWLS.Service.URI ) );
160 owlsProfile = kb.createOntology( URI.create( OWLS.Profile.URI ) );
161 owlsProcess = kb
[all...]
/owl-s/src/org/mindswap/utils/
H A DRDFUtils.java64 OWLKnowledgeBase kb = OWLFactory.createKB();
65 OWLOntology ont = kb.read( new StringReader( buffer.toString() ), null );
/owl-s/src/org/mindswap/owls/process/execution/
H A DProcessExecutionEngine.java51 public void setKB(OWLKnowledgeBase kb); argument
/owl-s/src/org/mindswap/query/
H A DABoxQuery.java84 public List run(OWLKnowledgeBase kb) { argument
85 return kb.query( this );

Completed in 27 milliseconds

12