Simple Question (Direct)
Simple Question
Q3182321
P102
Q7210356
USER
Which parties are John Purroy Mitchel affiliated with ?
(Q3182321,P102,c(Q7210356))
action filter_type
action find
entity Q3182321
relation P102
type Q7210356
['Q3182321', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q3182321 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
John Purroy Mitchel
action filter_type
action find
entity John Purroy Mitchel
relation member of political party
type political organization
['John Purroy Mitchel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:John_Purroy_Mitchel property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
political organization
Q5510268 Q29468
SYSTEM
Fusion Party, Republican Party
Q5510268 Q29468
(Q3182321,P102,c(Q7210356))
action filter_type
action find
entity Q3182321
relation P102
type Q7210356
John Purroy Mitchel are affiliated with [ANSWERS]
['Q3182321', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q3182321 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Fusion Party Republican Party
John Purroy Mitchel are affiliated with Fusion Party and Republican Party
Fusion Party Republican Party
action filter_type
action find
entity John Purroy Mitchel
relation member of political party
type political organization
['John Purroy Mitchel', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:John_Purroy_Mitchel property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3182321
P69
Q163740
USER
Where were John Purroy Mitchel educated ?
(Q3182321,P69,c(Q163740))
action filter_type
action find
entity Q3182321
relation P69
type Q163740
['Q3182321', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q163740 . resource:Q3182321 property:P69 ?h }
John Purroy Mitchel
action filter_type
action find
entity John Purroy Mitchel
relation educated at
type nonprofit organization
['John Purroy Mitchel', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:nonprofit_organization . resource:John_Purroy_Mitchel property:educated_at ?h }
[]
nonprofit organization
Q49088 Q3339059
SYSTEM
Columbia University, New York Law School
Q49088 Q3339059
(Q3182321,P69,c(Q163740))
action filter_type
action find
entity Q3182321
relation P69
type Q163740
John Purroy Mitchel were educated at [ANSWERS]
['Q3182321', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q163740 . resource:Q3182321 property:P69 ?h }
Columbia University New York Law School
John Purroy Mitchel were educated at Columbia University and New York Law School
Columbia University New York Law School
action filter_type
action find
entity John Purroy Mitchel
relation educated at
type nonprofit organization
['John Purroy Mitchel', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:nonprofit_organization . resource:John_Purroy_Mitchel property:educated_at ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3182321
P21
Q290
USER
What is the sex of that person ?
(Q49088,P21,c(Q290)) (Q3339059,P21,c(Q290))
action filter_type
action find
entity Q3182321
relation P21
type Q290
['Q49088', 'P21', {'concept': 'Q290'}] ['Q3339059', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q3182321 property:P21 ?y . ?y rdf:type ontology:Q290 }
John Purroy Mitchel
action filter_type
action find
entity John Purroy Mitchel
relation gender
type sex
['Columbia University', 'gender', {'concept': 'sex'}] ['New York Law School', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:John_Purroy_Mitchel property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q49088,P21,c(Q290)) (Q3339059,P21,c(Q290))
action filter_type
action find
entity Q3182321
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q49088', 'P21', {'concept': 'Q290'}] ['Q3339059', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q3182321 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity John Purroy Mitchel
relation gender
type sex
['Columbia University', 'gender', {'concept': 'sex'}] ['New York Law School', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:John_Purroy_Mitchel property:gender ?y . ?y rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q14514600 Q95074
USER
How many people were atleast 1 groups of fictional characters and fictional characters inspired by ?
(c(Q14514600)|c(Q95074),P941,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
value 1
[[{'concept': 'Q14514600'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?d WHERE { { ?n property:P941 ?d . ?d rdf:type ontology:Q502895 . ?n rdf:type ontology:Q14514600 } UNION { ?d rdf:type ontology:Q502895 . ?n rdf:type ontology:Q95074 . ?n property:P941 ?d } } GROUP BY ?d } . FILTER ( ?i >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
value 1
[[{'concept': 'group of fictional characters'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?d WHERE { { ?n property:inspired_by ?d . ?d rdf:type ontology:common_name . ?n rdf:type ontology:group_of_fictional_characters } UNION { ?d rdf:type ontology:common_name . ?n rdf:type ontology:fictional_character . ?n property:inspired_by ?d } } GROUP BY ?d } . FILTER ( ?i >= 1 ) }
[]
common name group of fictional characters fictional character
SYSTEM
94
Q3481979 Q40475 Q42229 Q5296307 Q129308 Q42305 Q558333 Q1067550 Q2707376 Q180919 Q105719 Q712955 Q8016 Q456270 Q649801 Q42786 Q2864567 Q228024 Q182450 Q3047248 Q2617543 Q711129 Q352 Q145746 Q921798 Q3984877 Q3741372 Q116462 Q357786 Q1779 Q56016 Q458779 Q73089 Q182462 Q575668 Q171745 Q100937 Q272068 Q2437296 Q9077 Q443540 Q1281170 Q46373 Q267803 Q284047 Q2552694 Q3498875 Q6577515 Q2975042 Q104109 Q16397 Q528428 Q83359 Q6246943 Q2402882 Q129429 Q2121085 Q212531 Q5294232 Q958996 Q94002 Q49285 Q27429917 Q1523 Q28493 Q527735 Q2181776 Q27429984 Q263241 Q356129 Q3925 Q34851 Q26806 Q2552902 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q2412941 Q297816 Q3525855 Q210447 Q2373032 Q3719992 Q199369 Q2110873 Q193406 Q733965 Q233845 Q3429566 Q3047181 Q237813 Q578878
(c(Q14514600)|c(Q95074),P941,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action find_reverse_tuple_counts
relation P941
type Q502895
type Q95074
value 1
[ANSWER]
[[{'concept': 'Q14514600'}, {'concept': 'Q95074'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?d WHERE { { ?n property:P941 ?d . ?d rdf:type ontology:Q502895 . ?n rdf:type ontology:Q14514600 } UNION { ?d rdf:type ontology:Q502895 . ?n rdf:type ontology:Q95074 . ?n property:P941 ?d } } GROUP BY ?d } . FILTER ( ?i >= 1 ) }
Sherri Stoner Joan Crawford Mel Gibson Donna Atwood John of England Richard I of England Buddy Hackett Charmaine Craig Dick Jones Natalie Wood Jean Harlow Bobby Driscoll Winston Churchill Eleanor Audley Fred Moore Audrey Hepburn Art Stevens John Smith George C. Scott Eddie Collins Marge Champion Terry-Thomas Adolf Hitler Joseph Sabu Dastagir Jeffrey Stone Armand d'Athos Helen Gahagan Douglas Divine Louis Armstrong Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Lionel Atwill Jeremy Irons Fred Astaire Heather Angel Eric Larson Moses Ollie Johnston Frances Bavier Edgar Degas Spring Byington Christy Turlington Madge Blake Steve Carlson Samuel Claire Du Brey Mary Pickford Bruce Lee Douglas Fairbanks Jr James Dean John Martin Helene Stanley Vivien Leigh Walter Catlett Kate Moss Donald DeFreeze Irene Bedard Barbara Stanwyck Sally Ride Michelle Stacy Ramesses II Ralph Fiennes Cedric Hardwicke Paul Collins John Culhane Mary Wickes John Stamos Grace Kelly Elizabeth Taylor Danny DeVito Hans Conried Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport The Fox and the Cat Sammy Davis, Jr. T. Hee Mark Hamill Pierre Gringoire Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Pocahontas Jack Carlson Gale Sondergaard Rhoda Williams Ed Kemmer Maila Nurmi Chief Powhatan
94
action count
action atleast
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action find_reverse_tuple_counts
relation inspired by
type common name
type fictional character
value 1
[[{'concept': 'group of fictional characters'}, {'concept': 'fictional character'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?d WHERE { { ?n property:inspired_by ?d . ?d rdf:type ontology:common_name . ?n rdf:type ontology:group_of_fictional_characters } UNION { ?d rdf:type ontology:common_name . ?n rdf:type ontology:fictional_character . ?n property:inspired_by ?d } } GROUP BY ?d } . FILTER ( ?i >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49088
P123
Q571
USER
Which book produced Columbia University ?
(c(Q571),P123,Q49088)
action filter_type
action find_reverse
entity Q49088
relation P123
type Q571
[{'concept': 'Q571'}, 'P123', 'Q49088']
SELECT DISTINCT ?h WHERE { ?h property:P123 resource:Q49088 . ?h rdf:type ontology:Q571 }
Columbia University
action filter_type
action find_reverse
entity Columbia University
relation publisher
type book
[{'concept': 'book'}, 'publisher', 'Columbia University']
SELECT DISTINCT ?h WHERE { ?h property:publisher resource:Columbia_University . ?h rdf:type ontology:book }
[]
book
Q19921053
SYSTEM
Catalogue of Officers and Graduates of Columbia University
Q19921053
(c(Q571),P123,Q49088)
action filter_type
action find_reverse
entity Q49088
relation P123
type Q571
Columbia [ANSWER] produced Columbia University
[{'concept': 'Q571'}, 'P123', 'Q49088']
SELECT DISTINCT ?h WHERE { ?h property:P123 resource:Q49088 . ?h rdf:type ontology:Q571 }
Catalogue of Officers and Graduates of Columbia University
Columbia Catalogue of Officers and Graduates of Columbia University produced Columbia University
Catalogue of Officers and Graduates of Columbia University
action filter_type
action find_reverse
entity Columbia University
relation publisher
type book
[{'concept': 'book'}, 'publisher', 'Columbia University']
SELECT DISTINCT ?h WHERE { ?h property:publisher resource:Columbia_University . ?h rdf:type ontology:book }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19921053
P921
Q163740
USER
What was the main subject in the work that book ?
(Q19921053,P921,c(Q163740))
action filter_type
action find
entity Q19921053
relation P921
type Q163740
['Q19921053', 'P921', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q19921053 property:P921 ?q . ?q rdf:type ontology:Q163740 }
Catalogue of Officers and Graduates of Columbia University
action filter_type
action find
entity Catalogue of Officers and Graduates of Columbia University
relation main subject
type nonprofit organization
['Catalogue of Officers and Graduates of Columbia University', 'main subject', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Catalogue_of_Officers_and_Graduates_of_Columbia_University property:main_subject ?q . ?q rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
(Q19921053,P921,c(Q163740))
action filter_type
action find
entity Q19921053
relation P921
type Q163740
The main subject in the work that book was from [ANSWER]
['Q19921053', 'P921', {'concept': 'Q163740'}]
SELECT DISTINCT ?q WHERE { resource:Q19921053 property:P921 ?q . ?q rdf:type ontology:Q163740 }
Columbia University
The main subject in the work that book was from Columbia University
Columbia University
action filter_type
action find
entity Catalogue of Officers and Graduates of Columbia University
relation main subject
type nonprofit organization
['Catalogue of Officers and Graduates of Columbia University', 'main subject', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?q WHERE { resource:Catalogue_of_Officers_and_Graduates_of_Columbia_University property:main_subject ?q . ?q rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q49088 Q60
P159
Q56061
USER
Is New York City the head office of Columbia University ?
(Q49088,P159,Q60)
action is_in
entity Q60
action find
entity Q49088
relation P159
['Q49088', 'P159', 'Q60']
ASK WHERE { resource:Q49088 property:P159 resource:Q60 }
Columbia University New York City
action is_in
entity New York City
action find
entity Columbia University
relation headquarters location
['Columbia University', 'headquarters location', 'New York City']
ASK WHERE { resource:Columbia_University property:headquarters_location resource:New_York_City }
[]
administrative territorial entity
SYSTEM
YES
(Q49088,P159,Q60)
action is_in
entity Q60
action find
entity Q49088
relation P159
[ANSWER]
['Q49088', 'P159', 'Q60']
ASK WHERE { resource:Q49088 property:P159 resource:Q60 }
Yes
action is_in
entity New York City
action find
entity Columbia University
relation headquarters location
['Columbia University', 'headquarters location', 'New York City']
ASK WHERE { resource:Columbia_University property:headquarters_location resource:New_York_City }
[]