Simple Question (Direct)
Simple Question
Q3610365
P27
Q15617994
USER
Which administrative territory is the native country of Alessandro Turini ?
(Q3610365,P27,c(Q15617994))
action filter_type
action find
entity Q3610365
relation P27
type Q15617994
['Q3610365', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3610365 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Alessandro Turini
action filter_type
action find
entity Alessandro Turini
relation country of citizenship
type designation for an administrative territorial entity
['Alessandro Turini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Alessandro_Turini property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3610365,P27,c(Q15617994))
action filter_type
action find
entity Q3610365
relation P27
type Q15617994
[ANSWER] is the native country of Alessandro Turini
['Q3610365', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3610365 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Italy
Italy is the native country of Alessandro Turini
Italy
action filter_type
action find
entity Alessandro Turini
relation country of citizenship
type designation for an administrative territorial entity
['Alessandro Turini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Alessandro_Turini property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3610365
P21
Q290
USER
Which sex does that person have ?
(Q38,P21,c(Q290))
action filter_type
action find
entity Q3610365
relation P21
type Q290
['Q38', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q3610365 property:P21 ?k . ?k rdf:type ontology:Q290 }
Alessandro Turini
action filter_type
action find
entity Alessandro Turini
relation gender
type sex
['Italy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Alessandro_Turini property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q38,P21,c(Q290))
action filter_type
action find
entity Q3610365
relation P21
type Q290
That person has a [ANSWER]
['Q38', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q3610365 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Alessandro Turini
relation gender
type sex
['Italy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Alessandro_Turini property:gender ?k . ?k rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q12300939 Q3610365
P21
Q290
USER
Or Alex Friedmann?
OR((Q3610365,P21,c(Q290)), (Q12300939,P21,c(Q290)))
action filter_type
action union
action find
entity Q3610365
relation P21
action find
entity Q12300939
relation P21
type Q290
{'OR': [['Q3610365', 'P21', {'concept': 'Q290'}], ['Q12300939', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?t ) { ( resource:Q3610365 ) ( resource:Q12300939 ) } . ?t property:P21 ?l } . ?l rdf:type ontology:Q290 }
Alex Friedmann Alessandro Turini
action filter_type
action union
action find
entity Alessandro Turini
relation gender
action find
entity Alex Friedmann
relation gender
type sex
{'OR': [['Alessandro Turini', 'gender', {'concept': 'sex'}], ['Alex Friedmann', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?t ) { ( resource:Alessandro_Turini ) ( resource:Alex_Friedmann ) } . ?t property:gender ?l } . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q3610365,P21,c(Q290)), (Q12300939,P21,c(Q290)))
action filter_type
action union
action find
entity Q3610365
relation P21
action find
entity Q12300939
relation P21
type Q290
[ANSWER]
{'OR': [['Q3610365', 'P21', {'concept': 'Q290'}], ['Q12300939', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?t ) { ( resource:Q3610365 ) ( resource:Q12300939 ) } . ?t property:P21 ?l } . ?l rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Alessandro Turini
relation gender
action find
entity Alex Friedmann
relation gender
type sex
{'OR': [['Alessandro Turini', 'gender', {'concept': 'sex'}], ['Alex Friedmann', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?t ) { ( resource:Alessandro_Turini ) ( resource:Alex_Friedmann ) } . ?t property:gender ?l } . ?l rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q12300939
P27
Q1048835
USER
How many political territories are Alex Friedmann a civilian of ?
(Q12300939,P27,c(Q1048835))
action count
action filter_type
action find
entity Q12300939
relation P27
type Q1048835
['Q12300939', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Q12300939 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Alex Friedmann
action count
action filter_type
action find
entity Alex Friedmann
relation country of citizenship
type political territorial entity
['Alex Friedmann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Alex_Friedmann property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q35
(Q12300939,P27,c(Q1048835))
action count
action filter_type
action find
entity Q12300939
relation P27
type Q1048835
[ANSWER]
['Q12300939', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Q12300939 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Denmark
1
action count
action filter_type
action find
entity Alex Friedmann
relation country of citizenship
type political territorial entity
['Alex Friedmann', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { resource:Alex_Friedmann property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12300939
P106
Q12737077
USER
What is the profession of that person ?
action filter_type
action find
entity Q12300939
relation P106
type Q12737077
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q12300939 property:P106 ?o }
Alex Friedmann
action filter_type
action find
entity Alex Friedmann
relation occupation
type occupation
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Alex_Friedmann property:occupation ?o }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
action filter_type
action find
entity Q12300939
relation P106
type Q12737077
The profession of that person is an [ANSWER]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q12300939 property:P106 ?o }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Alex Friedmann
relation occupation
type occupation
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Alex_Friedmann property:occupation ?o }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q2342494 Q43229
USER
Which occupations are the area of approximately the same number of collectables and organizations as that occupation ?
(c(Q2342494)|c(Q43229),P101,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q2342494
type Q43229
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) ?m WHERE { VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q43229 ) } . ?b rdf:type ?x } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:P101 resource:Q937857 . { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:Q2342494 ) ( ontology:Q43229 ) } } } } . FILTER ( ?k = ?f ) }
action approx
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type collectable
type organization
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) ?m WHERE { VALUES ( ?x ) { ( ontology:collectable ) ( ontology:organization ) } . ?b rdf:type ?x } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:field_of_work resource:association_football_player . { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:collectable ) ( ontology:organization ) } } } } . FILTER ( ?k = ?f ) }
[]
occupation collectable organization
Q2855502 Q3621491 Q1051088
SYSTEM
chief of police, archaeologist, Commissioner of Baseball
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q39631 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q17156912 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q2405480 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q16009483 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q42603 Q3621491 Q11774891 Q6981670
(c(Q2342494)|c(Q43229),P101,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q2342494
type Q43229
[ANSWERS] are the area of approximately the same number of collectables and organizations as that occupation
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) ?m WHERE { VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q43229 ) } . ?b rdf:type ?x } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:P101 resource:Q937857 . { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:Q2342494 ) ( ontology:Q43229 ) } } } } . FILTER ( ?k = ?f ) }
novelist legislator singer business magnate secretary teacher physician sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer art director educationist seiyū bassist wood carver model violinist malariologist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist voice actor journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary sideshow performer editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer priest archaeologist ice hockey player Navajo weaving
Chief of police, archaeologist and Commissioner of Baseball are the area of approximately the same number of collectables and organizations as that occupation
chief of police archaeologist Commissioner of Baseball
action approx
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type collectable
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type collectable
type organization
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) ?m WHERE { VALUES ( ?x ) { ( ontology:collectable ) ( ontology:organization ) } . ?b rdf:type ?x } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:field_of_work resource:association_football_player . { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:collectable ) ( ontology:organization ) } } } } . FILTER ( ?k = ?f ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1051088
P39
Q502895
USER
Who were responsible for occupying the position of Commissioner of Baseball ?
(c(Q502895),P39,Q1051088)
action filter_type
action find_reverse
entity Q1051088
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1051088']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q1051088 . ?d rdf:type ontology:Q502895 }
Commissioner of Baseball
action filter_type
action find_reverse
entity Commissioner of Baseball
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Commissioner of Baseball']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:Commissioner_of_Baseball . ?d rdf:type ontology:common_name }
[]
common name
Q573029 Q278559 Q3106481
SYSTEM
Happy Chandler, A. Bartlett Giamatti, Kenesaw Mountain Landis
Q573029 Q3067674 Q3077090 Q3106481 Q2927496 Q278559 Q2740420 Q713746
(c(Q502895),P39,Q1051088)
action filter_type
action find_reverse
entity Q1051088
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of Commissioner of Baseball
[{'concept': 'Q502895'}, 'P39', 'Q1051088']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q1051088 . ?d rdf:type ontology:Q502895 }
Happy Chandler Fay Vincent Ford Frick Kenesaw Mountain Landis Bud Selig A. Bartlett Giamatti Bowie Kuhn Peter Ueberroth
Happy Chandler, A. Bartlett Giamatti and Kenesaw Mountain Landis were responsible for occupying the position of Commissioner of Baseball
Happy Chandler A. Bartlett Giamatti Kenesaw Mountain Landis
action filter_type
action find_reverse
entity Commissioner of Baseball
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Commissioner of Baseball']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:Commissioner_of_Baseball . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q573029 Q278559 Q3106481
P21
Q290
USER
Which sexes do Happy Chandler, A. Bartlett Giamatti and Kenesaw Mountain Landis possess ?
(Q573029,P21,c(Q290)) (Q278559,P21,c(Q290)) (Q3106481,P21,c(Q290))
action union
action filter_type
action find
entity Q573029
relation P21
type Q290
action filter_type
action find
entity Q278559
relation P21
type Q290
action filter_type
action find
entity Q3106481
relation P21
type Q290
['Q573029', 'P21', {'concept': 'Q290'}] ['Q278559', 'P21', {'concept': 'Q290'}] ['Q3106481', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { { resource:Q573029 property:P21 ?i . ?i rdf:type ontology:Q290 } UNION { resource:Q278559 property:P21 ?i . ?i rdf:type ontology:Q290 } }
Happy Chandler A. Bartlett Giamatti Kenesaw Mountain Landis
action union
action filter_type
action find
entity Happy Chandler
relation gender
type sex
action filter_type
action find
entity A. Bartlett Giamatti
relation gender
type sex
action filter_type
action find
entity Kenesaw Mountain Landis
relation gender
type sex
['Happy Chandler', 'gender', {'concept': 'sex'}] ['A. Bartlett Giamatti', 'gender', {'concept': 'sex'}] ['Kenesaw Mountain Landis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { { resource:Happy_Chandler property:gender ?i . ?i rdf:type ontology:sex } UNION { resource:A._Bartlett_Giamatti property:gender ?i . ?i rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q573029,P21,c(Q290)) (Q278559,P21,c(Q290)) (Q3106481,P21,c(Q290))
action union
action filter_type
action find
entity Q573029
relation P21
type Q290
action filter_type
action find
entity Q278559
relation P21
type Q290
action filter_type
action find
entity Q3106481
relation P21
type Q290
Happy Chandler , A. Bartlett Giamatti and Kenesaw Mountain Landis possess the [ANSWER], [ANSWER] and [ANSWER]
['Q573029', 'P21', {'concept': 'Q290'}] ['Q278559', 'P21', {'concept': 'Q290'}] ['Q3106481', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { { resource:Q573029 property:P21 ?i . ?i rdf:type ontology:Q290 } UNION { resource:Q278559 property:P21 ?i . ?i rdf:type ontology:Q290 } }
male male male
Happy Chandler , A. Bartlett Giamatti and Kenesaw Mountain Landis possess the male, male and male
male male male
action union
action filter_type
action find
entity Happy Chandler
relation gender
type sex
action filter_type
action find
entity A. Bartlett Giamatti
relation gender
type sex
action filter_type
action find
entity Kenesaw Mountain Landis
relation gender
type sex
['Happy Chandler', 'gender', {'concept': 'sex'}] ['A. Bartlett Giamatti', 'gender', {'concept': 'sex'}] ['Kenesaw Mountain Landis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { { resource:Happy_Chandler property:gender ?i . ?i rdf:type ontology:sex } UNION { resource:A._Bartlett_Giamatti property:gender ?i . ?i rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q573029
P69
Q163740
USER
Which nonprofit organization is Happy Chandler an alumni of ?
(Q573029,P69,c(Q163740))
action filter_type
action find
entity Q573029
relation P69
type Q163740
['Q573029', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?t WHERE { resource:Q573029 property:P69 ?t . ?t rdf:type ontology:Q163740 }
Happy Chandler
action filter_type
action find
entity Happy Chandler
relation educated at
type nonprofit organization
['Happy Chandler', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?t WHERE { resource:Happy_Chandler property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q956056
SYSTEM
Transylvania University
Q956056
(Q573029,P69,c(Q163740))
action filter_type
action find
entity Q573029
relation P69
type Q163740
The [ANSWER] is Happy Chandler an alumni of
['Q573029', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?t WHERE { resource:Q573029 property:P69 ?t . ?t rdf:type ontology:Q163740 }
Transylvania University
The Transylvania University is Happy Chandler an alumni of
Transylvania University
action filter_type
action find
entity Happy Chandler
relation educated at
type nonprofit organization
['Happy Chandler', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?t WHERE { resource:Happy_Chandler property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7117550
Q163740
USER
And also tell me about P. Steven Sangren?
(Q7117550,P69,c(Q163740))
action filter_type
action find
entity Q7117550
relation P69
type Q163740
['Q7117550', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q163740 . resource:Q7117550 property:P69 ?r }
P. Steven Sangren
action filter_type
action find
entity P. Steven Sangren
relation educated at
type nonprofit organization
['P. Steven Sangren', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:nonprofit_organization . resource:P._Steven_Sangren property:educated_at ?r }
[]
nonprofit organization
Q41506 Q21578
SYSTEM
Stanford University, Princeton University
Q41506 Q21578
(Q7117550,P69,c(Q163740))
action filter_type
action find
entity Q7117550
relation P69
type Q163740
[ANSWERS]
['Q7117550', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q163740 . resource:Q7117550 property:P69 ?r }
Stanford University Princeton University
Stanford University Princeton University
action filter_type
action find
entity P. Steven Sangren
relation educated at
type nonprofit organization
['P. Steven Sangren', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:nonprofit_organization . resource:P._Steven_Sangren property:educated_at ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q590750
P69
Q502895
USER
How many people were educated at male or Italian Socialist Party ?
(c(Q502895),P69,Q6581097) (c(Q502895),P69,Q590750)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
action filter_type
action find_reverse
entity Q590750
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097'] [{'concept': 'Q502895'}, 'P69', 'Q590750']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { ?u rdf:type ontology:Q502895 . ?u property:P69 resource:Q6581097 } UNION { ?u property:P69 resource:Q590750 . ?u rdf:type ontology:Q502895 } }
male Italian Socialist Party
action count
action union
action filter_type
action find_reverse
entity male
relation educated at
type common name
action filter_type
action find_reverse
entity Italian Socialist Party
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male'] [{'concept': 'common name'}, 'educated at', 'Italian Socialist Party']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { ?u rdf:type ontology:common_name . ?u property:educated_at resource:male } UNION { ?u property:educated_at resource:Italian_Socialist_Party . ?u rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q4662307 Q3751546
(c(Q502895),P69,Q6581097) (c(Q502895),P69,Q590750)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
action filter_type
action find_reverse
entity Q590750
relation P69
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q6581097'] [{'concept': 'Q502895'}, 'P69', 'Q590750']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { ?u rdf:type ontology:Q502895 . ?u property:P69 resource:Q6581097 } UNION { ?u property:P69 resource:Q590750 . ?u rdf:type ontology:Q502895 } }
Aaron Parchem Franco Reviglio
2
action count
action union
action filter_type
action find_reverse
entity male
relation educated at
type common name
action filter_type
action find_reverse
entity Italian Socialist Party
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male'] [{'concept': 'common name'}, 'educated at', 'Italian Socialist Party']
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { ?u rdf:type ontology:common_name . ?u property:educated_at resource:male } UNION { ?u property:educated_at resource:Italian_Socialist_Party . ?u rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6451510
P54
Q1194951
USER
What is Kyle Williams a member of ?
(Q6451510,P54,c(Q1194951))
action filter_type
action find
entity Q6451510
relation P54
type Q1194951
['Q6451510', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?g WHERE { resource:Q6451510 property:P54 ?g . ?g rdf:type ontology:Q1194951 }
Kyle Williams
action filter_type
action find
entity Kyle Williams
relation member of sports team
type national sports team
['Kyle Williams', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?g WHERE { resource:Kyle_Williams property:member_of_sports_team ?g . ?g rdf:type ontology:national_sports_team }
[]
national sports team
Q244590
SYSTEM
Bahamas national football team
Q244590
(Q6451510,P54,c(Q1194951))
action filter_type
action find
entity Q6451510
relation P54
type Q1194951
Kyle Williams a member of is the [ANSWER]
['Q6451510', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?g WHERE { resource:Q6451510 property:P54 ?g . ?g rdf:type ontology:Q1194951 }
Bahamas national football team
Kyle Williams a member of is the Bahamas national football team
Bahamas national football team
action filter_type
action find
entity Kyle Williams
relation member of sports team
type national sports team
['Kyle Williams', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?g WHERE { resource:Kyle_Williams property:member_of_sports_team ?g . ?g rdf:type ontology:national_sports_team }
[]