Post details: WotD: "Negative Triples"
2007-05-27
WotD: "Negative Triples"
Word of the day: "Negative Triples"
From: XUL Planet | Querying RDF Datasources
var target = datasource.GetTarget(karen, name, true);You might have noticed that the GetTarget method has a third argument which is set to true above. This is used to indicate whether you want to retrieve a negative triple instead of a normal one. This is a special Mozilla-specific feature that allows an RDF statement to be false instead of true. Remember that when a piece of information is not supplied in the datasource, it means that the datasource does not know that information, not that the information is blank. For instance, if we hadn't specified Karen's name in the RDF/XML, it means that Karen's name is not known to the datasource. She may still have a name however.
A negative triple indicates that a particular statement is not true. For instance, we could add a statement that Karen's name is not 'Tracy'. Note that there is no way to actually specify this in the RDF/XML, only by directly manipulating the datasource. However, negative triples should generally be avoided. They don't really offer a lot of value and usually this kind of information is better specified in other ways.
It would be interesting to know how much these negative triples are/were actually used in Mozilla/Firefox and what for. Once there is a way to take triples away you could do incremental updates of RDF datasources if needed.
A related conversion, from #swig logs (2007-06-28 @ 14:32:36):
< TipTop> how to say that a statement is invalid, for example, without reification?
< timbl> have to either do reification properly, or you use N3 formulas.
< timbl> { Sky clor blue } a log:Falsehood.
< timbl> is the latter.
Comments, Pingbacks:
http://ascensionsemantica.blogspot.com/2007/04/case-for-anti-triples.html
It is reassuring to encounter more need for +/- sign convention for triples.
This post has 8 feedbacks awaiting moderation...
Leave a comment:
captsolo weblog
See also:
- My homepage (captsolo.net)
- @CaptSolo on Twitter
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
| << < | > >> | |||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | |||
Search
Gallery
www.flickr.com
|
Categories
Archives
- June 2008 (1)
- May 2008 (5)
- April 2008 (2)
- March 2008 (2)
- February 2008 (2)
- January 2008 (1)
- December 2007 (1)
- November 2007 (2)
- October 2007 (5)
- September 2007 (4)
- August 2007 (1)
- July 2007 (3)
- More...
- more...

