Simple Question (Direct)
Simple Question
Q1715136
P1344
Q16510064
USER
Which sporting event did József Csatári participate in ?
(Q1715136,P1344,c(Q16510064))
action filter_type
action find
entity Q1715136
relation P1344
type Q16510064
['Q1715136', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?a WHERE { resource:Q1715136 property:P1344 ?a . ?a rdf:type ontology:Q16510064 }
József Csatári
action filter_type
action find
entity József Csatári
relation participant of
type sporting event
['József Csatári', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?a WHERE { resource:József_Csatári property:participant_of ?a . ?a rdf:type ontology:sporting_event }
[]
sporting event
Q8037857
SYSTEM
Wrestling at the 1972 Summer Olympics – Men's freestyle 100 kg
Q8037857
(Q1715136,P1344,c(Q16510064))
action filter_type
action find
entity Q1715136
relation P1344
type Q16510064
József Csatári participated in [ANSWER]
['Q1715136', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?a WHERE { resource:Q1715136 property:P1344 ?a . ?a rdf:type ontology:Q16510064 }
Wrestling at the 1972 Summer Olympics – Men's freestyle 100 kg
József Csatári participated in Wrestling at the 1972 Summer Olympics – Men's freestyle 100 kg
Wrestling at the 1972 Summer Olympics – Men's freestyle 100 kg
action filter_type
action find
entity József Csatári
relation participant of
type sporting event
['József Csatári', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?a WHERE { resource:József_Csatári property:participant_of ?a . ?a rdf:type ontology:sporting_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1715136
P19
Q56061
USER
Which administrative territory is the birthplace of József Csatári ?
(Q1715136,P19,c(Q56061))
action filter_type
action find
entity Q1715136
relation P19
type Q56061
['Q1715136', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1715136 property:P19 ?u . ?u rdf:type ontology:Q56061 }
József Csatári
action filter_type
action find
entity József Csatári
relation place of birth
type administrative territorial entity
['József Csatári', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:József_Csatári property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q1715136,P19,c(Q56061))
action filter_type
action find
entity Q1715136
relation P19
type Q56061
[ANSWER] is the birthplace of József Csatári
['Q1715136', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1715136 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Budapest
Budapest is the birthplace of József Csatári
Budapest
action filter_type
action find
entity József Csatári
relation place of birth
type administrative territorial entity
['József Csatári', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:József_Csatári property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1715136
P21
Q290
USER
Which sex does József Csatári possess ?
(Q1715136,P21,c(Q290))
action filter_type
action find
entity Q1715136
relation P21
type Q290
['Q1715136', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1715136 property:P21 ?q . ?q rdf:type ontology:Q290 }
József Csatári
action filter_type
action find
entity József Csatári
relation gender
type sex
['József Csatári', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:József_Csatári property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1715136,P21,c(Q290))
action filter_type
action find
entity Q1715136
relation P21
type Q290
József Csatári possesses [ANSWER]
['Q1715136', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q1715136 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
József Csatári possesses male
male
action filter_type
action find
entity József Csatári
relation gender
type sex
['József Csatári', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:József_Csatári property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1715136
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1715136
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1715136 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
József Csatári
action filter_type
action find
entity József Csatári
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:József_Csatári property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q19595175
SYSTEM
amateur wrestler
Q19595175
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1715136
relation P106
type Q12737077
[ANSWER] is the profession of that person
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q1715136 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
amateur wrestler
Amateur wrestler is the profession of that person
amateur wrestler
action filter_type
action find
entity József Csatári
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:József_Csatári property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q19595175 Q17161709
P106
Q502895
USER
Does Natsu Tosaki have that occupation as his/her means of employment ?
(Q17161709,P106,Q19595175)
action is_in
entity Q17161709
action find
entity Q19595175
relation P106
['Q17161709', 'P106', 'Q19595175']
ASK WHERE { resource:Q19595175 property:P106 resource:Q17161709 }
amateur wrestler Natsu Tosaki
action is_in
entity Natsu Tosaki
action find
entity amateur wrestler
relation occupation
['Natsu Tosaki', 'occupation', 'amateur wrestler']
ASK WHERE { resource:amateur_wrestler property:occupation resource:Natsu_Tosaki }
[]
common name
SYSTEM
NO
(Q17161709,P106,Q19595175)
action is_in
entity Q17161709
action find
entity Q19595175
relation P106
[ANSWER]
['Q17161709', 'P106', 'Q19595175']
ASK WHERE { resource:Q19595175 property:P106 resource:Q17161709 }
No
action is_in
entity Natsu Tosaki
action find
entity amateur wrestler
relation occupation
['Natsu Tosaki', 'occupation', 'amateur wrestler']
ASK WHERE { resource:amateur_wrestler property:occupation resource:Natsu_Tosaki }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P115
Q1076486 Q811979 Q16510064
USER
Which sporting events have atmost 4 sports venues or architectural structures as their arena ?
(c(Q16510064),P115,c(Q1076486)|c(Q811979))
action atmost
action union
action find_tuple_counts
relation P115
type Q16510064
type Q1076486
action find_tuple_counts
relation P115
type Q16510064
type Q811979
value 4
[{'concept': 'Q16510064'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?x ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } . ?c rdf:type ?x } GROUP BY ?g } . FILTER ( ?m <= 4 ) }
action atmost
action union
action find_tuple_counts
relation home venue
type sporting event
type sports venue
action find_tuple_counts
relation home venue
type sporting event
type architectural structure
value 4
[{'concept': 'sporting event'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?x ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } . ?c rdf:type ?x } GROUP BY ?g } . FILTER ( ?m <= 4 ) }
[]
sports venue architectural structure sporting event
Q18355214 Q23058801 Q23776822
SYSTEM
Field hockey at the 2016 Summer Olympics – Men's tournament, Basketball at the 2016 Summer Olympics – Women's tournament, Water polo at the 2016 Summer Olympics – Men's tournament
Q18355236 Q25163142 Q23776822 Q23776821 Q7378331 Q16612104 Q23949489 Q23949488 Q24995398 Q18395725 Q18355214 Q24825467 Q18416654 Q23058801 Q25162542
(c(Q16510064),P115,c(Q1076486)|c(Q811979))
action atmost
action union
action find_tuple_counts
relation P115
type Q16510064
type Q1076486
action find_tuple_counts
relation P115
type Q16510064
type Q811979
value 4
[ANSWERS] have atmost 4 sports venues or architectural structures as their arena
[{'concept': 'Q16510064'}, 'P115', [{'concept': 'Q1076486'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?x ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } . ?c rdf:type ?x } GROUP BY ?g } . FILTER ( ?m <= 4 ) }
Field hockey at the 2016 Summer Olympics – Women's tournament Rugby sevens at the 2016 Summer Olympics – Women's tournament Water polo at the 2016 Summer Olympics – Men's tournament Water polo at the 2016 Summer Olympics – Women's tournament rugby Sevens at the 2016 Summer Olympics Volleyball at the 2016 Summer Olympics – Men's tournament Handball at the 2016 Summer Olympics – Women's tournament Handball at the 2016 Summer Olympics – Men's tournament Beach volleyball at the 2016 Summer Olympics – Women's tournament Volleyball at the 2016 Summer Olympics – Women's tournament Field hockey at the 2016 Summer Olympics – Men's tournament Beach volleyball at the 2016 Summer Olympics – Men's tournament Basketball at the 2016 Summer Olympics – Men's tournament Basketball at the 2016 Summer Olympics – Women's tournament Rugby sevens at the 2016 Summer Olympics – Men's tournament
Field hockey at the 2016 Summer Olympics – Men's tournament, Basketball at the 2016 Summer Olympics – Women's tournament and Water polo at the 2016 Summer Olympics – Men's tournament have atmost 4 sports venues or architectural structures as their arena
Field hockey at the 2016 Summer Olympics – Men's tournament Basketball at the 2016 Summer Olympics – Women's tournament Water polo at the 2016 Summer Olympics – Men's tournament
action atmost
action union
action find_tuple_counts
relation home venue
type sporting event
type sports venue
action find_tuple_counts
relation home venue
type sporting event
type architectural structure
value 4
[{'concept': 'sporting event'}, 'home venue', [{'concept': 'sports venue'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?x ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } . ?c rdf:type ?x } GROUP BY ?g } . FILTER ( ?m <= 4 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q805221
P180
Q12737077 Q3516658 Q340169
USER
How many occupations are depicted in greater number of heraldic symbols and medias than ballet dancer ?
(c(Q3516658)|c(Q340169),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q805221
relation P180
type Q3516658
type Q340169
[[{'concept': 'Q3516658'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?p WHERE { ?x rdf:type ?o . VALUES ( ?o ) { ( ontology:Q340169 ) ( ontology:Q3516658 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P180 resource:Q805221 . { VALUES ( ?s ) { ( ontology:Q3516658 ) ( ontology:Q340169 ) } . ?e rdf:type ?s } } } . FILTER ( ?m > ?l ) }
ballet dancer
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity ballet dancer
relation depicts
type heraldic symbol
type media
[[{'concept': 'heraldic symbol'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?p WHERE { ?x rdf:type ?o . VALUES ( ?o ) { ( ontology:media ) ( ontology:heraldic_symbol ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:depicts resource:ballet_dancer . { VALUES ( ?s ) { ( ontology:heraldic_symbol ) ( ontology:media ) } . ?e rdf:type ?s } } } . FILTER ( ?m > ?l ) }
[]
occupation heraldic symbol media
SYSTEM
15
Q177220 Q2995983 Q1250916 Q45199 Q186360 Q733786 Q4991371 Q273108 Q589897 Q20489032 Q5716684 Q18575684 Q639669 Q384593 Q1630100
(c(Q3516658)|c(Q340169),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q805221
relation P180
type Q3516658
type Q340169
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?p WHERE { ?x rdf:type ?o . VALUES ( ?o ) { ( ontology:Q340169 ) ( ontology:Q3516658 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P180 resource:Q805221 . { VALUES ( ?s ) { ( ontology:Q3516658 ) ( ontology:Q340169 ) } . ?e rdf:type ?s } } } . FILTER ( ?m > ?l ) }
singer double-bassist warrior sailor nurse monk soldier condottiero mahout salt pan worker dancer embroiderer musician police officer art model
15
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity ballet dancer
relation depicts
type heraldic symbol
type media
[[{'concept': 'heraldic symbol'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?p WHERE { ?x rdf:type ?o . VALUES ( ?o ) { ( ontology:media ) ( ontology:heraldic_symbol ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:depicts resource:ballet_dancer . { VALUES ( ?s ) { ( ontology:heraldic_symbol ) ( ontology:media ) } . ?e rdf:type ?s } } } . FILTER ( ?m > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q845929
P180
Q12737077 Q3516658 Q340169
USER
And also tell me about pretender?
(c(Q3516658)|c(Q340169),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q845929
relation P180
type Q3516658
type Q340169
[[{'concept': 'Q3516658'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?c WHERE { { ?e property:P180 ?c . ?c rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q3516658 } UNION { ?e property:P180 ?c . ?e rdf:type ontology:Q340169 . ?c rdf:type ontology:Q12737077 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P180 resource:Q845929 . { { ?t rdf:type ontology:Q3516658 } UNION { ?t rdf:type ontology:Q340169 } } } } . FILTER ( ?n > ?p ) }
pretender
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity pretender
relation depicts
type heraldic symbol
type media
[[{'concept': 'heraldic symbol'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?c WHERE { { ?e property:depicts ?c . ?c rdf:type ontology:occupation . ?e rdf:type ontology:heraldic_symbol } UNION { ?e property:depicts ?c . ?e rdf:type ontology:media . ?c rdf:type ontology:occupation } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:depicts resource:pretender . { { ?t rdf:type ontology:heraldic_symbol } UNION { ?t rdf:type ontology:media } } } } . FILTER ( ?n > ?p ) }
[]
occupation heraldic symbol media
SYSTEM
15
Q177220 Q2995983 Q1250916 Q45199 Q186360 Q733786 Q4991371 Q273108 Q589897 Q20489032 Q5716684 Q18575684 Q639669 Q384593 Q1630100
(c(Q3516658)|c(Q340169),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q845929
relation P180
type Q3516658
type Q340169
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?c WHERE { { ?e property:P180 ?c . ?c rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q3516658 } UNION { ?e property:P180 ?c . ?e rdf:type ontology:Q340169 . ?c rdf:type ontology:Q12737077 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P180 resource:Q845929 . { { ?t rdf:type ontology:Q3516658 } UNION { ?t rdf:type ontology:Q340169 } } } } . FILTER ( ?n > ?p ) }
singer double-bassist warrior sailor nurse monk soldier condottiero mahout salt pan worker dancer embroiderer musician police officer art model
15
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action count
action filter_multi_types
action find_reverse
entity pretender
relation depicts
type heraldic symbol
type media
[[{'concept': 'heraldic symbol'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?c WHERE { { ?e property:depicts ?c . ?c rdf:type ontology:occupation . ?e rdf:type ontology:heraldic_symbol } UNION { ?e property:depicts ?c . ?e rdf:type ontology:media . ?c rdf:type ontology:occupation } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:depicts resource:pretender . { { ?t rdf:type ontology:heraldic_symbol } UNION { ?t rdf:type ontology:media } } } } . FILTER ( ?n > ?p ) }
[]