Did {IBM} {owner of} {Cognos} and {Mark sense} ?
Is Cognos and Mark sense owned by IBM?
Does IBM own Cognos and Mark sense?
ASK WHERE { resource:IBM property:owner_of resource:Mark_sense . resource:IBM property:owner_of resource:Cognos }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q37156> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1830> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1107048>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q37156> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1830> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q16928019>. } 
ASK WHERE { wd:Q37156 wdt:P1830 wd:Q1107048 . wd:Q37156 wdt:P1830 wd:Q16928019 }