Closed ghost closed 8 years ago
The error about the query being malformed is coming from the SPARQL server you are accessing, so there is no way around it. As for why the server is rejecting your query, I don't believe that SPARQL actually allows you to use blank nodes in the predicate position, so you probably want to try using a variable for that instead.
Thank you for your response. I will try to specify a variable instead.
Hello, Thank you for your fast reply on my last question.
I learned how to use wildcards and had time trying it out on various query attempts. I was able to use wildcards on subjects and objects but whenever I use wildcard (in this case i used RDF::Node.new) i get an error saying that the query is malformed. Do you know any solution to this problem?
I want to make a rdf crawler that crawls linked data and want to dereference all the adjacent nodes.
Thanks again.