Re: Converting BNode to Resource

2018-07-27 Thread Charles Greer
It looks like a reasonable solution to me if you have to work with parsed RDF. It might be higher performance to treat it as a text processing problem... if your data is available in ntriples or nquads you can use regular expressions to accomplish the task. Charles Charles Greer Lead

Re: Binding graph names for WITH and USING

2017-10-25 Thread Charles Greer
e.org/p> "1" } } WHERE { GRAPH ?g { } } GRAPH ?g { } returns all graph names. Where does USING come into this? > Sometimes "the spec prohibits it" is not what people want to hear. That's what the commercial support has to answer! Andy On 25/10/17 19:02, Charl

Re: Binding graph names for WITH and USING

2017-10-25 Thread Charles Greer
ionale? Sometimes "the spec prohibits it" is not what people want to hear. Charles Greer Lead Engineer MarkLogic Corporation cgr...@marklogic.com @grechaw www.marklogic.com From: james anderson <ja...@dydra.com> Sent: Wednesday, Oct

Binding graph names for WITH and USING

2017-10-25 Thread Charles Greer
WITH or USING. I am curious about how to write a workaround, short of putting a literal in for ?g Thanks, Charles Charles Greer Lead Engineer MarkLogic Corporation cgr...@marklogic.com @grechaw www.marklogic.com

RE: Using Lucene with multiple triplestores

2017-08-24 Thread Charles Greer
, and it scales to far vaster realms than any multi-backend system will. If it's your company looking for a solution, you might want to take a look, and I'm always lurking here if you have questions. Charles Greer Lead Engineer MarkLogic Corporation cgr...@marklogic.com Cell: +1 707 318 0442 @grechaw

RE: Graph.isIsomorphic()

2017-01-08 Thread Charles Greer
Hi Grahame, Try Model.difference(Model m) You can try it in both 'directions' to see the triples which are in one model and not the other. Hope that's useful, Charles Greer From: graha...@gmail.com [graha...@gmail.com] on behalf of Grahame Grieve

marklogic-jena 1.0.2 and 3.0.2 released

2016-10-17 Thread Charles Greer
Hi Jena enthusiasts, I'd like to let you all know that new versions of marklogic-jena are available. The 1.0.2 and 3.0.2 releases are much improved with regard to graph modification (adding and removing triples from graphs). Thanks to Andy for helping me understand the internals of GraphView.

RE: Deleting an entire RDF graph

2015-11-09 Thread Charles Greer
Hi Juan, Seems that if you can do this efficiently "Another thought is to put the RDF graph in a NG and then just clear the NG." then that will be more efficient than following property paths. Interesting question to be sure. Charles From: Juan

RE: jena technical doc

2015-09-17 Thread Charles Greer
Hello, I did this recently, and it turned out to be pretty straightforward. Andy did a great job with extensibility. I have not announced this project to the list yet because it's not released yet, and it relies on unreleased code in MarkLogic, but this class shows how to implement the SPARQL

Dataset vs. DatasetGraph

2015-06-09 Thread Charles Greer
backend, it seems to me that I will have to provide a custom Dataset implementation, not only a DatasetGraph. Is this correct? Thanks, Charles Charles Greer Lead Engineer MarkLogic Corporation cgr...@marklogic.com Cell: +1 707 318 0442 @grechaw www.marklogic.com

RE: Implementing a QueryEngine

2015-06-04 Thread Charles Greer
Thanks Claude and Andy, this is just what I needed. I'm sure I'll follow up with more questions as I proceed. Charles Charles Greer Lead Engineer MarkLogic Corporation cgr...@marklogic.com Cell: +1 707 318 0442 @grechaw www.marklogic.com From: Andy

Implementing a QueryEngine

2015-06-03 Thread Charles Greer
really only want to make these if the Dataset in question is one of my own. Many thanks, Charles Charles Greer Lead Engineer MarkLogic Corporation cgr...@marklogic.com Cell: +1 707 318 0442 @grechaw www.marklogic.com

Fuseki and multigraphs?

2015-05-28 Thread Charles Greer
to populate an entire set of named graphs - can I do that with Fuseki over HTTP, or should I stick to tdbloader? Thanks, Charles Charles Greer Lead Engineer MarkLogic Corporation cgr...@marklogic.com Cell: +1 707 318 0442 @grechaw www.marklogic.com