Dear Andy,

thanks for looking into it. Too bad it doesn't work, but I can work around the 
problem (parsing the RDF directly in Python instead) for my current purposes, 
so at least we got a bug report out of it.


Best,

Andreas



________________________________
Von: Andy Seaborne <a...@apache.org>
Gesendet: Donnerstag, 14. Februar 2019 12:17:56
An: users@jena.apache.org
Betreff: Re: AW: AW: Using FROM on external RDF files in Fuseki

I looked - there are a couple of problem bocking its use which need fixing:

https://issues.apache.org/jira/browse/JENA-1671

Sorry about that,

     Andy

On 13/02/2019 13:42, Andy Seaborne wrote:
> Andreas,
>
> I'll take a look - one of the problems of running that service has been
> (unsurprisingly) it getting trashed.  A public endpoint reading files
> from the web is a DOS vector. People trying to load DBpedia etc. (no,
> that does not work!).
>
> (The VM it runs on is also quite locked down which may be the issue as
> well).
>
> If you are using the apache-jena-fuseki dwn and service scripts, that is
> the webapp server.  The standalone form is Jetty+Fuseki as webapp.
>
> It will be better to run the general query endpoint in a separate server
> - that isolates it from the handling of the datasets.
>
>      Andy
>
> On 13/02/2019 10:51, Walker, Andreas wrote:
>> Hi Andy,
>>
>>
>> I am running Fuseki as a service (i.e. with "fuseki start"), without
>> any modifications to the configuration. I have added a dataset with
>> multiple named graphs through the web interface, and I tried running
>> the queries through the web interface as well, although I am later
>> planning to query the SPARQL endpoint via Python.
>>
>>
>> When I try the following minimal query in
>> <http://www.sparql.org/sparql.html>, it also doesn't work:
>>
>>
>> SELECT ?s ?p ?o
>> FROM <http://id.loc.gov/vocabulary/iso639-2/deu.rdf>
>> WHERE { ?s ?p ?o }
>>
>> Do I understand you correctly that this should work? If yes, any idea
>> what I might be doing wrong? And how would I tell my own server to
>> allow queries like that?
>>
>> Thanks for your help,
>> Andreas
>>
>>
>> ________________________________
>> Von: Andy Seaborne <a...@apache.org>
>> Gesendet: Mittwoch, 13. Februar 2019 11:20:16
>> An: users@jena.apache.org
>> Betreff: Re: AW: Using FROM on external RDF files in Fuseki
>>
>> Fuseki does support loading FROM URLs from the web in the "main" version
>> of Fuseki.  If the service is backed by a dataset it will use the graphs
>> from the dataset but there is the "general" query service as well.
>>
>> It is --general in Fuseki.main and that is what
>>     http://www.sparql.org/sparql.html
>> is using.
>>
>> Andreas - were you looking for it in the webapp version?
>>
>>       Andy
>>
>> On 12/02/2019 19:52, Charles Abela wrote:
>>> Hehe
>>>
>>> On 12 Feb 2019 20:14, "Walker, Andreas" <
>>> andreas.wal...@sub.uni-goettingen.de> wrote:
>>>
>>> Hi ajs6f,
>>>
>>> yes, what I am aiming for is what the FROM statement would do if it
>>> could
>>> target graphs outside my own dataset.
>>>
>>> The only thing I have come up with so far - as an idea, not tested - is
>>> loading the RDF file into a named graph, querying it and then
>>> dropping it
>>> again. What I am asking is whether there is a simpler way of instructing
>>> Fuseki to temporarily load that graph just for the purposes of one
>>> query.
>>>
>>> Best,
>>> Andreas
>>> ________________________________
>>> Von: ajs6f <aj...@apache.org>
>>> Gesendet: Dienstag, 12. Februar 2019 19:06:36
>>> An: users@jena.apache.org
>>> Betreff: Re: Using FROM on external RDF files in Fuseki
>>>
>>> I'm not quite sure what you are asking about here: Do you mean to query
>>> both a new graph and the main dataset at the same time, and to do that
>>> without using anything other than SPARQL, and without loading the new
>>> graph
>>> into your dataset?
>>>
>>>
>>> ajs6f
>>>
>>>> On Feb 12, 2019, at 10:58 AM, Walker, Andreas <
>>> andreas.wal...@sub.uni-goettingen.de> wrote:
>>>>
>>>> Dear all,
>>>>
>>>>
>>>> after trying for a while, I found out that Fuseki does not temporarily
>>> add external RDF files to the default graph when they are included
>>> through
>>> a FROM statement in the SPARQL query, which was also confirmed on
>>> StackExchange [1].
>>>>
>>>>
>>>> Since this option isn't available, is there a good way of querying an
>>> external RDF file without permanently adding it to the graph by
>>> loading it?
>>> For example, my own graph might contain a link to an RDF file like
>>> [2], and
>>> I want to query that file from my application (through Fuseki), but not
>>> store it in my own triple store.
>>>>
>>>>
>>>> Any help and/or advice would be welcome,
>>>>
>>>>
>>>> Andreas
>>>>
>>>>
>>>> [1]
>>> https://stackoverflow.com/questions/36532737/sparql-queries-with-from-clause-in-fuseki2
>>>
>>>>
>>>> and
>>> https://stackoverflow.com/questions/54358099/fuseki-sparql-service-not-able-to-refer-to-external-rdf-resources
>>>
>>>>
>>>> [2] http://id.loc.gov/vocabulary/iso639-2/deu.rdf
>>>> <https://s>
>>>
>>

Reply via email to