I have a query:
Let's say I have the data
The results I would get from the query above on this data would be:
Any ideas how I would always filter out the rows with someOnt:Resource? Obviously a FILTER (str(?type)!=someOnt:Resource) would actually result in zero rows. I just want results excluding the common type someOnt:Resource.
Have you tried the filter you describe? It should do exactly what you want: return the (?s, ?type) pairings for which ?type is not someOnt:Resource.
Also, you don't need to use str():
...should work just fine.
answered 20 Dec '12, 12:12