Skip to content

Instantly share code, notes, and snippets.

View zazi's full-sized avatar
🍌
hell yeah!

Bo Ferri zazi

🍌
hell yeah!
View GitHub Profile
@zazi
zazi / uvapub_formatted_3_records.xml.gdm.json
Created March 24, 2016 09:33
uvapub_formatted_3_records.xml.gdm.json
[ {
"http://data.slub-dresden.de/datamodels/DataModel-50419da2-19c0-4992-bdf3-ce57ccbefc43/records/42fbabce-2cda-43ac-88b1-7313440b4674" : [ {
"order" : 1,
"s" : {
"uri" : "http://data.slub-dresden.de/datamodels/DataModel-50419da2-19c0-4992-bdf3-ce57ccbefc43/records/42fbabce-2cda-43ac-88b1-7313440b4674"
},
"p" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"o" : {
"uri" : "http://www.openarchives.org/OAI/2.0/recordType"
}
@zazi
zazi / uvapub_formatted_3_records.xml.hierarchical.json
Created March 24, 2016 09:32
uvapub_formatted_3_records.xml.hierarchical.json
[ {
"http://data.slub-dresden.de/datamodels/DataModel-3cf99b8a-7dc3-41e8-b5cc-05985c98946a/records/380c2a57-3aa1-4a5f-9fb4-5d298bcb06fd" : [ {
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : "http://www.openarchives.org/OAI/2.0/recordType"
}, {
"http://www.openarchives.org/OAI/2.0/header" : [ {
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : "http://www.openarchives.org/OAI/2.0/headerType"
}, {
"http://www.openarchives.org/OAI/2.0/identifier" : [ {
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : "http://www.openarchives.org/OAI/2.0/identifierType"
}, {
@zazi
zazi / uvapub_schema_attribute_paths.txt
Created March 24, 2016 09:30
uvapub_schema_attribute_paths.txt
http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openarchives.org/OAI/2.0/header
http://www.openarchives.org/OAI/2.0/headerhttp://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openarchives.org/OAI/2.0/headerhttp://www.openarchives.org/OAI/2.0/identifier
http://www.openarchives.org/OAI/2.0/headerhttp://www.openarchives.org/OAI/2.0/identifierhttp://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openarchives.org/OAI/2.0/headerhttp://www.openarchives.org/OAI/2.0/identifierhttp://www.w3.org/1999/02/22-rdf-syntax-ns#value
http://www.openarchives.org/OAI/2.0/headerhttp://www.openarchives.org/OAI/2.0/datestamp
http://www.openarchives.org/OAI/2.0/headerhttp://www.openarchives.org/OAI/2.0/datestamphttp://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.openarchives.org/OAI/2.0/headerhttp://www.openarchives.org/OAI/2.0/datestamphttp://www.w3.org/1999/02/22-rdf-syntax-ns#value
http://www.openarchives.org/OAI/2.0/headerhttp://www.openarchives.org/OAI/2.0/setSpec
@zazi
zazi / uvapub_schema_compact.json
Created March 24, 2016 09:27
uvapub_schema_compact.json
[
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
{
"http://www.openarchives.org/OAI/2.0/header": [
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
{
"http://www.openarchives.org/OAI/2.0/identifier": [
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
"http://www.w3.org/1999/02/22-rdf-syntax-ns#value"
]
@zazi
zazi / HAL to Turtle
Created January 11, 2012 19:47
A rough Turtle serialisation of the HAL example at https://gist.github.com/572481
@prefix ex: <http://example.com> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# this is a (partial) list of orders
<> a ex:OrderList ;
ex:next </orders?page=2> ;
ex:search </orders?id={order_id}> ;
ex:order </orders/123> , </orders/124> .
# a single order with the order_id=123
@zazi
zazi / HAL to JSON-LD
Created January 8, 2012 18:41
A rough JSON-LD serialisation of the HAL example at https://gist.github.com/572481
{
"@context": {
"ex": "http://example.com",
"ex:customer": {
"@type": "@id"
},
"ex:quantity": {
"@type": "xsd:integer"
},
"ex:price": {