... | ... | @@ -97,8 +97,8 @@ SELECT ?x ?y WHERE { <someid> a <someklass> ; |
|
|
* Take into account the following when calling this query:
|
|
|
- Make sure to keep `<` and `>` they indicate a URI in the query, without them the query is invalid and will not be executed, so you can replace `<someid>` by `<somethingelse>` but not `somethingelse`.
|
|
|
- set the TST parameter for `graphname` in the parameter to the service call.
|
|
|
- This query need to be executed with a service call to `/kDBServerNodelet/sparql_query`. You can check the official tutorial for [Python](https://docs.ros.org/en/galactic/Tutorials/Beginner-Client-Libraries/Writing-A-Simple-Py-Service-And-Client.html) or [C++](https://docs.ros.org/en/galactic/Tutorials/Beginner-Client-Libraries/Writing-A-Simple-Cpp-Service-And-Client.html) to learn how to make a service call.
|
|
|
- In the call to `/kDBServerNodelet/sparql_query`, the fields `bindings` and `service` are unused for this lab and can be set to an empty string.
|
|
|
- This query need to be executed with a service call to `/kdb_server/sparql_query`. You can check the official tutorial for [Python](https://docs.ros.org/en/galactic/Tutorials/Beginner-Client-Libraries/Writing-A-Simple-Py-Service-And-Client.html) or [C++](https://docs.ros.org/en/galactic/Tutorials/Beginner-Client-Libraries/Writing-A-Simple-Cpp-Service-And-Client.html) to learn how to make a service call.
|
|
|
- In the call to `/kdb_server/sparql_query`, the fields `bindings` and `service` are unused for this lab and can be set to an empty string.
|
|
|
* If the object has not been observed yet in the database. Add new observation using the insert triples service call (replace 'salientpoints' with the TST parameter for `graphname`).
|
|
|
* In C++, add `air_simple_sim_msgs` as a dependency in `CMakeLists.txt`, using `find_package` and setting the correct dependencies for your executable.
|
|
|
* In the following section, we cover hints on how to interpret the results of a queries, including parsing of JSON.
|
... | ... | |