Skip to content

Instantly share code, notes, and snippets.

@jeremi
Last active September 8, 2023 09:18
Show Gist options
  • Save jeremi/feab8bf2f89ec2799e4795c4f9770cce to your computer and use it in GitHub Desktop.
Save jeremi/feab8bf2f89ec2799e4795c4f9770cce to your computer and use it in GitHub Desktop.
{
"@context": {
"@context": {
"@vocab": "https://spdci.org/",
"schema": "http://schema.org/",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"CRVSPerson": {
"@id": "https://spdci.org/CRVSPerson",
"@type": "rdfs:Class",
"@context": {
"name": { "@id": "schema:name", "@type": "xsd:string" },
"givenName": { "@id": "schema:givenName", "@type": "xsd:string" },
"familyName": { "@id": "schema:familyName", "@type": "xsd:string" },
"additionalName": { "@id": "schema:additionalName", "@type": "xsd:string" },
"gender": { "@id": "schema:gender", "@type": "xsd:string" },
"birthDate": { "@id": "schema:birthDate", "@type": "xsd:date" },
"birthPlace": { "@id": "schema:birthPlace", "@type": "schema:GeoCoordinates" },
"deathDate": { "@id": "schema:deathDate", "@type": "xsd:date" },
"deathPlace": { "@id": "schema:deathPlace", "@type": "schema:GeoCoordinates" },
"maritalStatus": { "@id": "schema:maritalStatus", "@type": "xsd:string" },
"honorificPrefix": { "@id": "schema:honorificPrefix", "@type": "xsd:string" },
"honorificSuffix": { "@id": "schema:honorificSuffix", "@type": "xsd:string" },
"emails": { "@container": "@set", "@id": "schema:email", "@type": "xsd:string" },
"telephones": { "@container": "@set", "@id": "schema:telephone", "@type": "xsd:string" },
"address": { "@id": "schema:address", "@type": "schema:GeoCoordinates" },
"marriageDate": { "@id": "https://spdci.org/marriageDate", "@type": "xsd:date" },
"divorceDate": { "@id": "https://spdci.org/divorceDate", "@type": "xsd:date" },
"parents": { "@id": "schema:parents", "@type": "https://spdci.org/CRVSPerson" }
}
}
},
"@id": "https://spdci.org/CRVSPerson",
"@type": "rdfs:Class"
},
"@id": "https://spdci.org/persons/1234",
"@type": "CRVSPerson",
"name": "Mustafa Al-Amari",
"givenName": "Mustafa",
"familyName": "Al-Amari",
"additionalName": "Abdul / Hussein",
"gender": "Male",
"birthDate": {
"@value": "1985-07-21",
"@type": "xsd:date"
},
"birthPlace": {
"@type": "schema:GeoCoordinates",
"latitude": 33.3152,
"longitude": 44.3661,
"address": {
"@type": "schema:PostalAddress",
"addressLocality": "Baghdad"
}
},
"emails": ["mustafa@example.com"],
"telephones": ["+964 1 234 5678"],
"address": {
"@type": "schema:GeoCoordinates",
"latitude": 33.3152,
"longitude": 44.3661,
"address": {
"@type": "schema:PostalAddress",
"streetAddress": "123 Al-Mansour St",
"addressLocality": "Baghdad",
"postalCode": "12345"
}
},
"maritalStatus": "Married",
"marriageDate": {
"@value": "2020-05-15",
"@type": "xsd:date"
},
"honorificPrefix": "Mr.",
"parents": ["https://spdci.org/persons/5678", "https://spdci.org/persons/6789"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment