| Project: | Resource Description Framework (RDF) |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Arto |
| Status: | active |
Issue Summary
Hi,
first of all I'd like to thank you for your work in bringing RDF to Drupal.
I have installed the package (incl. Arc2) and everything looks alright. I was able to import a OWL file - the result was that on the repository page is the info that 270 statements have been found.
My question now is: how can I use this? When I try to query the owl I never get results. And I haven't found any other way to access the data of the file until now.
Do I need to code an extra module with the RDF API which uses the RDF data that is managed by your module? Is there no way to take a look at the imported data with your module? I'm a bit at a loss here - I really hope someone can give me a nudge in the right direction!
Thank you!
Sandra
Comments
#1
Sandra, when you say "when I try to query the owl I never get results" do you mean the triple query interface provided on the [Administer >> Content management >> RDF data] screen (
admin/content/rdf), or somewhere else? Because this interface is where you should be able to view the data you've imported.One gotcha to be aware of, however, is that currently you may need to enter a full URI for e.g. subject or predicate when querying, as there are many places where QName/CURIE support is not yet fully functional.
So yes, you should be able to view your data using just the UI provided by the RDF API. However, keep in mind for otherwise using the data that this is just an API, which means that it's meant as a foundation for developers to build RDF solutions on, not yet directly as anything which would necessarily be useful to the normal end-user.
Where things will start to get truly interesting for semweb folks is when SPARQL module is released, which will provide a powerful query interface to the data you import (or use directly from external sources). There is a limited demo available at http://boston2008.datagraph.org/ in case you want to play with it.
#2
Hi,
thank you for this answer -
Yes, I tried to access the data via the triple query interface of the module.
Yet, I wasn't successfull - I tried the full URI. Could it be that the used OWL format (Protege export) is not fully recognized?
I will keep on trying and also take a look at the SPARQL integration.
Thank you for your support!
Cheers,
Sandra
#3
some more information:
when I use the full URI for the query the only result I get is "No data.".
I guess I just don't get how this is supposed to work?!
#4
Sandra,
Most likely you're not doing anything wrong, but rather there is some bug, possibly in the import process. If you could attach the OWL file, I could try and reproduce the problem.
#5
Arto,
thank you for your help! As advised I attached the OWL file I used. It's a protege export.
Cheers
Sandra
#6
Obviously I was able to import the data - it's in the database.
I just don't know how I would be able to query the stuff. Or use it, but that's another topic.