are we prepared in Jena for such a move on the RDF syntax?


---------- Forwarded message ---------
From: Tim Berners-Lee <ti...@w3.org>
Date: Thu, Nov 22, 2018 at 1:05 PM
Subject: ✅ Literals as subjects Re: Toward easier RDF: a proposal
To: David Booth <da...@dbooth.org>
Cc: SW-forum Web <semantic-...@w3.org>, Dan Brickley <dan...@google.com>,
Sean B. Palmer <s...@miscoranda.com>, Olaf Hartig <olaf.har...@liu.se>,
Axel Polleres <a...@polleres.net>




On 2018-11 -21, at 22:40, David Booth <da...@dbooth.org> wrote:

7. Literals as subjects.  RDF should allow "anyone to say
anything about anything", but RDF does not currently allow
literals as subjects!  (One work-around is to use -- you guessed
it -- a blank node, which in turn is asserted to be owl:sameAs
the literal.)  This deficiency may seem unimportant relative
to other RDF difficulties, but it is a peculiar anomaly that
may have greater impact than we realize.  Imagine an *average*
developer, new to RDF, who unknowingly violates this rule and
is puzzled when it doesn't work.  Negative experiences like
that drive people away.  Even more insidiously, imagine this
developer tries to CONSTRUCT triples using a SPARQL query,
and some of those triples happen to have literals in the
subject position.  Per the SPARQL standard, those triples will
be silently eliminated from the results,[13] which could lead
to silently producing wrong answers from the application --
the worst of all possible bugs.


Agreed.

I thought we had fixed that in some later spec but I guess not.

All code I have written, like cwm and rdflib.js, allows the same things in
subject and object positions.  Life is too short for arbitrary unnecessary
asymmetry.

timbl



-- 


---
Marco Neumann
KONA

Reply via email to