Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:knowrob2_migration [2020/07/22 10:44] – [Migration of commonly used queries] sasjonge | doc:knowrob2_migration [2020/07/22 13:32] (current) – [Migration of commonly used queries] sasjonge | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Migrating to KnowRob 2.0 ====== | ====== Migrating to KnowRob 2.0 ====== | ||
| + | |||
| + | **This page is a work in progress** | ||
| The current master branch contains a redesign of KnowRob. The redesign changes the way how Knowrob has to be included into your project. Additionally some queries were replaced. | The current master branch contains a redesign of KnowRob. The redesign changes the way how Knowrob has to be included into your project. Additionally some queries were replaced. | ||
| Line 7: | Line 9: | ||
| ===== Migration of commonly used queries ===== | ===== Migration of commonly used queries ===== | ||
| - | ^ Old query(s) | + | ==== Registering of old KnowRob packages ===== |
| - | | <code prolog>? | + | |
| - | ?- register_ros_package(knowrob_vis). | + | Many of the packages of the old knowrob/ |
| - | </ | + | |
| + | <code prolog>? | ||
| + | ?- register_ros_package(knowrob_vis).</ | ||
| + | |||
| + | can be replaced by | ||
| + | |||
| + | <code prolog> | ||
| ?- register_ros_package(knowrob). | ?- register_ros_package(knowrob). | ||
| - | </ | + | </ |
| + | |||
| + | ==== Loading .owl files ===== | ||
| + | |||
| + | OWL files where loadid | ||
| | <code prolog>? | | <code prolog>? | ||
| - | ?- rdf_db: | + | ?- rdf_db: |
| + | yourontology, | ||
| </ | </ | ||
| - | ?- tripledb_load(' | + | ?- tripledb_load( |
| + | | ||
| [ | [ | ||
| - | | + | |
| + | yourontology, | ||
| + | ' | ||
| + | ) | ||
| ]). | ]). | ||
| </ | </ | ||

