diff --git a/Assignment2/FORGIS98_fromJSONtoJSON-LD.jsonld b/Assignment2/FORGIS98_fromJSONtoJSON-LD.jsonld new file mode 100644 index 000000000..61efcd745 --- /dev/null +++ b/Assignment2/FORGIS98_fromJSONtoJSON-LD.jsonld @@ -0,0 +1,55 @@ +{ + "@context" : { + "xsd" : "http://www.w3.org/2001/XMLSchema#", + "vocab" : "http://example.org/specialVocab/Assignment2b", + "name" : "vocab:name", + "middleName" : "vocab:middleName", + "lastName" : "vocab:lastName", + "hometown" : "vocab:hometown", + "country" : "vocab:country", + "age" : "vocab:age", + "almaMater" : "vocab:almaMater", + "mothesrName" : "vocab:mothesrName", + "fathesrName" : "vocab:fathesrName", + "subject" : "http://example.org/subject", + "teachers" : "http://example.org/teachers", + "description" : "rdfs:comment" + }, + "@id" : "http://example.org/specialVocab/Assignment2b/jorgesolgonzalez", + "@type" : "vocab:student", + "name" : "Jorge", + "middleName" : "Sol", + "lastName" : "Gonzalez", + "hometown" : "Madrid", + "country" : "España", + "age" : "21", + "almaMater" : "Universidad Politecnica Madrid", + "mothersName" : "Almudena", + "fathersName" : "Daniel", + "subject" : [ + { + "name" : "Ingenieria del Software II", + "teachers" : [ + { + "name" : "Tomas San Feliu Gilabert" + }, + { + "name" : "Jose Antonio Calvo" + } + ], + "description" : "La asignatura de Ingeniería del Software II se enfoca en aplicar los aspectos de gestión al desarrollo software." + }, + { + "name" : "Gestion de Procesos de Tecnologia de la Información", + "teachers" : [ + { + "name" : "Oscar Dieste Tubio" + }, + { + "name" : "Edmundo Tovar Caro" + } + ], + "description" : "En esta asignatura se tratan los elementos de una organización, la gestión por procesos, y modelos de calidadaplicados a organizaciones de TI" + } + ] +} diff --git a/Assignment2/FORGIS98_fromRDFtoJSON-LD.jsonld b/Assignment2/FORGIS98_fromRDFtoJSON-LD.jsonld new file mode 100644 index 000000000..d6f596d01 --- /dev/null +++ b/Assignment2/FORGIS98_fromRDFtoJSON-LD.jsonld @@ -0,0 +1,66 @@ +{ + "@context" : { + "vocab" : "http://example.org#", + "data" : "http://example.org/data", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "includes" : "vocab:includes", + "hasMeasurement" : "vocab:hasMeasurement", + "hasOwner" : "vocab:hasOwner", + "hasTemperature" : "vocab:hasTemperature", + "atTime" : "vocab:atTime", + "hasName" : "vocab:hasName", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@graph" : [ + { + "@id" : "http://example.org/Class01", + "@type" : "vocab:Class01", + "includes" : [ + { + "@id" : "http://example.org/Class01/Sensor029", + "@type" : "Class01/Sensor029" + }, + { + "@id" : "http://example.org/Class01/Computer101", + "@type" : "Class01/Computer101" + } + ] + }, + { + "@id" : "http://example.org/Class01/Sensor029/", + "@type" : "Class01/Sensor029", + "hasMeasurement" : { + "@id" : "http://example.org/Class01/Sensor029/Measurement8401", + "@type" : "Sensor029:Measurement8401" + } + }, + { + "@id" : "http://example.org/Class01/Computer101", + "@type" : "Class01:Computer101", + "hasOwner" : { + "@id" : "http://example.org/Class01/Computer101/User10A", + "@type" : "Computer101:User10A" + } + }, + { + "@id" : "http://example.org/Class01/Sensor029/Measurement8401", + "@type" : "Sensor029:Measurement8401", + "hasTemperature" : { + "@value" : "29", + "@type" : "xsd:integer" + } + "atTime" : { + "@value" : "2010-06-12T12:00:12", + "@type" : "xsd:dateTime" + } + }, + { + "@id" : "http://example.org/Class01/Computer101/User10A", + "@type" : "Computer101:User10A", + "hasName" : { + "@value" : "Pedro", + "@type" : "xsd:string" + } + } + ] +}