Re: Architecture Direction

2013-03-27 Thread Claude Warren
I was speaking of literal typing as reporting in the Graph Capabilities object: *handlesLiteralTyping *() Answer true iff this graph compares literals for equality by value rather than

Re: Architecture Direction

2013-03-27 Thread Dominique Brezinski
I am glad, as it was my intent to provoke thought. However, I realize the manner of phasing can come off as rude or condescending, which was not my intent. Let me preface this with I am not a Jena expert. However, I do deal with distributed systems, big data, and other complicated engineering prob

Re: Architecture Direction

2013-03-27 Thread Claude Warren
I found your questions, and their phrasing, to be thought provoking and helped me clarify what I was thinking. I can see that SDB graph could be used by multiple servers but SDB has some issues. In my case it is that it does not handle literal typing. Claude On Wed, Mar 27, 2013 at 5:38 PM, Dom

Re: RDF Model Namespaces

2013-03-27 Thread James Rothering
Hi: A question came up last night in discussions at LAJUG about the Semantic Web, which I couldn't answer. LAJUG is our local Java Users group. The question was this: can RDF be serialized in JSON rather than XML. I seem to remember that there were other serializations, such as Turtle, N3, e

Re: RDF Model Namespaces

2013-03-27 Thread Joshua TAYLOR
On Wed, Mar 27, 2013 at 4:48 PM, Pastrana, Rodrigo (RIS-BCT) wrote: > Sure, we're converting RDF graphs into a data format understood by our > processes. > It should suffice to say that each non-anonymous, non-literal node 's > namespace and name need to be parsed out. Thanks. If by name namesp

Re: RDF Model Namespaces

2013-03-27 Thread Joshua TAYLOR
On Wed, Mar 27, 2013 at 4:32 PM, Pastrana, Rodrigo (RIS-BCT) wrote: >> You claim it's illegal. Why? > Did I? I pointed out the scenario, and asked if Jena's API can help handle it. > Are you claiming the "congress people" RDF/XML graph is illegal? I'd guess Andy meant where you wrote "Because th

RE: RDF Model Namespaces

2013-03-27 Thread Pastrana, Rodrigo (RIS-BCT)
Sure, we're converting RDF graphs into a data format understood by our processes. It should suffice to say that each non-anonymous, non-literal node 's namespace and name need to be parsed out. Thanks. Thanks, Rodrigo. -Original Message- From: Martynas Jusevičius [mailto:marty...@graph

Re: Loading Large TripleStore using TDB

2013-03-27 Thread David Jordan
What indexes exist during the load? On Mar 27, 2013, at 4:40 PM, Joshua Greben wrote: > Hello all, > > I just wanted to give an update on how my loading of 670M triples was going, > or in this case not going. > > I ran the riot --time --sink script on my 6.3 GB nt.gz file and this was the >

Re: Loading Large TripleStore using TDB

2013-03-27 Thread Joshua Greben
Hello all, I just wanted to give an update on how my loading of 670M triples was going, or in this case not going. I ran the riot --time --sink script on my 6.3 GB nt.gz file and this was the result: 14,128.77 sec 676,740,132 triples 47,898.03 TPS According to this result it should finish in

Re: RDF Model Namespaces

2013-03-27 Thread Martynas Jusevičius
Maybe you could start with explaining what you are trying to achieve? You stated you want to navigate statements in an RDF graph -- what does this have to do with namespaces and local names? Martynas On Wed, Mar 27, 2013 at 10:32 PM, Pastrana, Rodrigo (RIS-BCT) wrote: >> You claim it's illegal.

RE: RDF Model Namespaces

2013-03-27 Thread Pastrana, Rodrigo (RIS-BCT)
> You claim it's illegal. Why? Did I? I pointed out the scenario, and asked if Jena's API can help handle it. Are you claiming the "congress people" RDF/XML graph is illegal? Doesn't really matter, what matters is this scenario will play out in many RDF/XML graphs. We want to use JENA, but we

Re: Escape chars in model writes

2013-03-27 Thread Andy Seaborne
On 27/03/13 20:14, Aaron Jackson wrote: Hi, I have a Jena Model instance that contains triples where the data contains newline characters, as well as other chars that typically require escaping (tab, ", \, etc.). I have no trouble inserting this data because I escape all inbound invalid charact

Escape chars in model writes

2013-03-27 Thread Aaron Jackson
Hi, I have a Jena Model instance that contains triples where the data contains newline characters, as well as other chars that typically require escaping (tab, ", \, etc.). I have no trouble inserting this data because I escape all inbound invalid characters before they are pushed (through a SPAR

Re: RDF Model Namespaces

2013-03-27 Thread Andy Seaborne
On 27/03/13 18:29, Pastrana, Rodrigo (RIS-BCT) wrote: Because "410069.jpeg" is illegal as an XML qname local part, it is not returned by Jena. So basically, a Jena API user interested in a node's NS and name will need to extract the full URI and parse it manually to extract the NS and the Name

RE: RDF Model Namespaces

2013-03-27 Thread Pastrana, Rodrigo (RIS-BCT)
>The full URI should be what you use to determine if two Resources are the >same. Namespace/localpart are just syntactic convenience - the code keeps and >indexes URIs only. Not comparing two nodes. >For literals, you need to test the language or datatype as well. No issue with literals. >"1

Re: Query execution time in Fuseki Server

2013-03-27 Thread Andy Seaborne
On 27/03/13 05:13, Don S wrote: HI, * I am using fuseki 0.2.3 version. Is it possible to calculate the query execution time inside the server. For example I uploaded 5 triples and I want to calculate the processing time to display the data on the web browser based on my SPARQL query synta

Re: Architecture Direction

2013-03-27 Thread Dominique Brezinski
The reason I asked in the way I did was because your question and the desired outcome was not clearly defined nor communicated. For example, the C api you describe for MySQL literally just speaks a binary protocol that serializes SQL statements. It also does the auth protocol and provides acce

Re: Architecture Direction

2013-03-27 Thread Patrick Logan
I'm not sure what problem(s) you are trying to solve... the driver seems to be "avoid installing fuseki" but certainly you would have to install *something*. Why is fuseki a problem for you? What criteria would you use to determine something else would be "better"? On Wed, Mar 27, 2013 at 1:52

Re: Architecture Direction

2013-03-27 Thread Martynas Jusevičius
Claude, SPARQL endpoint implementation in Graphity Linked Data server can proxy another endpoint, or serve a local Model. It can be accessed via HTTP or directly through JAX-RS object methods: https://github.com/Graphity/graphity-ldp/blob/rf-input-mode/src/main/java/org/graphity/server/model/SPARQ

Re: Architecture Direction

2013-03-27 Thread Claude Warren
Yes, that sounds like what I had in mind. On Wed, Mar 27, 2013 at 3:39 PM, David Jordan wrote: > Other thoughts are that it could operate as a shared server cache (in > memory) that operates at the graph or model layer, providing separate > client processes with the data at the graph/model layer

RE: Architecture Direction

2013-03-27 Thread Bart van Leeuwen
Hi, I might miss the full point here but what you actually describe is a storage layer which is accessible from multiple processes and allows direct Jena model interaction and a SPARQL interface. The most common way to do that is to use a storage engine like e.g. OpenLink Virtuoso [1] or IBM DB

RE: Architecture Direction

2013-03-27 Thread David Jordan
Other thoughts are that it could operate as a shared server cache (in memory) that operates at the graph or model layer, providing separate client processes with the data at the graph/model layer. The server process would make the lower level calls to the underlying storage layer. Is this what y

Re: Architecture Direction

2013-03-27 Thread Claude Warren
I believe that there are "C" libraries for MySQL that use a low level connection, but that is neither here nor there. What I am talking about is more along the lines of a remove Graph interface. Something that does not use SPARQL but that uses the Jena Graph model over the wire. +---

Re: Architecture Direction

2013-03-27 Thread Dominique Brezinski
What do you think Fuseki is? What protocol is used by the MySQL client to query the server over the network? SQL. What protocol is used by the client to query Fuseki over the network? SPARQL. Using your analogy, Jena is more like InnoDB, and Fuseki is more like MySQL. What exactly do you want t

RE: Architecture Direction

2013-03-27 Thread David Jordan
I have not yet investigated Fuseki, but we will need something similar. So I am interested in this. It would be good to have a very small white paper outlining the architecture of Fuseki and what you are proposing, listing pros/cons of each approach. With that in hand, there may be more people,

Architecture Direction

2013-03-27 Thread Claude Warren
Currently Jena seems to require the use of Fuseki (or other web front end) to handle multiple applications talking to the same dataset/model/graph. Is this an intended (planned) direction or has there been any thought put to the idea that a Jena server at a lower level. Something akin to the MySQ