I'm new to Jena and Protégé. I did some stuff with these. I have some problems:
The Jena Ontology API is great for getting individual classes, properties, and their details and relationships.
SPARQL queries are great for querying a large number of instances and filter out only the bits of information (including their property values) that you need.
For your other questions, reading a bit of the documentation might help! The answers are in here:
GitHub上的jena-examples项目演示了API的一些用例 。
Yup jena-fuseki server can be used to query ontology classes,subclasses,properties and values. Download apache jena-fuseki server Next we import this ontology to Apache's Jena Fuseki server and run some simple SPARQL queries. Execute the following command in command prompt: $ ./ fuseki −server −−update −−mem / ds If everything goes well, we should have our server running at: http://localhost:3030/ web browser go to http://localhost:3030/ a)Choose control panel then select "/ds" source. b) Upload the file ".owl file” upload it to server c) Now d) To Query triples go to SPARQL query and run it. d) Your database is filled with triples.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.