Re: [Wikidata] Federated queries between wikidata and e.g. sparql.uniprot.org

2016-05-26 Thread Stas Malyshev
Hi!

> What do we need to take into account to figure this out? What are the
> constraints/concerns/etc?

Hmm... Looks like I maybe spoke too soon. While it is not a problem to
make *WDQS* accept federated queries, it may be a problem to make
federated queries actually *work*, because production machines do not
seem to have direct access to the internet.

Which means if we want to make it work, we'd need to ask ops for one-off
exceptions to firewall policies, which are usually frowned upon - they
are hard to maintain and in general require extra effort and aren't
really best practice.

Maybe some of the use cases might be better served by TPF server
(https://github.com/blazegraph/BlazegraphBasedTPFServer) - this does not
enable federated queries per se but enables to produce content that can
be queried externally more easily.
-- 
Stas Malyshev
smalys...@wikimedia.org

___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] Federated queries between wikidata and e.g. sparql.uniprot.org

2016-05-26 Thread Stas Malyshev
Hi!

> Dear Wikidata developers and contributors,
> 
> I see that it is currently not possible to run federated queries from
> wikidata to other sparql endpoints. I understand why you are not
> allowing this in the general case. However, it would be nice to allow
> this in the special case.
> 
> Would a patch allowing limited known remote sparql endpoints to
> org.wikidata.query.rdf.blazegraph.WikibaseContextListener
> be possible?

Technically, it is possible and shouldn't be very hard to do. We need to
figure out which endpoints we want to allow.

-- 
Stas Malyshev
smalys...@wikimedia.org

___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


[Wikidata] Federated queries between wikidata and e.g. sparql.uniprot.org

2016-04-22 Thread Jerven Tjalling Bolleman

Dear Wikidata developers and contributors,

I see that it is currently not possible to run federated queries from 
wikidata to other sparql endpoints. I understand why you are not 
allowing this in the general case. However, it would be nice to allow 
this in the special case.


Would a patch allowing limited known remote sparql endpoints to
org.wikidata.query.rdf.blazegraph.WikibaseContextListener
be possible?

Regards,
Jerven Bolleman
--
---
Jerven BollemanJerven.Bolleman@sib.swiss
SIB Swiss Institute of Bioinformatics  Tel: +41 (0)22 379 58 85
CMU, rue Michel Servet 1   Fax: +41 (0)22 379 58 58
1211 Geneve 4,
Switzerland www.sib.swiss - www.uniprot.org
Follow us at https://twitter.com/#!/uniprot
---


___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata