What is the {public company} with the {MAX(total debt)} whose {subsidiary} is {Carrefour Bio}  ?
Which public company does Carrefour Bio subsidize with the most debt?
What is the public company with the most debt subsidized by Carrefour Bio?
SELECT ?q WHERE { ?q rdf:type ontology:public_company . ?q property:total_debt ?e . ?q property:subsidiary resource:Carrefour_Bio }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q891723>.

?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2133>.
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj1.

?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P355> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q55221138> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q891723 . ?ent wdt:P2133 ?obj . ?ent wdt:P355 wd:Q55221138 } ORDER BY DESC(?obj)LIMIT 5 