Hello everyone,

maybe for most of you this is a trivial question, but i'm loosing a lot of time trying to solve it by my self :)

My task is to find avery connected resource to a given resource, i have this query:

 SELECT ?resource WHERE { <given resource URI> ?link ?resource. }

this way i get the value of every singe property, both other resources and literal/numbers etc. I'd like to filter all the non-resource results. By now i thought of 2 solutions: 1. Making a union of a lot of there queries substituting ?link with a specific predicate, but this would be an enormous query; 2. using FILTER (?link = predicate1 || ?link = predicate2 || ...) and so on, but the problem is the same, i have to list every single predicate that is useful to me.

Is there a way to automatically filter between resources and literal/ number values?

Thankyou,
Piero Molino
------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to