On 01/09/14 16:55, Vinicios Binsfeld wrote:
Hi Chris.
I will put this part in a separate Server (Amazon EC2). That will
comunicate with the android aplication using REST.
I thought about using SDB due to large amount of data.
TDB scales better.
I did not understand the following: If I load the RDF into a model into and
populate it, like I'm going to do to store it?
You need to "think web" - PUT/POST RDF to a remote SPARQL server.
Exposing JDBC endpoints on the web is not a good plan.
In a second moment, where I already have the data in the model saved in the
bank, how would you do to get them?
See Fuseki - a SPARQL server.
Andy
2014-09-01 12:13 GMT-03:00 Chris Dollin <[email protected]>:
On Monday, September 01, 2014 11:41:20 AM Vinicios Binsfeld wrote:
I will use the ontology (https://code.google.com/p/
vital-sign-ontologia /
<https://code.google.com/p/vital-sign-ontology/> ) for this propouse:
I'll
have a Android application which will capture vital signs, then I will
have
to store this data in a database MySql
On the Android machine, or on some separate server?
Must it be SDB/MySQL or would TDB be acceptable?
For this I chose to use the SDB with MySql, but I could not find any
material that shows how to load it with popular ontology and data.
You have a Jena model. You can load any RDF into it you like, using the
Model API that Jena supplies, just as you would for a memory-based
model or TDB or any other adaptor. You can write code that creates
resources and properties and statements and puts them in the model.
If you need to -- and you may not -- you can load the ontology into
the model as well [1].
Chris
[1] Actually you'd load the ontology into a different sub-model of a
Jena OntModel.
--
"A facility for quotation covers the absence of original thought."/Gaudy
Night/
Epimorphics Ltd, http://www.epimorphics.com
Registered address: Court Lodge, 105 High Street, Portishead, Bristol BS20
6PT
Epimorphics Ltd. is a limited company registered in England (number
7016688)