Simple Question (Direct)
Simple Question
Q1646391
P463
Q811430
USER
Which construction had Josiah Quincy III as its member ?
(Q1646391,P463,c(Q811430))
action filter_type
action find
entity Q1646391
relation P463
type Q811430
['Q1646391', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?z WHERE { resource:Q1646391 property:P463 ?z . ?z rdf:type ontology:Q811430 }
Josiah Quincy III
action filter_type
action find
entity Josiah Quincy III
relation member of
type construction
['Josiah Quincy III', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?z WHERE { resource:Josiah_Quincy_III property:member_of ?z . ?z rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q1646391,P463,c(Q811430))
action filter_type
action find
entity Q1646391
relation P463
type Q811430
[ANSWER] had Josiah Quincy III as its member
['Q1646391', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?z WHERE { resource:Q1646391 property:P463 ?z . ?z rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
American Academy of Arts and Sciences had Josiah Quincy III as its member
American Academy of Arts and Sciences
action filter_type
action find
entity Josiah Quincy III
relation member of
type construction
['Josiah Quincy III', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?z WHERE { resource:Josiah_Quincy_III property:member_of ?z . ?z rdf:type ontology:construction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1646391
P937
Q56061
USER
Where did Josiah Quincy III work ?
(Q1646391,P937,c(Q56061))
action filter_type
action find
entity Q1646391
relation P937
type Q56061
['Q1646391', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q1646391 property:P937 ?x }
Josiah Quincy III
action filter_type
action find
entity Josiah Quincy III
relation work location
type administrative territorial entity
['Josiah Quincy III', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Josiah_Quincy_III property:work_location ?x }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q1646391,P937,c(Q56061))
action filter_type
action find
entity Q1646391
relation P937
type Q56061
Josiah Quincy III worked in [ANSWER]
['Q1646391', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q1646391 property:P937 ?x }
Boston
Josiah Quincy III worked in Boston
Boston
action filter_type
action find
entity Josiah Quincy III
relation work location
type administrative territorial entity
['Josiah Quincy III', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Josiah_Quincy_III property:work_location ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q320963
Q56061
USER
And what about Giuseppe Pella?
(Q320963,P937,c(Q56061))
action filter_type
action find
entity Q320963
relation P937
type Q56061
['Q320963', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q320963 property:P937 ?o }
Giuseppe Pella
action filter_type
action find
entity Giuseppe Pella
relation work location
type administrative territorial entity
['Giuseppe Pella', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Giuseppe_Pella property:work_location ?o }
[]
administrative territorial entity
Q239 Q220
SYSTEM
Brussels, Rome
Q239 Q220
(Q320963,P937,c(Q56061))
action filter_type
action find
entity Q320963
relation P937
type Q56061
[ANSWERS]
['Q320963', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q320963 property:P937 ?o }
Brussels Rome
Brussels Rome
action filter_type
action find
entity Giuseppe Pella
relation work location
type administrative territorial entity
['Giuseppe Pella', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Giuseppe_Pella property:work_location ?o }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q100
P276
Q811430 Q625994
USER
How many constructions and conventions are situated at Boston ?
(c(Q811430),P276,Q100) (c(Q625994),P276,Q100)
action count
action union
action filter_type
action find_reverse
entity Q100
relation P276
type Q811430
action filter_type
action find_reverse
entity Q100
relation P276
type Q625994
[{'concept': 'Q811430'}, 'P276', 'Q100'] [{'concept': 'Q625994'}, 'P276', 'Q100']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:Q625994 ) ( ontology:Q811430 ) } }
Boston
action count
action union
action filter_type
action find_reverse
entity Boston
relation location
type construction
action filter_type
action find_reverse
entity Boston
relation location
type convention
[{'concept': 'construction'}, 'location', 'Boston'] [{'concept': 'convention'}, 'location', 'Boston']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:convention ) ( ontology:construction ) } }
[]
construction convention
SYSTEM
1 constructions and 1 conventions
Q5361234 Q588487
(c(Q811430),P276,Q100) (c(Q625994),P276,Q100)
action count
action union
action filter_type
action find_reverse
entity Q100
relation P276
type Q811430
action filter_type
action find_reverse
entity Q100
relation P276
type Q625994
[ANSWER]
[{'concept': 'Q811430'}, 'P276', 'Q100'] [{'concept': 'Q625994'}, 'P276', 'Q100']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:Q625994 ) ( ontology:Q811430 ) } }
Eliot Hall PAX
1 constructions and 1 conventions
action count
action union
action filter_type
action find_reverse
entity Boston
relation location
type construction
action filter_type
action find_reverse
entity Boston
relation location
type convention
[{'concept': 'construction'}, 'location', 'Boston'] [{'concept': 'convention'}, 'location', 'Boston']
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f rdf:type ?o . VALUES ( ?o ) { ( ontology:convention ) ( ontology:construction ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P36
Q15617994
USER
Which administrative territories contain Rome as their capital ?
(c(Q15617994),P36,Q220)
action filter_type
action find_reverse
entity Q220
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q220']
SELECT DISTINCT ?h WHERE { ?h property:P36 resource:Q220 . ?h rdf:type ontology:Q15617994 }
Rome
action filter_type
action find_reverse
entity Rome
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Rome']
SELECT DISTINCT ?h WHERE { ?h property:capital resource:Rome . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q1282 Q3528124
SYSTEM
Italy, Lazio, Tibre
Q1282 Q38 Q3528124 Q1558632
(c(Q15617994),P36,Q220)
action filter_type
action find_reverse
entity Q220
relation P36
type Q15617994
[ANSWERS] contain Rome as their capital
[{'concept': 'Q15617994'}, 'P36', 'Q220']
SELECT DISTINCT ?h WHERE { ?h property:P36 resource:Q220 . ?h rdf:type ontology:Q15617994 }
Lazio Italy Tibre Rome
Italy, Lazio and Tibre contain Rome as their capital
Italy Lazio Tibre
action filter_type
action find_reverse
entity Rome
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Rome']
SELECT DISTINCT ?h WHERE { ?h property:capital resource:Rome . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P1427
Q15091377
USER
Which cycling races have their origin at Rome ?
(c(Q15091377),P1427,Q220)
action filter_type
action find_reverse
entity Q220
relation P1427
type Q15091377
[{'concept': 'Q15091377'}, 'P1427', 'Q220']
SELECT DISTINCT ?c WHERE { ?c property:P1427 resource:Q220 . ?c rdf:type ontology:Q15091377 }
Rome
action filter_type
action find_reverse
entity Rome
relation start point
type cycling race
[{'concept': 'cycling race'}, 'start point', 'Rome']
SELECT DISTINCT ?c WHERE { ?c property:start_point resource:Rome . ?c rdf:type ontology:cycling_race }
[]
cycling race
Q1526936 Q523146
SYSTEM
1960 Giro d'Italia, 1911 Giro d'Italia
Q1526936 Q523146
(c(Q15091377),P1427,Q220)
action filter_type
action find_reverse
entity Q220
relation P1427
type Q15091377
The [ANSWERS] have their origin at Rome
[{'concept': 'Q15091377'}, 'P1427', 'Q220']
SELECT DISTINCT ?c WHERE { ?c property:P1427 resource:Q220 . ?c rdf:type ontology:Q15091377 }
1960 Giro d'Italia 1911 Giro d'Italia
The 1960 Giro d'Italia and 1911 Giro d'Italia have their origin at Rome
1960 Giro d'Italia 1911 Giro d'Italia
action filter_type
action find_reverse
entity Rome
relation start point
type cycling race
[{'concept': 'cycling race'}, 'start point', 'Rome']
SELECT DISTINCT ?c WHERE { ?c property:start_point resource:Rome . ?c rdf:type ontology:cycling_race }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1526936 Q523146
P1444
Q56061
USER
Which administrative territories are the destination points for those cycling races ?
(Q1526936,P1444,c(Q56061)) (Q523146,P1444,c(Q56061))
action filter_type
action find
entity prev_answer
relation P1444
type Q56061
['Q1526936', 'P1444', {'concept': 'Q56061'}] ['Q523146', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . ?q property:P1444 ?p . VALUES ( ?q ) { ( resource:Q1526936 ) ( resource:Q523146 ) } }
1960 Giro d'Italia 1911 Giro d'Italia
action filter_type
action find
entity prev_answer
relation destination point
type administrative territorial entity
["1960 Giro d'Italia", 'destination point', {'concept': 'administrative territorial entity'}] ["1911 Giro d'Italia", 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . ?q property:destination_point ?p . VALUES ( ?q ) { ( resource:1960_Giro_d'Italia ) ( resource:1911_Giro_d'Italia ) } }
[]
administrative territorial entity
Q490 Q220
SYSTEM
Milan, Rome
Q490 Q220
(Q1526936,P1444,c(Q56061)) (Q523146,P1444,c(Q56061))
action filter_type
action find
entity prev_answer
relation P1444
type Q56061
[ANSWERS] are the destination points for those cycling races
['Q1526936', 'P1444', {'concept': 'Q56061'}] ['Q523146', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . ?q property:P1444 ?p . VALUES ( ?q ) { ( resource:Q1526936 ) ( resource:Q523146 ) } }
Milan Rome
Milan and Rome are the destination points for those cycling races
Milan Rome
action filter_type
action find
entity prev_answer
relation destination point
type administrative territorial entity
["1960 Giro d'Italia", 'destination point', {'concept': 'administrative territorial entity'}] ["1911 Giro d'Italia", 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . ?q property:destination_point ?p . VALUES ( ?q ) { ( resource:1960_Giro_d'Italia ) ( resource:1911_Giro_d'Italia ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q490 Q220
P1427
Q22348500
USER
Which cycling race classes have their origin at those administrative territories ?
(c(Q22348500),P1427,Q490) (c(Q22348500),P1427,Q220)
action filter_type
action find_reverse
entity prev_answer
relation P1427
type Q22348500
[{'concept': 'Q22348500'}, 'P1427', 'Q490'] [{'concept': 'Q22348500'}, 'P1427', 'Q220']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q22348500 . ?p property:P1427 ?v . VALUES ( ?v ) { ( resource:Q490 ) ( resource:Q220 ) } }
Milan Rome
action filter_type
action find_reverse
entity prev_answer
relation start point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Milan'] [{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Rome']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?p property:start_point ?v . VALUES ( ?v ) { ( resource:Milan ) ( resource:Rome ) } }
[]
cycling race class defined by the International Cycling Union
Q20111975 Q26208618 Q3768647
SYSTEM
2016 Milan–San Remo, 2016 Gran Premio della Liberazione, 2011 Giro d'Italia Femminile
Q20111975 Q26208618 Q3768647
(c(Q22348500),P1427,Q490) (c(Q22348500),P1427,Q220)
action filter_type
action find_reverse
entity prev_answer
relation P1427
type Q22348500
[ANSWERS] have their origin at those administrative territories
[{'concept': 'Q22348500'}, 'P1427', 'Q490'] [{'concept': 'Q22348500'}, 'P1427', 'Q220']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q22348500 . ?p property:P1427 ?v . VALUES ( ?v ) { ( resource:Q490 ) ( resource:Q220 ) } }
2016 Milan–San Remo 2016 Gran Premio della Liberazione 2011 Giro d'Italia Femminile
2016 Milan–San Remo, 2016 Gran Premio della Liberazione and 2011 Giro d'Italia Femminile have their origin at those administrative territories
2016 Milan–San Remo 2016 Gran Premio della Liberazione 2011 Giro d'Italia Femminile
action filter_type
action find_reverse
entity prev_answer
relation start point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Milan'] [{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Rome']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?p property:start_point ?v . VALUES ( ?v ) { ( resource:Milan ) ( resource:Rome ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q20111975 Q26208618 Q3768647
P641
Q31629
USER
What did those cycling race classes participate in ?
(Q20111975,P641,c(Q31629)) (Q26208618,P641,c(Q31629)) (Q3768647,P641,c(Q31629))
action filter_type
action find
entity prev_answer
relation P641
type Q31629
['Q20111975', 'P641', {'concept': 'Q31629'}] ['Q26208618', 'P641', {'concept': 'Q31629'}] ['Q3768647', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?a WHERE { ?y property:P641 ?a . ?a rdf:type ontology:Q31629 . VALUES ( ?y ) { ( resource:Q20111975 ) ( resource:Q26208618 ) ( resource:Q3768647 ) } }
2016 Milan–San Remo 2016 Gran Premio della Liberazione 2011 Giro d'Italia Femminile
action filter_type
action find
entity prev_answer
relation sport
type type of sport
['2016 Milan–San Remo', 'sport', {'concept': 'type of sport'}] ['2016 Gran Premio della Liberazione', 'sport', {'concept': 'type of sport'}] ["2011 Giro d'Italia Femminile", 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?a WHERE { ?y property:sport ?a . ?a rdf:type ontology:type_of_sport . VALUES ( ?y ) { ( resource:2016_Milan–San_Remo ) ( resource:2016_Gran_Premio_della_Liberazione ) ( resource:2011_Giro_d'Italia_Femminile ) } }
[]
type of sport
Q3609 Q3609 Q3609
SYSTEM
road bicycle racing
Q3609 Q3609 Q3609
(Q20111975,P641,c(Q31629)) (Q26208618,P641,c(Q31629)) (Q3768647,P641,c(Q31629))
action filter_type
action find
entity prev_answer
relation P641
type Q31629
Those cycling race classes participated in [ANSWER], [ANSWER] and [ANSWER]
['Q20111975', 'P641', {'concept': 'Q31629'}] ['Q26208618', 'P641', {'concept': 'Q31629'}] ['Q3768647', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?a WHERE { ?y property:P641 ?a . ?a rdf:type ontology:Q31629 . VALUES ( ?y ) { ( resource:Q20111975 ) ( resource:Q26208618 ) ( resource:Q3768647 ) } }
road bicycle racing road bicycle racing road bicycle racing
Those cycling race classes participated in road bicycle racing, road bicycle racing and road bicycle racing
road bicycle racing road bicycle racing road bicycle racing
action filter_type
action find
entity prev_answer
relation sport
type type of sport
['2016 Milan–San Remo', 'sport', {'concept': 'type of sport'}] ['2016 Gran Premio della Liberazione', 'sport', {'concept': 'type of sport'}] ["2011 Giro d'Italia Femminile", 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?a WHERE { ?y property:sport ?a . ?a rdf:type ontology:type_of_sport . VALUES ( ?y ) { ( resource:2016_Milan–San_Remo ) ( resource:2016_Gran_Premio_della_Liberazione ) ( resource:2011_Giro_d'Italia_Femminile ) } }
[]