What is the {asteroid} with the {MIN(orbital period)} whose {site of astronomical discovery} is {Nice Observatory}  ?
What is the asteroid with the shortest year that was discovered at the Nice Observatory?
Which asteroid with the shortest orbital period was discovered at the Nice Observatory?
SELECT ?g WHERE { ?g property:orbital_period ?m . ?g rdf:type ontology:asteroid . ?g property:site_of_astronomical_discovery resource:Nice_Observatory }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q3863>.

?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/P2146>.
?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/P65> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q508362> .

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q3863 . ?ent wdt:P2146 ?obj . ?ent wdt:P65 wd:Q508362} ORDER BY ASC(?obj)LIMIT 5 
1509 Esclangona 1651 Behrens 3220 Murayama 6887 Hasuo 1797 Schaumasse