An API of Ice and Fire · JSON-LD Context

context Context

JSON-LD context defining the semantic vocabulary for context from An API of Ice and Fire.

21 Classes 20 Properties 2 Namespaces
View Context View on GitHub

Namespaces

asoiaf: https://anapioficeandfire.com/vocab#
api: https://www.anapioficeandfire.com/api/

Classes

Book Character House url name isbn authors numberOfPages publisher country mediaType released gender culture born died region coatOfArms words founded diedOut

Properties

Property Type Container
characters reference set
povCharacters reference set
titles set
aliases set
father reference
mother reference
spouse reference
allegiances reference set
books reference set
povBooks reference set
tvSeries set
playedBy set
seats set
currentLord reference
heir reference
overlord reference
founder reference
ancestralWeapons set
cadetBranches reference set
swornMembers reference set

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://schema.org/",
    "asoiaf": "https://anapioficeandfire.com/vocab#",
    "api": "https://www.anapioficeandfire.com/api/",

    "Book": "schema:Book",
    "Character": "schema:Person",
    "House": "schema:Organization",

    "url": "@id",
    "name": "schema:name",
    "isbn": "schema:isbn",
    "authors": "schema:author",
    "numberOfPages": "schema:numberOfPages",
    "publisher": "schema:publisher",
    "country": "schema:locationCreated",
    "mediaType": "schema:bookFormat",
    "released": "schema:datePublished",
    "characters": {
      "@id": "asoiaf:characters",
      "@type": "@id",
      "@container": "@set"
    },
    "povCharacters": {
      "@id": "asoiaf:povCharacters",
      "@type": "@id",
      "@container": "@set"
    },

    "gender": "schema:gender",
    "culture": "asoiaf:culture",
    "born": "schema:birthDate",
    "died": "schema:deathDate",
    "titles": {
      "@id": "schema:jobTitle",
      "@container": "@set"
    },
    "aliases": {
      "@id": "schema:alternateName",
      "@container": "@set"
    },
    "father": {
      "@id": "schema:parent",
      "@type": "@id"
    },
    "mother": {
      "@id": "schema:parent",
      "@type": "@id"
    },
    "spouse": {
      "@id": "schema:spouse",
      "@type": "@id"
    },
    "allegiances": {
      "@id": "schema:memberOf",
      "@type": "@id",
      "@container": "@set"
    },
    "books": {
      "@id": "asoiaf:books",
      "@type": "@id",
      "@container": "@set"
    },
    "povBooks": {
      "@id": "asoiaf:povBooks",
      "@type": "@id",
      "@container": "@set"
    },
    "tvSeries": {
      "@id": "asoiaf:tvSeries",
      "@container": "@set"
    },
    "playedBy": {
      "@id": "schema:actor",
      "@container": "@set"
    },

    "region": "schema:containedInPlace",
    "coatOfArms": "asoiaf:coatOfArms",
    "words": "asoiaf:words",
    "seats": {
      "@id": "schema:location",
      "@container": "@set"
    },
    "currentLord": {
      "@id": "schema:member",
      "@type": "@id"
    },
    "heir": {
      "@id": "asoiaf:heir",
      "@type": "@id"
    },
    "overlord": {
      "@id": "schema:parentOrganization",
      "@type": "@id"
    },
    "founded": "schema:foundingDate",
    "founder": {
      "@id": "schema:founder",
      "@type": "@id"
    },
    "diedOut": "schema:dissolutionDate",
    "ancestralWeapons": {
      "@id": "asoiaf:ancestralWeapons",
      "@container": "@set"
    },
    "cadetBranches": {
      "@id": "schema:subOrganization",
      "@type": "@id",
      "@container": "@set"
    },
    "swornMembers": {
      "@id": "schema:member",
      "@type": "@id",
      "@container": "@set"
    }
  }
}