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

Revision history [back]

The command

owl_parse('home/amal/pizza.owl', false, false, true).

should be used after you started the knowrob system by

rosrun rosprolog rosprolog mod_vis

The function you called is defined in owl_parser.pl of the package "thea"

owl_parse(URL, RDF_Load_Mode, OWL_Parse_Mode,Imports) :-
    (   RDF_Load_Mode=complete,!,rdf_retractall(_,_,_); true),
    retractall(rdf_db:rdf_source(_,_,_,_)),
    rdf_load_stream(URL,[URL],Imports),
    owl_parse(OWL_Parse_Mode).

It's some options, I don't understand the meaning of these arguments.If you are really interested in this, a way to understand them is to see where they are used. For example, you can understand the meaning of "OWL_Parse_Mode" by tracing this

owl_parse(OWL_Parse_Mode).