W3C home > Mailing lists > Public > semantic-web@w3.org > June 2010

Re: An idea I need help with, or told to stop wasting time on!

From: Reto Bachmann-Gmuer <reto.bachmann@trialox.org>
Date: Sun, 6 Jun 2010 19:40:54 +0200
Message-ID: <AANLkTimBf_MvGPgytGhfhpN-SvNIH15O44-Yx_W6fzBQ@mail.gmail.com>
To: nathan@webr3.org
Cc: semantic-web@w3.org, Richard Cyganiak <richard@cyganiak.de>, Linked Data community <public-lod@w3.org>, dret@berkeley.edu
On Sun, Jun 6, 2010 at 6:17 PM, Nathan <nathan@webr3.org> wrote:

> ...
>
>  :me foaf:name [
>     ex:value 'nathan' ;
>     ex:type xsd:string ;
>     ex:language 'en-gb' .
>  ] .
>
> foaf:name has range rdfs:Literal, this still allows us to say:

:me foaf:name [



> And do some funkier stuff:
>
>  :me foaf:mbox :myemail ;
>  :myemail ex:value <mailto:nathan@webr3.org> ;
>     ex:sha_1 'KLSJFS9F7S9D8F7SLADFSLKDJF98SD7' ;
>     dcterms:created '2010-06-03T15:19:35-05:00' ;
>     dcterms:replaces :oldmail .
>  :oldmail ex:value <mailto:oldemail@webr3.org> .
>
> so because of the way ex:value works, in there we have the triple:
>
> <mailto:nathan@webr3.org> dcterms:replaces <mailto:oldemail@webr3.org> .
>
> but we've also introduced a way to make non http URIs dereferencable..
>
> <http://webr3.org/nathan#oldmail> ex:value <mailto:oldemail@webr3.org> .
>
> see why my head is hurting with this?
>
>
> 2: Double Serialization
>
> In a way we can already do this with rdf:XMLLiteral
>
> :x content:encoded '<rdf:RDF xmlns:rdf="
> http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="
> http://ex.org/egg#i"><rdfs:label
> xml:lang="en">egg</rdfs:label></rdf:Description></rdf:RDF>'^^<
> http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .
>
> so we could say:
>
> :x a ex:NamedGraph ;
>  ex:graph '<rdf:RDF...'^^rdf:XMLLiteral .
>
> or including ex:value as outlined in 1 earlier:
>
> :graph1 a ex:NamedGraph ;
>  ex:graph [
>     ex:value '''some serialized rdf in here''' ;
>     ex:type 'text/rdf+n3' . ] .
>
> Would allow you to strap provenance / meta to a value and/or the named
> graph.. and here's where it's either so simple, or so complex that my brain
> simply pickles:
>
> example onto:
>
> ex:graph rdfs:domain ex:NamedGraph;
>   rdfs:range ex:Graph .
>
> example graph:
>
> :graph1 ex:graph :v3 .
>
> :v3 ex:value '''some serialized rdf in here''' ;
>  ex:type 'text/rdf+n3' ;
>  dcterms:replace :v2 .
>
> v2 ex:value '''old serialized rdf here''' ;
>  ex:type 'text/rdf+n3' ;
>  dcterms:replace :v1 .
>
> ...... I'm sure there's something in using [ log:content, log:n3String,
> log:uri ] here instead, and quite sure that by stating that graph contents
> where either a Truth or a Falsehood you could use for rdf updates..
>
> So, is there something in this, am I going down a wrong path, thoughts,
> feedback, anything?
>
> Best,
>
> Nathan
>
>
Received on Sunday, 6 June 2010 17:41:53 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:36 GMT