Hi Frans, On 16 Nov 2011, at 23:08, Frans Knibbe wrote: > I have a working D2R server. It publishes a vocabulary of classes in my > database. In the configuration file I have added human readable > descriptions of the classes. They are published as rdfs:comments. > > Can someone please give an example or hint on how I could use a SPARQL > query to search for classes that have a certain text string in their > description?
You can't, unfortunately. The labels and comments for classes and properties show up when you resolve the term URI, but they are not available to SPARQL queries. That's a limitation in D2RQ. The SPARQL queries can only access information in the database, not information added in the mapping. Best, Richard > Although I am trying, I am not very good at SPARQL. I have > managed to produce some queries that search through the data, and I have > managed to do substring matching (using FILTER regex()), but I have no > idea how to tell SPARQL to look only in the vocabulary. > > Thanks in advance, > Frans > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > d2rq-map-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ d2rq-map-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel
