Simple Question (Direct)
Simple Question
Q3084815
P20
Q20667921
USER
Where did the expiration of François Gérault occur ?
(Q3084815,P20,c(Q20667921))
action filter_type
action find
entity Q3084815
relation P20
type Q20667921
['Q3084815', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q3084815 property:P20 ?f . ?f rdf:type ontology:Q20667921 }
François Gérault
action filter_type
action find
entity François Gérault
relation place of death
type type of french administrative division
['François Gérault', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:François_Gérault property:place_of_death ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q234704
SYSTEM
Vitré
Q234704
(Q3084815,P20,c(Q20667921))
action filter_type
action find
entity Q3084815
relation P20
type Q20667921
The expiration of François Gérault occurred de [ANSWER]
['Q3084815', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q3084815 property:P20 ?f . ?f rdf:type ontology:Q20667921 }
Vitré
The expiration of François Gérault occurred de Vitré
Vitré
action filter_type
action find
entity François Gérault
relation place of death
type type of french administrative division
['François Gérault', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:François_Gérault property:place_of_death ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3084815
P39
Q12737077
USER
What was the position held by François Gérault ?
(Q3084815,P39,c(Q12737077))
action filter_type
action find
entity Q3084815
relation P39
type Q12737077
['Q3084815', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3084815 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
François Gérault
action filter_type
action find
entity François Gérault
relation position held
type occupation
['François Gérault', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:François_Gérault property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3084815,P39,c(Q12737077))
action filter_type
action find
entity Q3084815
relation P39
type Q12737077
The position held by François Gérault was a member of the French National Assembly
['Q3084815', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3084815 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
member of the French National Assembly
The position held by François Gérault was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity François Gérault
relation position held
type occupation
['François Gérault', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:François_Gérault property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3084815
P106
Q12737077
USER
What is the profession of that person ?
(Q3044918,P106,c(Q12737077))
action filter_type
action find
entity Q3084815
relation P106
type Q12737077
['Q3044918', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3084815 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
François Gérault
action filter_type
action find
entity François Gérault
relation occupation
type occupation
['member of the French\xa0National Assembly', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:François_Gérault property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3044918,P106,c(Q12737077))
action filter_type
action find
entity Q3084815
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q3044918', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3084815 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
politician
The profession of that person is a politician
politician
action filter_type
action find
entity François Gérault
relation occupation
type occupation
['member of the French\xa0National Assembly', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:François_Gérault property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3084815
P21
Q290
USER
What is the sex of François Gérault ?
(Q3084815,P21,c(Q290))
action filter_type
action find
entity Q3084815
relation P21
type Q290
['Q3084815', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3084815 property:P21 ?c . ?c rdf:type ontology:Q290 }
François Gérault
action filter_type
action find
entity François Gérault
relation gender
type sex
['François Gérault', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:François_Gérault property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3084815,P21,c(Q290))
action filter_type
action find
entity Q3084815
relation P21
type Q290
The sex of François Gérault is the [ANSWER]
['Q3084815', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3084815 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of François Gérault is the male
male
action filter_type
action find
entity François Gérault
relation gender
type sex
['François Gérault', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:François_Gérault property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P138
Q3977918
USER
Which mineral supergroups has that sex as its toponym ?
(c(Q3977918),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q3977918
[{'concept': 'Q3977918'}, 'P138', 'Q6581097']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q6581097 . ?w rdf:type ontology:Q3977918 }
male
action filter_type
action find_reverse
entity male
relation named after
type mineral supergroups
[{'concept': 'mineral supergroups'}, 'named after', 'male']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:male . ?w rdf:type ontology:mineral_supergroups }
[]
mineral supergroups
Q19861994
SYSTEM
tazzoliite
Q19861994
(c(Q3977918),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q3977918
[ANSWER] has that sex as its toponym
[{'concept': 'Q3977918'}, 'P138', 'Q6581097']
SELECT DISTINCT ?w WHERE { ?w property:P138 resource:Q6581097 . ?w rdf:type ontology:Q3977918 }
tazzoliite
Tazzoliite has that sex as its toponym
tazzoliite
action filter_type
action find_reverse
entity male
relation named after
type mineral supergroups
[{'concept': 'mineral supergroups'}, 'named after', 'male']
SELECT DISTINCT ?w WHERE { ?w property:named_after resource:male . ?w rdf:type ontology:mineral_supergroups }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2695
Q8063 Q3977918
USER
Which rocks can we find min number of mineral supergroupss in abundance ?
(c(Q3977918),P2695,Q23779667)
action argmin
action find_reverse_tuple_counts
relation P2695
type Q8063
type Q3977918
[{'concept': 'Q3977918'}, 'P2695', 'Q23779667']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?p ) { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P2695 ?l . ?l rdf:type ontology:Q8063 . ?t rdf:type ontology:Q3977918 } GROUP BY ?l } } . { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:P2695 ?s . ?i rdf:type ontology:Q3977918 . ?s rdf:type ontology:Q8063 } GROUP BY ?s } . FILTER ( ?c = ?p ) }
action argmin
action find_reverse_tuple_counts
relation type locality
type rock
type mineral supergroups
[{'concept': 'mineral supergroups'}, 'type locality', 'Horse Creek meteorite']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?p ) { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:type_locality ?l . ?l rdf:type ontology:rock . ?t rdf:type ontology:mineral_supergroups } GROUP BY ?l } } . { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:type_locality ?s . ?i rdf:type ontology:mineral_supergroups . ?s rdf:type ontology:rock } GROUP BY ?s } . FILTER ( ?c = ?p ) }
[]
rock mineral supergroups
Q1034516 Q15132969 Q24112978
SYSTEM
Cape York meteorite, Khatyrka meteorite, Kota-Kota meteorite
Q24117683 Q23758142 Q24035700 Q897501 Q23758123 Q15132969 Q23783059 Q24119375 Q23758129 Q24112978 Q24121264 Q3607897 Q7157430 Q24116086 Q24111947 Q1298625 Q23779722 Q24119793 Q23783072 Q23783806 Q24113698 Q24118265 Q1034516 Q23758133 Q4537600 Q24118737 Q11236256 Q24117263 Q24112678 Q23783784 Q1625058 Q23779667
(c(Q3977918),P2695,Q23779667)
action argmin
action find_reverse_tuple_counts
relation P2695
type Q8063
type Q3977918
Min number of mineral supergroupss [ANSWERS] we can find in abundance
[{'concept': 'Q3977918'}, 'P2695', 'Q23779667']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?p ) { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:P2695 ?l . ?l rdf:type ontology:Q8063 . ?t rdf:type ontology:Q3977918 } GROUP BY ?l } } . { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:P2695 ?s . ?i rdf:type ontology:Q3977918 . ?s rdf:type ontology:Q8063 } GROUP BY ?s } . FILTER ( ?c = ?p ) }
Rich Mountain meteorite Northwest Africa 470 Social Circle meteorite Dronino meteorite Dayton meteorite Khatyrka meteorite Carlton meteorite South Oman meteorite Irwin-Ainsa meteorite Kota-Kota meteorite Augustinovka meteorite Albareto meteorite Peace River meteorite Northwest Africa 1054 meteorite St. Mark's meteorite Kaidun meteorite Youndegin meteorite Estherville meteorite Morasko meteorite Bustee meteorite Allan Hills 85085 meteorite Dhurmsala meteorite Cape York meteorite Onello meteorite Yamato 691 Butler meteorite Northwest Africa 1934 Alfianello meteorite Acfer 182 meteorite Indarch meteorite Toluca meteorite Horse Creek meteorite
Min number of mineral supergroupss Cape York meteorite, Khatyrka meteorite and Kota-Kota meteorite we can find in abundance
Cape York meteorite Khatyrka meteorite Kota-Kota meteorite
action argmin
action find_reverse_tuple_counts
relation type locality
type rock
type mineral supergroups
[{'concept': 'mineral supergroups'}, 'type locality', 'Horse Creek meteorite']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?p ) { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?h ) WHERE { ?t property:type_locality ?l . ?l rdf:type ontology:rock . ?t rdf:type ontology:mineral_supergroups } GROUP BY ?l } } . { SELECT DISTINCT ?s ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:type_locality ?s . ?i rdf:type ontology:mineral_supergroups . ?s rdf:type ontology:rock } GROUP BY ?s } . FILTER ( ?c = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q42302
P186
Q8063 Q340169 Q3565782
USER
How many rocks are used to manufacture lesser number of medias or navigational aids than clay ?
(c(Q340169)|c(Q3565782),P186,c(Q8063))
action count
action less
action union
action find_reverse_tuple_counts
relation P186
type Q8063
type Q340169
action find_reverse_tuple_counts
relation P186
type Q8063
type Q3565782
action count
action filter_multi_types
action find_reverse
entity Q42302
relation P186
type Q340169
type Q3565782
[[{'concept': 'Q340169'}, {'concept': 'Q3565782'}], 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q3565782 ) ( ontology:Q340169 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a rdf:type ?z . VALUES ( ?z ) { ( ontology:Q3565782 ) ( ontology:Q340169 ) } } . ?a property:P186 resource:Q42302 } } . FILTER ( ?s < ?r ) }
clay
action count
action less
action union
action find_reverse_tuple_counts
relation material used
type rock
type media
action find_reverse_tuple_counts
relation material used
type rock
type navigational aid
action count
action filter_multi_types
action find_reverse
entity clay
relation material used
type media
type navigational aid
[[{'concept': 'media'}, {'concept': 'navigational aid'}], 'material used', {'concept': 'rock'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:navigational_aid ) ( ontology:media ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a rdf:type ?z . VALUES ( ?z ) { ( ontology:navigational_aid ) ( ontology:media ) } } . ?a property:material_used resource:clay } } . FILTER ( ?s < ?r ) }
[]
rock media navigational aid
SYSTEM
41
Q944070 Q1134814 Q17017524 Q484924 Q216798 Q2509719 Q847257 Q513110 Q43338 Q181908 Q184053 Q11722524 Q751300 Q565731 Q216202 Q237883 Q40861 Q757022 Q731880 Q207079 Q190727 Q6642424 Q1225329 Q753016 Q777112 Q466481 Q3387746 Q3338048 Q632078 Q191250 Q102078 Q195178 Q15315 Q7282754 Q1257550 Q337238 Q11722512 Q491689 Q3856092 Q40157 Q332748
(c(Q340169)|c(Q3565782),P186,c(Q8063))
action count
action less
action union
action find_reverse_tuple_counts
relation P186
type Q8063
type Q340169
action find_reverse_tuple_counts
relation P186
type Q8063
type Q3565782
action count
action filter_multi_types
action find_reverse
entity Q42302
relation P186
type Q340169
type Q3565782
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q3565782'}], 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q3565782 ) ( ontology:Q340169 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a rdf:type ?z . VALUES ( ?z ) { ( ontology:Q3565782 ) ( ontology:Q340169 ) } } . ?a property:P186 resource:Q42302 } } . FILTER ( ?s < ?r ) }
artificial stone dolostone Pennant Measures tuff lapis lazuli ironstone felsic pluton basalt andesite marl gypsum rock shale siltstone granulite quartzite marble sett phyllite slate rhyolite mudstone rubble diabase tephrite dacite Volvic stone Nenfro oolite breccia bauxite Carbonatite schist rag-stone phonolite porphyry anhydrite stone evaporite mica schist lava trachyte
41
action count
action less
action union
action find_reverse_tuple_counts
relation material used
type rock
type media
action find_reverse_tuple_counts
relation material used
type rock
type navigational aid
action count
action filter_multi_types
action find_reverse
entity clay
relation material used
type media
type navigational aid
[[{'concept': 'media'}, {'concept': 'navigational aid'}], 'material used', {'concept': 'rock'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?s ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:navigational_aid ) ( ontology:media ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { { ?a rdf:type ?z . VALUES ( ?z ) { ( ontology:navigational_aid ) ( ontology:media ) } } . ?a property:material_used resource:clay } } . FILTER ( ?s < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q23757
P186
Q8063 Q340169 Q3565782
USER
And what about limestone?
(c(Q340169)|c(Q3565782),P186,c(Q8063))
action count
action less
action union
action find_reverse_tuple_counts
relation P186
type Q8063
type Q340169
action find_reverse_tuple_counts
relation P186
type Q8063
type Q3565782
action count
action filter_multi_types
action find_reverse
entity Q23757
relation P186
type Q340169
type Q3565782
[[{'concept': 'Q340169'}, {'concept': 'Q3565782'}], 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?p ) WHERE { { ?x property:P186 ?b . ?b rdf:type ontology:Q8063 . ?x rdf:type ontology:Q340169 } UNION { ?x property:P186 ?b . ?x rdf:type ontology:Q3565782 . ?b rdf:type ontology:Q8063 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:P186 resource:Q23757 . { { ?d rdf:type ontology:Q340169 } UNION { ?d rdf:type ontology:Q3565782 } } } } . FILTER ( ?p < ?e ) }
limestone
action count
action less
action union
action find_reverse_tuple_counts
relation material used
type rock
type media
action find_reverse_tuple_counts
relation material used
type rock
type navigational aid
action count
action filter_multi_types
action find_reverse
entity limestone
relation material used
type media
type navigational aid
[[{'concept': 'media'}, {'concept': 'navigational aid'}], 'material used', {'concept': 'rock'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?p ) WHERE { { ?x property:material_used ?b . ?b rdf:type ontology:rock . ?x rdf:type ontology:media } UNION { ?x property:material_used ?b . ?x rdf:type ontology:navigational_aid . ?b rdf:type ontology:rock } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:material_used resource:limestone . { { ?d rdf:type ontology:media } UNION { ?d rdf:type ontology:navigational_aid } } } } . FILTER ( ?p < ?e ) }
[]
rock media navigational aid
SYSTEM
43
Q944070 Q1134814 Q17017524 Q484924 Q216798 Q2509719 Q847257 Q42302 Q513110 Q43338 Q181908 Q166409 Q184053 Q11722524 Q751300 Q565731 Q216202 Q237883 Q40861 Q757022 Q731880 Q207079 Q190727 Q6642424 Q1225329 Q753016 Q777112 Q466481 Q3387746 Q3338048 Q632078 Q191250 Q102078 Q195178 Q15315 Q7282754 Q1257550 Q337238 Q11722512 Q491689 Q3856092 Q40157 Q332748
(c(Q340169)|c(Q3565782),P186,c(Q8063))
action count
action less
action union
action find_reverse_tuple_counts
relation P186
type Q8063
type Q340169
action find_reverse_tuple_counts
relation P186
type Q8063
type Q3565782
action count
action filter_multi_types
action find_reverse
entity Q23757
relation P186
type Q340169
type Q3565782
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q3565782'}], 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?p ) WHERE { { ?x property:P186 ?b . ?b rdf:type ontology:Q8063 . ?x rdf:type ontology:Q340169 } UNION { ?x property:P186 ?b . ?x rdf:type ontology:Q3565782 . ?b rdf:type ontology:Q8063 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:P186 resource:Q23757 . { { ?d rdf:type ontology:Q340169 } UNION { ?d rdf:type ontology:Q3565782 } } } } . FILTER ( ?p < ?e ) }
artificial stone dolostone Pennant Measures tuff lapis lazuli ironstone felsic clay pluton basalt andesite gneiss marl gypsum rock shale siltstone granulite quartzite marble sett phyllite slate rhyolite mudstone rubble diabase tephrite dacite Volvic stone Nenfro oolite breccia bauxite Carbonatite schist rag-stone phonolite porphyry anhydrite stone evaporite mica schist lava trachyte
43
action count
action less
action union
action find_reverse_tuple_counts
relation material used
type rock
type media
action find_reverse_tuple_counts
relation material used
type rock
type navigational aid
action count
action filter_multi_types
action find_reverse
entity limestone
relation material used
type media
type navigational aid
[[{'concept': 'media'}, {'concept': 'navigational aid'}], 'material used', {'concept': 'rock'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?p ) WHERE { { ?x property:material_used ?b . ?b rdf:type ontology:rock . ?x rdf:type ontology:media } UNION { ?x property:material_used ?b . ?x rdf:type ontology:navigational_aid . ?b rdf:type ontology:rock } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:material_used resource:limestone . { { ?d rdf:type ontology:media } UNION { ?d rdf:type ontology:navigational_aid } } } } . FILTER ( ?p < ?e ) }
[]