Another RDF Encoding Form
Upcoming SlideShare
Loading in...5
×
 

Another RDF Encoding Form

on

  • 459 views

Lightening talk for Semantic Web in Libraries (SWIB13) conference at 2013-11-27 about another method of expressing RDF data. See http://gbv.github.io/aREF/ for a preliminary specification.

Lightening talk for Semantic Web in Libraries (SWIB13) conference at 2013-11-27 about another method of expressing RDF data. See http://gbv.github.io/aREF/ for a preliminary specification.

Statistics

Views

Total Views
459
Views on SlideShare
458
Embed Views
1

Actions

Likes
0
Downloads
3
Comments
0

1 Embed 1

https://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Another RDF Encoding Form Another RDF Encoding Form Presentation Transcript

  • Another RDF Encoding Form (aREF) Jakob Voß (VZG) SWIB2013 Lightning Talk, 2013-11-27
  • Another RDF Encoding Form? aREF = JSON-LD light + Turtle light Based on maps, strings, and arrays like JSON Easy literals like Turtle: "literal@language-tag" "literal^data:type"
  • What’s wrong with existing serializations? RDF/XML is awful RDF/JSON is too verbose Turtle is one big string (parsing required) JSON-LD is complex (13 keywords WTF?!) None of them are good for writing RDF data right in your code.
  • Purpose of aREF Read and write RDF data in any code or data structures (JSON, YAML, INI files, Perl code, Ruby, Phython. . . .) aREF Serialization <--> List-Map-Structures <==> RDF Triples (e.g. YAML) (data structure)
  • Example 1: Serialization in YAML _id: http://example.com/people#john foaf:name: John Smith foaf:age: 41^xsd:integer foaf:homepage: - _id: http://personal.example.org/ dct:modified: 2010-05-29^xsd:date - http://work.example.com/jsmith/ dct:description: a nice guy@en foaf:knows: foaf:name: Alice
  • Example 2: Serialization in Perl-Code $rdf = { _id => ’http://example.com/people#john’, foaf_name => ’John Smith’, foaf_age => ’41^xsd:integer’, foaf_homepage => [ { _id => ’http://personal.example.org/’, dct_modified => ’2010-05-29^xsd:date’, }, ’http://work.example.com/jsmith/’, ], dct_description => ’a nice guy@en’, foaf_knows => { foaf_name => "Alice" }, };
  • Getting started Current specification and issue tracker http://gbv.github.io/aREF/ Preliminary implementation in Perl: https://metacpan.org/release/Catmandu-RDF Feedback welcome!