Created
May 10, 2016 15:31
-
-
Save thisismattmiller/da14459b165399e9201c50bc0adf4839 to your computer and use it in GitHub Desktop.
Example JSON-LD response for a resource
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"agents": "http://data.nypl.org/agents/", | |
"bf": "http://bibframe.org/vocab/", | |
"classify": "http://purl.org/library/", | |
"data": "http://data.nypl.org/datasets/", | |
"db": "https://NEEDTOFIX.org/what-is-db/", | |
"dbo": "http://www.dbpedia.org/ontology/", | |
"dbr": "http://www.dbpedia.org/resource/", | |
"dcterms": "http://purl.org/dc/terms/", | |
"edm": "http://www.europeana.eu/schemas/edm", | |
"foaf": "http://xmlns.com/foaf/0.1/", | |
"language": "dcterms:language", | |
"lc": "http://id.loc.gov/authorities/names/", | |
"nypl": "http://data.nypl.org/nypl-core/", | |
"nyplapp": "http://data.nypl.org/nypl-application/", | |
"org": "http://www.w3.org/ns/org#", | |
"orgs": "http://data.nypl.org/organizations/", | |
"pcdm": "http://pcdm.org/models#", | |
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", | |
"res": "http://data.nypl.org/resources/", | |
"resourcetypes": "http://id.loc.gov/vocabulary/resourceTypes/", | |
"roles": "http://id.loc.gov/vocabulary/relators/", | |
"skos": "http://www.w3.org/2004/02/skos/core#", | |
"schema": "http://schema.org/", | |
"terms": "http://data.nypl.org/terms/", | |
"viaf": "http://viaf.org/viaf/", | |
"wikidata": "https://www.wikidata.org/wiki/", | |
"xsd": "http://www.w3.org/2001/XMLSchema#", | |
"topFiveTermsString": { | |
"@id": "nyplapp:topFiveTermsString", | |
"@container": "@list" | |
}, | |
"topFiveRolesString": { | |
"@id": "nyplapp:topFiveTermsString", | |
"@container": "@list" | |
}, | |
"birthDate": "dbo:birthDate", | |
"birthYear": "dbo:birthYear", | |
"birthDecade": "nypl:birthDecade", | |
"deathDate": "dbo:deathDate", | |
"deathYear": "dbo:deathYear", | |
"deathDecade": "nypl:deathDecade", | |
"startYear": "dbo:startYear", | |
"endYear": "dbo:endYear", | |
"thumbnail": "dbo:thumbnail", | |
"filename": "nypl:filename", | |
"owner": "nypl:owner", | |
"dcFlag": "nypl:dcflag", | |
"publicDomain": "nypl:publicDomain", | |
"suppressed": "nypl:suppressed", | |
"hasMember": "pcdm:hasMember", | |
"memberOf": "pcdm:memberOf", | |
"hasEquivalent": "bf:hasEquivalent", | |
"idBarcode": "dcterms:identifier", | |
"idBnum": "dcterms:identifier", | |
"idMss": "dcterms:identifier", | |
"idMssColl": "dcterms:identifier", | |
"idObjNum": "dcterms:identifier", | |
"idRlin": "dcterms:identifier", | |
"idOclc": "dcterms:identifier", | |
"idExhib": "dcterms:identifier", | |
"idUuid": "dcterms:identifier", | |
"idCallnum": "dcterms:identifier", | |
"idCatnyp": "dcterms:identifier", | |
"idMmsDb": "dcterms:identifier", | |
"idIsbn": "dcterms:identifier", | |
"idIssn": "dcterms:identifier", | |
"idHathi": "dcterms:identifier", | |
"idLccCoarse": "dcterms:identifier", | |
"idOwi": "dcterms:identifier", | |
"idDcc": "dcterms:identifier", | |
"idLcc": "dcterms:identifier", | |
"idAcqnum": "dcterms:identifier", | |
"uriWikidata": "skos:exactMatch", | |
"uriDbpedia": "skos:exactMatch", | |
"uriViaf": "skos:exactMatch", | |
"uriLc": "skos:exactMatch", | |
"prefLabel": "skos:prefLabel", | |
"note": "skos:note", | |
"depiction": "foaf:depiction", | |
"wikipedia": "foaf:isPrimaryTopicOf", | |
"title": "dcterms:title", | |
"type": "dcterms:type", | |
"titleAlt": "dcterms:alternative", | |
"identifier": "dcterms:identifier", | |
"description": "dcterms:description", | |
"contributor": "dcterms:contributor", | |
"subject": "dcterms:subject", | |
"holdingCount": "classify:holdings", | |
"searchResultScore": "nyplapp:searchResultScore", | |
"searchResult": "nyplapp:searchResult", | |
"totalResults": "nyplapp:totalResults", | |
"currentPage": "nyplapp:searchResultPage", | |
"morePages": "nyplapp:searchResultMorePages", | |
"useCount": "nyplapp:useCount", | |
"isSubject": "nyplapp:isSubject", | |
"isContributor": "nyplapp:isContributor", | |
"result": "schema:result", | |
"itemListElement": "schema:itemListElement", | |
"itemList": "schema:ItemList" | |
}, | |
"@id": "res:170555660", | |
"@type": [ | |
"nypl:Item" | |
], | |
"startYear": [ | |
1950 | |
], | |
"owner": [ | |
{ | |
"@id": "orgs:1101", | |
"prefLabel": "General Research Division" | |
} | |
], | |
"idBnum": [ | |
"13171508" | |
], | |
"idOclc": [ | |
6594388 | |
], | |
"idCallnum": [ | |
"NCW(Melville,H.Moby-Dick.1950(Dutton))" | |
], | |
"idLccCoarse": [ | |
"PZ1-4" | |
], | |
"idOwi": [ | |
2093242585 | |
], | |
"idDcc": [ | |
"813.3" | |
], | |
"idLcc": [ | |
"PZ3.M498" | |
], | |
"note": [ | |
"General: \"New American edition.\"", | |
"Bibliography, etc.: \"An introductory bibliography of the works of Herman Melville\": p. [666]-[667]", | |
"Bibliography, etc.: Bibliography, p. [666-667]", | |
"Local Note: Gansevoort-Lansing Coll." | |
], | |
"title": [ | |
"Moby-Dick; or, The whale." | |
], | |
"type": [ | |
{ | |
"@id": "resourcetypes:txt", | |
"prefLabel": "Text" | |
} | |
], | |
"contributor": [ | |
{ | |
"@type": "nypl:Agent", | |
"@id": "agents:10045014", | |
"prefLabel": "Melville, Herman, 1819-1891" | |
} | |
], | |
"subject": [ | |
{ | |
"@type": "nypl:Term", | |
"@id": "terms:10021318", | |
"prefLabel": "Whaling" | |
}, | |
{ | |
"@type": "nypl:Term", | |
"@id": "terms:10008086", | |
"prefLabel": "Psychological fiction" | |
}, | |
{ | |
"@type": "nypl:Term", | |
"@id": "terms:10015111", | |
"prefLabel": "Sea stories" | |
}, | |
{ | |
"@type": "nypl:Term", | |
"@id": "terms:10020312", | |
"prefLabel": "Adventure stories" | |
}, | |
{ | |
"@type": "nypl:Term", | |
"@id": "terms:10000202", | |
"prefLabel": "Fiction" | |
}, | |
{ | |
"@type": "nypl:Term", | |
"@id": "terms:10025495", | |
"prefLabel": "Ship captains" | |
}, | |
{ | |
"@type": "nypl:Term", | |
"@id": "terms:10011500", | |
"prefLabel": "Mentally ill" | |
}, | |
{ | |
"@type": "nypl:Term", | |
"@id": "terms:10050944", | |
"prefLabel": "Whaling ships" | |
}, | |
{ | |
"@type": "nypl:Term", | |
"@id": "terms:10073697", | |
"prefLabel": "Ahab, Captain (Fictitious character)" | |
}, | |
{ | |
"@type": "nypl:Term", | |
"@id": "terms:10021321", | |
"prefLabel": "Whales" | |
} | |
], | |
"language": [ | |
{ | |
"@id": "language:eng", | |
"prefLabel": "English" | |
} | |
], | |
"holdingCount": [ | |
1404 | |
], | |
"suppressed": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment