Does anyone know if it would be possible with the RDF_GAS_API to specify two Wikidata items (e.g. Kevin Bacon and Kathy Bates) and a property (e.g. cast member) and have it calculate the shortest path between them? That functionality for future versions of ConceptMap is what pushed me to adding Neo4j to the technologies selected for it, but perhaps I was too hasty.
Regards, James Weaver
On Tue, Feb 2, 2016, at 12:45 PM, Stas Malyshev wrote:
Hi!
Indeed, this is very nifty. I also note that this uses some special features of our SPARQL endpoint that I did not know about (the "gas service"). It seems that this is a proprietary extension of BlazeGraph, which comes in very handy here.
Yes, it's described here: https://wiki.blazegraph.com/wiki/index.php/RDF_GAS_API and it's a service implementing basic graph algorithms such as BFS, shortest path, PageRank, etc. I personally didn't use it too much but it may be very useful for tasks which are naturally expressed as graph traversals.
-- Stas Malyshev smalyshev@wikimedia.org
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata