Hi,
I need clarification on Node.matches for variable nodes (I am using Jena 5.1.0).
I was expecting the following to return true:
boolean isFalse = NodeFactory.createVariable("v").matches(
NodeFactory.createURI("http://www.example.org/"));
Then, I looked at comments on Node and the method matches is supposed to be
extended. However, I can't find it implemented in Node_Variable nor in Var.
What am I missing? How do I implement nodes and triples for pattern matching?
Best,
Enrico
--
Enrico Daga, PhD
Senior Research Fellow
Knowledge Media Institute
The Open University
http://enridaga.net
http://sparql-anything.cc