From f1859bc4e01cd99361ab02e7fbedd0986b2c5d7a Mon Sep 17 00:00:00 2001
From: Aaron1337men <71261441+Aaron1337men@users.noreply.github.com>
Date: Mon, 28 Sep 2020 19:08:29 +0200
Subject: [PATCH 1/7] Create Aaron1337men-AaronYance.rdf
---
Assignment2/Aaron1337men-AaronYance.rdf | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 Assignment2/Aaron1337men-AaronYance.rdf
diff --git a/Assignment2/Aaron1337men-AaronYance.rdf b/Assignment2/Aaron1337men-AaronYance.rdf
new file mode 100644
index 000000000..83efcd20e
--- /dev/null
+++ b/Assignment2/Aaron1337men-AaronYance.rdf
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 29
+ 2010-06-12T12:00:12
+
+
+ "Pedro"
+
+
From 99ba85c290fc9d0df4a2381ae46725effa34340b Mon Sep 17 00:00:00 2001
From: Aaron1337men <71261441+Aaron1337men@users.noreply.github.com>
Date: Mon, 28 Sep 2020 19:17:12 +0200
Subject: [PATCH 2/7] Create Aaron1337men-AaronYance.ttl
---
Assignment2/Aaron1337men-AaronYance.ttl | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 Assignment2/Aaron1337men-AaronYance.ttl
diff --git a/Assignment2/Aaron1337men-AaronYance.ttl b/Assignment2/Aaron1337men-AaronYance.ttl
new file mode 100644
index 000000000..5ca38ed99
--- /dev/null
+++ b/Assignment2/Aaron1337men-AaronYance.ttl
@@ -0,0 +1,8 @@
+@base .
+@prefix xmls: .
+
+:Class01 :includes :Sensor029; :includes :Computer101.
+:Sensor029 :hasMeasurement :Measurement8401.
+:Measurement8401 :hasTemperature 29^^xmls:integer; :atTime 2010-06-12T12:00:12^^xmls:dateTime.
+:Computer101 :hasOwner :User10A.
+:User10A: hasName:"Pedro"^^xmls:string.
From 8a638cbbc4385162244f72b85d6d2527800cffb8 Mon Sep 17 00:00:00 2001
From: Aaron1337men <71261441+Aaron1337men@users.noreply.github.com>
Date: Mon, 28 Sep 2020 20:34:42 +0200
Subject: [PATCH 3/7] Update Aaron1337men-AaronYance.ttl
---
Assignment2/Aaron1337men-AaronYance.ttl | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Assignment2/Aaron1337men-AaronYance.ttl b/Assignment2/Aaron1337men-AaronYance.ttl
index 5ca38ed99..ab72f56fc 100644
--- a/Assignment2/Aaron1337men-AaronYance.ttl
+++ b/Assignment2/Aaron1337men-AaronYance.ttl
@@ -1,5 +1,6 @@
-@base .
-@prefix xmls: .
+@base .
+@prefix xsd: .
+@prefix : .
:Class01 :includes :Sensor029; :includes :Computer101.
:Sensor029 :hasMeasurement :Measurement8401.
From 60549c094acf71d6d199a58a398151b47a731235 Mon Sep 17 00:00:00 2001
From: Aaron1337men <71261441+Aaron1337men@users.noreply.github.com>
Date: Mon, 28 Sep 2020 20:40:12 +0200
Subject: [PATCH 4/7] Create Aaron1337men-fromRDFtoJSON-LD.jsonld
---
.../Aaron1337men-fromRDFtoJSON-LD.jsonld | 49 +++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 Assignment2/Aaron1337men-fromRDFtoJSON-LD.jsonld
diff --git a/Assignment2/Aaron1337men-fromRDFtoJSON-LD.jsonld b/Assignment2/Aaron1337men-fromRDFtoJSON-LD.jsonld
new file mode 100644
index 000000000..072d7f4a9
--- /dev/null
+++ b/Assignment2/Aaron1337men-fromRDFtoJSON-LD.jsonld
@@ -0,0 +1,49 @@
+{
+ "@context": {
+ "prefix": "http://example.org/components/",
+ "xsd": "http://www.w3.org/2001/XMLSchema#"
+ },
+ "@graph":
+ [
+ {
+ "@id": "prefix:Class01",
+ "prefix:includes":[
+ {
+ "@id": "prefix:Sensor029"
+ },
+ {
+ "@id": "prefix:Computer101"
+ }
+ ]
+ },
+ {
+ "@id": "prefix:Sensor029",
+ "prefix:hasMeasurement" :
+ {
+ "@id": "prefix:Measurement8401"
+ }
+ },
+ {
+ "@id": "prefix:Measurement8401",
+ "prefix:hasTemperature": 29,
+ "prefix:atTime": {
+ "@value": "2010-06-12T12:00:12",
+ "@type": "xsd:dateTime"
+ }
+ },
+ {
+ "@id": "prefix:Computer101",
+ "prefix:hasOwner":
+ {
+ "@id": "prefix:User10A"
+ }
+ },
+ {
+ "@id": "prefix:User10A",
+ "prefix:hasName": {
+ "@value": "Pedro",
+ "@type": "xsd:string"
+ }
+ }
+ ]
+ }
From d34c54fc2b92874003ca3a15753e795dafda4d4b Mon Sep 17 00:00:00 2001
From: Aaron1337men <71261441+Aaron1337men@users.noreply.github.com>
Date: Mon, 28 Sep 2020 20:41:47 +0200
Subject: [PATCH 5/7] Create Aaron1337men-fromJSONtoJSON-LD.jsonld
---
.../Aaron1337men-fromJSONtoJSON-LD.jsonld | 55 +++++++++++++++++++
1 file changed, 55 insertions(+)
create mode 100644 Assignment2/Aaron1337men-fromJSONtoJSON-LD.jsonld
diff --git a/Assignment2/Aaron1337men-fromJSONtoJSON-LD.jsonld b/Assignment2/Aaron1337men-fromJSONtoJSON-LD.jsonld
new file mode 100644
index 000000000..61efcd745
--- /dev/null
+++ b/Assignment2/Aaron1337men-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"
+ }
+ ]
+}
From 7ace0d8bbe9132919d196221716ee30525c4acc5 Mon Sep 17 00:00:00 2001
From: Aaron1337men <71261441+Aaron1337men@users.noreply.github.com>
Date: Thu, 1 Oct 2020 22:04:12 +0200
Subject: [PATCH 6/7] Create Aaron1337men-AaronYance.txt
---
Assignment3/Aaron1337men-AaronYance.txt | 103 ++++++++++++++++++++++++
1 file changed, 103 insertions(+)
create mode 100644 Assignment3/Aaron1337men-AaronYance.txt
diff --git a/Assignment3/Aaron1337men-AaronYance.txt b/Assignment3/Aaron1337men-AaronYance.txt
new file mode 100644
index 000000000..978761918
--- /dev/null
+++ b/Assignment3/Aaron1337men-AaronYance.txt
@@ -0,0 +1,103 @@
+1.Get all the properties that can be applied to instances of the Politician class ()
+
+select distinct ?property where {
+ ?instan a ;
+ ?property ?something
+} LIMIT 10
+
+Resultados:
+ property:
+ http://www.w3.org/1999/02/22-rdf-syntax-ns#type
+ http://www.w3.org/2000/01/rdf-schema#label
+ http://www.w3.org/2000/01/rdf-schema#comment
+ http://es.dbpedia.org/property/dead
+ http://es.dbpedia.org/property/enelcargo
+ http://es.dbpedia.org/property/equipoDebut
+ http://es.dbpedia.org/property/equipoRetiro
+ http://es.dbpedia.org/property/fortuna
+ http://es.dbpedia.org/property/oponentes
+ http://es.dbpedia.org/property/relaciones
+
+2.Get all the properties, except rdf:type, that can be applied to instances of the Politician class
+
+select distinct ?property where {
+ ?instan a ;
+ ?property ?something
+ FILTER (?property != rdf:type)
+} LIMIT 10
+
+Resultados:
+ property:
+ http://www.w3.org/2000/01/rdf-schema#label
+ http://www.w3.org/2000/01/rdf-schema#comment
+ http://es.dbpedia.org/property/dead
+ http://es.dbpedia.org/property/enelcargo
+ http://es.dbpedia.org/property/equipoDebut
+ http://es.dbpedia.org/property/equipoRetiro
+ http://es.dbpedia.org/property/fortuna
+ http://es.dbpedia.org/property/oponentes
+ http://es.dbpedia.org/property/relaciones
+ http://es.dbpedia.org/property/retiro
+
+3.Which different values exist for the properties, except rdf:type, of the instances of the Politician class?
+
+select distinct ?property ?something where {
+ ?instan a ;
+ ?property ?something
+ FILTER (?property != rdf:type)
+} LIMIT 10
+
+Resultados:
+ property: :something
+ http://www.w3.org/2000/01/rdf-schema#label "Marcia Alicia Fernández Piña"@es
+ http://www.w3.org/2000/01/rdf-schema#label "Argentina Rubiera"@es
+ http://www.w3.org/2000/01/rdf-schema#label "Francisco Pizano de Brigard"@es
+ http://www.w3.org/2000/01/rdf-schema#label "Gabriel Barceló"@es
+ http://www.w3.org/2000/01/rdf-schema#label "Gabriel Cruz"@es
+ http://www.w3.org/2000/01/rdf-schema#label "Guillermo Novara"@es
+ http://www.w3.org/2000/01/rdf-schema#label "Gustavo Oliva"@es
+ http://www.w3.org/2000/01/rdf-schema#label "Mario Alberto Dávila Delgado"@es
+ http://www.w3.org/2000/01/rdf-schema#label "Raquel Barajas"@es
+ http://www.w3.org/2000/01/rdf-schema#label "Rodrigo Hermosilla Gatica"@es
+
+4.For each of the properties, except rdf:type, that can be applied to instances of the Politician class, which different values do they take in those instances?
+
+select distinct ?instan ?property ?something where {
+ ?instan a ;
+ ?property ?something
+ FILTER (?property != rdf:type)
+} LIMIT 10
+
+Resultados:
+ instan: property: something:
+ http://es.dbpedia.org/resource/Marcia_Alicia_Fernández_Piña http://www.w3.org/2000/01/rdf-schema#label "Marcia Alicia Fernández Piña"@es
+ http://es.dbpedia.org/resource/Argentina_Rubiera http://www.w3.org/2000/01/rdf-schema#label "Argentina Rubiera"@es
+ http://es.dbpedia.org/resource/Francisco_Pizano_de_Brigard http://www.w3.org/2000/01/rdf-schema#label "Francisco Pizano de Brigard"@es
+ http://es.dbpedia.org/resource/Gabriel_Barceló http://www.w3.org/2000/01/rdf-schema#label "Gabriel Barceló"@es
+ http://es.dbpedia.org/resource/Gabriel_Cruz http://www.w3.org/2000/01/rdf-schema#label "Gabriel Cruz"@es
+ http://es.dbpedia.org/resource/Guillermo_Novara http://www.w3.org/2000/01/rdf-schema#label "Guillermo Novara"@es
+ http://es.dbpedia.org/resource/Gustavo_Oliva http://www.w3.org/2000/01/rdf-schema#label "Gustavo Oliva"@es
+ http://es.dbpedia.org/resource/Mario_Alberto_Dávila_Delgado http://www.w3.org/2000/01/rdf-schema#label "Mario Alberto Dávila Delgado"@es
+ http://es.dbpedia.org/resource/Raquel_Barajas http://www.w3.org/2000/01/rdf-schema#label "Raquel Barajas"@es
+ http://es.dbpedia.org/resource/Rodrigo_Hermosilla_Gatica http://www.w3.org/2000/01/rdf-schema#label "Rodrigo Hermosilla Gatica"@es
+
+5.For each of the properties, except rdf:type, that can be applied to instances of the Politician class, how many distinct values do they take in those instances?
+
+select distinct ?instan ?property count(?something)as ?num where {
+ ?instan a ;
+ ?property ?something
+ FILTER (?property != rdf:type)
+} LIMIT 10
+
+Resultados:
+ instan: property: num:
+ http://es.dbpedia.org/resource/Absalón_Castellanos_Domínguez http://dbpedia.org/ontology/birthDate 1
+ http://es.dbpedia.org/resource/Mariano_Mendizábal http://dbpedia.org/ontology/deathPlace 2
+ http://es.dbpedia.org/resource/Dávid_Ibolya http://xmlns.com/foaf/0.1/givenName 1
+ http://es.dbpedia.org/resource/Edgardo_Seoane_Corrales http://xmlns.com/foaf/0.1/isPrimaryTopicOf 1
+ http://es.dbpedia.org/resource/Massimo_Andrea_Ugolini http://dbpedia.org/ontology/birthDate 1
+ http://es.dbpedia.org/resource/María_de_los_Ángeles_Duarte http://es.dbpedia.org/property/final 2
+ http://es.dbpedia.org/resource/Rafael_Tovar_y_de_Teresa http://es.dbpedia.org/property/período 4
+ http://es.dbpedia.org/resource/Joe-Fio_Neenyann_Meyer http://dbpedia.org/ontology/abstract 1
+ http://es.dbpedia.org/resource/Juan_de_Dios_Vial_Larraín http://xmlns.com/foaf/0.1/givenName 1
+ http://es.dbpedia.org/resource/Carlos_Ramón_Fort http://es.dbpedia.org/property/nombre 2
From 7f0591889056c0da23fde5762d381d19704f2964 Mon Sep 17 00:00:00 2001
From: Aaron1337men <71261441+Aaron1337men@users.noreply.github.com>
Date: Thu, 1 Oct 2020 22:14:01 +0200
Subject: [PATCH 7/7] Update Aaron1337men-AaronYance.ttl
---
Assignment2/Aaron1337men-AaronYance.ttl | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/Assignment2/Aaron1337men-AaronYance.ttl b/Assignment2/Aaron1337men-AaronYance.ttl
index ab72f56fc..beaa46d67 100644
--- a/Assignment2/Aaron1337men-AaronYance.ttl
+++ b/Assignment2/Aaron1337men-AaronYance.ttl
@@ -1,9 +1,13 @@
-@base .
-@prefix xsd: .
-@prefix : .
+@@ -0,0 +1,12 @@
+@base .
+@prefix : .
+@prefix xsd: .
-:Class01 :includes :Sensor029; :includes :Computer101.
-:Sensor029 :hasMeasurement :Measurement8401.
-:Measurement8401 :hasTemperature 29^^xmls:integer; :atTime 2010-06-12T12:00:12^^xmls:dateTime.
-:Computer101 :hasOwner :User10A.
-:User10A: hasName:"Pedro"^^xmls:string.
+ ns0:includes ns0:Sensor029, ns0:Computer101 .
+
+:Sensor029 :hasMeasurement :Measurement8401 .
+:Measurement8401
+ :hasTemperature "29"^^xsd:integer ;
+ :atTime "2010-06-12T12:00:12"^^xsd:dateTime .
+:Computer101 :hasOwner :User10A .
+:User10A ns0:hasName "Pedro"^^xsd:string