Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add non-mandatory JSON-LD profile #34

Open
nichtich opened this issue Feb 7, 2017 · 4 comments
Open

Add non-mandatory JSON-LD profile #34

nichtich opened this issue Feb 7, 2017 · 4 comments
Milestone

Comments

@nichtich
Copy link
Member

nichtich commented Feb 7, 2017

To automatically map DAIA/JSON to RDF (if possible). Looks like JSON-LD 1.1 can help.

@nichtich
Copy link
Member Author

nichtich commented Feb 14, 2017

A start. Some parts will be tricky, e.g. part cannot be supported. Maybe this requires an extension to the holding ontology.

{
  "about": {
    "@id": "http://purl.org/dc/elements/1.1/description"
  },
  "available": {
    "@id": "http://purl.org/ontology/daia/availableFor",
    "@type": "@id"
  },
  "content": {
    "@id": "http://purl.org/dc/elements/1.1/title"
  },
  "delay": {
    "@id": "http://purl.org/ontology/service#delay",
    "@type": "http://www.w3.org/2001/XMLSchema#duration"
  },
  "href": {
    "@id": "http://xmlns.com/foaf/0.1/page",
    "@type": "@id"
  },
  "id": "@id",
  "interloan": "http://purl.org/ontology/dso#Interloan",
  "item": {
    "@id": "http://purl.org/ontology/holding#exemplar",
    "@type": "@id"
  },
  "label": {
    "@id": "http://purl.org/ontology/holding#label"
  },
  "limitation": {
    "@id": "http://purl.org/ontology/service#limitedBy",
    "@type": "@id"
  },
  "loan": "http://purl.org/ontology/dso#Loan",
  "openaccess": "http://purl.org/ontology/dso#Openaccess",
  "presentation": "http://purl.org/ontology/dso#Presentation",
  "queue": {
    "@id": "http://purl.org/ontology/service#queue",
    "@type": "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"
  },
  "remote": "http://purl.org/ontology/dso#Remote",
  "service": "@type",
  "unavailable": {
    "@id": "http://purl.org/ontology/daia/unavailableFor",
    "@type": "@id"
  }
}

@nichtich
Copy link
Member Author

document can be mapped to dc:hasPart (or schema:hasPart) and organization to dc:creator (or schema:creator) when the result root is seen as bibo:Collection (or schema:Collection)

@nichtich
Copy link
Member Author

nichtich commented Mar 6, 2017

Another look at BIBFRAME 2 is worth to consider: https://www.loc.gov/bibframe/docs/pdf/bf2-items-apr2016.pdf The BIBFRAME ontology includes several properties also required in DAIA (bf:subLocation, bf:heldBy...)

@cKlee
Copy link
Member

cKlee commented Mar 6, 2017

The Holding-Ontology should switch to BIBFRAME 2. There are serveral aligments.

@nichtich nichtich added this to the 1.1.0 milestone Jun 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants