What is the {river} for {different from} of {mass}
Which is the waterway that is not the same as the mass?
Which is the river that is different from the mass?
SELECT DISTINCT ?q WHERE { resource:mass property:different_from ?q . ?q rdf:type ontology:river }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q11423> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1889> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q4022> } 
 select distinct ?obj where { wd:Q11423 wdt:P1889 ?obj . ?obj wdt:P31 wd:Q4022 } 