Simple Question (Direct)
Simple Question
Q129641
P166
Q618779
USER
What were received by Philaret Drozdov ?
(Q129641,P166,c(Q618779))
action filter_type
action find
entity Q129641
relation P166
type Q618779
['Q129641', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { resource:Q129641 property:P166 ?h . ?h rdf:type ontology:Q618779 }
Philaret Drozdov
action filter_type
action find
entity Philaret Drozdov
relation award received
type award
['Philaret Drozdov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { resource:Philaret_Drozdov property:award_received ?h . ?h rdf:type ontology:award }
[]
award
Q21148942 Q15972369 Q27096841
SYSTEM
Order of St. Vladimir, 2nd class, Order of Saint Anna, 1st class, Order of St. Vladimir, 1st class
Q21148942 Q15972369 Q27096841
(Q129641,P166,c(Q618779))
action filter_type
action find
entity Q129641
relation P166
type Q618779
[ANSWERS]
['Q129641', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { resource:Q129641 property:P166 ?h . ?h rdf:type ontology:Q618779 }
Order of St. Vladimir, 2nd class Order of Saint Anna, 1st class Order of St. Vladimir, 1st class
Order of St. Vladimir, 2nd class, Order of Saint Anna, 1st class and Order of St. Vladimir, 1st class were received by Philaret Drozdov
Order of St. Vladimir, 2nd class Order of Saint Anna, 1st class Order of St. Vladimir, 1st class
action filter_type
action find
entity Philaret Drozdov
relation award received
type award
['Philaret Drozdov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { resource:Philaret_Drozdov property:award_received ?h . ?h rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15972369
P138
Q502895
USER
Which person is namesake of Order of Saint Anna, 1st class ?
(Q15972369,P138,c(Q502895))
action filter_type
action find
entity Q15972369
relation P138
type Q502895
['Q15972369', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q15972369 property:P138 ?x . ?x rdf:type ontology:Q502895 }
Order of Saint Anna, 1st class
action filter_type
action find
entity Order of Saint Anna, 1st class
relation named after
type common name
['Order of Saint Anna, 1st class', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Order_of_Saint_Anna,_1st_class property:named_after ?x . ?x rdf:type ontology:common_name }
[]
common name
Q164294
SYSTEM
Saint Anna
Q164294
(Q15972369,P138,c(Q502895))
action filter_type
action find
entity Q15972369
relation P138
type Q502895
[ANSWER] is namesake of Order of [ANSWER], 1st class
['Q15972369', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q15972369 property:P138 ?x . ?x rdf:type ontology:Q502895 }
Saint Anna
Saint Anna is namesake of Order of Saint Anna, 1st class
Saint Anna
action filter_type
action find
entity Order of Saint Anna, 1st class
relation named after
type common name
['Order of Saint Anna, 1st class', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Order_of_Saint_Anna,_1st_class property:named_after ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q164294
P26
Q502895
USER
Who is the spouse of that one ?
(Q164294,P26,c(Q502895))
action filter_type
action find
entity Q164294
relation P26
type Q502895
['Q164294', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q164294 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Saint Anna
action filter_type
action find
entity Saint Anna
relation spouse
type common name
['Saint Anna', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Saint_Anna property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
Q314700
SYSTEM
Joachim
Q314700
(Q164294,P26,c(Q502895))
action filter_type
action find
entity Q164294
relation P26
type Q502895
The spouse of that one is [ANSWER]
['Q164294', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q164294 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Joachim
The spouse of that one is Joachim
Joachim
action filter_type
action find
entity Saint Anna
relation spouse
type common name
['Saint Anna', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Saint_Anna property:spouse ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q314700
P825
Q44539
USER
Which temple has a commitment towards that person ?
(c(Q44539),P825,Q314700)
action filter_type
action find_reverse
entity Q314700
relation P825
type Q44539
[{'concept': 'Q44539'}, 'P825', 'Q314700']
SELECT DISTINCT ?i WHERE { ?i property:P825 resource:Q314700 . ?i rdf:type ontology:Q44539 }
Joachim
action filter_type
action find_reverse
entity Joachim
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Joachim']
SELECT DISTINCT ?i WHERE { ?i property:dedicated_to resource:Joachim . ?i rdf:type ontology:temple }
[]
temple
Q21674859
SYSTEM
St Joachim, Saint-Joachim
Q21674859
(c(Q44539),P825,Q314700)
action filter_type
action find_reverse
entity Q314700
relation P825
type Q44539
[ANSWER] has a commitment towards that person
[{'concept': 'Q44539'}, 'P825', 'Q314700']
SELECT DISTINCT ?i WHERE { ?i property:P825 resource:Q314700 . ?i rdf:type ontology:Q44539 }
St Joachim, Saint-Joachim
St Joachim, Saint-Joachim has a commitment towards that person
St Joachim, Saint-Joachim
action filter_type
action find_reverse
entity Joachim
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Joachim']
SELECT DISTINCT ?i WHERE { ?i property:dedicated_to resource:Joachim . ?i rdf:type ontology:temple }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q8684 Q129641
P190 P20
Q56061
USER
Which administrative territories did the expiration of Philaret Drozdov occur and are twin cities of Seoul ?
AND((Q129641,P20,c(Q56061)), (Q8684,P190,c(Q56061)))
action filter_type
action intersection
action find
entity Q129641
relation P20
action find
entity Q8684
relation P190
type Q56061
{'AND': [['Q129641', 'P20', {'concept': 'Q56061'}], ['Q8684', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { resource:Q129641 property:P20 ?e . resource:Q8684 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Seoul Philaret Drozdov
action filter_type
action intersection
action find
entity Philaret Drozdov
relation place of death
action find
entity Seoul
relation sister city
type administrative territorial entity
{'AND': [['Philaret Drozdov', 'place of death', {'concept': 'administrative territorial entity'}], ['Seoul', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Philaret_Drozdov property:place_of_death ?e . resource:Seoul property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
AND((Q129641,P20,c(Q56061)), (Q8684,P190,c(Q56061)))
action filter_type
action intersection
action find
entity Q129641
relation P20
action find
entity Q8684
relation P190
type Q56061
[ANSWER] and are twin cities of Seoul the expiration of Philaret Drozdov occurred
{'AND': [['Q129641', 'P20', {'concept': 'Q56061'}], ['Q8684', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { resource:Q129641 property:P20 ?e . resource:Q8684 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Moscow
Moscow and are twin cities of Seoul the expiration of Philaret Drozdov occurred
Moscow
action filter_type
action intersection
action find
entity Philaret Drozdov
relation place of death
action find
entity Seoul
relation sister city
type administrative territorial entity
{'AND': [['Philaret Drozdov', 'place of death', {'concept': 'administrative territorial entity'}], ['Seoul', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { resource:Philaret_Drozdov property:place_of_death ?e . resource:Seoul property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q649 Q5487293
P20
Q502895
USER
Did Frank Holdsworth expire at that administrative territory ?
(Q5487293,P20,Q649)
action is_in
entity Q5487293
action find
entity Q649
relation P20
['Q5487293', 'P20', 'Q649']
ASK WHERE { resource:Q649 property:P20 resource:Q5487293 }
Moscow Frank Holdsworth
action is_in
entity Frank Holdsworth
action find
entity Moscow
relation place of death
['Frank Holdsworth', 'place of death', 'Moscow']
ASK WHERE { resource:Moscow property:place_of_death resource:Frank_Holdsworth }
[]
common name
SYSTEM
NO
(Q5487293,P20,Q649)
action is_in
entity Q5487293
action find
entity Q649
relation P20
[ANSWER]
['Q5487293', 'P20', 'Q649']
ASK WHERE { resource:Q649 property:P20 resource:Q5487293 }
No
action is_in
entity Frank Holdsworth
action find
entity Moscow
relation place of death
['Frank Holdsworth', 'place of death', 'Moscow']
ASK WHERE { resource:Moscow property:place_of_death resource:Frank_Holdsworth }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q649
P190
Q56061
USER
How many administrative territories are sister towns of Moscow ?
(Q649,P190,c(Q56061))
action count
action filter_type
action find
entity Q649
relation P190
type Q56061
['Q649', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ontology:Q56061 . resource:Q649 property:P190 ?h }
Moscow
action count
action filter_type
action find
entity Moscow
relation sister city
type administrative territorial entity
['Moscow', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Moscow property:sister_city ?h }
[]
administrative territorial entity
SYSTEM
49
Q807 Q41572 Q13498 Q994 Q437 Q1353 Q727 Q472 Q23564 Q179830 Q178373 Q42308 Q1770 Q1718 Q18808 Q1297 Q1490 Q1741 Q196678 Q3805 Q1520 Q1524 Q1491 Q987 Q1780 Q3630 Q140147 Q25409 Q33935 Q131290 Q3561 Q84 Q85 Q486282 Q19566 Q1861 Q3820 Q216 Q43070 Q270 Q239 Q2807 Q956 Q3640 Q64 Q1218 Q133026 Q186576 Q1085
(Q649,P190,c(Q56061))
action count
action filter_type
action find
entity Q649
relation P190
type Q56061
[ANSWER]
['Q649', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ontology:Q56061 . resource:Q649 property:P190 ?h }
Lausanne Mykolaiv Taranto Tbilisi Ljubljana Delhi Amsterdam Sofia Podgorica Jelgava Rasht Kharkiv Tallinn Düsseldorf Pyongyang Chicago Tokyo Vienna Torzhok Amman Astana Athens La Paz New Delhi Bratislava Jakarta Brest Košice Tel Aviv Ganja Algiers London Cairo Pavlodar Simferopol Bangkok Beirut Vilnius Donetsk Warsaw Brussels Madrid Beijing Ankara Berlin Jerusalem Kolomna Pazardzhik Prague
49
action count
action filter_type
action find
entity Moscow
relation sister city
type administrative territorial entity
['Moscow', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Moscow property:sister_city ?h }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q213178
Q56061
USER
And what about Kunda?
(Q213178,P190,c(Q56061))
action count
action filter_type
action find
entity Q213178
relation P190
type Q56061
['Q213178', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ontology:Q56061 . resource:Q213178 property:P190 ?w }
Kunda
action count
action filter_type
action find
entity Kunda
relation sister city
type administrative territorial entity
['Kunda', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Kunda property:sister_city ?w }
[]
administrative territorial entity
SYSTEM
1
(Q213178,P190,c(Q56061))
action count
action filter_type
action find
entity Q213178
relation P190
type Q56061
[ANSWER]
['Q213178', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ontology:Q56061 . resource:Q213178 property:P190 ?w }
1
action count
action filter_type
action find
entity Kunda
relation sister city
type administrative territorial entity
['Kunda', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Kunda property:sister_city ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3091
Q3745054 Q502895 Q502895
USER
How many people utilize approximately 4 horse breeds and people as steed ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 4
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?t WHERE { { ?t property:P3091 ?l . ?t rdf:type ontology:Q502895 . ?l rdf:type ontology:Q3745054 } UNION { ?t rdf:type ontology:Q502895 . ?l rdf:type ontology:Q502895 . ?t property:P3091 ?l } } GROUP BY ?t } . FILTER ( ?n = 4 ) }
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 4
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?t WHERE { { ?t property:mount ?l . ?t rdf:type ontology:common_name . ?l rdf:type ontology:horse_breed } UNION { ?t rdf:type ontology:common_name . ?l rdf:type ontology:common_name . ?t property:mount ?l } } GROUP BY ?t } . FILTER ( ?n = 4 ) }
[]
horse breed common name common name
SYSTEM
2
Q538006 Q1538882
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 4
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?t WHERE { { ?t property:P3091 ?l . ?t rdf:type ontology:Q502895 . ?l rdf:type ontology:Q3745054 } UNION { ?t rdf:type ontology:Q502895 . ?l rdf:type ontology:Q502895 . ?t property:P3091 ?l } } GROUP BY ?t } . FILTER ( ?n = 4 ) }
Pat Eddery Kevin Staut
2
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 4
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?t WHERE { { ?t property:mount ?l . ?t rdf:type ontology:common_name . ?l rdf:type ontology:horse_breed } UNION { ?t rdf:type ontology:common_name . ?l rdf:type ontology:common_name . ?t property:mount ?l } } GROUP BY ?t } . FILTER ( ?n = 4 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types are the registry port of max number of administrative territories ?
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?b ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?l ) WHERE { ?t property:P532 ?u . ?t rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?t } } . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?v ) WHERE { ?r property:P532 ?j . ?r rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?r } . FILTER ( ?v = ?b ) }
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?b ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?l ) WHERE { ?t property:port_of_registry ?u . ?t rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } } . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?v ) WHERE { ?r property:port_of_registry ?j . ?r rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?v = ?b ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWER] is the registry port of max number of administrative territories
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?b ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?l ) WHERE { ?t property:P532 ?u . ?t rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?t } } . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?v ) WHERE { ?r property:P532 ?j . ?r rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?r } . FILTER ( ?v = ?b ) }
MS Arrow
MS Arrow is the registry port of max number of administrative territories
MS Arrow
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?b ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?l ) WHERE { ?t property:port_of_registry ?u . ?t rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } } . { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?v ) WHERE { ?r property:port_of_registry ?j . ?r rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?v = ?b ) }
[]