It's pretty common to see "RDF-to-X" or "X-to-Y" bridges that address the
problem of converting one data structure to another, for instance, you
have a Java object and serialize it to RDF or you have RDF data and you
populate a Java class with it. If you consider just "Java" of course you
can
You could do a query to find the graphs then use DynamicDatasets.
For TDB, and using Fuseki, that's what using FROM, FROM NAMED is doing.
Andy
On 22/08/16 15:28, Rob Vesse wrote:
Not in a single query
You would need to have first performed the construct query to get an in memory
model
What is the difference between ?g1 and ?g2? You use different triple
patterns within graph blocks, but based on your xyz:good predicates,
it could be that ?g1 == ?g2. In that case, do you even need two graph
patterns?
Maybe start with explaining your use case instead of explaining your query?
On
Not in a single query
You would need to have first performed the construct query to get an in memory
model and then execute a further query against that model
Rob
On 22/08/2016 14:59, "Chris Jones" wrote:
Yes, that's what I just said. But I don't know how to do a
To my knowledge, you can't:
http://www.cray.com/blog/extending-sparql-construct-sub-queries/
It would be a new extension. I don't know whether Jena ARQ (the extended
language containing SPARQL that Jena implements) contains it.
---
A. Soroka
The University of Virginia Library
> On Aug 22,
Yes, that's what I just said. But I don't know how to do a SELECT
against the results of a CONSTRUCT.
Chris
On 8/22/2016 7:44 AM, A. Soroka wrote:
Perhaps https://www.w3.org/TR/sparql11-query/#subqueries ?
On Aug 22, 2016, at 9:40 AM, Chris Jones wrote:
Is there a way to
On 8/22/2016 7:33 AM, Jean-Marc Vanel wrote:
Try a FILTER clause involving ?g1 and ?g2 .
I don't see how that would be any better; I'd still be specifying two
separate graphs ?g1 and ?g2, instead of a union graph ?g. Is there
something I don't understand?
there is also the unionGraph but
Perhaps https://www.w3.org/TR/sparql11-query/#subqueries ?
---
A. Soroka
The University of Virginia Library
> On Aug 22, 2016, at 9:40 AM, Chris Jones wrote:
>
> On 8/22/2016 7:33 AM, Jean-Marc Vanel wrote:
>> Try a FILTER clause involving ?g1 and ?g2 .
>
> I don't see how
Try a FILTER clause involving ?g1 and ?g2 .
there is also the unionGraph but it takes everything in all named graphs .
2016-08-22 15:21 GMT+02:00 Chris Jones :
> Hi All,
>
> Is it possible to run a query against the union of a bunch of named
> graphs, where each named graph
Hi All,
Is it possible to run a query against the union of a bunch of named
graphs, where each named graph is selected by some logic? As an example,
I have something like this:
select ?attr ?value ?attrName where {
graph ?g1 {
?subj ?attr ?value .
}
graph ?g2 {
You can use Jena's command line tool 'riot' to convert:
https://jena.apache.org/documentation/io/#command-line-tools
---
A. Soroka
The University of Virginia Library
> On Aug 22, 2016, at 4:54 AM, lookman sanni wrote:
>
> Awesome !
>
> The reason why I am using XML/RDF
Hi,
The problem is with your RDF file. You have given the values of the
aa:processedIn properties as strings instead of resources. To see this
serialize as ttl. Better still, only use ttl and ignore rdf/xml!
Using a corrected RDF file:
http://www.w3.org/1999/02/22-rdf-syntax-ns#;
12 matches
Mail list logo