Simple Question (Direct)
Simple Question
Q2440897
P21
Q290
USER
Which sex does Jon Harley have ?
(Q2440897,P21,c(Q290))
action filter_type
action find
entity Q2440897
relation P21
type Q290
['Q2440897', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q2440897 property:P21 ?z . ?z rdf:type ontology:Q290 }
Jon Harley
action filter_type
action find
entity Jon Harley
relation gender
type sex
['Jon Harley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Jon_Harley property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2440897,P21,c(Q290))
action filter_type
action find
entity Q2440897
relation P21
type Q290
Jon Harley has a [ANSWER]
['Q2440897', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q2440897 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
Jon Harley has a male
male
action filter_type
action find
entity Jon Harley
relation gender
type sex
['Jon Harley', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Jon_Harley property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P138
Q7946
USER
Which minerals come from that sex ?
(c(Q7946),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
[{'concept': 'Q7946'}, 'P138', 'Q6581097']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q6581097 . ?b rdf:type ontology:Q7946 }
male
action filter_type
action find_reverse
entity male
relation named after
type mineral
[{'concept': 'mineral'}, 'named after', 'male']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:male . ?b rdf:type ontology:mineral }
[]
mineral
Q19861020 Q19861231 Q4006570
SYSTEM
mendeleevite-(Ce), reynoldsite, urusovite
Q19861020 Q18375263 Q19862060 Q19861231 Q4006570 Q3565842 Q19833301
(c(Q7946),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
[ANSWERS] come from that sex
[{'concept': 'Q7946'}, 'P138', 'Q6581097']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q6581097 . ?b rdf:type ontology:Q7946 }
mendeleevite-(Ce) billwiseite witzkeite reynoldsite urusovite zirkelite carlosbarbosaite
Mendeleevite-(Ce), reynoldsite and urusovite come from that sex
mendeleevite-(Ce) reynoldsite urusovite
action filter_type
action find_reverse
entity male
relation named after
type mineral
[{'concept': 'mineral'}, 'named after', 'male']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:male . ?b rdf:type ontology:mineral }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19861020
P2695
Q15324
USER
Which body of water is famous for containing mendeleevite-(Ce) ?
(Q19861020,P2695,c(Q15324))
action filter_type
action find
entity Q19861020
relation P2695
type Q15324
['Q19861020', 'P2695', {'concept': 'Q15324'}]
SELECT DISTINCT ?y WHERE { resource:Q19861020 property:P2695 ?y . ?y rdf:type ontology:Q15324 }
mendeleevite-(Ce)
action filter_type
action find
entity mendeleevite-(Ce)
relation type locality
type body of water
['mendeleevite-(Ce)', 'type locality', {'concept': 'body of water'}]
SELECT DISTINCT ?y WHERE { resource:mendeleevite-(Ce) property:type_locality ?y . ?y rdf:type ontology:body_of_water }
[]
body of water
Q23803396
SYSTEM
Darai-Pioz glacier
Q23803396
(Q19861020,P2695,c(Q15324))
action filter_type
action find
entity Q19861020
relation P2695
type Q15324
[ANSWER] is famous for containing mendeleevite-(Ce)
['Q19861020', 'P2695', {'concept': 'Q15324'}]
SELECT DISTINCT ?y WHERE { resource:Q19861020 property:P2695 ?y . ?y rdf:type ontology:Q15324 }
Darai-Pioz glacier
Darai-Pioz glacier is famous for containing mendeleevite-(Ce)
Darai-Pioz glacier
action filter_type
action find
entity mendeleevite-(Ce)
relation type locality
type body of water
['mendeleevite-(Ce)', 'type locality', {'concept': 'body of water'}]
SELECT DISTINCT ?y WHERE { resource:mendeleevite-(Ce) property:type_locality ?y . ?y rdf:type ontology:body_of_water }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q6930606
P706
Q15324 Q107425
USER
How many landscapes are located in less number of bodies of water than Samui archipelago ?
(c(Q107425),P706,c(Q15324))
action count
action less
action find_tuple_counts
relation P706
type Q107425
type Q15324
action count
action filter_type
action find
entity Q6930606
relation P706
type Q15324
[{'concept': 'Q107425'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?e ) WHERE { ?i property:P706 ?z . ?i rdf:type ontology:Q107425 . ?z rdf:type ontology:Q15324 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Q6930606 property:P706 ?n . ?n rdf:type ontology:Q15324 } } . FILTER ( ?e < ?m ) }
Samui archipelago
action count
action less
action find_tuple_counts
relation located on terrain feature
type landscape
type body of water
action count
action filter_type
action find
entity Samui archipelago
relation located on terrain feature
type body of water
[{'concept': 'landscape'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?e ) WHERE { ?i property:located_on_terrain_feature ?z . ?i rdf:type ontology:landscape . ?z rdf:type ontology:body_of_water } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Samui_archipelago property:located_on_terrain_feature ?n . ?n rdf:type ontology:body_of_water } } . FILTER ( ?e < ?m ) }
[]
body of water landscape
SYSTEM
203
Q3593577 Q23941408 Q201698 Q23943453 Q23941645 Q23941402 Q23941405 Q16039555 Q205711 Q4483480 Q1070802 Q649384 Q821626 Q6549341 Q6420219 Q20978866 Q20829724 Q131198 Q23943069 Q3307738 Q23943370 Q23942941 Q1060445 Q519782 Q23941363 Q880803 Q23941366 Q23943388 Q23936773 Q1413786 Q23936774 Q924897 Q21489350 Q23941411 Q23941416 Q17134727 Q23941414 Q21040865 Q16040106 Q1160526 Q23943279 Q942849 Q8534941 Q23936376 Q805845 Q20724847 Q846021 Q292158 Q23942951 Q23942956 Q1309953 Q23942944 Q212893 Q23936766 Q23936764 Q236601 Q23941626 Q23941620 Q23941623 Q23941424 Q23941628 Q23941420 Q23943430 Q140298 Q667910 Q216869 Q23941384 Q640228 Q23942960 Q23941380 Q23943361 Q23943046 Q369269 Q1029322 Q1999082 Q23941711 Q23941490 Q23936769 Q23936759 Q23941716 Q1554172 Q23941557 Q23936751 Q23941432 Q23941635 Q23941632 Q23943123 Q23941638 Q3264388 Q23943350 Q23941674 Q280158 Q128172 Q303431 Q23943055 Q478104 Q344617 Q1631429 Q23936425 Q1099717 Q5642826 Q23942977 Q11767 Q46772 Q23936744 Q23941605 Q2119428 Q205695 Q472207 Q202816 Q3593538 Q292608 Q504043 Q419567 Q1167034 Q23943415 Q23943342 Q165570 Q7592509 Q23936779 Q23936430 Q292688 Q292684 Q47700 Q214011 Q13257169 Q620481 Q292600 Q23941426 Q17012 Q1532665 Q15710830 Q23942947 Q11980098 Q3375611 Q23936771 Q1236059 Q2739116 Q23943033 Q3538668 Q23941686 Q23941684 Q76936 Q292695 Q1530568 Q23936777 Q1924039 Q23942987 Q23941600 Q23941607 Q292594 Q618528 Q3437623 Q140948 Q183963 Q292672 Q23936697 Q18402136 Q906924 Q143330 Q23936419 Q1945440 Q596485 Q23943006 Q192626 Q23936411 Q23941598 Q307143 Q1268823 Q2110514 Q23941697 Q23941690 Q23936711 Q2860229 Q665321 Q23943465 Q1632713 Q620269 Q3454571 Q23941616 Q23941611 Q23941613 Q26878046 Q23941678 Q23943440 Q23936695 Q3593561 Q3593563 Q312914 Q2860242 Q23943019 Q15139 Q1537020 Q23941434 Q15909115 Q23936705 Q23936706 Q23936700 Q23936702 Q23943399 Q23941376 Q23941374 Q17155498
(c(Q107425),P706,c(Q15324))
action count
action less
action find_tuple_counts
relation P706
type Q107425
type Q15324
action count
action filter_type
action find
entity Q6930606
relation P706
type Q15324
[ANSWER]
[{'concept': 'Q107425'}, 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?e ) WHERE { ?i property:P706 ?z . ?i rdf:type ontology:Q107425 . ?z rdf:type ontology:Q15324 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Q6930606 property:P706 ?n . ?n rdf:type ontology:Q15324 } } . FILTER ( ?e < ?m ) }
îles du Prince-de-Monaco Foz Hole Crozet Islands Wombat Terror Coronet Cave Block Cave Paradox Cave battures de Malmanoury Solovetsky Islands Fijian Archipelago Chesterfield Islands Elephanta Caves Meseta Limestone Massif Kleine Feldhofer Grotte Moriah Marinier Archipelago Heard Island and McDonald Islands Vics Pot Mez de Goëlo Cubby Hole Cave The Verandah Grigna Gargantua Right Nostril Cave Daneil's Cave Left Nostril Cave Guides Cave No. 2 Bottomless Pit Oymyakonskoye Nagor’ye Ian Carpenter Cave Seychelles Inner Islands Marine Plain Casteret Cave Little Canyon Cave Cultural Landscape of Bali Province: the Subak System as a Manifestation of the Tri Hita Karana Philosophy Wiburd's Lake Cave Hohlloch îles Davis Desventuradas Islands Crack Pot îlets de Rémire Cerro de la Neblina Elder Cave Balve Cave Serra d'Espadà Southern Coral Group Saint Helen's Island Playing Fields Doline Twin Shafts Portland Bill Spider Cave Aran Islands Rho Hole Aladdin Cave Glorioso Islands Wombats Retreat Henry's Hole Fire Pit Serpentine Cave Kids Cave McKeowns Cave Chestnut Cave Windward Islands Lake Erie Islands Gran Sasso d'Italia Blunder Cave Houtman Abrolhos One O'Clock Cave Dwyers Cave False Henrys Split Rock Cave Untersberg Denisova Cave Leeward Islands Peter Lambert Cave Century Cave False Frenchman's Cave Frenchman's Cave Duckleg Cave Guitarrero Cave The Windslot Glass Cave Maiden Cave Devil's Coach House Dreamtime Cave Photon Cave Weasel Cave Lower Keys Chomp Cave The Balcony Aralkum Île d'Orléans Ufenau Hobbit Hole archipel de Bréhat Acteon Group Raeffsky Islands The Imperial Bachstrom Point Halle Flat Warbo Cave Mesopotamia Kerguelen Islands Bow Cave Elysium Cave Puy Mary Mascarene Islands Amirante Islands Stora Alvaret îles Leygues îles Nuageuses Gambier Islands Áhkká Darsser Ort Harrys River Cave Interference Cave Lelantine Plain St Anthony Head Bonwick's Dig Nettle Cave King George Islands Disappointment Islands Kalahari Desert Kebnekaise Kvarken Archipelago Alphonse Group Chausey Blowing Hole Guadeloupe Glénan Islands Anderssonøyane Troglamp Hole Kapp Platen Royal Library Garden Wallaby Cave Jentilez Sgat Mòr and Sgat Beag Gibber Cave Triagoz Jenolan River Resurgence Fingal's Cave Frisian Islands îles du Salut Peveril Point Adrian's Folly Messara Plain Ward's Mistake Cave Contact Cave Duodenum Cave Two Groups Islands Aphrodite Terra Bird Rocks South Shetland Islands Tuamotus Duke of Gloucester Islands Lucas Cave Wolastoq Dnieper Upland Schneeberg Jubilee Cave Mont Saint-Michel Sarektjåkkå Watersend Cave Hawaiian Islands Chifley Cave Naked Lady Cave Grand Erg Oriental Palliser Islands Mariestad archipelago The Grand Arch Styx River Spring Mammoth Cave archipel des Ébihens Pikes Peak Scratchy îles Maria Tantal cave récifs de Bellone Playing Fields Cave The Roost Suss Camping Cave Fossil Bluff Michaelmas Cave Peanut Cave Arch Cave Îles Boynes îles de Buguélès Active Reef archipel des Sanguinaires Shatter Cave Diablerets Grand Erg Occidental Bushrangers Cave MAN cave River Cave Skeleton Cave Orient Cave Temple Of Baal Cave In Bluff Hennings Cave Diggins Diggins Hallstatt-Dachstein / Salzkammergut Cultural Landscape
203
action count
action less
action find_tuple_counts
relation located on terrain feature
type landscape
type body of water
action count
action filter_type
action find
entity Samui archipelago
relation located on terrain feature
type body of water
[{'concept': 'landscape'}, 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?e ) WHERE { ?i property:located_on_terrain_feature ?z . ?i rdf:type ontology:landscape . ?z rdf:type ontology:body_of_water } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Samui_archipelago property:located_on_terrain_feature ?n . ?n rdf:type ontology:body_of_water } } . FILTER ( ?e < ?m ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q56061 Q15324
USER
Which administrative territories are max number of bodies of water located on ?
(c(Q15324),P706,Q1073089)
action argmax
action find_reverse_tuple_counts
relation P706
type Q56061
type Q15324
[{'concept': 'Q15324'}, 'P706', 'Q1073089']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:P706 ?w . ?w rdf:type ontology:Q56061 . ?r rdf:type ontology:Q15324 } GROUP BY ?w } . FILTER ( ?y = ?c ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?c ) { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P706 ?f . ?f rdf:type ontology:Q56061 . ?s rdf:type ontology:Q15324 } GROUP BY ?f } } }
action argmax
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type body of water
[{'concept': 'body of water'}, 'located on terrain feature', 'Chimanimani']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:located_on_terrain_feature ?w . ?w rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:body_of_water } GROUP BY ?w } . FILTER ( ?y = ?c ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?c ) { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:located_on_terrain_feature ?f . ?f rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:body_of_water } GROUP BY ?f } } }
[]
administrative territorial entity body of water
Q463937 Q849441
SYSTEM
Saint Thomas, Saint John
Q463937 Q849441
(c(Q15324),P706,Q1073089)
action argmax
action find_reverse_tuple_counts
relation P706
type Q56061
type Q15324
Are max number of bodies of water located on the [ANSWERS]
[{'concept': 'Q15324'}, 'P706', 'Q1073089']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:P706 ?w . ?w rdf:type ontology:Q56061 . ?r rdf:type ontology:Q15324 } GROUP BY ?w } . FILTER ( ?y = ?c ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?c ) { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:P706 ?f . ?f rdf:type ontology:Q56061 . ?s rdf:type ontology:Q15324 } GROUP BY ?f } } }
Saint Thomas Saint John
Are max number of bodies of water located on the Saint Thomas and Saint John
Saint Thomas Saint John
action argmax
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type body of water
[{'concept': 'body of water'}, 'located on terrain feature', 'Chimanimani']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:located_on_terrain_feature ?w . ?w rdf:type ontology:administrative_territorial_entity . ?r rdf:type ontology:body_of_water } GROUP BY ?w } . FILTER ( ?y = ?c ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?c ) { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?b ) WHERE { ?s property:located_on_terrain_feature ?f . ?f rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:body_of_water } GROUP BY ?f } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q463937
P119
Q502895
USER
Which person was burried at that administrative territory ?
(c(Q502895),P119,Q463937)
action filter_type
action find_reverse
entity Q463937
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q463937']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P119 resource:Q463937 }
Saint Thomas
action filter_type
action find_reverse
entity Saint Thomas
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Saint Thomas']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:place_of_burial resource:Saint_Thomas }
[]
common name
Clarification for simple ques.
Q849441
SYSTEM
Did you mean Saint John ?
Q463937 Q849441
(c(Q502895),P119,Q463937) (c(Q502895),P119,Q849441)
[ANSWER]
[{'concept': 'Q502895'}, 'P119', 'Q463937'] [{'concept': 'Q502895'}, 'P119', 'Q849441']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P119 resource:Q463937 }
Saint Thomas Saint John
Did you mean Saint John ?
Saint John
[{'concept': 'common name'}, 'place of burial', 'Saint Thomas'] [{'concept': 'common name'}, 'place of burial', 'Saint John']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:place_of_burial resource:Saint_Thomas }
[]
Simple Question (Coreferenced)
USER
No, I meant Saint Thomas. Could you tell me the answer for that?
(c(Q502895),P119,Q463937)
Q463937
[{'concept': 'Q502895'}, 'P119', 'Q463937']
[{'concept': 'common name'}, 'place of burial', 'Saint Thomas']
[]
Q423634
SYSTEM
Carl Wilhelm Jessen
Q423634
(c(Q502895),P119,Q463937)
action filter_type
action find_reverse
entity Q463937
relation P119
type Q502895
[ANSWER] was burried at that administrative territory
[{'concept': 'Q502895'}, 'P119', 'Q463937']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P119 resource:Q463937 }
Carl Wilhelm Jessen
Carl Wilhelm Jessen was burried at that administrative territory
Carl Wilhelm Jessen
action filter_type
action find_reverse
entity Saint Thomas
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Saint Thomas']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:place_of_burial resource:Saint_Thomas }
[]