Simple Question (Direct)
Simple Question
Q1323126
P21
Q290
USER
Which sex does Ingrid Wieltschnig possess ?
(Q1323126,P21,c(Q290))
action filter_type
action find
entity Q1323126
relation P21
type Q290
['Q1323126', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1323126 property:P21 ?r . ?r rdf:type ontology:Q290 }
Ingrid Wieltschnig
action filter_type
action find
entity Ingrid Wieltschnig
relation gender
type sex
['Ingrid Wieltschnig', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Ingrid_Wieltschnig property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1323126,P21,c(Q290))
action filter_type
action find
entity Q1323126
relation P21
type Q290
Ingrid Wieltschnig possesses a [ANSWER]
['Q1323126', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1323126 property:P21 ?r . ?r rdf:type ontology:Q290 }
female
Ingrid Wieltschnig possesses a female
female
action filter_type
action find
entity Ingrid Wieltschnig
relation gender
type sex
['Ingrid Wieltschnig', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Ingrid_Wieltschnig property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1323126
P106
Q12737077
USER
What is the job of that person ?
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q1323126
relation P106
type Q12737077
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1323126 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Ingrid Wieltschnig
action filter_type
action find
entity Ingrid Wieltschnig
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Ingrid_Wieltschnig property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q13141064
SYSTEM
badminton player
Q13141064
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q1323126
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q1323126 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
badminton player
The job of that person is a badminton player
badminton player
action filter_type
action find
entity Ingrid Wieltschnig
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Ingrid_Wieltschnig property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1323126
P710
Q688120
USER
What event did that person particiate in ?
(c(Q688120),P710,Q13141064)
action filter_type
action find_reverse
entity Q1323126
relation P710
type Q688120
[{'concept': 'Q688120'}, 'P710', 'Q13141064']
SELECT DISTINCT ?r WHERE { ?r property:P710 resource:Q1323126 . ?r rdf:type ontology:Q688120 }
Ingrid Wieltschnig
action filter_type
action find_reverse
entity Ingrid Wieltschnig
relation participant
type Swiss Open Badminton Championships
[{'concept': 'Swiss Open Badminton Championships'}, 'participant', 'badminton player']
SELECT DISTINCT ?r WHERE { ?r property:participant resource:Ingrid_Wieltschnig . ?r rdf:type ontology:Swiss_Open_Badminton_Championships }
[]
Swiss Open Badminton Championships
Q27625916 Q27626307 Q27626508
SYSTEM
1970 Swiss Open Badminton Championships – Women's singles, 1970 Swiss Open Badminton Championships – Women's doubles, 1970 Swiss Open Badminton Championships – Mixed doubles
Q27625916 Q27626307 Q27626508
(c(Q688120),P710,Q13141064)
action filter_type
action find_reverse
entity Q1323126
relation P710
type Q688120
That person particiated [ANSWERS]
[{'concept': 'Q688120'}, 'P710', 'Q13141064']
SELECT DISTINCT ?r WHERE { ?r property:P710 resource:Q1323126 . ?r rdf:type ontology:Q688120 }
1970 Swiss Open Badminton Championships – Women's singles 1970 Swiss Open Badminton Championships – Women's doubles 1970 Swiss Open Badminton Championships – Mixed doubles
That person particiated 1970 Swiss Open Badminton Championships – Women's singles, 1970 Swiss Open Badminton Championships – Women's doubles and 1970 Swiss Open Badminton Championships – Mixed doubles
1970 Swiss Open Badminton Championships – Women's singles 1970 Swiss Open Badminton Championships – Women's doubles 1970 Swiss Open Badminton Championships – Mixed doubles
action filter_type
action find_reverse
entity Ingrid Wieltschnig
relation participant
type Swiss Open Badminton Championships
[{'concept': 'Swiss Open Badminton Championships'}, 'participant', 'badminton player']
SELECT DISTINCT ?r WHERE { ?r property:participant resource:Ingrid_Wieltschnig . ?r rdf:type ontology:Swiss_Open_Badminton_Championships }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1323126
P1344
Q502895
USER
Did Ingrid Wieltschnig take part in those Swiss Open Badminton Championshipss ?
(Q1323126,P1344,Q27625916) (Q1323126,P1344,Q27626307) (Q1323126,P1344,Q27626508)
action is_in
entity prev_answer
action find
entity Q1323126
relation P1344
['Q1323126', 'P1344', 'Q27625916'] ['Q1323126', 'P1344', 'Q27626307'] ['Q1323126', 'P1344', 'Q27626508']
ASK WHERE { resource:Q1323126 property:P1344 ?p . VALUES ( ?p ) { ( resource:Q27625916 ) ( resource:Q27626307 ) ( resource:Q27626508 ) } }
Ingrid Wieltschnig
action is_in
entity prev_answer
action find
entity Ingrid Wieltschnig
relation participant of
['Ingrid Wieltschnig', 'participant of', "1970 Swiss Open Badminton Championships – Women's singles"] ['Ingrid Wieltschnig', 'participant of', "1970 Swiss Open Badminton Championships – Women's doubles"] ['Ingrid Wieltschnig', 'participant of', '1970 Swiss Open Badminton Championships – Mixed doubles']
ASK WHERE { resource:Ingrid_Wieltschnig property:participant_of ?p . VALUES ( ?p ) { ( resource:1970_Swiss_Open_Badminton_Championships_–_Women's_singles ) ( resource:1970_Swiss_Open_Badminton_Championships_–_Women's_doubles ) ( resource:1970_Swiss_Open_Badminton_Championships_–_Mixed_doubles ) } }
[]
common name
SYSTEM
YES
(Q1323126,P1344,Q27625916) (Q1323126,P1344,Q27626307) (Q1323126,P1344,Q27626508)
action is_in
entity prev_answer
action find
entity Q1323126
relation P1344
[ANSWER]
['Q1323126', 'P1344', 'Q27625916'] ['Q1323126', 'P1344', 'Q27626307'] ['Q1323126', 'P1344', 'Q27626508']
ASK WHERE { resource:Q1323126 property:P1344 ?p . VALUES ( ?p ) { ( resource:Q27625916 ) ( resource:Q27626307 ) ( resource:Q27626508 ) } }
Yes
action is_in
entity prev_answer
action find
entity Ingrid Wieltschnig
relation participant of
['Ingrid Wieltschnig', 'participant of', "1970 Swiss Open Badminton Championships – Women's singles"] ['Ingrid Wieltschnig', 'participant of', "1970 Swiss Open Badminton Championships – Women's doubles"] ['Ingrid Wieltschnig', 'participant of', '1970 Swiss Open Badminton Championships – Mixed doubles']
ASK WHERE { resource:Ingrid_Wieltschnig property:participant_of ?p . VALUES ( ?p ) { ( resource:1970_Swiss_Open_Badminton_Championships_–_Women's_singles ) ( resource:1970_Swiss_Open_Badminton_Championships_–_Women's_doubles ) ( resource:1970_Swiss_Open_Badminton_Championships_–_Mixed_doubles ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1139055
P180
Q12737077 Q838948 Q3305213
USER
How many occupations are depicted in more number of works of art and paintings than tax collector ?
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q1139055
relation P180
type Q838948
type Q3305213
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } . ?q rdf:type ?s } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { { ?y rdf:type ontology:Q838948 } UNION { ?y rdf:type ontology:Q3305213 } } . ?y property:P180 resource:Q1139055 } } . FILTER ( ?f > ?e ) }
tax collector
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity tax collector
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:painting ) } . ?q rdf:type ?s } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { { ?y rdf:type ontology:work_of_art } UNION { ?y rdf:type ontology:painting } } . ?y property:depicts resource:tax_collector } } . FILTER ( ?f > ?e ) }
[]
occupation work of art painting
SYSTEM
27
Q131512 Q1250916 Q81710 Q1259917 Q47064 Q19723482 Q12902372 Q1028181 Q733786 Q12059906 Q19546 Q4991371 Q3127709 Q1639825 Q45722 Q2730732 Q5716684 Q3128486 Q2309784 Q838811 Q331432 Q639669 Q49757 Q15296811 Q1281618 Q42603 Q39631
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q1139055
relation P180
type Q838948
type Q3305213
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } . ?q rdf:type ?s } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { { ?y rdf:type ontology:Q838948 } UNION { ?y rdf:type ontology:Q3305213 } } . ?y property:P180 resource:Q1139055 } } . FILTER ( ?f > ?e ) }
farmer warrior shepherd violinist military personnel mandolinist flautist painter monk herder pope soldier harpist blacksmith cardinal equestrian dancer high-ranking civil servant in France sport cyclist peasant fisherman musician poet draughtsperson sculptor priest physician
27
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity tax collector
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?f ) WHERE { VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:painting ) } . ?q rdf:type ?s } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { { ?y rdf:type ontology:work_of_art } UNION { ?y rdf:type ontology:painting } } . ?y property:depicts resource:tax_collector } } . FILTER ( ?f > ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1281618
P180
Q12737077 Q838948 Q3305213
USER
And what about sculptor?
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q1281618
relation P180
type Q838948
type Q3305213
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?k ) WHERE { { ?i property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q3305213 . ?i property:P180 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P180 resource:Q1281618 . { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } } } . FILTER ( ?k > ?g ) }
sculptor
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity sculptor
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?k ) WHERE { { ?i property:depicts ?q . ?q rdf:type ontology:occupation . ?i rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:occupation . ?i rdf:type ontology:painting . ?i property:depicts ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:depicts resource:sculptor . { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:work_of_art ) ( ontology:painting ) } } } } . FILTER ( ?k > ?g ) }
[]
occupation work of art painting
SYSTEM
12
Q1250916 Q81710 Q47064 Q12059906 Q4991371 Q2730732 Q5716684 Q838811 Q331432 Q639669 Q49757 Q42603
(c(Q838948)|c(Q3305213),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action count
action filter_multi_types
action find_reverse
entity Q1281618
relation P180
type Q838948
type Q3305213
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?k ) WHERE { { ?i property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q3305213 . ?i property:P180 ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P180 resource:Q1281618 . { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:Q838948 ) ( ontology:Q3305213 ) } } } } . FILTER ( ?k > ?g ) }
warrior shepherd military personnel herder soldier equestrian dancer peasant fisherman musician poet priest
12
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work of art
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action count
action filter_multi_types
action find_reverse
entity sculptor
relation depicts
type work of art
type painting
[[{'concept': 'work of art'}, {'concept': 'painting'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?i ) AS ?k ) WHERE { { ?i property:depicts ?q . ?q rdf:type ontology:occupation . ?i rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:occupation . ?i rdf:type ontology:painting . ?i property:depicts ?q } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:depicts resource:sculptor . { ?r rdf:type ?d . VALUES ( ?d ) { ( ontology:work_of_art ) ( ontology:painting ) } } } } . FILTER ( ?k > ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27625916
P641
Q349
USER
Which sport was 1970 Swiss Open Badminton Championships – Women's singles a part of ?
(Q27625916,P641,c(Q349))
action filter_type
action find
entity Q27625916
relation P641
type Q349
['Q27625916', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q27625916 property:P641 ?e . ?e rdf:type ontology:Q349 }
1970 Swiss Open Badminton Championships – Women's singles
action filter_type
action find
entity 1970 Swiss Open Badminton Championships – Women's singles
relation sport
type sport
["1970 Swiss Open Badminton Championships – Women's singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:1970_Swiss_Open_Badminton_Championships_–_Women's_singles property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q27625916,P641,c(Q349))
action filter_type
action find
entity Q27625916
relation P641
type Q349
1970 Swiss Open [ANSWER] Championships – Women's singles a part of was her [ANSWER]
['Q27625916', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q27625916 property:P641 ?e . ?e rdf:type ontology:Q349 }
badminton
1970 Swiss Open Badminton Championships – Women's singles a part of was her badminton
badminton
action filter_type
action find
entity 1970 Swiss Open Badminton Championships – Women's singles
relation sport
type sport
["1970 Swiss Open Badminton Championships – Women's singles", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:1970_Swiss_Open_Badminton_Championships_–_Women's_singles property:sport ?e . ?e rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q349 Q39546 Q3084961
USER
Which sports represent the main use of max number of tools and product linings ?
(c(Q39546)|c(Q3084961),P366,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
[[{'concept': 'Q39546'}, {'concept': 'Q3084961'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?e WHERE { { ?n property:P366 ?e . ?e rdf:type ontology:Q349 . ?n rdf:type ontology:Q39546 } UNION { ?n property:P366 ?e . ?n rdf:type ontology:Q3084961 . ?e rdf:type ontology:Q349 } } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?z WHERE { { ?y property:P366 ?z . ?z rdf:type ontology:Q349 . ?y rdf:type ontology:Q39546 } UNION { ?y property:P366 ?z . ?z rdf:type ontology:Q349 . ?y rdf:type ontology:Q3084961 } } GROUP BY ?z } . FILTER ( ?m = ?b ) }
action argmax
action union
action find_reverse_tuple_counts
relation use
type sport
type tool
action find_reverse_tuple_counts
relation use
type sport
type product lining
[[{'concept': 'tool'}, {'concept': 'product lining'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?e WHERE { { ?n property:use ?e . ?e rdf:type ontology:sport . ?n rdf:type ontology:tool } UNION { ?n property:use ?e . ?n rdf:type ontology:product_lining . ?e rdf:type ontology:sport } } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?z WHERE { { ?y property:use ?z . ?z rdf:type ontology:sport . ?y rdf:type ontology:tool } UNION { ?y property:use ?z . ?z rdf:type ontology:sport . ?y rdf:type ontology:product_lining } } GROUP BY ?z } . FILTER ( ?m = ?b ) }
[]
sport tool product lining
Q1875777 Q22857
SYSTEM
air racing, climbing
Q1875777 Q22857
(c(Q39546)|c(Q3084961),P366,c(Q349))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
[ANSWERS] represent the main use of max number of tools and product linings
[[{'concept': 'Q39546'}, {'concept': 'Q3084961'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?e WHERE { { ?n property:P366 ?e . ?e rdf:type ontology:Q349 . ?n rdf:type ontology:Q39546 } UNION { ?n property:P366 ?e . ?n rdf:type ontology:Q3084961 . ?e rdf:type ontology:Q349 } } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?z WHERE { { ?y property:P366 ?z . ?z rdf:type ontology:Q349 . ?y rdf:type ontology:Q39546 } UNION { ?y property:P366 ?z . ?z rdf:type ontology:Q349 . ?y rdf:type ontology:Q3084961 } } GROUP BY ?z } . FILTER ( ?m = ?b ) }
air racing climbing
Air racing and climbing represent the main use of max number of tools and product linings
air racing climbing
action argmax
action union
action find_reverse_tuple_counts
relation use
type sport
type tool
action find_reverse_tuple_counts
relation use
type sport
type product lining
[[{'concept': 'tool'}, {'concept': 'product lining'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?e WHERE { { ?n property:use ?e . ?e rdf:type ontology:sport . ?n rdf:type ontology:tool } UNION { ?n property:use ?e . ?n rdf:type ontology:product_lining . ?e rdf:type ontology:sport } } GROUP BY ?e } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) ?z WHERE { { ?y property:use ?z . ?z rdf:type ontology:sport . ?y rdf:type ontology:tool } UNION { ?y property:use ?z . ?z rdf:type ontology:sport . ?y rdf:type ontology:product_lining } } GROUP BY ?z } . FILTER ( ?m = ?b ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22857
P101
Q502895
USER
Which person has his/her area as that sport ?
(c(Q502895),P101,Q22857)
action filter_type
action find_reverse
entity Q22857
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q22857']
SELECT DISTINCT ?u WHERE { ?u property:P101 resource:Q22857 . ?u rdf:type ontology:Q502895 }
climbing
action filter_type
action find_reverse
entity climbing
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'climbing']
SELECT DISTINCT ?u WHERE { ?u property:field_of_work resource:climbing . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1875777
SYSTEM
Did you mean air racing ?
Q1875777 Q22857
(c(Q502895),P101,Q1875777) (c(Q502895),P101,Q22857)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q1875777'] [{'concept': 'Q502895'}, 'P101', 'Q22857']
SELECT DISTINCT ?u WHERE { ?u property:P101 resource:Q22857 . ?u rdf:type ontology:Q502895 }
air racing climbing
Did you mean air racing ?
air racing
[{'concept': 'common name'}, 'field of work', 'air racing'] [{'concept': 'common name'}, 'field of work', 'climbing']
SELECT DISTINCT ?u WHERE { ?u property:field_of_work resource:climbing . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant climbing. Could you tell me the answer for that?
(c(Q502895),P101,Q22857)
Q22857
[{'concept': 'Q502895'}, 'P101', 'Q22857']
[{'concept': 'common name'}, 'field of work', 'climbing']
[]
Q23978016
SYSTEM
Markéta Hanáková
Q23978016
(c(Q502895),P101,Q22857)
action filter_type
action find_reverse
entity Q22857
relation P101
type Q502895
[ANSWER] has his/her area as that sport
[{'concept': 'Q502895'}, 'P101', 'Q22857']
SELECT DISTINCT ?u WHERE { ?u property:P101 resource:Q22857 . ?u rdf:type ontology:Q502895 }
Markéta Hanáková
Markéta Hanáková has his/her area as that sport
Markéta Hanáková
action filter_type
action find_reverse
entity climbing
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'climbing']
SELECT DISTINCT ?u WHERE { ?u property:field_of_work resource:climbing . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23978016
P101
Q349
USER
Which field does that person belong to ?
(Q23978016,P101,c(Q349))
action filter_type
action find
entity Q23978016
relation P101
type Q349
['Q23978016', 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q23978016 property:P101 ?h }
Markéta Hanáková
action filter_type
action find
entity Markéta Hanáková
relation field of work
type sport
['Markéta Hanáková', 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:Markéta_Hanáková property:field_of_work ?h }
[]
sport
Q22857
SYSTEM
climbing
Q22857
(Q23978016,P101,c(Q349))
action filter_type
action find
entity Q23978016
relation P101
type Q349
That person belongs to [ANSWER]
['Q23978016', 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q23978016 property:P101 ?h }
climbing
That person belongs to climbing
climbing
action filter_type
action find
entity Markéta Hanáková
relation field of work
type sport
['Markéta Hanáková', 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:Markéta_Hanáková property:field_of_work ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q27625916
P710
Q502895
USER
How many people were the artist who participated in 1970 Swiss Open Badminton Championships – Women's singles ?
(Q27625916,P710,c(Q502895))
action count
action filter_type
action find
entity Q27625916
relation P710
type Q502895
['Q27625916', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Q27625916 property:P710 ?w . ?w rdf:type ontology:Q502895 }
1970 Swiss Open Badminton Championships – Women's singles
action count
action filter_type
action find
entity 1970 Swiss Open Badminton Championships – Women's singles
relation participant
type common name
["1970 Swiss Open Badminton Championships – Women's singles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:1970_Swiss_Open_Badminton_Championships_–_Women's_singles property:participant ?w . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q1323126
(Q27625916,P710,c(Q502895))
action count
action filter_type
action find
entity Q27625916
relation P710
type Q502895
[ANSWER]
['Q27625916', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Q27625916 property:P710 ?w . ?w rdf:type ontology:Q502895 }
Ingrid Wieltschnig
1
action count
action filter_type
action find
entity 1970 Swiss Open Badminton Championships – Women's singles
relation participant
type common name
["1970 Swiss Open Badminton Championships – Women's singles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:1970_Swiss_Open_Badminton_Championships_–_Women's_singles property:participant ?w . ?w rdf:type ontology:common_name }
[]