PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ub: <http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl#>
SELECT *
WHERE
{
?Y rdf:type ub:GraduateCourse .
?D rdf:type ub:Department .
?X ub:memberOf ?D.
?X ub:takesCourse ?Y.
} ;
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ub: <http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl#>
SELECT *
WHERE
{
?Y rdf:type ub:GraduateCourse .
?F rdf:type ub:FullProfessor .
?D rdf:type ub:Department .
?X ub:memberOf ?D.
?X ub:takesCourse ?Y.
?F ub:teacherOf ?Y.
} ;
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ub: <http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl#>
SELECT *
WHERE
{
?Y rdf:type ub:GraduateCourse .
?F rdf:type ub:FullProfessor .
?D rdf:type ub:Department .
?X ub:memberOf ?D.
?X ub:takesCourse ?Y.
?F ub:teacherOf ?Y.
} ;
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ub: <http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl#>
SELECT *
WHERE
{
?F rdf:type ub:FullProfessor .
?D rdf:type ub:Department .
?X ub:memberOf ?D.
?X ub:advisor ?F.
} ;
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ub: <http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl#>
SELECT *
WHERE
{
?F rdf:type ub:FullProfessor .
?U rdf:type ub:University .
?D rdf:type ub:Department .
?X ub:memberOf ?D.
?X ub:advisor ?F.
?F ub:mastersDegreeFrom ?U.
} ;
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ub: <http://www.lehigh.edu/~zhp2/2004/0401/univ-bench.owl#>
SELECT *
WHERE
{
?Y rdf:type ub:GraduateCourse .
?F rdf:type ub:FullProfessor .
?D rdf:type ub:Department .
?S rdf:type ub:GraduateStudent .
?X ub:memberOf ?D.
?X ub:takesCourse ?Y.
?F ub:teacherOf ?Y.
?S ub:advisor ?F.
} ;
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT * WHERE {
?x rdf:type dbo:Athlete.
?y rdf:type dbo:Settlement.
?x dbo:birthPlace ?y.
?y dbo:country ?z.
}
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT * WHERE {
?x rdf:type dbo:Athlete.
?y rdf:type dbo:Settlement.
?x dbo:birthPlace ?y.
?y dbo:country ?z.
?x dbo:deathPlace ?A.
}
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT * WHERE {
?x rdf:type dbo:Athlete.
?y rdf:type dbo:Settlement.
?x dbo:birthPlace ?y.
?y dbo:country ?z.
?x dbo:deathPlace ?A.
?A dbo:country ?B.
}
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT * WHERE {
?x rdf:type dbo:Athlete.
?y rdf:type dbo:Settlement.
?x dbo:birthPlace ?y.
?y dbo:deathPlace ?z.
}
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT * WHERE {
?x rdf:type dbo:Athlete.
?z rdf:type dbo:Settlement.
?A rdf:type dbo:Movie.
?x dbo:occupation ?y.
?x dbo:deathPlace ?z.
?A dbo:director ?x.
}
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT * WHERE {
?x rdf:type dbo:Athlete.
?z rdf:type dbo:Settlement.
?A rdf:type dbo:Movie.
?x dbo:birthPlace ?B
?x dbo:occupation ?y.
?x dbo:deathPlace ?z.
?A dbo:director ?x.
}