Simple Question (Direct)
Simple Question
Q18145910
P180
Q502895
USER
Which person is expressed in Valentina of Milan ?
(Q18145910,P180,c(Q502895))
action filter_type
action find
entity Q18145910
relation P180
type Q502895
['Q18145910', 'P180', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q18145910 property:P180 ?k . ?k rdf:type ontology:Q502895 }
Valentina of Milan
action filter_type
action find
entity Valentina of Milan
relation depicts
type common name
['Valentina of Milan', 'depicts', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Valentina_of_Milan property:depicts ?k . ?k rdf:type ontology:common_name }
[]
common name
Q124682
SYSTEM
Valentina Visconti, Duchess of Orléans
Q124682
(Q18145910,P180,c(Q502895))
action filter_type
action find
entity Q18145910
relation P180
type Q502895
[ANSWER] is expressed in Valentina of Milan
['Q18145910', 'P180', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q18145910 property:P180 ?k . ?k rdf:type ontology:Q502895 }
Valentina Visconti, Duchess of Orléans
Valentina Visconti, Duchess of Orléans is expressed in Valentina of Milan
Valentina Visconti, Duchess of Orléans
action filter_type
action find
entity Valentina of Milan
relation depicts
type common name
['Valentina of Milan', 'depicts', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Valentina_of_Milan property:depicts ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18145910
P800
Q502895
USER
Who is author of Valentina of Milan ?
(c(Q502895),P800,Q18145910)
action filter_type
action find_reverse
entity Q18145910
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q18145910']
SELECT DISTINCT ?y WHERE { ?y property:P800 resource:Q18145910 . ?y rdf:type ontology:Q502895 }
Valentina of Milan
action filter_type
action find_reverse
entity Valentina of Milan
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Valentina of Milan']
SELECT DISTINCT ?y WHERE { ?y property:notable_work resource:Valentina_of_Milan . ?y rdf:type ontology:common_name }
[]
common name
Q3557374
SYSTEM
Victor Huguenin
Q3557374
(c(Q502895),P800,Q18145910)
action filter_type
action find_reverse
entity Q18145910
relation P800
type Q502895
Author of Valentina of Milan is the [ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q18145910']
SELECT DISTINCT ?y WHERE { ?y property:P800 resource:Q18145910 . ?y rdf:type ontology:Q502895 }
Victor Huguenin
Author of Valentina of Milan is the Victor Huguenin
Victor Huguenin
action filter_type
action find_reverse
entity Valentina of Milan
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Valentina of Milan']
SELECT DISTINCT ?y WHERE { ?y property:notable_work resource:Valentina_of_Milan . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18145910
P136
Q1792379
USER
What can be considered as category for Valentina of Milan ?
(Q18145910,P136,c(Q1792379))
action filter_type
action find
entity Q18145910
relation P136
type Q1792379
['Q18145910', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q18145910 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
Valentina of Milan
action filter_type
action find
entity Valentina of Milan
relation genre
type art genre
['Valentina of Milan', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Valentina_of_Milan property:genre ?t . ?t rdf:type ontology:art_genre }
[]
art genre
Q179700
SYSTEM
statue
Q179700
(Q18145910,P136,c(Q1792379))
action filter_type
action find
entity Q18145910
relation P136
type Q1792379
The [ANSWER] can be considered as category for Valentina of Milan
['Q18145910', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q18145910 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
statue
The statue can be considered as category for Valentina of Milan
statue
action filter_type
action find
entity Valentina of Milan
relation genre
type art genre
['Valentina of Milan', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:Valentina_of_Milan property:genre ?t . ?t rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4114666
Q1792379
USER
And also tell me about Return to Deathworld?
(Q4114666,P136,c(Q1792379))
action filter_type
action find
entity Q4114666
relation P136
type Q1792379
['Q4114666', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { resource:Q4114666 property:P136 ?s . ?s rdf:type ontology:Q1792379 }
Return to Deathworld
action filter_type
action find
entity Return to Deathworld
relation genre
type art genre
['Return to Deathworld', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { resource:Return_to_Deathworld property:genre ?s . ?s rdf:type ontology:art_genre }
[]
art genre
Q5967378
SYSTEM
speculative fiction
Q5967378
(Q4114666,P136,c(Q1792379))
action filter_type
action find
entity Q4114666
relation P136
type Q1792379
[ANSWER]
['Q4114666', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { resource:Q4114666 property:P136 ?s . ?s rdf:type ontology:Q1792379 }
speculative fiction
speculative fiction
action filter_type
action find
entity Return to Deathworld
relation genre
type art genre
['Return to Deathworld', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { resource:Return_to_Deathworld property:genre ?s . ?s rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q124682
P119
Q16970
USER
Which church is the tomb of Valentina Visconti, Duchess of Orléans ?
(Q124682,P119,c(Q16970))
action filter_type
action find
entity Q124682
relation P119
type Q16970
['Q124682', 'P119', {'concept': 'Q16970'}]
SELECT DISTINCT ?h WHERE { resource:Q124682 property:P119 ?h . ?h rdf:type ontology:Q16970 }
Valentina Visconti, Duchess of Orléans
action filter_type
action find
entity Valentina Visconti, Duchess of Orléans
relation place of burial
type church
['Valentina Visconti, Duchess of Orléans', 'place of burial', {'concept': 'church'}]
SELECT DISTINCT ?h WHERE { resource:Valentina_Visconti,_Duchess_of_Orléans property:place_of_burial ?h . ?h rdf:type ontology:church }
[]
church
Q184407
SYSTEM
Saint Denis Basilica
Q184407
(Q124682,P119,c(Q16970))
action filter_type
action find
entity Q124682
relation P119
type Q16970
[ANSWER] is the tomb of Valentina Visconti, Duchess of Orléans
['Q124682', 'P119', {'concept': 'Q16970'}]
SELECT DISTINCT ?h WHERE { resource:Q124682 property:P119 ?h . ?h rdf:type ontology:Q16970 }
Saint Denis Basilica
Saint Denis Basilica is the tomb of Valentina Visconti, Duchess of Orléans
Saint Denis Basilica
action filter_type
action find
entity Valentina Visconti, Duchess of Orléans
relation place of burial
type church
['Valentina Visconti, Duchess of Orléans', 'place of burial', {'concept': 'church'}]
SELECT DISTINCT ?h WHERE { resource:Valentina_Visconti,_Duchess_of_Orléans property:place_of_burial ?h . ?h rdf:type ontology:church }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P180
Q16970 Q11060274
USER
Which churches are depicted in greater number of prints than that church ?
(c(Q11060274),P180,c(Q16970))
action greater
action find_reverse_tuple_counts
relation P180
type Q16970
type Q11060274
action count
action filter_type
action find
entity Q184407
relation P180
type Q16970
[{'concept': 'Q11060274'}, 'P180', {'concept': 'Q16970'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P180 ?y . ?y rdf:type ontology:Q16970 . ?q rdf:type ontology:Q11060274 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Q184407 property:P180 ?e . ?e rdf:type ontology:Q16970 } } . FILTER ( ?k > ?s ) }
action greater
action find_reverse_tuple_counts
relation depicts
type church
type print
action count
action filter_type
action find
entity Saint Denis Basilica
relation depicts
type church
[{'concept': 'print'}, 'depicts', {'concept': 'church'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:depicts ?y . ?y rdf:type ontology:church . ?q rdf:type ontology:print } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Saint_Denis_Basilica property:depicts ?e . ?e rdf:type ontology:church } } . FILTER ( ?k > ?s ) }
[]
church print
Q1348719 Q18042989
SYSTEM
Notre-Dame Cathedral, Collegiate Church of St. Mary Magdalene Penitent
Q1348719 Q18042989
(c(Q11060274),P180,c(Q16970))
action greater
action find_reverse_tuple_counts
relation P180
type Q16970
type Q11060274
action count
action filter_type
action find
entity Q184407
relation P180
type Q16970
The [ANSWERS] are depicted in greater number of prints than that church
[{'concept': 'Q11060274'}, 'P180', {'concept': 'Q16970'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:P180 ?y . ?y rdf:type ontology:Q16970 . ?q rdf:type ontology:Q11060274 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Q184407 property:P180 ?e . ?e rdf:type ontology:Q16970 } } . FILTER ( ?k > ?s ) }
Notre-Dame Cathedral Collegiate Church of St. Mary Magdalene Penitent
The Notre-Dame Cathedral and Collegiate Church of St. Mary Magdalene Penitent are depicted in greater number of prints than that church
Notre-Dame Cathedral Collegiate Church of St. Mary Magdalene Penitent
action greater
action find_reverse_tuple_counts
relation depicts
type church
type print
action count
action filter_type
action find
entity Saint Denis Basilica
relation depicts
type church
[{'concept': 'print'}, 'depicts', {'concept': 'church'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?k ) WHERE { ?q property:depicts ?y . ?y rdf:type ontology:church . ?q rdf:type ontology:print } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Saint_Denis_Basilica property:depicts ?e . ?e rdf:type ontology:church } } . FILTER ( ?k > ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q280338
P9
Q502895
USER
How many people are Frederick II, Duke of Austria a sibling of ?
(Q280338,P9,c(Q502895))
action count
action filter_type
action find
entity Q280338
relation P9
type Q502895
['Q280338', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:Q502895 . resource:Q280338 property:P9 ?e }
Frederick II, Duke of Austria
action count
action filter_type
action find
entity Frederick II, Duke of Austria
relation sister
type common name
['Frederick II, Duke of Austria', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:common_name . resource:Frederick_II,_Duke_of_Austria property:sister ?e }
[]
common name
SYSTEM
4
Q537392 Q547754 Q253778 Q19601994
(Q280338,P9,c(Q502895))
action count
action filter_type
action find
entity Q280338
relation P9
type Q502895
[ANSWER]
['Q280338', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:Q502895 . resource:Q280338 property:P9 ?e }
Gertrud von Babenberg Constance of Babenberg Margaret of Austria, Queen of Bohemia Agnes of Babenberg
4
action count
action filter_type
action find
entity Frederick II, Duke of Austria
relation sister
type common name
['Frederick II, Duke of Austria', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ontology:common_name . resource:Frederick_II,_Duke_of_Austria property:sister ?e }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2606870
Q502895
USER
And also tell me about Şehzade Beyazıt?
(Q2606870,P9,c(Q502895))
action count
action filter_type
action find
entity Q2606870
relation P9
type Q502895
['Q2606870', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ontology:Q502895 . resource:Q2606870 property:P9 ?u }
Şehzade Beyazıt
action count
action filter_type
action find
entity Şehzade Beyazıt
relation sister
type common name
['Şehzade Beyazıt', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ontology:common_name . resource:Şehzade_Beyazıt property:sister ?u }
[]
common name
SYSTEM
1
(Q2606870,P9,c(Q502895))
action count
action filter_type
action find
entity Q2606870
relation P9
type Q502895
[ANSWER]
['Q2606870', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ontology:Q502895 . resource:Q2606870 property:P9 ?u }
1
action count
action filter_type
action find
entity Şehzade Beyazıt
relation sister
type common name
['Şehzade Beyazıt', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ontology:common_name . resource:Şehzade_Beyazıt property:sister ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184407
P611
Q1530022
USER
What religion is Saint Denis Basilica affiliated to ?
(Q184407,P611,c(Q1530022))
action filter_type
action find
entity Q184407
relation P611
type Q1530022
['Q184407', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?x WHERE { resource:Q184407 property:P611 ?x . ?x rdf:type ontology:Q1530022 }
Saint Denis Basilica
action filter_type
action find
entity Saint Denis Basilica
relation religious order
type religious organization
['Saint Denis Basilica', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?x WHERE { resource:Saint_Denis_Basilica property:religious_order ?x . ?x rdf:type ontology:religious_organization }
[]
religious organization
Q131132
SYSTEM
Order of Saint Benedict
Q131132
(Q184407,P611,c(Q1530022))
action filter_type
action find
entity Q184407
relation P611
type Q1530022
Saint Denis Basilica is affiliated with [ANSWER]
['Q184407', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?x WHERE { resource:Q184407 property:P611 ?x . ?x rdf:type ontology:Q1530022 }
Order of Saint Benedict
Saint Denis Basilica is affiliated with Order of Saint Benedict
Order of Saint Benedict
action filter_type
action find
entity Saint Denis Basilica
relation religious order
type religious organization
['Saint Denis Basilica', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?x WHERE { resource:Saint_Denis_Basilica property:religious_order ?x . ?x rdf:type ontology:religious_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q184407
P138
Q55488
USER
Which railway station comes from that church ?
(c(Q55488),P138,Q131132)
action filter_type
action find_reverse
entity Q184407
relation P138
type Q55488
[{'concept': 'Q55488'}, 'P138', 'Q131132']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q55488 . ?m property:P138 resource:Q184407 }
Saint Denis Basilica
action filter_type
action find_reverse
entity Saint Denis Basilica
relation named after
type railway station
[{'concept': 'railway station'}, 'named after', 'Order of Saint Benedict']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:railway_station . ?m property:named_after resource:Saint_Denis_Basilica }
[]
railway station
Q810151
SYSTEM
Basilique de Saint-Denis
Q810151
(c(Q55488),P138,Q131132)
action filter_type
action find_reverse
entity Q184407
relation P138
type Q55488
[ANSWER] comes from that church
[{'concept': 'Q55488'}, 'P138', 'Q131132']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q55488 . ?m property:P138 resource:Q184407 }
Basilique de Saint-Denis
Basilique de Saint-Denis comes from that church
Basilique de Saint-Denis
action filter_type
action find_reverse
entity Saint Denis Basilica
relation named after
type railway station
[{'concept': 'railway station'}, 'named after', 'Order of Saint Benedict']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:railway_station . ?m property:named_after resource:Saint_Denis_Basilica }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P559
Q55488 Q34442
USER
Which roads terminates at max number of railway stations ?
(c(Q34442),P559,c(Q55488))
action argmax
action find_tuple_counts
relation P559
type Q34442
type Q55488
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?h ) WHERE { ?n rdf:type ontology:Q34442 . ?p rdf:type ontology:Q55488 . ?n property:P559 ?p } GROUP BY ?n } . FILTER ( ?h = ?f ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?f ) { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?y ) WHERE { ?g rdf:type ontology:Q34442 . ?u rdf:type ontology:Q55488 . ?g property:P559 ?u } GROUP BY ?g } } }
action argmax
action find_tuple_counts
relation terminus
type road
type railway station
[{'concept': 'road'}, 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?h ) WHERE { ?n rdf:type ontology:road . ?p rdf:type ontology:railway_station . ?n property:terminus ?p } GROUP BY ?n } . FILTER ( ?h = ?f ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?f ) { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?y ) WHERE { ?g rdf:type ontology:road . ?u rdf:type ontology:railway_station . ?g property:terminus ?u } GROUP BY ?g } } }
[]
railway station road
Q785026
SYSTEM
Rigaer Straße
Q785026
(c(Q34442),P559,c(Q55488))
action argmax
action find_tuple_counts
relation P559
type Q34442
type Q55488
[ANSWER] terminates at max number of railway stations
[{'concept': 'Q34442'}, 'P559', {'concept': 'Q55488'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?h ) WHERE { ?n rdf:type ontology:Q34442 . ?p rdf:type ontology:Q55488 . ?n property:P559 ?p } GROUP BY ?n } . FILTER ( ?h = ?f ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?f ) { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?y ) WHERE { ?g rdf:type ontology:Q34442 . ?u rdf:type ontology:Q55488 . ?g property:P559 ?u } GROUP BY ?g } } }
Rigaer Straße
Rigaer Straße terminates at max number of railway stations
Rigaer Straße
action argmax
action find_tuple_counts
relation terminus
type road
type railway station
[{'concept': 'road'}, 'terminus', {'concept': 'railway station'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?h ) WHERE { ?n rdf:type ontology:road . ?p rdf:type ontology:railway_station . ?n property:terminus ?p } GROUP BY ?n } . FILTER ( ?h = ?f ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?f ) { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?y ) WHERE { ?g rdf:type ontology:road . ?u rdf:type ontology:railway_station . ?g property:terminus ?u } GROUP BY ?g } } }
[]