Simple Question (Direct)
Simple Question
Q484526
P1196
Q1914636
USER
What situation did Daul Kim die in ?
(Q484526,P1196,c(Q1914636))
action filter_type
action find
entity Q484526
relation P1196
type Q1914636
['Q484526', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1914636 . resource:Q484526 property:P1196 ?f }
Daul Kim
action filter_type
action find
entity Daul Kim
relation manner of death
type activity
['Daul Kim', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:activity . resource:Daul_Kim property:manner_of_death ?f }
[]
activity
Q10737
SYSTEM
suicide
Q10737
(Q484526,P1196,c(Q1914636))
action filter_type
action find
entity Q484526
relation P1196
type Q1914636
Daul Kim died on [ANSWER]
['Q484526', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1914636 . resource:Q484526 property:P1196 ?f }
suicide
Daul Kim died on suicide
suicide
action filter_type
action find
entity Daul Kim
relation manner of death
type activity
['Daul Kim', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:activity . resource:Daul_Kim property:manner_of_death ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q484526
P734
Q82799
USER
Who has the surname that person ?
(Q10737,P734,c(Q82799))
action filter_type
action find
entity Q484526
relation P734
type Q82799
['Q10737', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q484526 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Daul Kim
action filter_type
action find
entity Daul Kim
relation family name
type name
['suicide', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Daul_Kim property:family_name ?m . ?m rdf:type ontology:name }
[]
name
Q13083721
SYSTEM
Kim
Q13083721
(Q10737,P734,c(Q82799))
action filter_type
action find
entity Q484526
relation P734
type Q82799
[ANSWER] has the surname that person
['Q10737', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { resource:Q484526 property:P734 ?m . ?m rdf:type ontology:Q82799 }
Kim
Kim has the surname that person
Kim
action filter_type
action find
entity Daul Kim
relation family name
type name
['suicide', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { resource:Daul_Kim property:family_name ?m . ?m rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q13083721 Q2331610
P734
Q502895
USER
How many people have Kim or Stankiewicz as family name ?
(c(Q502895),P734,Q13083721) (c(Q502895),P734,Q2331610)
action count
action union
action filter_type
action find_reverse
entity Q13083721
relation P734
type Q502895
action filter_type
action find_reverse
entity Q2331610
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q13083721'] [{'concept': 'Q502895'}, 'P734', 'Q2331610']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { VALUES ( ?q ) { ( resource:Q13083721 ) ( resource:Q2331610 ) } . ?i property:P734 ?q }
Kim Stankiewicz
action count
action union
action filter_type
action find_reverse
entity Kim
relation family name
type common name
action filter_type
action find_reverse
entity Stankiewicz
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Kim'] [{'concept': 'common name'}, 'family name', 'Stankiewicz']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { VALUES ( ?q ) { ( resource:Kim ) ( resource:Stankiewicz ) } . ?i property:family_name ?q }
[]
common name
SYSTEM
141
Q5909378 Q12588157 Q485431 Q497319 Q10905241 Q234066 Q6408548 Q3815296 Q3815294 Q489840 Q15788028 Q231291 Q496491 Q491074 Q482783 Q487751 Q242820 Q486959 Q12588125 Q41117 Q17157546 Q165210 Q494258 Q1279627 Q5249793 Q448133 Q484484 Q6408764 Q16177916 Q233371 Q3431234 Q497215 Q212990 Q626590 Q489854 Q625480 Q16178170 Q246167 Q20445199 Q299700 Q215737 Q484828 Q487970 Q317824 Q598025 Q47529 Q484471 Q380118 Q483537 Q483742 Q7302004 Q10665 Q16177608 Q233896 Q12609731 Q5670272 Q485248 Q334326 Q208203 Q2071088 Q484815 Q56226 Q6680791 Q484455 Q233889 Q4528787 Q484095 Q385795 Q456609 Q22323820 Q4220653 Q433472 Q496580 Q486146 Q234785 Q483368 Q15617143 Q45785 Q2255358 Q483926 Q292687 Q229124 Q23806648 Q698243 Q6679200 Q3855906 Q16080674 Q489006 Q489001 Q281931 Q380123 Q3572090 Q578141 Q484526 Q484522 Q12586858 Q19939351 Q497555 Q482615 Q2522349 Q7218486 Q482855 Q485678 Q253619 Q16173210 Q196223 Q486320 Q6408832 Q624724 Q464663 Q6409191 Q20444952 Q1256793 Q229389 Q512831 Q623475 Q2149940 Q483980 Q270135 Q489570 Q21575818 Q310875 Q19794576 Q6409458 Q488400 Q110456 Q3815289 Q9369613 Q65345 Q497477 Q4556301 Q496324 Q214259 Q496329 Q494501 Q486438 Q21296149 Q1741512 Q15710186 Q496018 Q23671269
(c(Q502895),P734,Q13083721) (c(Q502895),P734,Q2331610)
action count
action union
action filter_type
action find_reverse
entity Q13083721
relation P734
type Q502895
action filter_type
action find_reverse
entity Q2331610
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q13083721'] [{'concept': 'Q502895'}, 'P734', 'Q2331610']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { VALUES ( ?q ) { ( resource:Q13083721 ) ( resource:Q2331610 ) } . ?i property:P734 ?q }
Kim Myung-soo Kim Yo-Han Kim Ji-yeon Kim Dong-wan Kim Yoon-seo Hyuna Kim Dasom Kim In-ho Kim Hye-na Kim Dae-eui Kim Cheol-min Sandra Kim Kim Soo-hyun Kim Dong-soo Kim Junsu Kim Jong-hyun Kim Kyungah Kim Sae-ron Kim Ye-won Kim Il-sung Kim Woo-geun Kim Young-sam Kim Ki-young Kim Tai-chung Kim Jungah Kim Jae-bum Kim Jonghyun Kim Hwang-ho HEYNE Kim Tae-yeon Richard Stankiewicz Kim Kee-hee Kim Ki-duk Sun-Woo Kim Kim Hyeon-jung Kim Hye-ja Kim Yeon-joo Kim Jong-pil Kim Hyeong-jong Daniel Dae Kim Kim Koo Kim Ji-hu Kim Dong-wook Kim Jong-nam Antoni Stankiewicz Kim Hwang-sik Kim Hae-suk Hyun Bin Kim Sung-jae Kim Sa-nee Rebekah Kim Kim Jong-il Kim Hyeong-kon Gail Kim Yura Harry Kim Kim Dong-sung Kim Tu-bong Kim Seong-su Aja Kim Jun. K Kim Jong-un Kim Bo-ra Kim Dong-hyun Stephen Kim Sou-hwan Kim Byeong-jun Kim Ki-soo Kim Jong-chul Kim Ok-bin Noëlla Kim Suyoen Kim; Sou-Yen Kim Kim A-jung Yubin Kim Gap-su Nellie Kim Kim Jang-mi Seyoung Kim Kim Dae-jung Kim Jong-song Kim Hyung-jun Kim Ha-neul Kim Yuna Kim Jin-soo Kim Un-guk Kim Ji-yeong Mi-Na Kim Kim Hyeok Uee Kim Jung-eun Kim Nam-gil Kim Hee-chul Yekatarina Stankevich Jain Kim Daul Kim Kim Ji-woon Kim Ga-eun Gong Myoung Kim Taek-yong Kim Ung-yong Kim Sung-gan Hyeon-u Kim Ryeowook Kim Jun Kim Hyo-yeon Kim Seolhyun Kim Hye-su Kim Yu-jeong Kim In-gwon Kim Hee-jin Kim Sa-rang Kim Myeong-hui Kim Min-seok Junhyung Kim Yunjin Kim Kevin Kim Kim Jae-gyu Richard Kim Key Kim Yeon-Koung Kim Ho-Chul Kim Tae-ri Kim Yong-il Kim Dae-Joong Kim Sung-kyu Kim Kyu-jong Kim Yong-nam Kim Hye-lim Wazlau Stankewitsch Kim So-hyeon Kim Joo-ri Kim Su-yeong Kim Bumm Kim Kyu-sik Hyolyn Kim Yushin Kim Jaewon Aleksander Stankiewicz Kim Il Kim A-lang Kim Hye-seong Joseph Kim
141
action count
action union
action filter_type
action find_reverse
entity Kim
relation family name
type common name
action filter_type
action find_reverse
entity Stankiewicz
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Kim'] [{'concept': 'common name'}, 'family name', 'Stankiewicz']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { VALUES ( ?q ) { ( resource:Kim ) ( resource:Stankiewicz ) } . ?i property:family_name ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q484526
P1884
Q1075
USER
What best describes hair of Daul Kim ?
(Q484526,P1884,c(Q1075))
action filter_type
action find
entity Q484526
relation P1884
type Q1075
['Q484526', 'P1884', {'concept': 'Q1075'}]
SELECT DISTINCT ?m WHERE { resource:Q484526 property:P1884 ?m . ?m rdf:type ontology:Q1075 }
Daul Kim
action filter_type
action find
entity Daul Kim
relation hair color
type color
['Daul Kim', 'hair color', {'concept': 'color'}]
SELECT DISTINCT ?m WHERE { resource:Daul_Kim property:hair_color ?m . ?m rdf:type ontology:color }
[]
color
Q2367101
SYSTEM
brown hair
Q2367101
(Q484526,P1884,c(Q1075))
action filter_type
action find
entity Q484526
relation P1884
type Q1075
[ANSWER] best describes hair of Daul Kim
['Q484526', 'P1884', {'concept': 'Q1075'}]
SELECT DISTINCT ?m WHERE { resource:Q484526 property:P1884 ?m . ?m rdf:type ontology:Q1075 }
brown hair
Brown hair best describes hair of Daul Kim
brown hair
action filter_type
action find
entity Daul Kim
relation hair color
type color
['Daul Kim', 'hair color', {'concept': 'color'}]
SELECT DISTINCT ?m WHERE { resource:Daul_Kim property:hair_color ?m . ?m rdf:type ontology:color }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q484526
P106
Q12737077
USER
Which occupations are the professions of Daul Kim ?
(Q484526,P106,c(Q12737077))
action filter_type
action find
entity Q484526
relation P106
type Q12737077
['Q484526', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q484526 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Daul Kim
action filter_type
action find
entity Daul Kim
relation occupation
type occupation
['Daul Kim', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Daul_Kim property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q4610556 Q3357567
SYSTEM
model, fashion model
Q4610556 Q3357567
(Q484526,P106,c(Q12737077))
action filter_type
action find
entity Q484526
relation P106
type Q12737077
The professions of Daul Kim are fashion [ANSWERS]
['Q484526', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q484526 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
model fashion model
The professions of Daul Kim are fashion model and fashion model
model fashion model
action filter_type
action find
entity Daul Kim
relation occupation
type occupation
['Daul Kim', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Daul_Kim property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24053691
Q12737077
USER
And how about Klara Simonyan?
(Q24053691,P106,c(Q12737077))
action filter_type
action find
entity Q24053691
relation P106
type Q12737077
['Q24053691', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q24053691 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Klara Simonyan
action filter_type
action find
entity Klara Simonyan
relation occupation
type occupation
['Klara Simonyan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Klara_Simonyan property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q24037210
SYSTEM
rhythmic gymnast
Q24037210
(Q24053691,P106,c(Q12737077))
action filter_type
action find
entity Q24053691
relation P106
type Q12737077
[ANSWER]
['Q24053691', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q24053691 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
rhythmic gymnast
rhythmic gymnast
action filter_type
action find
entity Klara Simonyan
relation occupation
type occupation
['Klara Simonyan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Klara_Simonyan property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q24037210 Q61465 Q570459
P425
Q349
USER
Does rhythmic gymnastics and sandboarding belong to Q24037210 ?
(Q24037210,P425,Q61465) (Q24037210,P425,Q570459)
action is_in
entity Q24037210
action intersection
action find_reverse
entity Q61465
relation P425
action find_reverse
entity Q570459
relation P425
['Q24037210', 'P425', 'Q61465'] ['Q24037210', 'P425', 'Q570459']
ASK WHERE { resource:Q24037210 property:P425 resource:Q61465 . resource:Q24037210 property:P425 resource:Q570459 }
rhythmic gymnast rhythmic gymnastics sandboarding
action is_in
entity rhythmic gymnast
action intersection
action find_reverse
entity rhythmic gymnastics
relation field of this occupation
action find_reverse
entity sandboarding
relation field of this occupation
['rhythmic gymnast', 'field of this occupation', 'rhythmic gymnastics'] ['rhythmic gymnast', 'field of this occupation', 'sandboarding']
ASK WHERE { resource:rhythmic_gymnast property:field_of_this_occupation resource:rhythmic_gymnastics . resource:rhythmic_gymnast property:field_of_this_occupation resource:sandboarding }
[]
sport
SYSTEM
YES and NO respectively
(Q24037210,P425,Q61465) (Q24037210,P425,Q570459)
action is_in
entity Q24037210
action intersection
action find_reverse
entity Q61465
relation P425
action find_reverse
entity Q570459
relation P425
[ANSWER]
['Q24037210', 'P425', 'Q61465'] ['Q24037210', 'P425', 'Q570459']
ASK WHERE { resource:Q24037210 property:P425 resource:Q61465 . resource:Q24037210 property:P425 resource:Q570459 }
YES and NO respectively
action is_in
entity rhythmic gymnast
action intersection
action find_reverse
entity rhythmic gymnastics
relation field of this occupation
action find_reverse
entity sandboarding
relation field of this occupation
['rhythmic gymnast', 'field of this occupation', 'rhythmic gymnastics'] ['rhythmic gymnast', 'field of this occupation', 'sandboarding']
ASK WHERE { resource:rhythmic_gymnast property:field_of_this_occupation resource:rhythmic_gymnastics . resource:rhythmic_gymnast property:field_of_this_occupation resource:sandboarding }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q1914636 Q39546 Q43229
USER
Which activities are considered to be the main utilization of max number of tools and organizations ?
(c(Q39546)|c(Q43229),P366,c(Q1914636))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q39546
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q43229
[[{'concept': 'Q39546'}, {'concept': 'Q43229'}], 'P366', {'concept': 'Q1914636'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?u ) { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q39546 ) ( ontology:Q43229 ) } } GROUP BY ?s } } . { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?m ) WHERE { { ?v property:P366 ?k . ?k rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q39546 } UNION { ?k rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q43229 . ?v property:P366 ?k } } GROUP BY ?k } . FILTER ( ?m = ?u ) }
action argmax
action union
action find_reverse_tuple_counts
relation use
type activity
type tool
action find_reverse_tuple_counts
relation use
type activity
type organization
[[{'concept': 'tool'}, {'concept': 'organization'}], 'use', {'concept': 'activity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?u ) { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:tool ) ( ontology:organization ) } } GROUP BY ?s } } . { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?m ) WHERE { { ?v property:use ?k . ?k rdf:type ontology:activity . ?v rdf:type ontology:tool } UNION { ?k rdf:type ontology:activity . ?v rdf:type ontology:organization . ?v property:use ?k } } GROUP BY ?k } . FILTER ( ?m = ?u ) }
[]
activity tool organization
Q2301555
SYSTEM
open-loop controller
Q2301555
(c(Q39546)|c(Q43229),P366,c(Q1914636))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q39546
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q43229
[ANSWER] is considered to be the main utilization of max number of tools and organizations
[[{'concept': 'Q39546'}, {'concept': 'Q43229'}], 'P366', {'concept': 'Q1914636'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?u ) { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q39546 ) ( ontology:Q43229 ) } } GROUP BY ?s } } . { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?m ) WHERE { { ?v property:P366 ?k . ?k rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q39546 } UNION { ?k rdf:type ontology:Q1914636 . ?v rdf:type ontology:Q43229 . ?v property:P366 ?k } } GROUP BY ?k } . FILTER ( ?m = ?u ) }
open-loop controller
Open-loop controller is considered to be the main utilization of max number of tools and organizations
open-loop controller
action argmax
action union
action find_reverse_tuple_counts
relation use
type activity
type tool
action find_reverse_tuple_counts
relation use
type activity
type organization
[[{'concept': 'tool'}, {'concept': 'organization'}], 'use', {'concept': 'activity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?u ) { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:tool ) ( ontology:organization ) } } GROUP BY ?s } } . { SELECT DISTINCT ?k ( COUNT ( ?v ) AS ?m ) WHERE { { ?v property:use ?k . ?k rdf:type ontology:activity . ?v rdf:type ontology:tool } UNION { ?k rdf:type ontology:activity . ?v rdf:type ontology:organization . ?v property:use ?k } } GROUP BY ?k } . FILTER ( ?m = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P366
Q1914636 Q176799 Q811430
USER
Which activities are the main uses of more number of military units or constructions than that activity ?
(c(Q176799)|c(Q811430),P366,c(Q1914636))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q176799
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q811430
action count
action filter_multi_types
action find_reverse
entity Q2301555
relation P366
type Q176799
type Q811430
[[{'concept': 'Q176799'}, {'concept': 'Q811430'}], 'P366', {'concept': 'Q1914636'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?b ) WHERE { ?z rdf:type ?l . VALUES ( ?l ) { ( ontology:Q176799 ) ( ontology:Q811430 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P366 resource:Q2301555 . { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:Q176799 ) ( ontology:Q811430 ) } } } } . FILTER ( ?b > ?o ) }
action greater
action union
action find_reverse_tuple_counts
relation use
type activity
type military unit
action find_reverse_tuple_counts
relation use
type activity
type construction
action count
action filter_multi_types
action find_reverse
entity open-loop controller
relation use
type military unit
type construction
[[{'concept': 'military unit'}, {'concept': 'construction'}], 'use', {'concept': 'activity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?b ) WHERE { ?z rdf:type ?l . VALUES ( ?l ) { ( ontology:military_unit ) ( ontology:construction ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:use resource:open-loop_controller . { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:military_unit ) ( ontology:construction ) } } } } . FILTER ( ?b > ?o ) }
[]
activity military unit construction
Q383695 Q4752911
SYSTEM
flight training, Ancient Roman bathing
Q383695 Q4752911
(c(Q176799)|c(Q811430),P366,c(Q1914636))
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q176799
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q811430
action count
action filter_multi_types
action find_reverse
entity Q2301555
relation P366
type Q176799
type Q811430
[ANSWERS] are the main uses of more number of military units or constructions than that activity
[[{'concept': 'Q176799'}, {'concept': 'Q811430'}], 'P366', {'concept': 'Q1914636'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?b ) WHERE { ?z rdf:type ?l . VALUES ( ?l ) { ( ontology:Q176799 ) ( ontology:Q811430 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:P366 resource:Q2301555 . { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:Q176799 ) ( ontology:Q811430 ) } } } } . FILTER ( ?b > ?o ) }
flight training Ancient Roman bathing
Flight training and Ancient Roman bathing are the main uses of more number of military units or constructions than that activity
flight training Ancient Roman bathing
action greater
action union
action find_reverse_tuple_counts
relation use
type activity
type military unit
action find_reverse_tuple_counts
relation use
type activity
type construction
action count
action filter_multi_types
action find_reverse
entity open-loop controller
relation use
type military unit
type construction
[[{'concept': 'military unit'}, {'concept': 'construction'}], 'use', {'concept': 'activity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?b ) WHERE { ?z rdf:type ?l . VALUES ( ?l ) { ( ontology:military_unit ) ( ontology:construction ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?o ) WHERE { ?u property:use resource:open-loop_controller . { ?u rdf:type ?y . VALUES ( ?y ) { ( ontology:military_unit ) ( ontology:construction ) } } } } . FILTER ( ?b > ?o ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q151885 Q58778 Q1914636
USER
Which activities are a component of max number of concepts and systems ?
(c(Q1914636),P361,c(Q151885)|c(Q58778))
action argmax
action union
action find_tuple_counts
relation P361
type Q1914636
type Q151885
action find_tuple_counts
relation P361
type Q1914636
type Q58778
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q58778'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) ?k WHERE { { ?k property:P361 ?t . ?k rdf:type ontology:Q1914636 . ?t rdf:type ontology:Q151885 } UNION { ?k property:P361 ?t . ?k rdf:type ontology:Q1914636 . ?t rdf:type ontology:Q58778 } } GROUP BY ?k } } . FILTER ( ?q = ?v ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?i WHERE { { ?i rdf:type ontology:Q1914636 . ?p rdf:type ontology:Q151885 . ?i property:P361 ?p } UNION { ?i property:P361 ?p . ?p rdf:type ontology:Q58778 . ?i rdf:type ontology:Q1914636 } } GROUP BY ?i } }
action argmax
action union
action find_tuple_counts
relation part of
type activity
type concept
action find_tuple_counts
relation part of
type activity
type system
[{'concept': 'activity'}, 'part of', [{'concept': 'concept'}, {'concept': 'system'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) ?k WHERE { { ?k property:part_of ?t . ?k rdf:type ontology:activity . ?t rdf:type ontology:concept } UNION { ?k property:part_of ?t . ?k rdf:type ontology:activity . ?t rdf:type ontology:system } } GROUP BY ?k } } . FILTER ( ?q = ?v ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?i WHERE { { ?i rdf:type ontology:activity . ?p rdf:type ontology:concept . ?i property:part_of ?p } UNION { ?i property:part_of ?p . ?p rdf:type ontology:system . ?i rdf:type ontology:activity } } GROUP BY ?i } }
[]
concept system activity
Q306096 Q3189909 Q205260
SYSTEM
Dismantling production, Jum, Zinswucher
Q3189909 Q205260 Q309162 Q2956237 Q306096
(c(Q1914636),P361,c(Q151885)|c(Q58778))
action argmax
action union
action find_tuple_counts
relation P361
type Q1914636
type Q151885
action find_tuple_counts
relation P361
type Q1914636
type Q58778
[ANSWERS] are a component of max number of concepts and systems
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q58778'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) ?k WHERE { { ?k property:P361 ?t . ?k rdf:type ontology:Q1914636 . ?t rdf:type ontology:Q151885 } UNION { ?k property:P361 ?t . ?k rdf:type ontology:Q1914636 . ?t rdf:type ontology:Q58778 } } GROUP BY ?k } } . FILTER ( ?q = ?v ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?i WHERE { { ?i rdf:type ontology:Q1914636 . ?p rdf:type ontology:Q151885 . ?i property:P361 ?p } UNION { ?i property:P361 ?p . ?p rdf:type ontology:Q58778 . ?i rdf:type ontology:Q1914636 } } GROUP BY ?i } }
Jum Zinswucher extreme sport lyric singing Dismantling production
Dismantling production, Jum and Zinswucher are a component of max number of concepts and systems
Dismantling production Jum Zinswucher
action argmax
action union
action find_tuple_counts
relation part of
type activity
type concept
action find_tuple_counts
relation part of
type activity
type system
[{'concept': 'activity'}, 'part of', [{'concept': 'concept'}, {'concept': 'system'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) ?k WHERE { { ?k property:part_of ?t . ?k rdf:type ontology:activity . ?t rdf:type ontology:concept } UNION { ?k property:part_of ?t . ?k rdf:type ontology:activity . ?t rdf:type ontology:system } } GROUP BY ?k } } . FILTER ( ?q = ?v ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) ?i WHERE { { ?i rdf:type ontology:activity . ?p rdf:type ontology:concept . ?i property:part_of ?p } UNION { ?i property:part_of ?p . ?p rdf:type ontology:system . ?i rdf:type ontology:activity } } GROUP BY ?i } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P805
Q1914636 Q3249551
USER
Which activities have more number of processes as a subject than that activity ?
(c(Q3249551),P805,c(Q1914636))
[{'concept': 'Q3249551'}, 'P805', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { ?z property:P805 ?y . ?z rdf:type ontology:Q619671 . ?y rdf:type ontology:Q423229 }
[{'concept': 'process'}, 'subject of', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { ?z property:subject_of ?y . ?z rdf:type ontology:process . ?y rdf:type ontology:activity }
[]
activity process
Comparative|More/Less|Single entity type|Clarification
Q205260
SYSTEM
Did you mean Zinswucher ?
(c(Q3249551),P805,c(Q1914636))
[ANSWER]
[{'concept': 'Q3249551'}, 'P805', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { ?z property:P805 ?y . ?z rdf:type ontology:Q619671 . ?y rdf:type ontology:Q423229 }
Did you mean Zinswucher ?
Zinswucher
[{'concept': 'process'}, 'subject of', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { ?z property:subject_of ?y . ?z rdf:type ontology:process . ?y rdf:type ontology:activity }
[]
Comparative Reasoning (All)
USER
No, I meant Dismantling production. Could you tell me the answer for that?
(c(Q3249551),P805,c(Q1914636))
Q306096
[{'concept': 'Q3249551'}, 'P805', {'concept': 'Q1914636'}]
[{'concept': 'process'}, 'subject of', {'concept': 'activity'}]
[]
Q7141
SYSTEM
cell biology
Q7141
(c(Q3249551),P805,c(Q1914636))
[ANSWER] have more number of processes as a subject than that activity
[{'concept': 'Q3249551'}, 'P805', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { ?z property:P805 ?y . ?z rdf:type ontology:Q619671 . ?y rdf:type ontology:Q423229 }
cell biology
Cell biology have more number of processes as a subject than that activity
cell biology
[{'concept': 'process'}, 'subject of', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { ?z property:subject_of ?y . ?z rdf:type ontology:process . ?y rdf:type ontology:activity }
[]