Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
new
It's good to have RDF on a Drupal site.
It's also good to have a SPARQL endpoint on a Drupal site to query datas from dbpedia for instance.
But how to query your own RDF data on your own Drupal site using SPARQL ? I didn't figure this out.
The SPARQL endpoint module that I use on Drupal allows to query data but for each query that you can make the URL of an existing SPARQL endpoint such as dbpedia or others is mandatory. So I didn't find a way to query my local RDF repository that's on my Drupal website.
Thanks anyone if you can help me out to query my local RDF.
Comments
Comment #1
VincentBlouin CreditAttribution: VincentBlouin commentedOh all right I figured out that you can only query local RDF from your local repository when adding a sparql query as a content type using this module. Otherwise the endpoint URL is mandatory in the form. But then endpoint url field is optional when adding a sparql query as a content type. Thanks guys.