SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/headquarters> <http://dbpedia.org/resource/The_Pentagon> . ?uri <http://dbpedia.org/ontology/commandStructure> ?x . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/MilitaryUnit>}
Name the military units whose command structure's headquarters is The Pentagon?
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Military_Unit . ?s property:headquarters resource:The_Pentagon . ?g property:command_structure ?s }
answer
The military units whose command structure's headquarters is The Pentagon are [answer].
Military units whose command structure is the Pentagon - [answer].