W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2004

Suggested modification for CONSTRUCT

From: Pat Hayes <phayes@ihmc.us>
Date: Sat, 18 Dec 2004 22:39:44 -0800
Message-Id: <p06001f18bdead0f6439e@[192.168.1.7]>
To: public-rdf-dawg@w3.org

As I understand it, right now the CONSTRUCT simply ignores any cases 
which would produce an illegal (non-RDF) instance. For example

CONSTRUCT ex:a ?x ex:b WHERE ?y ex:foo ?x

with a target graph

ex:aa ex:foo "13"^^xsd:number .
ex:aa ex:foo ex:c .

will produce

ex:a ex:c ex:b .

and the illegal case (ex:a "13"^^xsd:number ex:b) will simply be ignored.

Question: would it be worth having an error be generated in this kind 
of a case, but allowing the pattern to include a 'FORCE' option which 
overrides the error and produces the current behavior? I can imagine 
cases where finding an 'illegal' pattern might be something one would 
want to know about, rather than having it made invisible.

Anyway, just an idea for consideration.

Pat


-- 
---------------------------------------------------------------------
IHMC		(850)434 8903 or (650)494 3973   home
40 South Alcaniz St.	(850)202 4416   office
Pensacola			(850)202 4440   fax
FL 32502			(850)291 0667    cell
phayes@ihmc.us       http://www.ihmc.us/users/phayes
Received on Sunday, 19 December 2004 06:40:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:21 GMT