Simple Question (Direct)
Simple Question
Q3364325
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Takashi Mitsukuri ?
(Q3364325,P27,c(Q15617994))
action filter_type
action find
entity Q3364325
relation P27
type Q15617994
['Q3364325', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3364325 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Takashi Mitsukuri
action filter_type
action find
entity Takashi Mitsukuri
relation country of citizenship
type designation for an administrative territorial entity
['Takashi Mitsukuri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Takashi_Mitsukuri property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q3364325,P27,c(Q15617994))
action filter_type
action find
entity Q3364325
relation P27
type Q15617994
Of [ANSWER] is the country of citizenship of Takashi Mitsukuri
['Q3364325', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3364325 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Japan
Of Japan is the country of citizenship of Takashi Mitsukuri
Japan
action filter_type
action find
entity Takashi Mitsukuri
relation country of citizenship
type designation for an administrative territorial entity
['Takashi Mitsukuri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Takashi_Mitsukuri property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3364325
P106
Q12737077
USER
Which occupation is the profession of Takashi Mitsukuri ?
(Q3364325,P106,c(Q12737077))
action filter_type
action find
entity Q3364325
relation P106
type Q12737077
['Q3364325', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3364325 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Takashi Mitsukuri
action filter_type
action find
entity Takashi Mitsukuri
relation occupation
type occupation
['Takashi Mitsukuri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Takashi_Mitsukuri property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q13381572
SYSTEM
artistic gymnast
Q13381572
(Q3364325,P106,c(Q12737077))
action filter_type
action find
entity Q3364325
relation P106
type Q12737077
As [ANSWER] is the profession of Takashi Mitsukuri
['Q3364325', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3364325 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
artistic gymnast
As artistic gymnast is the profession of Takashi Mitsukuri
artistic gymnast
action filter_type
action find
entity Takashi Mitsukuri
relation occupation
type occupation
['Takashi Mitsukuri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Takashi_Mitsukuri property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15999854
Q12737077
USER
And what about Joseph Hardy?
(Q15999854,P106,c(Q12737077))
action filter_type
action find
entity Q15999854
relation P106
type Q12737077
['Q15999854', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q15999854 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Joseph Hardy
action filter_type
action find
entity Joseph Hardy
relation occupation
type occupation
['Joseph Hardy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Joseph_Hardy property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q12299841
SYSTEM
cricketer
Q12299841
(Q15999854,P106,c(Q12737077))
action filter_type
action find
entity Q15999854
relation P106
type Q12737077
[ANSWER]
['Q15999854', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q15999854 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
cricketer
cricketer
action filter_type
action find
entity Joseph Hardy
relation occupation
type occupation
['Joseph Hardy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Joseph_Hardy property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q12299841 Q1109032 Q12100
P425
Q349
USER
Does college football and fencing belong to Q12299841 ?
(Q12299841,P425,Q1109032) (Q12299841,P425,Q12100)
action is_in
entity Q12299841
action intersection
action find_reverse
entity Q1109032
relation P425
action find_reverse
entity Q12100
relation P425
['Q12299841', 'P425', 'Q1109032'] ['Q12299841', 'P425', 'Q12100']
ASK WHERE { resource:Q12299841 property:P425 resource:Q1109032 . resource:Q12299841 property:P425 resource:Q12100 }
cricketer college football fencing
action is_in
entity cricketer
action intersection
action find_reverse
entity college football
relation field of this occupation
action find_reverse
entity fencing
relation field of this occupation
['cricketer', 'field of this occupation', 'college football'] ['cricketer', 'field of this occupation', 'fencing']
ASK WHERE { resource:cricketer property:field_of_this_occupation resource:college_football . resource:cricketer property:field_of_this_occupation resource:fencing }
[]
sport
SYSTEM
NO
(Q12299841,P425,Q1109032) (Q12299841,P425,Q12100)
action is_in
entity Q12299841
action intersection
action find_reverse
entity Q1109032
relation P425
action find_reverse
entity Q12100
relation P425
[ANSWER]
['Q12299841', 'P425', 'Q1109032'] ['Q12299841', 'P425', 'Q12100']
ASK WHERE { resource:Q12299841 property:P425 resource:Q1109032 . resource:Q12299841 property:P425 resource:Q12100 }
No
action is_in
entity cricketer
action intersection
action find_reverse
entity college football
relation field of this occupation
action find_reverse
entity fencing
relation field of this occupation
['cricketer', 'field of this occupation', 'college football'] ['cricketer', 'field of this occupation', 'fencing']
ASK WHERE { resource:cricketer property:field_of_this_occupation resource:college_football . resource:cricketer property:field_of_this_occupation resource:fencing }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3364325
P641
Q31629
USER
What did Takashi Mitsukuri participate in ?
(Q3364325,P641,c(Q31629))
action filter_type
action find
entity Q3364325
relation P641
type Q31629
['Q3364325', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { resource:Q3364325 property:P641 ?f . ?f rdf:type ontology:Q31629 }
Takashi Mitsukuri
action filter_type
action find
entity Takashi Mitsukuri
relation sport
type type of sport
['Takashi Mitsukuri', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { resource:Takashi_Mitsukuri property:sport ?f . ?f rdf:type ontology:type_of_sport }
[]
type of sport
Q326827
SYSTEM
artistic gymnastics
Q326827
(Q3364325,P641,c(Q31629))
action filter_type
action find
entity Q3364325
relation P641
type Q31629
Takashi Mitsukuri participated in [ANSWER]
['Q3364325', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { resource:Q3364325 property:P641 ?f . ?f rdf:type ontology:Q31629 }
artistic gymnastics
Takashi Mitsukuri participated in artistic gymnastics
artistic gymnastics
action filter_type
action find
entity Takashi Mitsukuri
relation sport
type type of sport
['Takashi Mitsukuri', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { resource:Takashi_Mitsukuri property:sport ?f . ?f rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q326827
P2416
Q502895
USER
Who competed in that type of sport ?
(c(Q502895),P2416,Q326827)
action filter_type
action find_reverse
entity Q326827
relation P2416
type Q502895
[{'concept': 'Q502895'}, 'P2416', 'Q326827']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P2416 resource:Q326827 }
artistic gymnastics
action filter_type
action find_reverse
entity artistic gymnastics
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'artistic gymnastics']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:sports_discipline_competed_in resource:artistic_gymnastics }
[]
common name
Q241847 Q4805307 Q390877
SYSTEM
McKayla Maroney, Ashleigh Brennan, Agata Karczmarek
Q241847 Q4805307 Q390877
(c(Q502895),P2416,Q326827)
action filter_type
action find_reverse
entity Q326827
relation P2416
type Q502895
[ANSWERS] competed in that type of sport
[{'concept': 'Q502895'}, 'P2416', 'Q326827']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P2416 resource:Q326827 }
McKayla Maroney Ashleigh Brennan Agata Karczmarek
McKayla Maroney, Ashleigh Brennan and Agata Karczmarek competed in that type of sport
McKayla Maroney Ashleigh Brennan Agata Karczmarek
action filter_type
action find_reverse
entity artistic gymnastics
relation sports discipline competed in
type common name
[{'concept': 'common name'}, 'sports discipline competed in', 'artistic gymnastics']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:sports_discipline_competed_in resource:artistic_gymnastics }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1028181
P180
Q12737077 Q3305213 Q18783400
USER
Which occupations are demonstrated in more number of paintings and genres of sculpture than painter ?
(c(Q3305213)|c(Q18783400),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q1028181
relation P180
type Q3305213
type Q18783400
[[{'concept': 'Q3305213'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?b ) WHERE { { ?l property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q3305213 } UNION { ?l property:P180 ?j . ?l rdf:type ontology:Q18783400 . ?j rdf:type ontology:Q12737077 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P180 resource:Q1028181 . { { ?y rdf:type ontology:Q3305213 } UNION { ?y rdf:type ontology:Q18783400 } } } } . FILTER ( ?b > ?p ) }
painter
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity painter
relation depicts
type painting
type genre of sculpture
[[{'concept': 'painting'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?b ) WHERE { { ?l property:depicts ?j . ?j rdf:type ontology:occupation . ?l rdf:type ontology:painting } UNION { ?l property:depicts ?j . ?l rdf:type ontology:genre_of_sculpture . ?j rdf:type ontology:occupation } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:depicts resource:painter . { { ?y rdf:type ontology:painting } UNION { ?y rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?b > ?p ) }
[]
occupation painting genre of sculpture
Q131512 Q4991371 Q19723482
SYSTEM
farmer, soldier, mandolinist
Q131512 Q19723482 Q733786 Q12059906 Q4991371 Q15296811 Q42603
(c(Q3305213)|c(Q18783400),P180,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q1028181
relation P180
type Q3305213
type Q18783400
The [ANSWERS] are demonstrated in more number of paintings and genres of sculpture than painter
[[{'concept': 'Q3305213'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?b ) WHERE { { ?l property:P180 ?j . ?j rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q3305213 } UNION { ?l property:P180 ?j . ?l rdf:type ontology:Q18783400 . ?j rdf:type ontology:Q12737077 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P180 resource:Q1028181 . { { ?y rdf:type ontology:Q3305213 } UNION { ?y rdf:type ontology:Q18783400 } } } } . FILTER ( ?b > ?p ) }
farmer mandolinist monk herder soldier draughtsperson priest
The farmer, soldier and mandolinist are demonstrated in more number of paintings and genres of sculpture than painter
farmer soldier mandolinist
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity painter
relation depicts
type painting
type genre of sculpture
[[{'concept': 'painting'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?b ) WHERE { { ?l property:depicts ?j . ?j rdf:type ontology:occupation . ?l rdf:type ontology:painting } UNION { ?l property:depicts ?j . ?l rdf:type ontology:genre_of_sculpture . ?j rdf:type ontology:occupation } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:depicts resource:painter . { { ?y rdf:type ontology:painting } UNION { ?y rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?b > ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q4991371
P106
Q1186933 Q6619679
USER
How many racess of StarCraft and fictional humanoids have the profession of soldier ?
(c(Q1186933),P106,Q4991371) (c(Q6619679),P106,Q4991371)
action count
action union
action filter_type
action find_reverse
entity Q4991371
relation P106
type Q1186933
action filter_type
action find_reverse
entity Q4991371
relation P106
type Q6619679
[{'concept': 'Q1186933'}, 'P106', 'Q4991371'] [{'concept': 'Q6619679'}, 'P106', 'Q4991371']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { ?r property:P106 resource:Q4991371 . ?r rdf:type ontology:Q1186933 } UNION { ?r property:P106 resource:Q4991371 . ?r rdf:type ontology:Q6619679 } }
soldier
action count
action union
action filter_type
action find_reverse
entity soldier
relation occupation
type races of StarCraft
action filter_type
action find_reverse
entity soldier
relation occupation
type fictional humanoid
[{'concept': 'races of StarCraft'}, 'occupation', 'soldier'] [{'concept': 'fictional humanoid'}, 'occupation', 'soldier']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { ?r property:occupation resource:soldier . ?r rdf:type ontology:races_of_StarCraft } UNION { ?r property:occupation resource:soldier . ?r rdf:type ontology:fictional_humanoid } }
[]
races of StarCraft fictional humanoid
SYSTEM
1 racess of StarCraft and 105 fictional humanoids
Q2556873 Q3529664 Q2183377 Q7976745 Q6695752 Q14921007 Q1004222 Q10288335 Q4647898 Q2316151 Q649546 Q3018732 Q752877 Q2840601 Q23832061 Q3017233 Q3127510 Q3631675 Q6694746 Q3026186 Q2405147 Q23767814 Q2221007 Q2720500 Q187349 Q3177510 Q2722732 Q3308575 Q1163861 Q1918366 Q3143575 Q2477069 Q3358917 Q2724227 Q3077690 Q629034 Q5407172 Q3473445 Q26817988 Q2722692 Q6148165 Q2725594 Q2326044 Q2127553 Q1152953 Q20047779 Q1286779 Q2859252 Q3181324 Q951317 Q23842775 Q128639 Q3545090 Q719661 Q3313525 Q6197796 Q2985943 Q2572443 Q1653903 Q857173 Q23852015 Q4570915 Q1528452 Q16899410 Q2346693 Q3487121 Q2461109 Q2435789 Q2666252 Q1622084 Q2060930 Q2499763 Q2978714 Q2448661 Q20047742 Q12177503 Q286359 Q6301613 Q2102728 Q9295327 Q23842900 Q287297 Q2607112 Q7816255 Q10314720 Q4931061 Q339289 Q2248590 Q1503373 Q282634 Q2885862 Q3513000 Q2703860 Q7195639 Q1133057 Q3080332 Q717722 Q2928603 Q3459134 Q10288693 Q1049471 Q5531983 Q3498720 Q3040245 Q2829308 Q621358
(c(Q1186933),P106,Q4991371) (c(Q6619679),P106,Q4991371)
action count
action union
action filter_type
action find_reverse
entity Q4991371
relation P106
type Q1186933
action filter_type
action find_reverse
entity Q4991371
relation P106
type Q6619679
[ANSWER]
[{'concept': 'Q1186933'}, 'P106', 'Q4991371'] [{'concept': 'Q6619679'}, 'P106', 'Q4991371']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { ?r property:P106 resource:Q4991371 . ?r rdf:type ontology:Q1186933 } UNION { ?r property:P106 resource:Q4991371 . ?r rdf:type ontology:Q6619679 } }
John Stewart Titus Pullo Karl Agathon Wayne Unser Luc Deveraux Mark DeSalvo Bulldog Drummond Gareth Mallory A. J. Chegwidden B. A. Baracus Sephiroth David Rossi William Riker Alvin Kersh Ross's Soldier Dave Robicheaux Harmon Rabb B. D. Lt. Falcon Diane Beckman Angus MacGyver Soldier Teddy Altman Jack Bristow Dr. John Watson Jerry Tumbler Arvin Sloane Michael Westen Marv John Clark Hyacinthe Chabert Jeffrey Sinclair General Orlov Walter Skinner Forrest Gump Tony Montana Eugene Debs Hartke Sarah MacKenzie Soldier Duke Nukem Tom Fletcher Tommy Vercetti Paulie Gualtieri H. M. Murdock Logan Echolls General Pushkin Seeley Booth Aqueduct Nguyen Toon John Rambo Handsome Soldier Zapp Brannigan Templeton "Faceman" Peck Jack O'Neill Mike S. Blueberry Jim Robinson John "Hannibal" Smith Deep Throat Sonya Blade George Hammond Sterns Lab Soldier Alf Stewart Metamorpho Private Compton Dirk Pitt Snake Plissken General Ourumov Roger Murtaugh Ronald Greer Sam Trautman Brigadier Gerard Sebastian Moran Clay Morrow Felix Gaeta Commander Carter Nicholas Brody Sarah Kerrigan General Gogol Colonel Akakievich General Koskov Command Van Soldier Q Harry Bosch Tom Hughes Kronsteen Bo Buchanan J. R. Ewing Michael Knight Principal Skinner Martin Riggs Bart Mancuso Dwayne Hicks Meryl Silverburgh Piney Winston Ehe Shaoge John Sheridan Joe Dawson Burr Redding Colonel Kurtz General Medrano Adrian Shephard General Joseph Colton Travis Bickle Lucius Vorenus Al Calavicci Lee Adama
1 racess of StarCraft and 105 fictional humanoids
action count
action union
action filter_type
action find_reverse
entity soldier
relation occupation
type races of StarCraft
action filter_type
action find_reverse
entity soldier
relation occupation
type fictional humanoid
[{'concept': 'races of StarCraft'}, 'occupation', 'soldier'] [{'concept': 'fictional humanoid'}, 'occupation', 'soldier']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { ?r property:occupation resource:soldier . ?r rdf:type ontology:races_of_StarCraft } UNION { ?r property:occupation resource:soldier . ?r rdf:type ontology:fictional_humanoid } }
[]