Something Specific and Simple

  • Upload
    niklal

  • View
    906

  • Download
    0

Embed Size (px)

Citation preview


Something Specific and Simple

JSON-LD

JSON for Linking Data

JSON

Lingua franca on the web

{
"type": "Person",
"givenName": "Tove",
"familyName": "Jansson",
"books": [
{
"type": "Book",
"title": "Anteckningar frn en ",
"pubDate": "1996"
}
]
}

Identity

{
"@id": "/person/tove-jansson",
"type": "Person",
"givenName": "Tove",
"familyName": "Jansson",
"books": [
{
"@id": "/work/anteckningar-fran-en-o",
"type": "Book",
"title": "Anteckningar frn en ",
"pubDate": "1996"
}
]
}

Context

{
"@context": "/sys/contexts/bib.jsonld",

{
"@context": {
"@vocab": "http://xmlns.com/foaf/0.1/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"bibo": "http://purl.org/ontology/bibo/",
"dct": "http://purl.org/dc/terms/",

"type": "@type",
"Book": "bibo:Book",
"title": "dct:title",

"pubDate": {"@id": "dct:issued",
"@type": "xsd:date"},
"books": {"@reverse": "dct:creator",
"@container": "@set"}
}
}

@prefix : .
@prefix bibo: .
@prefix dct: .
@prefix xsd: .

a :Book;
dct:creator ;
dct:issued "1996-01-01"^^xsd:date;
dct:title "Anteckningar frn en " .

a :Person;
:familyName "Jansson";
:givenName "Tove" .

Use

Simple structure simple tools
Locally

Context cohesion across systems
In the wild