The question is, can you figure out what the expression above does? If so, then RPath passes the Syntax Is Comprehensible Test.
Returns all the roles played by Mike Myers that do not contain the string 'Evil' in them?
Posted by Alex Bishop on May 2, 2003 7:19
Hmm, if correct, Alex did very well!
The list of names (the returned values?) is the confusing part. Without seeing what the source data looks like (as graph or triples) it isn't clear.
Another point is that the 'not' operation isn't available with RDF - it needs a closed world. I think you need to close the world by explicitly specifying the subgraph somewhere.
That all sounds rather negative - that's not my main reaction, which is : this is looking really good!
Posted by Danny Ayers on May 2, 2003 9:32
Close. It returns all the roles played by Mike Myers which don't contain 'Evil' nor those in the same movie. Thus, none of the characters he played in the Austin Powers movies are included.
The 'not' function is more like a boolean operator that returns true or false; in this case if the expression inside contains the matching string. The data beind looked at is generated by the very first part of the expression, gathered from an RDF file by Mozilla's rdf datasource loader.
If you'd like the RDF file, I can mail it to you. I'd probably be breaking the IMBD license by posting it directly.
Posted by Neil on May 2, 2003 6:37
I think it gets a pretty good score on comprehensibility then.
hmm - I guess using 'not' on the contents of literals is outside of the RDF model and so must be allowable ;-)
Can certainly see how it could be useful in circumstances like this.
Thanks re. the RDF file - nah, it's ok, your description says enough (and licenses scare me!).
Posted by Danny Ayers on May 4, 2003 4:18
Email Address: (Optional)
Comments: (plain text only, no HTML)
Copyright (C) 2003 - 2005 Neil Deakin