W3C home > Mailing lists > Public > public-xg-rdb2rdf@w3.org > November 2008

slightly modified example from my rif slide...

From: Axel Polleres <axel.polleres@deri.org>
Date: Fri, 14 Nov 2008 11:00:54 +0000
Message-ID: <491D5A66.6070602@deri.org>
To: "public-xg-rdb2rdf@w3.org" <public-xg-rdb2rdf@w3.org>

I saw there was some error in the example on slide 5 of


Here an improved version (also uploaded at the same address):

slide 5 uses the iri-string predicate. that is already a nasty 
example... assume, for a mapping from your RDB to RIF, you have the rule:

Forall ?P ( ?P#foaf:Person[foaf:phone -> ?T] ) :-
  And (
    mydb:Customers( ?ID ?Name ?Phone ?Address)
    External( pred:iri-string( ?P External( func:concat( 
"http://mydb.org/Persons/" ?ID )))
    External( pred:iri-string( ?T External( func:concat( "tel:" ?Phone )))


Dr. Axel Polleres
Digital Enterprise Research Institute, National University of Ireland, 
email: axel.polleres@deri.org  url: http://www.polleres.net/
Received on Friday, 14 November 2008 11:01:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:39:03 UTC