ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Knowrob_common package functionality &use ?

asked 2012-12-04 02:53:26 -0500

Wafaay gravatar image

updated 2014-04-20 14:09:31 -0500

ngrennan gravatar image

hi... i was reading the Knowrob tutorials...and when i reached the section of Exporting knowledge into owl files at Loading Files And Ros Packages ..i had a problem... i already made an owl file through the protege....but it's classes aren't like that

                 <rdfs:subClassOf rdf:resource="&knowrob;Place"/>

it is like that

                 <rdfs:subClassOf rdf:resource="#Table"/>

it says that -at the tutorials - i can do "that" by using Knowrob_common through owl_export module...My first question is "that" refers to adding the knowrob meaning to my classes ?? be more obvious is that is the operation of exporting knowledge to owl file is to gave the meaning to the classes at my owl file and it converting my file to have that "&knowrob"?? My Second Question is where can i find the illustration of knowrob_common..ty for helping ^_^

edit retag flag offensive close merge delete


@moritz ...can you help me ?

Wafaay gravatar image Wafaay  ( 2012-12-08 23:59:40 -0500 )edit

Please don't tag me to trigger answers. I can give support in my free time, but when I don't answer, this normally means that I don't have sufficient free time. I do look at questions tagged with "knowrob" from time to time and try to provide support if I can.

moritz gravatar image moritz  ( 2012-12-09 20:58:11 -0500 )edit

sorry for that sir..i promise it'd not happen again ^_^

Wafaay gravatar image Wafaay  ( 2012-12-10 08:01:10 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-12-09 21:10:08 -0500

moritz gravatar image

All OWL identifiers are global IRIs, e.g. of the form ''. You can write them in different ways, e.g. using XML entities (which are defined in the document head and can shorten the identifiers to &knowrob;Cup). You can also use IRIs that are relative to the xmlns defined in the OWL document (i.e. the #Table in your example will be treated as relative IRI and complemented with a namespace like '').

Apart from that: The predicates on the page you refer to export knowledge that has been added to KnowRob in terms of Prolog assertions into OWL files. You can of course also create OWL files using any other method. If you mean "documentation" with "illustration", that can be found in the ROS wiki (, not much) and in the API documentation in the source code).

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-12-04 02:53:26 -0500

Seen: 241 times

Last updated: Dec 09 '12