Is there a way to order sparql results by random?

365 views
Skip to first unread message

El Santiago

unread,
Nov 26, 2014, 3:47:54 PM11/26/14
to isla...@googlegroups.com
Here (http://stackoverflow.com/questions/5677340/how-to-select-random-dbpedia-nodes-from-sparql)
 it says that sparql 1.1 we can ORDER BY RAND() but I don't know if Islandora 7.13 has this feature or a way to do this?
May be a way to upgrade sparql to 1.1 version?

Diego Pino

unread,
Nov 27, 2014, 7:50:45 AM11/27/14
to isla...@googlegroups.com
Hi, Mulgara has some standard Sparql support, but most of the "fun" things of sparql 1.1 specs are missing. There are other more standard triple-stores out there, but i don't think replacing the 3.x shipped one is trivial, because to my understanding there are still some TQL queries in Islandora out there and there are also some specifics on Mulgara that are not standard on other triple-store implementations. 
One of the things i always wanted to do is to integrate an additional triple-store(not replacing the internal one) to enable a federated (multiple input) one to make linked data search across multiple repos possible, but the specifics on how to implement this solution has eluded my limited understanding on how API-M sends info to the semantic store interface.

David John Evans

unread,
Nov 28, 2014, 5:59:31 AM11/28/14
to isla...@googlegroups.com
Hello Diego,

As of the 7.x-1.4 release, it looks like ITQL is only used in the function which generates breadcrumbs, islandora_get_breadcrumbs_recursive(). I don't see any reason why this couldn't be replaced by a SPARQL query, though.
Are there any other places where Islandora relies on Mulgara-specific functionality?


--
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to the Google Groups "islandora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
Visit this group at http://groups.google.com/group/islandora.
For more options, visit https://groups.google.com/d/optout.

Diego Pino

unread,
Nov 28, 2014, 9:11:44 AM11/28/14
to isla...@googlegroups.com
Hi David. Not sure, haven't read the whole islandora 7.x-1.4 stack source, but the last time i did (previous release) there were some ITQL queries there. I must admit i haven´t even dared to add another triple store to the mix, but there must be some issues there to make if work. Any one? This is an interesting topic, because to my understanding fedora 4 does not include an triple-store, so you can choose which one you want to use.
Reply all
Reply to author
Forward
0 new messages