- From: Jürgen Jakobitsch SWC <j.jakobitsch@semantic-web.at>
- Date: Sat, 04 May 2013 11:04:31 +0200
- To: Henry Story <henry.story@bblfish.net>
- Cc: public-rdf-comments@w3.org
On Sat, 2013-05-04 at 08:28 +0200, Henry Story wrote: > On 3 May 2013, at 13:07, Jürgen Jakobitsch SWC <j.jakobitsch@semantic-web.at> wrote: > > > hi, > > > > is there a way to express that a rdf:Statement belongs to a certain > > graph? > > > > i'm asking with respect to changesSets [1] where i want to add the given > > statement to one or more specified graphs. > > > > if there's no best practice, issue or the like i would subclass > > rdf:Statement if there's nothing i'm missing out.. > > in n3 you could use log:includes > > <http://eg.example/ont> log:includes { joe a foaf:Person } . hi, thank you both for your input! i guess the "log:includes" [1] variant is more (although there's an own predicate) on the "implies" than on the "contains" side. the "some:contains" variant is straight forward and easy to remember. however i see complex structures coming my way when i simply want to express DELETE FROM, INSERT INTO in a changeset (see the first example here [2]). i guess i'm going for a subclass of Statement with restriction (min cardinality turnguard:graph) for now, so i can simply do the following ... <cs:changeReason>Change of title</cs:changeReason> <cs:removal> <rdf:Statement> <rdf:subject rdf:resource="http://example.com/res#thing"/> <rdf:predicate rdf:resource="http://purl.org/dc/elements/1.1/title"/> <rdf:object>Original Title</rdf:object> <tg:graph rdf:resource="http://example.com/titles"> </rdf:Statement> and see if something can be done with changeset vocab. wkr j [1] http://www.w3.org/2000/10/swap/log.n3 [2] http://docs.api.talis.com/getting-started/changesets > > > > wkr jürgen > > > > [1] http://docs.api.talis.com/getting-started/changesets > > > > -- > > | Jürgen Jakobitsch, > > | Software Developer > > | Semantic Web Company GmbH > > | Mariahilfer Straße 70 / Neubaugasse 1, Top 8 > > | A - 1070 Wien, Austria > > | Mob +43 676 62 12 710 | Fax +43.1.402 12 35 - 22 > > > > COMPANY INFORMATION > > | web : http://www.semantic-web.at/ > > | foaf : http://company.semantic-web.at/person/juergen_jakobitsch > > PERSONAL INFORMATION > > | web : http://www.turnguard.com > > | foaf : http://www.turnguard.com/turnguard > > | g+ : https://plus.google.com/111233759991616358206/posts > > | skype : jakobitsch-punkt > > | xmlns:tg = "http://www.turnguard.com/turnguard#" > > > > > > Social Web Architect > http://bblfish.net/ > -- | Jürgen Jakobitsch, | Software Developer | Semantic Web Company GmbH | Mariahilfer Straße 70 / Neubaugasse 1, Top 8 | A - 1070 Wien, Austria | Mob +43 676 62 12 710 | Fax +43.1.402 12 35 - 22 COMPANY INFORMATION | web : http://www.semantic-web.at/ | foaf : http://company.semantic-web.at/person/juergen_jakobitsch PERSONAL INFORMATION | web : http://www.turnguard.com | foaf : http://www.turnguard.com/turnguard | g+ : https://plus.google.com/111233759991616358206/posts | skype : jakobitsch-punkt | xmlns:tg = "http://www.turnguard.com/turnguard#"
Received on Saturday, 4 May 2013 09:04:58 UTC