Simple Question (Direct)
Simple Question
Q19519167
P641
Q349
USER
Which sport was Darwin Jones a part of ?
(Q19519167,P641,c(Q349))
action filter_type
action find
entity Q19519167
relation P641
type Q349
['Q19519167', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q19519167 property:P641 ?c }
Darwin Jones
action filter_type
action find
entity Darwin Jones
relation sport
type sport
['Darwin Jones', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Darwin_Jones property:sport ?c }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q19519167,P641,c(Q349))
action filter_type
action find
entity Q19519167
relation P641
type Q349
Darwin Jones was an [ANSWER]
['Q19519167', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q349 . resource:Q19519167 property:P641 ?c }
association football
Darwin Jones was an association football
association football
action filter_type
action find
entity Darwin Jones
relation sport
type sport
['Darwin Jones', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sport . resource:Darwin_Jones property:sport ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19519167
P106
Q12737077
USER
What does that person do for a living ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q19519167
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q19519167 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Darwin Jones
action filter_type
action find
entity Darwin Jones
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Darwin_Jones property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q19519167
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q19519167 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Darwin Jones
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Darwin_Jones property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q937857 Q2736
P425
Q349
USER
Does association football have that one as the associated field of occupation ?
(Q937857,P425,Q2736)
action is_in
entity Q2736
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 }
association football player association football
action is_in
entity association football
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
sport
SYSTEM
YES
(Q937857,P425,Q2736)
action is_in
entity Q2736
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q502895 Q12973014
USER
How many sports did atmost 34516 people and sports teams participate in ?
(c(Q502895)|c(Q12973014),P641,c(Q349))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 34516
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?a ) WHERE { { ?v rdf:type ontology:Q349 . ?t rdf:type ontology:Q12973014 . ?t property:P641 ?v } UNION { ?t property:P641 ?v . ?v rdf:type ontology:Q349 . ?t rdf:type ontology:Q502895 } } GROUP BY ?v } . FILTER ( ?a <= 34516 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 34516
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?a ) WHERE { { ?v rdf:type ontology:sport . ?t rdf:type ontology:sports_team . ?t property:sport ?v } UNION { ?t property:sport ?v . ?v rdf:type ontology:sport . ?t rdf:type ontology:common_name } } GROUP BY ?v } . FILTER ( ?a <= 34516 ) }
[]
sport common name sports team
SYSTEM
180
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q847 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q7291 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5372 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q502895)|c(Q12973014),P641,c(Q349))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 34516
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?a ) WHERE { { ?v rdf:type ontology:Q349 . ?t rdf:type ontology:Q12973014 . ?t property:P641 ?v } UNION { ?t property:P641 ?v . ?v rdf:type ontology:Q349 . ?t rdf:type ontology:Q502895 } } GROUP BY ?v } . FILTER ( ?a <= 34516 ) }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport tennis equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football badminton dancesport Kabaddi curling women's basketball rallying rallycross basketball cricket golf shooting sport baseball canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque ice hockey shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
180
action count
action atmost
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 34516
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?a ) WHERE { { ?v rdf:type ontology:sport . ?t rdf:type ontology:sports_team . ?t property:sport ?v } UNION { ?t property:sport ?v . ?v rdf:type ontology:sport . ?t rdf:type ontology:common_name } } GROUP BY ?v } . FILTER ( ?a <= 34516 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of max number of occupations ?
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:P417 ?e . ?e rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?e } . FILTER ( ?k = ?v ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?v ) { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P417 ?w . ?w rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?w } } }
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:patron_saint ?e . ?e rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?e } . FILTER ( ?k = ?v ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?v ) { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:patron_saint ?w . ?w rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?w } } }
[]
common name occupation
Q179718
SYSTEM
Catherine of Alexandria
Q179718
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWER] is the names of person who is the patron saints of max number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:P417 ?e . ?e rdf:type ontology:Q502895 . ?o rdf:type ontology:Q12737077 } GROUP BY ?e } . FILTER ( ?k = ?v ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?v ) { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:P417 ?w . ?w rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?w } } }
Catherine of Alexandria
Catherine of Alexandria is the names of person who is the patron saints of max number of occupations
Catherine of Alexandria
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?k ) WHERE { ?o property:patron_saint ?e . ?e rdf:type ontology:common_name . ?o rdf:type ontology:occupation } GROUP BY ?e } . FILTER ( ?k = ?v ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?v ) { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?b ) WHERE { ?d property:patron_saint ?w . ?w rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?w } } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q179718 Q339825
P27
Q15617994
USER
Is Oerlenbach the country of citizenship of Catherine of Alexandria ?
(Q179718,P27,Q339825)
action is_in
entity Q339825
action find
entity Q179718
relation P27
['Q179718', 'P27', 'Q339825']
ASK WHERE { resource:Q179718 property:P27 resource:Q339825 }
Catherine of Alexandria Oerlenbach
action is_in
entity Oerlenbach
action find
entity Catherine of Alexandria
relation country of citizenship
['Catherine of Alexandria', 'country of citizenship', 'Oerlenbach']
ASK WHERE { resource:Catherine_of_Alexandria property:country_of_citizenship resource:Oerlenbach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q179718,P27,Q339825)
action is_in
entity Q339825
action find
entity Q179718
relation P27
[ANSWER]
['Q179718', 'P27', 'Q339825']
ASK WHERE { resource:Q179718 property:P27 resource:Q339825 }
No
action is_in
entity Oerlenbach
action find
entity Catherine of Alexandria
relation country of citizenship
['Catherine of Alexandria', 'country of citizenship', 'Oerlenbach']
ASK WHERE { resource:Catherine_of_Alexandria property:country_of_citizenship resource:Oerlenbach }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19519167 Q3035436
P19
Q56061
USER
Is Gornje Vrbno the place of birth of Darwin Jones ?
(Q19519167,P19,Q3035436)
action is_in
entity Q3035436
action find
entity Q19519167
relation P19
['Q19519167', 'P19', 'Q3035436']
ASK WHERE { resource:Q19519167 property:P19 resource:Q3035436 }
Darwin Jones Gornje Vrbno
action is_in
entity Gornje Vrbno
action find
entity Darwin Jones
relation place of birth
['Darwin Jones', 'place of birth', 'Gornje Vrbno']
ASK WHERE { resource:Darwin_Jones property:place_of_birth resource:Gornje_Vrbno }
[]
administrative territorial entity
SYSTEM
NO
(Q19519167,P19,Q3035436)
action is_in
entity Q3035436
action find
entity Q19519167
relation P19
[ANSWER]
['Q19519167', 'P19', 'Q3035436']
ASK WHERE { resource:Q19519167 property:P19 resource:Q3035436 }
No
action is_in
entity Gornje Vrbno
action find
entity Darwin Jones
relation place of birth
['Darwin Jones', 'place of birth', 'Gornje Vrbno']
ASK WHERE { resource:Darwin_Jones property:place_of_birth resource:Gornje_Vrbno }
[]