Hi,
I have recently started to test Drupal and are also a newbie regarding SPARQL and have some questions.
If I create my own content types and add rdf-mapping to those, is it possible to have a SPARQL endpoint for the content created? I know that I can query for example dbpedia, but is it also possible to query local data (eg. data in the local drupal site)? How do I do that if possible? I have read the IBM Developerworks articles which were really good but did not answer my question.
Also, if I create a field and want to map that to a resource in order to achieve rdf/xml like
<dc:educationLevel rdf:resource="http://example.org/BRE/scheme/BREEducationLevel/Kindergarden"/>
is that controlled by the field type? I tried the Link module but data from fields using link field type refuses to show up in the rdf/xml but shows up in the rdfa for the node.
Is this the right forum for this kind of questions or could you recommend other places where I should post instead?
Thanks in advance.
Comments
This seems appropriate for this group forum
Hello,
I would like to get a better understanding of this myself. I'm not a newbie to Drupal or to the Semantic web but putting these two things together is not fully explicated. I know that even Drupal 6 has a SPARQL endpoint module and I think from the documentation on the SPARQL module for Drupal 7, that a SPARQL endpoint and registry is included.
Regarding this: , I assume that you defined a mapping for the namespace dc. Usually, that is used for Dublin Core but Dublin Core doesn't have a property 'educationLevel.' This seems to be rather straightforward in creating custom content types. You would define a mapping of a field for educationLevel to the property dc:educationLevel. The value entered into the field would be the object of the triple.
I am not familiar with the Link module.
I wonder if one could use a User Reference similarly to define a foaf:knows relationship between two members of a drupal site? The question though is that when referencing other content, sometimes the field you want to use is not the name of the node. For example, in using a user reference, a person entering content may know the name of the person they want to enter into a field but the system knows only about users based on username, not their real name.
It would be cool if all this Drupal related Semantic Web modules were bundled together and documented as a bundle. MediaWiki does that with their Semantic MediaWiki bundle. It's a great way to put together a group of different functions that work together. It is easy to sound like a newbie when trying to make sense of all the different modules that exist for creating Semantic web applications. What would go into a Semantic Web Drupal "bundle?" RDF, something for importing vocabularies/ontologies, definitely, and SPARQL. What else?
Bruce
Is this the right forum for
It's best to ask support questions in the module issue queue, for SPARQL, that's http://drupal.org/project/issues/sparql. I see that you already have posted your questions over there, so let's continue the conversation at New with Sparql endpoint and RDF.
We try to keep this group for announcements, events and more general discussions on RDF, Linked Data and SPARQL.