Skip to content

Commit

Permalink
Assignment 3 and 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Marta-rp committed Oct 5, 2020
1 parent d198527 commit fdb9c4c
Show file tree
Hide file tree
Showing 12 changed files with 31,845 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Assignment3/Marta-rp-z170291/Query1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
select distinct ?p
where{
{
?instance rdf:type <http://dbpedia.org/ontology/Politician> .
?instance ?p ?o.
}
}
8 changes: 8 additions & 0 deletions Assignment3/Marta-rp-z170291/Query2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
select distinct ?p
where{
{
?instance rdf:type <http://dbpedia.org/ontology/Politician> .
?instance ?p ?o.
FILTER(?p != rdf:type).
}
}
8 changes: 8 additions & 0 deletions Assignment3/Marta-rp-z170291/Query3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
select distinct ?o
where{
{
?instance rdf:type <http://dbpedia.org/ontology/Politician> .
?instance ?p ?o.
FILTER(?p != rdf:type).
}
}
8 changes: 8 additions & 0 deletions Assignment3/Marta-rp-z170291/Query4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
select distinct ?p ?o
where{
{
?instance rdf:type <http://dbpedia.org/ontology/Politician> .
?instance ?p ?o.
FILTER(?p != rdf:type).
}
}
8 changes: 8 additions & 0 deletions Assignment3/Marta-rp-z170291/Query5.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
select distinct ?p count(distinct ?o) as ?values
where{
{
?instance rdf:type <http://dbpedia.org/ontology/Politician> .
?instance ?p ?o.
FILTER(?p != rdf:type).
}
}
Loading

0 comments on commit fdb9c4c

Please sign in to comment.