Connect to Web Ontology Language File using Jena API , Java - Full Project
Display all information from an OWL file using OpeOWL file
two examples
1 - Using two comobox to get result as Jena resultSet and get display it a in textarea,
2 - get Result as string and display it in a Combobox list
---
all you need to do is copy paste file projectOWL.owl into c:\ or make necessary changes in OpenOWL.owl file
VIDEO
any question you can comment below
DownLoad full Project : Code Source
All codes and Videos are Mine and you free to use it and share it anywhere
You need support juste leave a comment below
Why this (below) not working
RépondreSupprimerString queryString = "PREFIX rdf:\n" +
"prefix rustonto:\n" +
"SELECT DISTINCT (str(?Object1) as ?X) (str(?Object3) as ?Y) \n" +
" WHERE { \n" +
" ?Object1 rustonto:hasIdCountry ?Object2.\n" +
" ?Object1 rdf:type ?Object3.\n" +
" }";
System.out.println(queryString);
String s = OpenOWL.GetResultAsString(queryString); // call method GetResultAsString from OpenOWL class
// test ;)
System.out.println(s);
>>>>> Download Now
RépondreSupprimer>>>>> Download Full
>>>>> Download LINK
>>>>> Download Now
>>>>> Download Full
>>>>> Download LINK