SPARQL Queries:
1.
Find papers written by a particular author.
(ex:raj)
PREFIX dblp: <http://tinman.gsu.edu/dblp.owl#>
SELECT ?Author ?Paper
WHERE
{
?article dblp:Title ?Paper .
?article dblp:Article_IsWrittenBy ?author .
?author dblp:Name_Person ?Author
FILTER (regex(?Author, "raj", "i"))
} ORDER BY ?Paper ?Author
Output:
Author paper
Suderaman Raj
Databases and web, 2001
Suderaman Raj
Deductive Doodles
Suderaman Raj
Deductive compilers
Suderaman Raj
Deductive databases,2006
Suderaman Raj
Deductive modules, 2011
Suderaman Raj
compilers,2005
Suderaman Raj
programming languages
Suderaman Raj
reasearch articles
Suderaman Raj
servlets and jsps
2.
Find papers published in a journal in a particular volume and number.
PREFIX dblp: <http://tinman.gsu.edu/dblp.owl#>
SELECT ?Title ?Journal ?Volume ?Issue
WHERE
{
?article dblp:Title ?Title .
?article dblp:AppearsInJournal ?issue.
?issue dblp:Number ?Issue .
?issue dblp:IsPartOf_Volume_Journal ?volume .
?volume dblp:Title ?Volume .
?issue dblp:Issue_IsAnInstanceOf ?journal .
?journal dblp:Title ?Journa
l
FILTER( (regex(?Issue, "15
", "i")) &&
(regex(?Volume, "Volume 5
", "i")) )
} ORDER BY ?Title ?Volume
Output:
servlets and jsps
Journal of java server pages
jsp,2005:volume 2
2011
-
1
5
3.
Find papers which have "deductive" in their title.
PREFIX project5: <http://tinman.gsu.edu/dblp.owl#>
SELECT ?title
FROM <http://tinman.gsu.edu/project5.owl>
WHERE
{
?article project5:Title ?title.
FILTER (regex(?title, "DEDUCTIVE", "i"))
} ORDER BY
?title
Output:
Deductive Character Movements
Deductive Doodles
Deductive compilers
Deductive databases,2006
Deductive modules, 2011
Deductive programs
deductive databases
4.
Find authors with publications in a given journal in a particluar year.
PREFIX dblp: <http://tinman.gsu.edu/dblp.owl#>
SELECT DISTINCT ?Author ?Journal ?Publication
FROM <http://tinman.gsu.edu/dblp.owl>
WHERE
{
?author dblp:Writes_Article ?article .
?ar
ticle dblp:Title ?Publication .
?article dblp:AppearsInJournal ?issue .
?issue dblp:PubYear ?pubyear .
?issue dblp:Issue_IsAnInstanceOf ?journal .
?journal dblp:Title ?Journal .
?article dblp:Article_IsWrittenBy ?author .
?author dblp:Name_Person ?Aut
hor
} ORDER BY ?Author ?Journal ?Publication
Output:
Suderaman Raj
Journal of java server pages
Databases and web, 2001
Suderaman Raj
Journal of java server pages
Deductive databases,2006
Suderaman Raj
Journal of java server pages
Deductive modules,
2011
Suderaman Raj
Journal of java server pages
compilers,2005
Suderaman Raj
Journal of java server pages
reasearch articles
Suderaman Raj
Journal of java server pages
servlets and jsps
Suderaman Raj
Journal of security
Deductive Doodles
Suderaman Raj
Journal of security
Deductive compilers
Suderaman Raj
Journal of security
programming languages
dr.Zhang
Journal of security
Deductive Doodles
dr.Zhang
Journal of security
Deductive compilers
dr.Zhang
Journal of security
programming languages
louis
henry
Journal of security
Deductive Doodles
louis henry
Journal of security
Deductive compilers
louis henry
Journal of security
programming languages
Enter the password to open this PDF file:
File name:
-
File size:
-
Title:
-
Author:
-
Subject:
-
Keywords:
-
Creation Date:
-
Modification Date:
-
Creator:
-
PDF Producer:
-
PDF Version:
-
Page Count:
-
Preparing document for printing…
0%
Comments 0
Log in to post a comment