Simple Question (Direct)
Simple Question
Q469002
P22
Q502895
USER
Who was the dad of Richard of Conisburgh, 3rd Earl of Cambridge ?
(Q469002,P22,c(Q502895))
action filter_type
action find
entity Q469002
relation P22
type Q502895
['Q469002', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q469002 property:P22 ?i . ?i rdf:type ontology:Q502895 }
Richard of Conisburgh, 3rd Earl of Cambridge
action filter_type
action find
entity Richard of Conisburgh, 3rd Earl of Cambridge
relation father
type common name
['Richard of Conisburgh, 3rd Earl of Cambridge', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Richard_of_Conisburgh,_3rd_Earl_of_Cambridge property:father ?i . ?i rdf:type ontology:common_name }
[]
common name
Q305002
SYSTEM
Edmund of Langley, 1st Duke of York
Q305002
(Q469002,P22,c(Q502895))
action filter_type
action find
entity Q469002
relation P22
type Q502895
The dad of Richard of Conisburgh , 3rd Earl of Cambridge was married [ANSWER]
['Q469002', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q469002 property:P22 ?i . ?i rdf:type ontology:Q502895 }
Edmund of Langley, 1st Duke of York
The dad of Richard of Conisburgh , 3rd Earl of Cambridge was married Edmund of Langley, 1st Duke of York
Edmund of Langley, 1st Duke of York
action filter_type
action find
entity Richard of Conisburgh, 3rd Earl of Cambridge
relation father
type common name
['Richard of Conisburgh, 3rd Earl of Cambridge', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Richard_of_Conisburgh,_3rd_Earl_of_Cambridge property:father ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q469002
P27
Q7275
USER
Which state is the native country of Richard of Conisburgh, 3rd Earl of Cambridge ?
(Q469002,P27,c(Q7275))
action filter_type
action find
entity Q469002
relation P27
type Q7275
['Q469002', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?a WHERE { resource:Q469002 property:P27 ?a . ?a rdf:type ontology:Q7275 }
Richard of Conisburgh, 3rd Earl of Cambridge
action filter_type
action find
entity Richard of Conisburgh, 3rd Earl of Cambridge
relation country of citizenship
type state
['Richard of Conisburgh, 3rd Earl of Cambridge', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?a WHERE { resource:Richard_of_Conisburgh,_3rd_Earl_of_Cambridge property:country_of_citizenship ?a . ?a rdf:type ontology:state }
[]
state
Q179876
SYSTEM
Kingdom of England
Q179876
(Q469002,P27,c(Q7275))
action filter_type
action find
entity Q469002
relation P27
type Q7275
[ANSWER] is the native country of Richard of Conisburgh, 3rd Earl of Cambridge
['Q469002', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?a WHERE { resource:Q469002 property:P27 ?a . ?a rdf:type ontology:Q7275 }
Kingdom of England
Kingdom of England is the native country of Richard of Conisburgh, 3rd Earl of Cambridge
Kingdom of England
action filter_type
action find
entity Richard of Conisburgh, 3rd Earl of Cambridge
relation country of citizenship
type state
['Richard of Conisburgh, 3rd Earl of Cambridge', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?a WHERE { resource:Richard_of_Conisburgh,_3rd_Earl_of_Cambridge property:country_of_citizenship ?a . ?a rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q469002
P921
Q191067
USER
Which article was primarily based on that person ?
(c(Q191067),P921,Q179876)
action filter_type
action find_reverse
entity Q469002
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q179876']
SELECT DISTINCT ?j WHERE { ?j property:P921 resource:Q469002 . ?j rdf:type ontology:Q191067 }
Richard of Conisburgh, 3rd Earl of Cambridge
action filter_type
action find_reverse
entity Richard of Conisburgh, 3rd Earl of Cambridge
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Kingdom of England']
SELECT DISTINCT ?j WHERE { ?j property:main_subject resource:Richard_of_Conisburgh,_3rd_Earl_of_Cambridge . ?j rdf:type ontology:article }
[]
article
Q19097841
SYSTEM
Richard (d.1415) (DNB00)
Q19097841
(c(Q191067),P921,Q179876)
action filter_type
action find_reverse
entity Q469002
relation P921
type Q191067
[ANSWER] was primarily based on that person
[{'concept': 'Q191067'}, 'P921', 'Q179876']
SELECT DISTINCT ?j WHERE { ?j property:P921 resource:Q469002 . ?j rdf:type ontology:Q191067 }
Richard (d.1415) (DNB00)
Richard (d.1415) (DNB00) was primarily based on that person
Richard (d.1415) (DNB00)
action filter_type
action find_reverse
entity Richard of Conisburgh, 3rd Earl of Cambridge
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Kingdom of England']
SELECT DISTINCT ?j WHERE { ?j property:main_subject resource:Richard_of_Conisburgh,_3rd_Earl_of_Cambridge . ?j rdf:type ontology:article }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q19097841 Q4373807
P50
Q502895
USER
How many people authored Richard (d.1415) (DNB00) or The Last Ringbearer ?
(Q19097841,P50,c(Q502895)) (Q4373807,P50,c(Q502895))
action count
action union
action filter_type
action find
entity Q19097841
relation P50
type Q502895
action filter_type
action find
entity Q4373807
relation P50
type Q502895
['Q19097841', 'P50', {'concept': 'Q502895'}] ['Q4373807', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?m property:P50 ?i . VALUES ( ?m ) { ( resource:Q19097841 ) ( resource:Q4373807 ) } }
Richard (d.1415) (DNB00) The Last Ringbearer
action count
action union
action filter_type
action find
entity Richard (d.1415) (DNB00)
relation author
type common name
action filter_type
action find
entity The Last Ringbearer
relation author
type common name
['Richard (d.1415) (DNB00)', 'author', {'concept': 'common name'}] ['The Last Ringbearer', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?m property:author ?i . VALUES ( ?m ) { ( resource:Richard_(d.1415)_(DNB00) ) ( resource:The_Last_Ringbearer ) } }
[]
common name
SYSTEM
2
Q5080216 Q2409468
(Q19097841,P50,c(Q502895)) (Q4373807,P50,c(Q502895))
action count
action union
action filter_type
action find
entity Q19097841
relation P50
type Q502895
action filter_type
action find
entity Q4373807
relation P50
type Q502895
[ANSWER]
['Q19097841', 'P50', {'concept': 'Q502895'}] ['Q4373807', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?m property:P50 ?i . VALUES ( ?m ) { ( resource:Q19097841 ) ( resource:Q4373807 ) } }
Charles Lethbridge Kingsford Kirill Eskov
2
action count
action union
action filter_type
action find
entity Richard (d.1415) (DNB00)
relation author
type common name
action filter_type
action find
entity The Last Ringbearer
relation author
type common name
['Richard (d.1415) (DNB00)', 'author', {'concept': 'common name'}] ['The Last Ringbearer', 'author', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { ?m property:author ?i . VALUES ( ?m ) { ( resource:Richard_(d.1415)_(DNB00) ) ( resource:The_Last_Ringbearer ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2006542
P194
Q1752346 Q11204 Q7275
USER
How many states have around the same number of assemblies or legislatures as their legislative body as Dominion of Pakistan ?
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q2006542
relation P194
type Q1752346
type Q11204
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?p WHERE { VALUES ( ?q ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?s rdf:type ?q } GROUP BY ?p } . FILTER ( ?m = ?v ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q2006542 property:P194 ?i . { VALUES ( ?b ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?i rdf:type ?b } } } }
Dominion of Pakistan
action count
action approx
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity Dominion of Pakistan
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?p WHERE { VALUES ( ?q ) { ( ontology:assembly ) ( ontology:legislature ) } . ?s rdf:type ?q } GROUP BY ?p } . FILTER ( ?m = ?v ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Dominion_of_Pakistan property:legislative_body ?i . { VALUES ( ?b ) { ( ontology:assembly ) ( ontology:legislature ) } . ?i rdf:type ?b } } } }
[]
assembly legislature state
SYSTEM
42
Q211853 Q476757 Q207272 Q965174 Q1078602 Q201038 Q208545 Q167360 Q1811029 Q209062 Q204920 Q2006542 Q133356 Q191077 Q903779 Q16957 Q1649871 Q55502 Q62623 Q842794 Q71747 Q1423581 Q83286 Q1277557 Q330362 Q212439 Q28025 Q153015 Q83618 Q964024 Q487829 Q4948 Q49683 Q2342822 Q199841 Q12557 Q217196 Q23541302 Q1775277 Q70972 Q427941 Q216173
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action count
action approx
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q2006542
relation P194
type Q1752346
type Q11204
[ANSWER]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?p WHERE { VALUES ( ?q ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?s rdf:type ?q } GROUP BY ?p } . FILTER ( ?m = ?v ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q2006542 property:P194 ?i . { VALUES ( ?b ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } . ?i rdf:type ?b } } } }
Republic of Serbian Krajina Democratic Republic of Afghanistan Second Polish Republic Coalition Provisional Authority Kingdom of Nepal Roman Kingdom Socialist Republic of Bosnia and Herzegovina First Portuguese Republic Finnish Socialist Workers' Republic Socialist Republic of Croatia Crown of Aragon Dominion of Pakistan Ukrainian Soviet Socialist Republic Kingdom of Yugoslavia United Kingdom of Portugal, Brazil and the Algarves East Germany Kingdom of Poland Kingdom of Jerusalem Kalmar Union Socialist Republic of Romania Duchy of Brittany Italian Regency of Carnaro Socialist Federal Republic of Yugoslavia Democratic Federal Yugoslavia Commonwealth of England Cossack Hetmanate Ryukyu Kingdom Kingdom of Saxony Maratha Empire Moldavian Democratic Republic Chagatai Khanate Republic of Venice Grand Duchy of Lithuania West Pakistan South Yemen Mongol Empire Crown of Castile Kaluga Soviet Republic Dominion of India Kingdom of France Islamic Emirate of Afghanistan Free City of Danzig
42
action count
action approx
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity Dominion of Pakistan
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) ?p WHERE { VALUES ( ?q ) { ( ontology:assembly ) ( ontology:legislature ) } . ?s rdf:type ?q } GROUP BY ?p } . FILTER ( ?m = ?v ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Dominion_of_Pakistan property:legislative_body ?i . { VALUES ( ?b ) { ( ontology:assembly ) ( ontology:legislature ) } . ?i rdf:type ?b } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q469002
P7
Q502895
USER
Who are Richard of Conisburgh, 3rd Earl of Cambridge a brother of ?
(c(Q502895),P7,Q469002)
action filter_type
action find_reverse
entity Q469002
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q469002']
SELECT DISTINCT ?t WHERE { ?t property:P7 resource:Q469002 . ?t rdf:type ontology:Q502895 }
Richard of Conisburgh, 3rd Earl of Cambridge
action filter_type
action find_reverse
entity Richard of Conisburgh, 3rd Earl of Cambridge
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Richard of Conisburgh, 3rd Earl of Cambridge']
SELECT DISTINCT ?t WHERE { ?t property:brother resource:Richard_of_Conisburgh,_3rd_Earl_of_Cambridge . ?t rdf:type ontology:common_name }
[]
common name
Q1620487 Q452639
SYSTEM
Constance of York, Edward of Norwich, 2nd Duke of York
Q1620487 Q452639
(c(Q502895),P7,Q469002)
action filter_type
action find_reverse
entity Q469002
relation P7
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q469002']
SELECT DISTINCT ?t WHERE { ?t property:P7 resource:Q469002 . ?t rdf:type ontology:Q502895 }
Constance of York Edward of Norwich, 2nd Duke of York
Richard of Conisburgh , 3rd Earl of Cambridge are married Constance of York and Edward of Norwich, 2nd Duke of York a brother of
Constance of York Edward of Norwich, 2nd Duke of York
action filter_type
action find_reverse
entity Richard of Conisburgh, 3rd Earl of Cambridge
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Richard of Conisburgh, 3rd Earl of Cambridge']
SELECT DISTINCT ?t WHERE { ?t property:brother resource:Richard_of_Conisburgh,_3rd_Earl_of_Cambridge . ?t rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q452639
P20
Q20667921
USER
Which french administrative division is the place of death of that person ?
(Q452639,P20,c(Q20667921))
action filter_type
action find
entity Q452639
relation P20
type Q20667921
['Q452639', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q452639 property:P20 ?v . ?v rdf:type ontology:Q20667921 }
Edward of Norwich, 2nd Duke of York
action filter_type
action find
entity Edward of Norwich, 2nd Duke of York
relation place of death
type type of french administrative division
['Edward of Norwich, 2nd Duke of York', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Edward_of_Norwich,_2nd_Duke_of_York property:place_of_death ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q1620487
SYSTEM
Did you mean Constance of York ?
Q1620487 Q452639
(Q1620487,P20,c(Q20667921)) (Q452639,P20,c(Q20667921))
[ANSWER]
['Q1620487', 'P20', {'concept': 'Q20667921'}] ['Q452639', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q452639 property:P20 ?v . ?v rdf:type ontology:Q20667921 }
Constance of York Edward of Norwich, 2nd Duke of York
Did you mean Constance of York ?
Constance of York
['Constance of York', 'place of death', {'concept': 'type of french administrative division'}] ['Edward of Norwich, 2nd Duke of York', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Edward_of_Norwich,_2nd_Duke_of_York property:place_of_death ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
No, I meant Edward of Norwich, 2nd Duke of York. Could you tell me the answer for that?
(Q452639,P20,c(Q20667921))
Q452639
['Q452639', 'P20', {'concept': 'Q20667921'}]
['Edward of Norwich, 2nd Duke of York', 'place of death', {'concept': 'type of french administrative division'}]
[]
Q238339
SYSTEM
Azincourt
Q238339
(Q452639,P20,c(Q20667921))
action filter_type
action find
entity Q452639
relation P20
type Q20667921
[ANSWER] is the place of death of that person
['Q452639', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?v WHERE { resource:Q452639 property:P20 ?v . ?v rdf:type ontology:Q20667921 }
Azincourt
Azincourt is the place of death of that person
Azincourt
action filter_type
action find
entity Edward of Norwich, 2nd Duke of York
relation place of death
type type of french administrative division
['Edward of Norwich, 2nd Duke of York', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?v WHERE { resource:Edward_of_Norwich,_2nd_Duke_of_York property:place_of_death ?v . ?v rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q238339
P17
Q15617994
USER
Which administrative territory is that french administrative division situated in ?
(Q238339,P17,c(Q15617994))
action filter_type
action find
entity Q238339
relation P17
type Q15617994
['Q238339', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q238339 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Azincourt
action filter_type
action find
entity Azincourt
relation country
type designation for an administrative territorial entity
['Azincourt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Azincourt property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q238339,P17,c(Q15617994))
action filter_type
action find
entity Q238339
relation P17
type Q15617994
That french administrative division is situated in [ANSWER]
['Q238339', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q238339 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
France
That french administrative division is situated in France
France
action filter_type
action find
entity Azincourt
relation country
type designation for an administrative territorial entity
['Azincourt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Azincourt property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]