What is the {prime number} with the {MAX(numeric value)} ?
What is the prime number with the maximum numeric value?
WHICH IS THE PRIME NUMBER WITH THE MAXIMUM NUMERIC VALUE
SELECT ?k WHERE { ?k property:numeric_value ?v . ?k rdf:type ontology:prime_number }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q49008>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1181>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .}
ORDER BY DESC(?obj)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q49008 . ?ent wdt:P1181 ?obj } ORDER BY DESC(?obj)LIMIT 5 
36746043666799590428244633799627952632279158164343087642676032283815739666511279233373417143396810270092798736308917 33478071698956898786044169848212690817704794983713768568912431388982883793878002287614711652531743087737814467999489 29669093332083606603617799242426306347429462625218523944018571574194370194723262390744910112571804274494074452751891 4528450358010492026612439739120166758911246047493700040073956759261590397250033699357694507193523000343088601688589 3968132623150957588532394439049887341769533966621957829426966084093049516953598120833228447171744337427374763106901