Simple Question (Direct)
Simple Question
Q2194705
P641
Q349
USER
Which sport was Jeroen Mertens a part of ?
(Q2194705,P641,c(Q349))
action filter_type
action find
entity Q2194705
relation P641
type Q349
['Q2194705', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q2194705 property:P641 ?j . ?j rdf:type ontology:Q349 }
Jeroen Mertens
action filter_type
action find
entity Jeroen Mertens
relation sport
type sport
['Jeroen Mertens', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Jeroen_Mertens property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2194705,P641,c(Q349))
action filter_type
action find
entity Q2194705
relation P641
type Q349
The [ANSWER] was Jeroen Mertens a part of
['Q2194705', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q2194705 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
The association football was Jeroen Mertens a part of
association football
action filter_type
action find
entity Jeroen Mertens
relation sport
type sport
['Jeroen Mertens', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Jeroen_Mertens property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2194705
P106
Q12737077
USER
What is the profession of Jeroen Mertens ?
(Q2194705,P106,c(Q12737077))
action filter_type
action find
entity Q2194705
relation P106
type Q12737077
['Q2194705', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q2194705 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Jeroen Mertens
action filter_type
action find
entity Jeroen Mertens
relation occupation
type occupation
['Jeroen Mertens', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Jeroen_Mertens property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2194705,P106,c(Q12737077))
action filter_type
action find
entity Q2194705
relation P106
type Q12737077
The profession of Jeroen Mertens is an [ANSWER]
['Q2194705', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q2194705 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
The profession of Jeroen Mertens is an association football player
association football player
action filter_type
action find
entity Jeroen Mertens
relation occupation
type occupation
['Jeroen Mertens', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Jeroen_Mertens property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1674312
P921
Q12737077 Q2342494 Q838948
USER
How many occupations were the main subjects in the work greater number of collectables and works of art than rag-and-bone man ?
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1674312
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?n ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P921 resource:Q1674312 . { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?n > ?z ) }
rag-and-bone man
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity rag-and-bone man
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?n ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:main_subject resource:rag-and-bone_man . { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?n > ?z ) }
[]
occupation collectable work of art
SYSTEM
12
Q39631 Q11631 Q33999 Q1930187 Q937857 Q9402 Q101539 Q164236 Q16746569 Q16003605 Q33231 Q16003532
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1674312
relation P921
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?n ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P921 resource:Q1674312 . { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?n > ?z ) }
physician astronaut actor journalist association football player ninja flight attendant war correspondent high school student elementary school student photographer middle school student
12
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity rag-and-bone man
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?f ) AS ?n ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:main_subject resource:rag-and-bone_man . { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?n > ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q23810528
P921
Q12737077 Q2342494 Q838948
USER
And how about ice cream taster?
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q23810528
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { { ?d rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q2342494 } } . ?d property:P921 resource:Q23810528 } } . FILTER ( ?v > ?u ) }
ice cream taster
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity ice cream taster
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ?z . VALUES ( ?z ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { { ?d rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:collectable } } . ?d property:main_subject resource:ice_cream_taster } } . FILTER ( ?v > ?u ) }
[]
occupation collectable work of art
SYSTEM
38
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q774306 Q83307 Q4610556 Q18145518 Q7358 Q82955 Q730242 Q42973 Q1930187 Q937857 Q9402 Q2961580 Q43845 Q101539 Q29182 Q131524 Q205375 Q164236 Q14373094 Q18220900 Q936969 Q16746569 Q16003605 Q245068 Q33231 Q49757 Q2095549 Q1238570 Q2259532 Q1674312 Q16003532
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q23810528
relation P921
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { { ?d rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q2342494 } } . ?d property:P921 resource:Q23810528 } } . FILTER ( ?v > ?u ) }
industrialist business magnate physician lumberjack astronaut actor writer surgeon minister model Member of the New Zealand House of Representatives clown politician test pilot architect journalist association football player ninja taxi driver businessperson flight attendant bishop entrepreneur inventor war correspondent rugby league player Member of the South Australian House of Assembly nanny high school student elementary school student comedian photographer poet aviator political scientist cleric rag-and-bone man middle school student
38
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity ice cream taster
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?v ) WHERE { ?t rdf:type ?z . VALUES ( ?z ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { { ?d rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:collectable } } . ?d property:main_subject resource:ice_cream_taster } } . FILTER ( ?v > ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2194705
P734
Q82799
USER
Who has the surname Jeroen Mertens ?
(Q2194705,P734,c(Q82799))
action filter_type
action find
entity Q2194705
relation P734
type Q82799
['Q2194705', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q2194705 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Jeroen Mertens
action filter_type
action find
entity Jeroen Mertens
relation family name
type name
['Jeroen Mertens', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Jeroen_Mertens property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q21447885
SYSTEM
Mertens
Q21447885
(Q2194705,P734,c(Q82799))
action filter_type
action find
entity Q2194705
relation P734
type Q82799
[ANSWER] has the surname Jeroen [ANSWER]
['Q2194705', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q2194705 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Mertens
Mertens has the surname Jeroen Mertens
Mertens
action filter_type
action find
entity Jeroen Mertens
relation family name
type name
['Jeroen Mertens', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Jeroen_Mertens property:family_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6636007
Q82799
USER
And also tell me about Tanuma Okiyuki?
(Q6636007,P734,c(Q82799))
action filter_type
action find
entity Q6636007
relation P734
type Q82799
['Q6636007', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q6636007 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Tanuma Okiyuki
action filter_type
action find
entity Tanuma Okiyuki
relation family name
type name
['Tanuma Okiyuki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Tanuma_Okiyuki property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q7683907
SYSTEM
Tanuma
Q7683907
(Q6636007,P734,c(Q82799))
action filter_type
action find
entity Q6636007
relation P734
type Q82799
[ANSWER]
['Q6636007', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q6636007 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Tanuma
Tanuma
action filter_type
action find
entity Tanuma Okiyuki
relation family name
type name
['Tanuma Okiyuki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Tanuma_Okiyuki property:family_name ?k . ?k rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q12834857
P641
Q349 Q502895 Q500834
USER
Which sports were lesser number of people and tournaments a part of than strength training ?
(c(Q502895)|c(Q500834),P641,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q12834857
relation P641
type Q502895
type Q500834
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?p WHERE { { ?r property:P641 ?p . ?p rdf:type ontology:Q349 . ?r rdf:type ontology:Q502895 } UNION { ?r property:P641 ?p . ?p rdf:type ontology:Q349 . ?r rdf:type ontology:Q500834 } } GROUP BY ?p } . FILTER ( ?g < ?s ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P641 resource:Q12834857 . { { ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q500834 } } } } }
strength training
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity strength training
relation sport
type common name
type tournament
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?p WHERE { { ?r property:sport ?p . ?p rdf:type ontology:sport . ?r rdf:type ontology:common_name } UNION { ?r property:sport ?p . ?p rdf:type ontology:sport . ?r rdf:type ontology:tournament } } GROUP BY ?p } . FILTER ( ?g < ?s ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:sport resource:strength_training . { { ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:tournament } } } } }
[]
sport common name tournament
Q809831 Q193387 Q244700
SYSTEM
BASE jumping, croquet, Ultimate
Q2348250 Q193387 Q4808504 Q3844480 Q809831 Q1575010 Q244700 Q1497658 Q192832 Q192937 Q188966 Q27672886 Q338208 Q148636 Q2887217 Q1050588 Q592031 Q1345388 Q1866478 Q2302906 Q231200 Q990637 Q1358545 Q212434 Q61065 Q4429020 Q14300548 Q4245261 Q3177899 Q4347112 Q2167372 Q535116 Q1078835 Q1899731 Q943526 Q1063445 Q3325635 Q14405929 Q1129021 Q1199515 Q1784241 Q1188693
(c(Q502895)|c(Q500834),P641,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q12834857
relation P641
type Q502895
type Q500834
[ANSWERS] were lesser number of people and tournaments a part of than strength training
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?p WHERE { { ?r property:P641 ?p . ?p rdf:type ontology:Q349 . ?r rdf:type ontology:Q502895 } UNION { ?r property:P641 ?p . ?p rdf:type ontology:Q349 . ?r rdf:type ontology:Q500834 } } GROUP BY ?p } . FILTER ( ?g < ?s ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P641 resource:Q12834857 . { { ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q500834 } } } } }
team time trial croquet snocross rink bandy BASE jumping para rowing Ultimate memory sport paintball korfball contract bridge Flying disc games giant slalom skiing Kabaddi women's basketball fistball wingsuit flying greyhound racing American handball Box lacrosse netball Broomball arena football Olympic sport water sport competition aerobatics skating touring car racing bowling strength athletics fell running beach handball Powerchair Football Frisian handball Castell nine-ball Valencian trinquet high diving super giant slalom skiing formula racing korbball mind sport
BASE jumping, croquet and Ultimate were lesser number of people and tournaments a part of than strength training
BASE jumping croquet Ultimate
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity strength training
relation sport
type common name
type tournament
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) ?p WHERE { { ?r property:sport ?p . ?p rdf:type ontology:sport . ?r rdf:type ontology:common_name } UNION { ?r property:sport ?p . ?p rdf:type ontology:sport . ?r rdf:type ontology:tournament } } GROUP BY ?p } . FILTER ( ?g < ?s ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:sport resource:strength_training . { { ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:tournament } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q134211
P641
Q349 Q502895 Q500834
USER
And also tell me about polo?
(c(Q502895)|c(Q500834),P641,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q134211
relation P641
type Q502895
type Q500834
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?c ) WHERE { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q500834 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P641 resource:Q134211 . { VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q500834 ) } . ?x rdf:type ?k } } } . FILTER ( ?c < ?w ) }
polo
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity polo
relation sport
type common name
type tournament
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?c ) WHERE { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:common_name ) ( ontology:tournament ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:sport resource:polo . { VALUES ( ?k ) { ( ontology:common_name ) ( ontology:tournament ) } . ?x rdf:type ?k } } } . FILTER ( ?c < ?w ) }
[]
sport common name tournament
Q809831 Q1295867 Q206763
SYSTEM
BASE jumping, pesäpallo, floorball
Q1109032 Q4543 Q170737 Q114466 Q500050 Q2348250 Q3337306 Q193387 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q338208 Q738622 Q148636 Q136851 Q2887217 Q599204 Q690676 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 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 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q36908 Q1081491 Q483693 Q389654 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q1078835 Q838781 Q26787631 Q1899731 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q502895)|c(Q500834),P641,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action count
action filter_multi_types
action find_reverse
entity Q134211
relation P641
type Q502895
type Q500834
[ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?c ) WHERE { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q500834 ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P641 resource:Q134211 . { VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q500834 ) } . ?x rdf:type ?k } } } . FILTER ( ?c < ?w ) }
college football beach volleyball long jump mixed martial arts cross country running team time trial yachting croquet softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball Ultimate memory sport equestrian sport puroresu paintball Finswimming Camogie drag racing korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming giant slalom skiing dancesport Kabaddi curling women's basketball rallycross canoe polo 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 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 competition aerobatics paralympic swimming gymnastics balkline and straight rail skating mountaineering football parkour Greco-Roman wrestling lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football Powerchair Football eventing K-1 Frisian handball Castell Goalball sport climbing women's association football wheelchair curling nine-ball Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration 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
BASE jumping pesäpallo floorball
action less
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action count
action filter_multi_types
action find_reverse
entity polo
relation sport
type common name
type tournament
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?b ) AS ?c ) WHERE { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:common_name ) ( ontology:tournament ) } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:sport resource:polo . { VALUES ( ?k ) { ( ontology:common_name ) ( ontology:tournament ) } . ?x rdf:type ?k } } } . FILTER ( ?c < ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q12737077 Q1307214 Q12737077
USER
How many occupations were appointed by approximately 1 occupations and forms of government ?
(c(Q12737077),P748,c(Q12737077)|c(Q1307214))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?j ) WHERE { VALUES ( ?k ) { ( ontology:Q12737077 ) ( ontology:Q1307214 ) } . ?r rdf:type ?k } GROUP BY ?o } . FILTER ( ?j = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type form of government
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?j ) WHERE { VALUES ( ?k ) { ( ontology:occupation ) ( ontology:form_of_government ) } . ?r rdf:type ?k } GROUP BY ?o } . FILTER ( ?j = 1 ) }
[]
occupation form of government occupation
SYSTEM
124
Q15934457 Q748607 Q3253692 Q192711 Q6865816 Q6865958 Q3251824 Q1355456 Q1507619 Q737115 Q6578215 Q1146214 Q23906787 Q6866004 Q4377222 Q15304810 Q1511951 Q191827 Q910308 Q1753754 Q1476458 Q15407843 Q20736121 Q19190022 Q3251837 Q6865747 Q943379 Q1749063 Q24636364 Q14565638 Q251724 Q6572133 Q1006398 Q6865770 Q274948 Q1723031 Q369500 Q13527950 Q3315120 Q6866468 Q313465 Q15971570 Q1430943 Q3556884 Q1655971 Q12270252 Q1571023 Q1339242 Q796897 Q1550276 Q208487 Q4294939 Q6866295 Q583809 Q4377230 Q7240361 Q5195495 Q27088842 Q2560704 Q3251821 Q3251819 Q4294945 Q3564227 Q6866264 Q6865750 Q7240360 Q2962001 Q16933549 Q18694351 Q45369 Q1195049 Q6865853 Q687075 Q3251775 Q1587677 Q839078 Q3251779 Q2911019 Q2430415 Q6866194 Q3251793 Q1192903 Q6865904 Q2741479 Q213107 Q6123144 Q3401758 Q7240356 Q6865864 Q13527909 Q3315114 Q11895063 Q1469153 Q12270260 Q6865789 Q1195270 Q6865781 Q7013201 Q2505890 Q6865756 Q16009376 Q3251800 Q3259469 Q162754 Q5097071 Q6865981 Q217217 Q3251807 Q13526082 Q6866016 Q1281611 Q1790154 Q6866422 Q3251818 Q6866427 Q6865902 Q738695 Q1752225 Q687908 Q844587 Q20877172 Q2334076 Q541355 Q702650
(c(Q12737077),P748,c(Q12737077)|c(Q1307214))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q12737077
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
value 1
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?j ) WHERE { VALUES ( ?k ) { ( ontology:Q12737077 ) ( ontology:Q1307214 ) } . ?r rdf:type ?k } GROUP BY ?o } . FILTER ( ?j = 1 ) }
Minister of Transport Minister of International Trade President of the Treasury Board Prime Minister of India Minister for Education and Skills Minister for Social Protection Minister of Natural Resources Lord Chamberlain Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Tánaiste Bishop of Nevers Minister for the Environment, Community and Local Government Premier of Nunavut Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea Bishop of Versailles Prime Minister of Iceland Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Lord President of the Council Minister for Foreign Affairs of Sweden bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland Governor of İstanbul Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources Prime Minister of Japan Prime Minister of Portugal Prime Minister of Latvia Premier of New South Wales Minister of Justice Minister responsible for the Status of Women Minister of External Affairs President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Minister of State Premier of New Brunswick Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia Prime Minister of Israel Minister of Agriculture Minister of Public Services and Procurement Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Premier of Ontario Minister of Transport Minister of Fisheries and Oceans Minister for Finance Auditor General of Canada Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications Prime Minister of Slovakia Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade Prime Minister of Sweden Minister of the Environment Prime Minister of France Prime Minister of Canada Minister of Industry Premier of Quebec Prime Minister of Turkey Minister of Human Resources and Skills Development Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Secretary of State of Puerto Rico Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health Premier of Victoria Minister of National Defence Minister of Transport and Communications Prime Minister of Fiji Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Minister for Defence New York City Fire Commissioner Leader of the Government in the House of Commons Minister for Children and Youth Affairs Prime Minister of Albania Minister of Health Prime Minister of Poland Chancellor of the Duchy of Lancaster Chief of the Secret Intelligence Service Minister for Transport, Tourism and Sport Lord Chancellor Minister of Veterans Affairs Premier of Queensland Minister for the purposes of the Atlantic Canada Opportunities Agency Act Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain bishop of Amiens Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan
124
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type occupation
action find_tuple_counts
relation appointed by
type occupation
type form of government
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?u ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?r ) AS ?j ) WHERE { VALUES ( ?k ) { ( ontology:occupation ) ( ontology:form_of_government ) } . ?r rdf:type ?k } GROUP BY ?o } . FILTER ( ?j = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2194705
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Jeroen Mertens ?
(Q2194705,P27,c(Q15617994))
action filter_type
action find
entity Q2194705
relation P27
type Q15617994
['Q2194705', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2194705 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Jeroen Mertens
action filter_type
action find
entity Jeroen Mertens
relation country of citizenship
type designation for an administrative territorial entity
['Jeroen Mertens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jeroen_Mertens property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q2194705,P27,c(Q15617994))
action filter_type
action find
entity Q2194705
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Jeroen Mertens
['Q2194705', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q2194705 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Belgium
Belgium is the country of citizenship of Jeroen Mertens
Belgium
action filter_type
action find
entity Jeroen Mertens
relation country of citizenship
type designation for an administrative territorial entity
['Jeroen Mertens', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Jeroen_Mertens property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2194705
P21
Q290
USER
What is the sex of Jeroen Mertens ?
(Q2194705,P21,c(Q290))
action filter_type
action find
entity Q2194705
relation P21
type Q290
['Q2194705', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q2194705 property:P21 ?m . ?m rdf:type ontology:Q290 }
Jeroen Mertens
action filter_type
action find
entity Jeroen Mertens
relation gender
type sex
['Jeroen Mertens', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Jeroen_Mertens property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2194705,P21,c(Q290))
action filter_type
action find
entity Q2194705
relation P21
type Q290
The sex of Jeroen Mertens is a [ANSWER]
['Q2194705', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q2194705 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Jeroen Mertens is a male
male
action filter_type
action find
entity Jeroen Mertens
relation gender
type sex
['Jeroen Mertens', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Jeroen_Mertens property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q10311884
Q290
USER
And how about João Mendes Salgado?
(Q10311884,P21,c(Q290))
action filter_type
action find
entity Q10311884
relation P21
type Q290
['Q10311884', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q10311884 property:P21 ?y . ?y rdf:type ontology:Q290 }
João Mendes Salgado
action filter_type
action find
entity João Mendes Salgado
relation gender
type sex
['João Mendes Salgado', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:João_Mendes_Salgado property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10311884,P21,c(Q290))
action filter_type
action find
entity Q10311884
relation P21
type Q290
[ANSWER]
['Q10311884', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q10311884 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity João Mendes Salgado
relation gender
type sex
['João Mendes Salgado', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:João_Mendes_Salgado property:gender ?y . ?y rdf:type ontology:sex }
[]