diff --git a/Assignment2/Night-Emperor-101/Night-Emperor-101-fromJSONtoJSON-LD.jsonld b/Assignment2/Night-Emperor-101/Night-Emperor-101-fromJSONtoJSON-LD.jsonld new file mode 100644 index 00000000..f65f6f16 --- /dev/null +++ b/Assignment2/Night-Emperor-101/Night-Emperor-101-fromJSONtoJSON-LD.jsonld @@ -0,0 +1,67 @@ +{ + "@context": "https://schema.org", + "@type": "Person", + "name": "Alejandro", + "homeLocation": { + "@type": "Place", + "name": "Madrid" + }, + "age": 21, + "alumniOf": { + "@type": "CollegeOrUniversity", + "name": "Universidad Politécnica de Madrid", + "url": "https://upm.es" + }, + "parents": [ + { + "@type": "Person", + "name": "José" + }, + { + "@type": "Person", + "name": "María" + } + ], + "hasCourse": [ + { + "@type": "Course", + "name": "Web Semántica", + "educationalLevel": "University", + "courseMode": "In-person", + "description": "Subject related to semantic web", + "provider": { + "@type": "EducationalOccupationalProgram", + "@id": "https://upm.es", + "name": "Universidad Politécnica de Madrid" + }, + "courseInstructor": [ + { + "@type": "Person", + "name": "Raúl" + }, + { + "@type": "Person", + "name": "Óscar" + } + ] + }, + { + "@type": "Course", + "name": "Cisco CCNA", + "educationalLevel": "University", + "courseMode": "In-person", + "description": "Subject about networks", + "provider": { + "@type": "EducationalOccupationalProgram", + "@id": "https://upm.es", + "name": "Universidad Politécnica de Madrid" + }, + "courseInstructor": [ + { + "@type": "Person", + "name": "Sonia" + } + ] + } + ] +} diff --git a/Assignment2/Night-Emperor-101/Night-Emperor-101-fromRDFtoJSON-LD.jsonld b/Assignment2/Night-Emperor-101/Night-Emperor-101-fromRDFtoJSON-LD.jsonld new file mode 100644 index 00000000..cba6fb18 --- /dev/null +++ b/Assignment2/Night-Emperor-101/Night-Emperor-101-fromRDFtoJSON-LD.jsonld @@ -0,0 +1,47 @@ +{ + "@context": { + "mn":"http://example.org/", + "xsd":"http://www.w3.org/2001/XMLSchema#", + "includes":"mn:includes", + "hasName":"mn:hasName", + "hasOwner":"mn:hasOwner", + "atTime":"mn:atTime", + "hasMeasurement":"mn:hasMeasurement", + "hasTemperature":"mn:hasTemperature" + }, + "@graph":[ + { + "@id":"mn:Class01", + "includes":[ + { + "@id":"mn:Sensor029", + "hasMeasurement":[ + { + "@id":"mn:Measurement8401", + "hasTemperature":{ + "@value":29, + "@type":"xsd:integer" + }, + "atTime":{ + "@value":"2010-06-12T12:00:12", + "@type":"xsd:dateTime" + } + } + ] + }, + { + "@id":"mn:Computer101", + "hasOwner": [ + { + "@id":"mn:User10A", + "hasName": { + "@value":"mn:Pedro", + "@type":"xsd:string" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/Assignment2/Night-Emperor-101/Night-Emperor-101.png b/Assignment2/Night-Emperor-101/Night-Emperor-101.png new file mode 100644 index 00000000..0d9f9090 Binary files /dev/null and b/Assignment2/Night-Emperor-101/Night-Emperor-101.png differ diff --git a/Assignment2/Night-Emperor-101/Night-Emperor-101.ttl b/Assignment2/Night-Emperor-101/Night-Emperor-101.ttl new file mode 100644 index 00000000..21e46861 --- /dev/null +++ b/Assignment2/Night-Emperor-101/Night-Emperor-101.ttl @@ -0,0 +1,10 @@ +@prefix : . +@prefix xml: . + +:ETSIInformaticos :hasName "ETSI Informáticos". +:Table322 :hasOwner :ETSIInformaticos. +:Measurement8432 :hasTemperature 29; + :atTime "2022-09-12T12:01:12"^^xml:dateTime. +:Sensor347 :contains :Measurement8432. +:ClassRoom03 :contains :Sensor347; + :contains :Table322. \ No newline at end of file