2. Conjunc'veQueries
Models
RDF
conjunc/ve
queries
in
a
Java
representa/on
by
• Parsing
files
of
consecu/ve
RDF
conjunc/ve
queries
•
Crea/ng
a
Java
object
representa/on
(Conjunc/veQuery
object)
for
each
query
2
SQLTranslator
Translates
a
Conjunc/ve
object
to
an
SQL
query
4. Code
volume
Number
of
lines
of
code
Total:
5714
Number
of
types
Total:
36
4
Conjunc'veQueries
SQLTranslator
Number
of
lines
of
code
Total:
744
Number
of
types
Total:
7
7. Code
structure
7
• Input:
A
series
of
conjunc/ve
queries
in
text
file
• Output:
A
map
of
String
(query
name)
to
Conjunc/ve
query
object
• Modules:
• Conjunc'veQuery
• Parser
• Input:
A
Conjunc/veQuery
object
• Output:
A
string
represen/ng
the
SQL
query
statement
• Modules:
• SQLtranslator
Conjunc'veQueries
SQLTranslator
9. Digram
9
Txt file with RDF
conjunctive queries
Parser ConjunctiveQuery SQLTranslator
Txt file with SQL
conjunctive queries
One conjunctive
query in string
One conjunctive
query as Java object