Queries through RDF-core

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Go4LD's picture

Hi all

Being a Drupal newcomer, I am working on two projects where we would like to consume defined and existing RDF-data in the search query coming out of our library catalogue (using Drupal). Our main aim is to query a RDF-container and then display a result-set of records from our catalogue. The records to be displayed from our catalogue will contain the ID of the "found" RDF-data-element.

RDF-core in Drupal7 seems to do what we want, but I need to give further specifications to several of our partners and I lack the detailed information so far.

One core question is, if to query an "RDF-data-container" RDF-core would be sufficient, or if there are other modules / technical features to be involved, e.g. SPARQL or any other? As far as I understood from other discussion threads here, there are different possibilities, including Apache solr which we use already. Any help would be appreciated.

The databases contain over 1 million records.

thanks for any input or help

Comments

The architecture of your

scor's picture

The architecture of your project(s) is unclear to me, in particular, do you have RDF data existing outside your Drupal site that you want to merge and display with Drupal's data? It would help to clarify the architecture of your site(s) and where their data live (RDF or native Drupal MySQL).

If you want to do querying, core won't be enough, core does not have any RDF querying of its own. You will possibly want to use SPARQL or SPARQL Views, but not sure given what I said above.

What's your motivation for using RDF? Do you have native RDF data that you need to integrate with Drupal in some way? It might be that you don't need RDF if all you want to do is simply searching or querying your Drupal site. You said you're already using solr, have you run into any limitation with it? re scale, the current implementations of RDF in Drupal won't scale to the million record without further optimization or code refactoring.

thanks for your answers, i

Go4LD's picture

thanks for your answers, i understand now that rdf-core does not do the querying - and that we might need SPARQL, but could use other techniques. that is the answer to my question.

i just want to add, that part of the data we use, exists indeed externally to our database in rdf-format (as well as in other formats).
as the displaying of the records would be done in a layer that is embedded in Drupal, RDF-core came up. the main motivation to use these normalized data available in rdf-format is to avoid importing, storing and synchronizing the data which is frequently updated (externally).

Links

scor's picture

If you're interested in enriching your content on the client side, maybe this will work for you http://drupal.org/project/jsonp_sparql. Alternatively you could look into using SPARQL Views and embed your data in a block, this could work as long as your drupal data shares identifiers with your RDF data, as explained in this article: The Semantic Web, Linked Data and Drupal, Part 2: Combine linked datasets with Drupal 7 and SPARQL Views.

thanks a lot

Go4LD's picture

thanks a lot

Semantic Web

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: