NIEM has issued guidance for using JSONLD for information exchanges. This is the Turtle representation of http://niem.github.io/json/guidance/#full-example-json (source at https://github.com/NIEM/NIEM.github.io/blob/master/json/guidance/full-example.jsonld)
Created
February 7, 2017 12:38
-
-
Save VladimirAlexiev/f886c6f655f568481cfbfca79b5cae06 to your computer and use it in GitHub Desktop.
NIEM CarCrash example in Turtle
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
@prefix exch: <http://example.com/CrashDriver/1.0/#> . | |
@prefix geo: <http://release.niem.gov/niem/adapters/geospatial/3.0/#> . | |
@prefix gml: <http://www.opengis.net/gml/3.2#> . | |
@prefix j: <http://release.niem.gov/niem/domains/jxdm/5.1/#> . | |
@prefix nc: <http://release.niem.gov/niem/niem-core/3.0/#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix structures: <http://release.niem.gov/niem/structures/3.0/#> . | |
@base <http://example.com/CrashDriver/data#> . | |
<P01> | |
exch:PersonFictionalCharacterIndicator true ; | |
nc:PersonBirthDate [ nc:Date "1893-05-04" ] ; | |
nc:PersonName [ nc:PersonGivenName [ rdf:value "Peter" ; nc:sequenceID 1] ; | |
nc:PersonMiddleName [ rdf:value "Death" ; nc:sequenceID 2] ; | |
nc:PersonMiddleName [ rdf:value "Bredon"; nc:sequenceID 3] ; | |
nc:PersonSurName "Wimsey" ; | |
nc:personNameCommentText "copied" ] . | |
<PT01> | |
gml:pos "51.835 -0.417" ; | |
gml:srsName "urn:ogc:def:crs:EPSG::4326" . | |
<CH01> | |
j:ChargeDescriptionText "Wild Driving" ; | |
j:ChargeFelonyIndicator false ; | |
j:JusticeMetadata <MD01> . | |
<MD01> | |
j:CriminalInformationIndicator true . | |
[ exch:CrashDriverInfo | |
[ j:Charge <CH01> ; | |
j:Crash [ j:CrashVehicle [ j:CrashDriver [ j:DriverLicense [ j:DriverLicenseCardIdentification [ nc:IdentificationID "A1234567" ] ; | |
nc:ItemLengthMeasure [ nc:MeasureDecimalValue 9.7E0 ] ; | |
nc:LengthUnitCode "CMT"] ; | |
nc:RoleOfPerson <P01> ] ] ; | |
nc:IncidentLocation [ geo:LocationGeospatialPoint [ gml:Point <PT01> ] ] ] ; | |
j:PersonChargeAssociation [ j:Charge <CH01> ; | |
j:JuvenileAsAdultIndicator true ; | |
nc:Person <P01>] ; | |
nc:Person <P01> ] ] . | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment