Simple Question (Direct)
Simple Question
Q2688704
P69
Q163740
USER
Which nonprofit organization is the alma mater of Rufus Wheeler Peckham ?
(Q2688704,P69,c(Q163740))
action filter_type
action find
entity Q2688704
relation P69
type Q163740
['Q2688704', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q163740 . resource:Q2688704 property:P69 ?i }
Rufus Wheeler Peckham
action filter_type
action find
entity Rufus Wheeler Peckham
relation educated at
type nonprofit organization
['Rufus Wheeler Peckham', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:nonprofit_organization . resource:Rufus_Wheeler_Peckham property:educated_at ?i }
[]
nonprofit organization
Q1567748
SYSTEM
Union College
Q1567748
(Q2688704,P69,c(Q163740))
action filter_type
action find
entity Q2688704
relation P69
type Q163740
[ANSWER] is the alma mater of Rufus Wheeler Peckham
['Q2688704', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q163740 . resource:Q2688704 property:P69 ?i }
Union College
Union College is the alma mater of Rufus Wheeler Peckham
Union College
action filter_type
action find
entity Rufus Wheeler Peckham
relation educated at
type nonprofit organization
['Rufus Wheeler Peckham', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:nonprofit_organization . resource:Rufus_Wheeler_Peckham property:educated_at ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1567748
P17
Q15617994
USER
Which administrative territory does that nonprofit organization belong to ?
(Q1567748,P17,c(Q15617994))
action filter_type
action find
entity Q1567748
relation P17
type Q15617994
['Q1567748', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1567748 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Union College
action filter_type
action find
entity Union College
relation country
type designation for an administrative territorial entity
['Union College', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Union_College property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1567748,P17,c(Q15617994))
action filter_type
action find
entity Q1567748
relation P17
type Q15617994
That nonprofit organization belongs to the [ANSWER]
['Q1567748', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1567748 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
That nonprofit organization belongs to the United States of America
United States of America
action filter_type
action find
entity Union College
relation country
type designation for an administrative territorial entity
['Union College', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Union_College property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P291
Q1914636 Q2342494
USER
How many activities or collectables were published in that administrative territory ?
(c(Q1914636),P291,Q30) (c(Q2342494),P291,Q30) (c(Q1914636),P291,Q30) (c(Q2342494),P291,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P291
type Q1914636
action filter_type
action find_reverse
entity Q30
relation P291
type Q2342494
[{'concept': 'Q1914636'}, 'P291', 'Q30'] [{'concept': 'Q2342494'}, 'P291', 'Q30'] [{'concept': 'Q1914636'}, 'P291', 'Q30'] [{'concept': 'Q2342494'}, 'P291', 'Q30']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q1914636 ) } }
action count
action union
action filter_type
action find_reverse
entity United States of America
relation place of publication
type activity
action filter_type
action find_reverse
entity United States of America
relation place of publication
type collectable
[{'concept': 'activity'}, 'place of publication', 'United States of America'] [{'concept': 'collectable'}, 'place of publication', 'United States of America'] [{'concept': 'activity'}, 'place of publication', 'United States of America'] [{'concept': 'collectable'}, 'place of publication', 'United States of America']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:collectable ) ( ontology:activity ) } }
[]
activity collectable
SYSTEM
19
Q5287318 Q251604 Q4632382 Q24568924 Q5200228 Q11323183 Q5287315 Q5614417 Q5287314 Q5287321 Q2894284 Q22337596 Q7773132 Q130310 Q5287313 Q5287316 Q7745921 Q5233762 Q4102794
(c(Q1914636),P291,Q30) (c(Q2342494),P291,Q30) (c(Q1914636),P291,Q30) (c(Q2342494),P291,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P291
type Q1914636
action filter_type
action find_reverse
entity Q30
relation P291
type Q2342494
[ANSWER]
[{'concept': 'Q1914636'}, 'P291', 'Q30'] [{'concept': 'Q2342494'}, 'P291', 'Q30'] [{'concept': 'Q1914636'}, 'P291', 'Q30'] [{'concept': 'Q2342494'}, 'P291', 'Q30']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q1914636 ) } }
Doctor Dolittle's Zoo The Story of Doctor Dolittle 26 Fairmount Avenue The Time of Their Lives (Hardcover) Cypherpunks Doctor Dolittle's Puddleby Adventures Doctor Dolittle's Circus Gub Gub's Book Doctor Dolittle's Garden Doctor Dolittle in the Moon Doctor Dolittle and the Green Canary Historical Dictionary of Tennis The Voyages of Doctor Dolittle Sweet Dreams Doctor Dolittle's Caravan Doctor Dolittle's Post Office The Last Opium Den Doctor Dolittle and the Secret Lake Valentine
19
action count
action union
action filter_type
action find_reverse
entity United States of America
relation place of publication
type activity
action filter_type
action find_reverse
entity United States of America
relation place of publication
type collectable
[{'concept': 'activity'}, 'place of publication', 'United States of America'] [{'concept': 'collectable'}, 'place of publication', 'United States of America'] [{'concept': 'activity'}, 'place of publication', 'United States of America'] [{'concept': 'collectable'}, 'place of publication', 'United States of America']
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { ?l rdf:type ?g . VALUES ( ?g ) { ( ontology:collectable ) ( ontology:activity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2688704
P39
Q12737077
USER
Which occupation was a position for which Rufus Wheeler Peckham was appointed ?
(Q2688704,P39,c(Q12737077))
action filter_type
action find
entity Q2688704
relation P39
type Q12737077
['Q2688704', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2688704 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
Rufus Wheeler Peckham
action filter_type
action find
entity Rufus Wheeler Peckham
relation position held
type occupation
['Rufus Wheeler Peckham', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Rufus_Wheeler_Peckham property:position_held ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q2688704,P39,c(Q12737077))
action filter_type
action find
entity Q2688704
relation P39
type Q12737077
The [ANSWER] was a position for which Rufus Wheeler Peckham was appointed
['Q2688704', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2688704 property:P39 ?n . ?n rdf:type ontology:Q12737077 }
United States representative
The United States representative was a position for which Rufus Wheeler Peckham was appointed
United States representative
action filter_type
action find
entity Rufus Wheeler Peckham
relation position held
type occupation
['Rufus Wheeler Peckham', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Rufus_Wheeler_Peckham property:position_held ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2688704
P106
Q12737077
USER
Which occupations are the professions of Rufus Wheeler Peckham ?
(Q2688704,P106,c(Q12737077))
action filter_type
action find
entity Q2688704
relation P106
type Q12737077
['Q2688704', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q2688704 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Rufus Wheeler Peckham
action filter_type
action find
entity Rufus Wheeler Peckham
relation occupation
type occupation
['Rufus Wheeler Peckham', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Rufus_Wheeler_Peckham property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q16533 Q82955
SYSTEM
judge, politician
Q16533 Q82955
(Q2688704,P106,c(Q12737077))
action filter_type
action find
entity Q2688704
relation P106
type Q12737077
The [ANSWERS] are the professions of Rufus Wheeler Peckham
['Q2688704', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q2688704 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
judge politician
The judge and politician are the professions of Rufus Wheeler Peckham
judge politician
action filter_type
action find
entity Rufus Wheeler Peckham
relation occupation
type occupation
['Rufus Wheeler Peckham', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Rufus_Wheeler_Peckham property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2688704
P102
Q7210356
USER
Which political organization is Rufus Wheeler Peckham a member of ?
(Q2688704,P102,c(Q7210356))
action filter_type
action find
entity Q2688704
relation P102
type Q7210356
['Q2688704', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q2688704 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Rufus Wheeler Peckham
action filter_type
action find
entity Rufus Wheeler Peckham
relation member of political party
type political organization
['Rufus Wheeler Peckham', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Rufus_Wheeler_Peckham property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q2688704,P102,c(Q7210356))
action filter_type
action find
entity Q2688704
relation P102
type Q7210356
The [ANSWER] is Rufus Wheeler Peckham a member of
['Q2688704', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q2688704 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Democratic Party
The Democratic Party is Rufus Wheeler Peckham a member of
Democratic Party
action filter_type
action find
entity Rufus Wheeler Peckham
relation member of political party
type political organization
['Rufus Wheeler Peckham', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Rufus_Wheeler_Peckham property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24412961
Q7210356
USER
And what about Florin-Ioan Porge?
(Q24412961,P102,c(Q7210356))
action filter_type
action find
entity Q24412961
relation P102
type Q7210356
['Q24412961', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q24412961 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Florin-Ioan Porge
action filter_type
action find
entity Florin-Ioan Porge
relation member of political party
type political organization
['Florin-Ioan Porge', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Florin-Ioan_Porge property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q852402 Q686228
SYSTEM
Democratic Liberal Party, National Liberal Party
Q852402 Q686228
(Q24412961,P102,c(Q7210356))
action filter_type
action find
entity Q24412961
relation P102
type Q7210356
[ANSWERS]
['Q24412961', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q24412961 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Democratic Liberal Party National Liberal Party
Democratic Liberal Party National Liberal Party
action filter_type
action find
entity Florin-Ioan Porge
relation member of political party
type political organization
['Florin-Ioan Porge', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Florin-Ioan_Porge property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]