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

aAsoodeh's profile - activity

2020-05-13 06:23:39 -0500 received badge  Famous Question (source)
2020-05-13 06:23:39 -0500 received badge  Notable Question (source)
2019-05-20 02:13:37 -0500 marked best answer Service call failed in json-prolog while querying an owl file in Cram

Hi,

I started a roslisp node in cram and have json-prolog query services (i can see

/json_prolog/finish
/json_prolog/next_solution
/json_prolog/query
/json_prolog/simple_query

when i do "rosservice list").

Also by typing (json-prolog:check-connection) i receive T. so i assume that everything set up properly.

problem is when i try any query like

(json-prolog:prolog '("rdf_has" ?owlname "http://knowrob.org/kb/srdl2-comp.owl#urdfName" ("literal" ?var)))

i receive

Prolog query failed: Got error: The value
             |'["rdf_has",{"variable":"OWLNAME"},"http://knowrob.org/kb/srdl2-comp.owl#urdfName",{"term":["literal",{"variable":"VAR"}]}]'|
           is not of type
             LIST..

also i have

[(JSON-PROLOG) WARN] 1505226166.532: Service call failed. 
[(JSON-PROLOG) WARN] 1505226166.532: Retrying...

Thanks

2019-04-23 04:48:51 -0500 received badge  Famous Question (source)
2018-12-06 13:26:17 -0500 received badge  Famous Question (source)
2018-12-06 13:26:17 -0500 received badge  Notable Question (source)
2018-12-06 13:26:17 -0500 received badge  Popular Question (source)
2017-09-21 10:20:54 -0500 edited question Java Exception in roslaunch json_prolog project

Java Exception in roslaunch json_prolog project Hi I set up a ros project based on http://www.knowrob.org/doc/interact_

2017-09-21 09:59:12 -0500 asked a question Java Exception in roslaunch json_prolog project

Java Exception in roslaunch json_prolog project Hi I set up a ros project based on http://www.knowrob.org/doc/interact_

2017-09-19 06:29:51 -0500 received badge  Notable Question (source)
2017-09-18 06:48:03 -0500 received badge  Popular Question (source)
2017-09-15 13:36:16 -0500 received badge  Enthusiast
2017-09-13 12:37:35 -0500 commented answer Service call failed in json-prolog while querying an owl file in Cram

same error when trying prolog-simple. do you know any cram project that i can use as pattern to build a clear project? a

2017-09-13 12:37:12 -0500 commented answer Service call failed in json-prolog while querying an owl file in Cram

same error when trying prolog-simple. do you know any cram project that i can use as pattern to build a clear project? a

2017-09-13 09:47:17 -0500 asked a question Service call failed in json-prolog while querying an owl file in Cram

Service call failed in json-prolog while querying an owl file in Cram Hi, I started a roslisp node in cram and have jso

2017-09-12 09:25:28 -0500 commented answer Problem with running json-prolog:prolog to query an owl file

also i have [(JSON-PROLOG) WARN] 1505226166.532: Service call failed. [(JSON-PROLOG) WARN] 1505226166.532: Retrying...

2017-09-12 09:08:35 -0500 commented answer Problem with running json-prolog:prolog to query an owl file

Thanks @gaya. right now i have the connection and service. the error that i have this time when i tried prolog-simple ex

2017-09-11 09:11:23 -0500 received badge  Popular Question (source)
2017-09-11 08:08:40 -0500 commented answer Problem with running json-prolog:prolog to query an owl file

No it said ros-rpc call failed with code -1, message no provider, values. [Condition of type ROSLISP::ROS-RPC-ERROR]

2017-09-11 07:48:55 -0500 received badge  Supporter (source)
2017-09-11 07:48:32 -0500 answered a question Problem with running json-prolog:prolog to query an owl file

Thanks Gaya, I tried starting ros node. this is the result: [(ROSLISP TOP) INFO] 1504894025.528: Node name is /my_aw

2017-09-11 07:40:40 -0500 marked best answer Problem with running json-prolog:prolog to query an owl file

Hi,

I have a cram project running with Ros. i simply want to query an owl file and receive results in cram.

Knowrob is installed on my system and i can run rosrun rosprolog rosprolog knowrob_common examples.


Based on limited documentations and available codes, to query the owl file, i came up with the following code

(json-prolog:prolog '("rdf_has" ?owlname "http://knowrob.org/kb/srdl2-comp.owl#urdfName"("literal")))

i received

; Evaluation aborted on #<SB-KERNEL:CASE-FAILURE expected-type: (OR STRING ROSLISP::URI) datum: NIL>.

i tried every permutation to place owl address, variable and owl command. same error showed up in all cases.

Moreover, by running (json-prolog:check-connection) i have the following error

[(JSON-PROLOG) WARN] 1504631904.665: Node is not running.

I am not sure which node i should run and is it neccessary in order to query the owl file?

Thanks

2017-09-11 07:40:40 -0500 received badge  Scholar (source)
2017-09-07 10:55:59 -0500 asked a question Problem with running json-prolog:prolog to query an owl file

Problem with running json-prolog:prolog to query an owl file Hi, I have a cram project running with Ros. i simply want