rdf:type country

Hi Dear 
I need a sparql which extract all triples related to an entity in a way that at least one of entities indicate that that entity is a country. 
for example suppose we have these triples 

A rdf:type country 
A Name Canada 
A Size 10 
B Name Qom 
B Size 20 
C rdf:type country 
C size 10 

As the result, the sparql must returns these results 


A rdf:type country 
A Name Canada 
A Size 10 
C rdf:type country 
C size 10 

Because both A and B have rdf:type country 
How can I write such sparql? 
Many thanks 

Received on Saturday, 28 July 2012 00:57:20 UTC