Lines Matching refs:kb

79         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 = OWLFactory.createKB();
140 service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/ZipCodeFinder.owl");
159 OWLKnowledgeBase kb = OWLFactory.createKB();
162 service = kb.readService("http://www.ifi.unizh.ch/ddis/ont/owl-s/JGroundingTest.owl");
176 OWLKnowledgeBase kb = OWLFactory.createKB();
179 service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/BookFinder.owl");
201 OWLKnowledgeBase kb = OWLFactory.createKB();
204 service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/BookPrice.owl");
215 kb.getIndividual(URI.create(currencyOnt + "EUR")));
225 OWLKnowledgeBase kb = OWLFactory.createKB();
231 service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/FindCheaperBook.owl");
252 OWLKnowledgeBase kb = OWLFactory.createKB();
254 service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/CurrencyConverter.owl");
261 OWLIndividual EUR = kb.getIndividual(URI.create(currencyOnt + "EUR"));
264 OWLIndividual USD = kb.getIndividual(URI.create(currencyOnt + "USD"));
266 OWLClass Price = kb.getClass(URI.create(conceptsOnt + "Price"));
267 OWLObjectProperty currency = kb.getObjectProperty(URI.create(conceptsOnt + "currency"));
268 OWLDataProperty amount = kb.getDataProperty(URI.create(conceptsOnt + "amount"));
270 OWLIndividual inputPrice = kb.createInstance(Price);
286 OWLKnowledgeBase kb = OWLFactory.createKB();
288 kb.setReasoner("Pellet");
290 service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/FrenchDictionary.owl");
310 OWLKnowledgeBase kb = OWLFactory.createKB();
313 kb.setReasoner("RDFS");
315 service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/BabelFishTranslator.owl");
319 OWLIndividual English = kb.getIndividual(URI.create(langOnt + "English"));
320 OWLIndividual French = kb.getIndividual(URI.create(langOnt + "French"));
337 OWLKnowledgeBase kb = OWLFactory.createKB();
338 service = kb.readService("http://www.mindswap.org/2004/owl-s/1.1/Dictionary.owl");