Given a resource http://foo.com/res1
that is the subject of several of triples with properties from two different ontologies:
<http://foo.com/res1> dc:author <http://ppl.com/bob>
<http://foo.com/res1> dc:title "some resource"
<http://foo.com/res1> foaf:depiction <http://flickr.com/picture/1234>
I want to obtain all the triples with properties in the dc
namespace and ignore all others. How can I do this?