W3C home > Mailing lists > Public > public-cwm-talk@w3.org > April to June 2007

N3 rules: literals as subject and object in built-in functions

From: Jeff Thompson <jeff@thefirst.org>
Date: Fri, 25 May 2007 15:33:31 -0700
Message-ID: <4657643B.2060807@thefirst.org>
To: cwm talk <public-cwm-talk@w3.org>

http://www.w3.org/2004/12/rules-ws/paper/94/
In "Experience with N3 rules", it says built-in functions "are simply represented as RDF properties",
and gives the example:
   { ex:d test:point ?x.  ?x math:sin ?y } =>  {...}

Presumably ?x and ?y for math:sin would be a number literal.  But an RDF graph only
allows the object to be a literal, not a subject.
1. Am I right that RDF does not allow the subject of a triple to be a literal?
2. If so, how can a math built-in function that uses literals be the predicate of an RDF triple?

Thanks,
- Jeff
Received on Friday, 25 May 2007 22:33:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:11:02 GMT