Skip to content

Commit

Permalink
Merge pull request FacultadInformatica-LinkedData#239 from FORGIS98/F…
Browse files Browse the repository at this point in the history
…ORGIS_Assignment2B

Forgis assignment2 b
  • Loading branch information
paoespinozarias authored Sep 19, 2020
2 parents 6820999 + 5048b50 commit bbe8958
Show file tree
Hide file tree
Showing 2 changed files with 121 additions and 0 deletions.
55 changes: 55 additions & 0 deletions Assignment2/FORGIS98_fromJSONtoJSON-LD.jsonld
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
66 changes: 66 additions & 0 deletions Assignment2/FORGIS98_fromRDFtoJSON-LD.jsonld
Original file line number Diff line number Diff line change
@@ -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"
}
}
]
}

0 comments on commit bbe8958

Please sign in to comment.