Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:knowrob2_migration [2020/07/22 10:08] – [Migration of commonly used queries] sasjonge | doc:knowrob2_migration [2020/07/22 12:31] – [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 ^ New Query ^ Comment | + | ^ Old query(s) ^ New Query ^ Comment |
| <code prolog>? | | <code prolog>? | ||
?- register_ros_package(knowrob_vis). | ?- register_ros_package(knowrob_vis). | ||
Line 13: | Line 15: | ||
?- register_ros_package(knowrob). | ?- register_ros_package(knowrob). | ||
</ | </ | ||
- | + | | <code prolog>? | |
- | | <code prolog>? | + | ?- rdf_db: |
- | ?- register_ros_package(knowrob_vis). | + | yourontology, |
</ | </ | ||
- | ?- register_ros_package(knowrob). | + | ?- tripledb_load( |
- | </ | + | ' |
+ | [ | ||
+ | | ||
+ | | ||
+ | ' | ||
+ | ) | ||
+ | ]). | ||
+ | </ | ||
+ | | <code prolog>? | ||
+ | </ | ||
+ | ?- tripledb_load(' | ||
+ | </ |