While implementing an alternative version of the SparqlDataGen I noticed that:
- some methods are can be generalised.
- the description of the endpoint from which tw retrieves the data from can be improved
I suggest to:
- add in the .property file and/or in the GeneriDataGen constructor
-- the response format from the server (JSON-LD is quite standard but other format might be possible RDF+XML)
-- the files for the queries that indicates the selecting template and the construct template
- abstract the following methods
-- send next
-- load file
- make private the following methods
-- select indices (query file is the only exposed parameter)
While implementing an alternative version of the SparqlDataGen I noticed that:
I suggest to:
-- the response format from the server (JSON-LD is quite standard but other format might be possible RDF+XML)
-- the files for the queries that indicates the selecting template and the construct template
-- send next
-- load file
-- select indices (query file is the only exposed parameter)