Skip to content

how to: populate info tooltip

Diego Valerio Camarda edited this page Jan 12, 2015 · 1 revision

Suppose this is your app path

   /var/lib/tomcat7/webapps/lodview/

you have to find the folder named "ontologies"

   /var/lib/tomcat7/webapps/lodview/WEB-INF/ontologies/

put in there your custom ontology and all the public ontologies are you using.
The file can be stored in any format Jena is able to recognize, you may also use a simple n3 file containing the triples describing "rdfs:comment" and "rdfs:label" of your properties.

At the end you will have something like this

   /var/lib/tomcat7/webapps/lodview/WEB-INF/ontologies/your_custom_contology_in_owl.owl
   /var/lib/tomcat7/webapps/lodview/WEB-INF/ontologies/another_custom_contology_in_xml.rdf
   /var/lib/tomcat7/webapps/lodview/WEB-INF/ontologies/dcelements.rdf
   /var/lib/tomcat7/webapps/lodview/WEB-INF/ontologies/dcterms.rdf
   /var/lib/tomcat7/webapps/lodview/WEB-INF/ontologies/dctype.rdf
   /var/lib/tomcat7/webapps/lodview/WEB-INF/ontologies/foaf.rdf
   /var/lib/tomcat7/webapps/lodview/WEB-INF/ontologies/ocd.rdf
   /var/lib/tomcat7/webapps/lodview/WEB-INF/ontologies/owl.ttl
   /var/lib/tomcat7/webapps/lodview/WEB-INF/ontologies/rdf.ttl
   /var/lib/tomcat7/webapps/lodview/WEB-INF/ontologies/rdfs.ttl