What is {instance of} of {sodium chloride} that is {of} is {chloride ion} ?
Is Sodium Chloride a Chloride Ion?
Tell me whether Sodium chloride is instance of Chloride ion?
SELECT ?c WHERE { resource:sodium_chloride rdf:type ?z . ?z property:of resource:chloride_ion . ?z rdf:type ?c }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2314> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P642> <http://wikidata.dbpedia.org/resource/Q108200>
} 

SELECT ?obj WHERE { wd:Q2314 p:P31 ?s . ?s ps:P31 ?obj . ?s pq:P642 wd:Q108200 }