-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathNOTES.txt
More file actions
18 lines (12 loc) · 705 Bytes
/
NOTES.txt
File metadata and controls
18 lines (12 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Design Specification for the API:
genericQuery(String query) should return a object of class: AnyResult.
The Class AnyResult should have the following functions:
getType() -> returns one of an Enumerated Classes
getSelectResult() -> returns something similar to the MySql SelectResult thing
getConstructResult() -> returns a String
getAskResult() -> returns a boolean
And then we should have more specific functions which people can use if they feel like it :
SelectResultSet executeSelect()
boolean executeAsk()
String executeConstruct()
And I should move the SPARQL Endpoint to the constructor, as people are more likely to be SPARQLing a given endpoint as apposed to lots of different ones