Simple Question (Direct)
Simple Question
Q4726338
P69
Q1055028
USER
What is the college of the University of Cambridge where Alick Foord-Kelcey was educated ?
(Q4726338,P69,c(Q1055028))
action filter_type
action find
entity Q4726338
relation P69
type Q1055028
['Q4726338', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?x WHERE { resource:Q4726338 property:P69 ?x . ?x rdf:type ontology:Q1055028 }
Alick Foord-Kelcey
action filter_type
action find
entity Alick Foord-Kelcey
relation educated at
type college of the University of Cambridge
['Alick Foord-Kelcey', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?x WHERE { resource:Alick_Foord-Kelcey property:educated_at ?x . ?x rdf:type ontology:college_of_the_University_of_Cambridge }
[]
college of the University of Cambridge
Q536282
SYSTEM
Corpus Christi College
Q536282
(Q4726338,P69,c(Q1055028))
action filter_type
action find
entity Q4726338
relation P69
type Q1055028
The college of the University of Cambridge Alick Foord-Kelcey was educated is [ANSWER]
['Q4726338', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?x WHERE { resource:Q4726338 property:P69 ?x . ?x rdf:type ontology:Q1055028 }
Corpus Christi College
The college of the University of Cambridge Alick Foord-Kelcey was educated is Corpus Christi College
Corpus Christi College
action filter_type
action find
entity Alick Foord-Kelcey
relation educated at
type college of the University of Cambridge
['Alick Foord-Kelcey', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?x WHERE { resource:Alick_Foord-Kelcey property:educated_at ?x . ?x rdf:type ontology:college_of_the_University_of_Cambridge }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4726338
P607
Q198
USER
Which war did that person take part in ?
(Q536282,P607,c(Q198))
action filter_type
action find
entity Q4726338
relation P607
type Q198
['Q536282', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q4726338 property:P607 ?c . ?c rdf:type ontology:Q198 }
Alick Foord-Kelcey
action filter_type
action find
entity Alick Foord-Kelcey
relation conflict
type war
['Corpus Christi College', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:Alick_Foord-Kelcey property:conflict ?c . ?c rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q536282,P607,c(Q198))
action filter_type
action find
entity Q4726338
relation P607
type Q198
That person took part in [ANSWER]
['Q536282', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?c WHERE { resource:Q4726338 property:P607 ?c . ?c rdf:type ontology:Q198 }
World War II
That person took part in World War II
World War II
action filter_type
action find
entity Alick Foord-Kelcey
relation conflict
type war
['Corpus Christi College', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?c WHERE { resource:Alick_Foord-Kelcey property:conflict ?c . ?c rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q536282
P108
Q502895
USER
Which people are working for Corpus Christi College ?
(c(Q502895),P108,Q536282)
action filter_type
action find_reverse
entity Q536282
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q536282']
SELECT DISTINCT ?b WHERE { ?b property:P108 resource:Q536282 . ?b rdf:type ontology:Q502895 }
Corpus Christi College
action filter_type
action find_reverse
entity Corpus Christi College
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Corpus Christi College']
SELECT DISTINCT ?b WHERE { ?b property:employer resource:Corpus_Christi_College . ?b rdf:type ontology:common_name }
[]
common name
Q8012509 Q5235666
SYSTEM
William Horbury, David John Ibbetson
Q8012509 Q5235666
(c(Q502895),P108,Q536282)
action filter_type
action find_reverse
entity Q536282
relation P108
type Q502895
[ANSWERS] are working for Corpus Christi College
[{'concept': 'Q502895'}, 'P108', 'Q536282']
SELECT DISTINCT ?b WHERE { ?b property:P108 resource:Q536282 . ?b rdf:type ontology:Q502895 }
William Horbury David John Ibbetson
William Horbury and David John Ibbetson are working for Corpus Christi College
William Horbury David John Ibbetson
action filter_type
action find_reverse
entity Corpus Christi College
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Corpus Christi College']
SELECT DISTINCT ?b WHERE { ?b property:employer resource:Corpus_Christi_College . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5235666
P734
Q82799
USER
Who is associated with that person ?
(Q5235666,P734,c(Q82799))
action filter_type
action find
entity Q5235666
relation P734
type Q82799
['Q5235666', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q5235666 property:P734 ?o }
David John Ibbetson
action filter_type
action find
entity David John Ibbetson
relation family name
type name
['David John Ibbetson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:David_John_Ibbetson property:family_name ?o }
[]
name
Clarification for simple ques.
Q5235666
SYSTEM
Did you mean David John Ibbetson ?
Q8012509 Q5235666
(Q8012509,P734,c(Q82799)) (Q5235666,P734,c(Q82799))
[ANSWER]
['Q8012509', 'P734', {'concept': 'Q82799'}] ['Q5235666', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q5235666 property:P734 ?o }
William Horbury David John Ibbetson
Did you mean David John Ibbetson ?
David John Ibbetson
['William Horbury', 'family name', {'concept': 'name'}] ['David John Ibbetson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:David_John_Ibbetson property:family_name ?o }
[]
Simple Question (Coreferenced)
USER
Yes
(Q5235666,P734,c(Q82799))
['Q5235666', 'P734', {'concept': 'Q82799'}]
['David John Ibbetson', 'family name', {'concept': 'name'}]
[]
Q27264742
SYSTEM
Ibbetson
Q27264742
(Q5235666,P734,c(Q82799))
action filter_type
action find
entity Q5235666
relation P734
type Q82799
[ANSWER] is associated with that person
['Q5235666', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q82799 . resource:Q5235666 property:P734 ?o }
Ibbetson
Ibbetson is associated with that person
Ibbetson
action filter_type
action find
entity David John Ibbetson
relation family name
type name
['David John Ibbetson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:name . resource:David_John_Ibbetson property:family_name ?o }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2086498
P361
Q198 Q1190554 Q350604
USER
How many wars are around the same number of events or armed conflicts a component of as First Barons' War ?
(c(Q1190554)|c(Q350604),P361,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
action count
action filter_multi_types
action find_reverse
entity Q2086498
relation P361
type Q1190554
type Q350604
[[{'concept': 'Q1190554'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?x WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1190554 ) ( ontology:Q350604 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:P361 resource:Q2086498 . { { ?f rdf:type ontology:Q1190554 } UNION { ?f rdf:type ontology:Q350604 } } } } . FILTER ( ?g = ?y ) }
First Barons' War
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type event
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
action count
action filter_multi_types
action find_reverse
entity First Barons' War
relation part of
type event
type armed conflict
[[{'concept': 'event'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?x WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:event ) ( ontology:armed_conflict ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:part_of resource:First_Barons'_War . { { ?f rdf:type ontology:event } UNION { ?f rdf:type ontology:armed_conflict } } } } . FILTER ( ?g = ?y ) }
[]
war event armed conflict
SYSTEM
38
Q8683 Q211855 Q4783165 Q795269 Q3778746 Q920894 Q81545 Q10859 Q18121212 Q1021160 Q17984356 Q1072889 Q1758829 Q209297 Q242352 Q2105495 Q5334383 Q178810 Q545449 Q2658255 Q16954835 Q208484 Q1432624 Q2086498 Q1238338 Q15059994 Q1049945 Q1127302 Q1052332 Q475678 Q743768 Q213394 Q17507684 Q179975 Q18159629 Q2672972 Q243620 Q79911
(c(Q1190554)|c(Q350604),P361,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
action count
action filter_multi_types
action find_reverse
entity Q2086498
relation P361
type Q1190554
type Q350604
[ANSWER]
[[{'concept': 'Q1190554'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?x WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:Q1190554 ) ( ontology:Q350604 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:P361 resource:Q2086498 . { { ?f rdf:type ontology:Q1190554 } UNION { ?f rdf:type ontology:Q350604 } } } } . FILTER ( ?g = ?y ) }
Cold War Finnish Civil War Arab Cold War Sierra Leone Civil War Sioux Wars First Italian War of Independence 2011 Libyan Civil War Spanish Civil War American-led intervention in Syria Armagnac–Burgundian Civil War Iraqi Civil War Chilean War of Independence urban guerrilla warfare Farroupilha Revolution Yugoslav Wars 1383-85 Portuguese Interregnum Ecuadorian War of Independence Syrian Civil War Iraq War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War Genkō War First Barons' War Caesar's Civil War Iran–Israel proxy conflict Jacobite rising of 1745 Estonian War of Independence War in Somalia Mexican Drug War The Anarchy Sri Lankan Civil War military intervention against ISIL Chinese Civil War American-led intervention in Iraq Uruguayan Civil War Somali Civil War Russian Civil War
38
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type event
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
action count
action filter_multi_types
action find_reverse
entity First Barons' War
relation part of
type event
type armed conflict
[[{'concept': 'event'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?x WHERE { ?e rdf:type ?m . VALUES ( ?m ) { ( ontology:event ) ( ontology:armed_conflict ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { ?f property:part_of resource:First_Barons'_War . { { ?f rdf:type ontology:event } UNION { ?f rdf:type ontology:armed_conflict } } } } . FILTER ( ?g = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q8683
P361
Q198 Q1190554 Q350604
USER
And also tell me about Cold War?
(c(Q1190554)|c(Q350604),P361,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
action count
action filter_multi_types
action find_reverse
entity Q8683
relation P361
type Q1190554
type Q350604
[[{'concept': 'Q1190554'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:P361 ?q . ?q rdf:type ontology:Q198 . ?h rdf:type ontology:Q1190554 } UNION { ?h property:P361 ?q . ?q rdf:type ontology:Q198 . ?h rdf:type ontology:Q350604 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { { ?k rdf:type ontology:Q1190554 } UNION { ?k rdf:type ontology:Q350604 } } . ?k property:P361 resource:Q8683 } } . FILTER ( ?i = ?p ) }
Cold War
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type event
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
action count
action filter_multi_types
action find_reverse
entity Cold War
relation part of
type event
type armed conflict
[[{'concept': 'event'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:part_of ?q . ?q rdf:type ontology:war . ?h rdf:type ontology:event } UNION { ?h property:part_of ?q . ?q rdf:type ontology:war . ?h rdf:type ontology:armed_conflict } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { { ?k rdf:type ontology:event } UNION { ?k rdf:type ontology:armed_conflict } } . ?k property:part_of resource:Cold_War } } . FILTER ( ?i = ?p ) }
[]
war event armed conflict
SYSTEM
38
Q8683 Q211855 Q4783165 Q795269 Q3778746 Q920894 Q81545 Q10859 Q18121212 Q1021160 Q17984356 Q1072889 Q1758829 Q209297 Q242352 Q2105495 Q5334383 Q178810 Q545449 Q2658255 Q16954835 Q208484 Q1432624 Q2086498 Q1238338 Q15059994 Q1049945 Q1127302 Q1052332 Q475678 Q743768 Q213394 Q17507684 Q179975 Q18159629 Q2672972 Q243620 Q79911
(c(Q1190554)|c(Q350604),P361,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q1190554
action find_reverse_tuple_counts
relation P361
type Q198
type Q350604
action count
action filter_multi_types
action find_reverse
entity Q8683
relation P361
type Q1190554
type Q350604
[ANSWER]
[[{'concept': 'Q1190554'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:P361 ?q . ?q rdf:type ontology:Q198 . ?h rdf:type ontology:Q1190554 } UNION { ?h property:P361 ?q . ?q rdf:type ontology:Q198 . ?h rdf:type ontology:Q350604 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { { ?k rdf:type ontology:Q1190554 } UNION { ?k rdf:type ontology:Q350604 } } . ?k property:P361 resource:Q8683 } } . FILTER ( ?i = ?p ) }
Cold War Finnish Civil War Arab Cold War Sierra Leone Civil War Sioux Wars First Italian War of Independence 2011 Libyan Civil War Spanish Civil War American-led intervention in Syria Armagnac–Burgundian Civil War Iraqi Civil War Chilean War of Independence urban guerrilla warfare Farroupilha Revolution Yugoslav Wars 1383-85 Portuguese Interregnum Ecuadorian War of Independence Syrian Civil War Iraq War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War Genkō War First Barons' War Caesar's Civil War Iran–Israel proxy conflict Jacobite rising of 1745 Estonian War of Independence War in Somalia Mexican Drug War The Anarchy Sri Lankan Civil War military intervention against ISIL Chinese Civil War American-led intervention in Iraq Uruguayan Civil War Somali Civil War Russian Civil War
38
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type event
action find_reverse_tuple_counts
relation part of
type war
type armed conflict
action count
action filter_multi_types
action find_reverse
entity Cold War
relation part of
type event
type armed conflict
[[{'concept': 'event'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?h ) AS ?i ) WHERE { { ?h property:part_of ?q . ?q rdf:type ontology:war . ?h rdf:type ontology:event } UNION { ?h property:part_of ?q . ?q rdf:type ontology:war . ?h rdf:type ontology:armed_conflict } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { { { ?k rdf:type ontology:event } UNION { ?k rdf:type ontology:armed_conflict } } . ?k property:part_of resource:Cold_War } } . FILTER ( ?i = ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q536282
P669
Q34442
USER
What is the location of Corpus Christi College ?
(Q536282,P669,c(Q34442))
action filter_type
action find
entity Q536282
relation P669
type Q34442
['Q536282', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?c WHERE { resource:Q536282 property:P669 ?c . ?c rdf:type ontology:Q34442 }
Corpus Christi College
action filter_type
action find
entity Corpus Christi College
relation located on street
type road
['Corpus Christi College', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?c WHERE { resource:Corpus_Christi_College property:located_on_street ?c . ?c rdf:type ontology:road }
[]
road
Q7847831
SYSTEM
Trumpington Street
Q7847831
(Q536282,P669,c(Q34442))
action filter_type
action find
entity Q536282
relation P669
type Q34442
The location of Corpus Christi College is at [ANSWER]
['Q536282', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?c WHERE { resource:Q536282 property:P669 ?c . ?c rdf:type ontology:Q34442 }
Trumpington Street
The location of Corpus Christi College is at Trumpington Street
Trumpington Street
action filter_type
action find
entity Corpus Christi College
relation located on street
type road
['Corpus Christi College', 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?c WHERE { resource:Corpus_Christi_College property:located_on_street ?c . ?c rdf:type ontology:road }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7847831 Q26523494
P669
Q699405
USER
Does Queen Hotel have its location as that road ?
(Q26523494,P669,Q7847831)
action is_in
entity Q26523494
action find
entity Q7847831
relation P669
['Q26523494', 'P669', 'Q7847831']
ASK WHERE { resource:Q7847831 property:P669 resource:Q26523494 }
Trumpington Street Queen Hotel
action is_in
entity Queen Hotel
action find
entity Trumpington Street
relation located on street
['Queen Hotel', 'located on street', 'Trumpington Street']
ASK WHERE { resource:Trumpington_Street property:located_on_street resource:Queen_Hotel }
[]
dwelling
SYSTEM
NO
(Q26523494,P669,Q7847831)
action is_in
entity Q26523494
action find
entity Q7847831
relation P669
[ANSWER]
['Q26523494', 'P669', 'Q7847831']
ASK WHERE { resource:Q7847831 property:P669 resource:Q26523494 }
No
action is_in
entity Queen Hotel
action find
entity Trumpington Street
relation located on street
['Queen Hotel', 'located on street', 'Trumpington Street']
ASK WHERE { resource:Trumpington_Street property:located_on_street resource:Queen_Hotel }
[]