Simple Question (Direct)
Simple Question
Q4026914
P166
Q2003221
USER
Which chivalric order was Norman Loftus Bor awarded with ?
(Q4026914,P166,c(Q2003221))
action filter_type
action find
entity Q4026914
relation P166
type Q2003221
['Q4026914', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?x WHERE { resource:Q4026914 property:P166 ?x . ?x rdf:type ontology:Q2003221 }
Norman Loftus Bor
action filter_type
action find
entity Norman Loftus Bor
relation award received
type chivalric order
['Norman Loftus Bor', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?x WHERE { resource:Norman_Loftus_Bor property:award_received ?x . ?x rdf:type ontology:chivalric_order }
[]
chivalric order
Q10762848
SYSTEM
Officer of the Order of the British Empire
Q10762848
(Q4026914,P166,c(Q2003221))
action filter_type
action find
entity Q4026914
relation P166
type Q2003221
Norman Loftus Bor was awarded the [ANSWER]
['Q4026914', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?x WHERE { resource:Q4026914 property:P166 ?x . ?x rdf:type ontology:Q2003221 }
Officer of the Order of the British Empire
Norman Loftus Bor was awarded the Officer of the Order of the British Empire
Officer of the Order of the British Empire
action filter_type
action find
entity Norman Loftus Bor
relation award received
type chivalric order
['Norman Loftus Bor', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?x WHERE { resource:Norman_Loftus_Bor property:award_received ?x . ?x rdf:type ontology:chivalric_order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4026914
P19
Q56061
USER
Which administrative territory is the birthplace of Norman Loftus Bor ?
(Q4026914,P19,c(Q56061))
action filter_type
action find
entity Q4026914
relation P19
type Q56061
['Q4026914', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q4026914 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Norman Loftus Bor
action filter_type
action find
entity Norman Loftus Bor
relation place of birth
type administrative territorial entity
['Norman Loftus Bor', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Norman_Loftus_Bor property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q507924
SYSTEM
Tramore
Q507924
(Q4026914,P19,c(Q56061))
action filter_type
action find
entity Q4026914
relation P19
type Q56061
[ANSWER] is the birthplace of Norman Loftus Bor
['Q4026914', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q4026914 property:P19 ?i . ?i rdf:type ontology:Q56061 }
Tramore
Tramore is the birthplace of Norman Loftus Bor
Tramore
action filter_type
action find
entity Norman Loftus Bor
relation place of birth
type administrative territorial entity
['Norman Loftus Bor', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Norman_Loftus_Bor property:place_of_birth ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6523648
Q56061
USER
And how about Leo Cruz?
(Q6523648,P19,c(Q56061))
action filter_type
action find
entity Q6523648
relation P19
type Q56061
['Q6523648', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q6523648 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Leo Cruz
action filter_type
action find
entity Leo Cruz
relation place of birth
type administrative territorial entity
['Leo Cruz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Leo_Cruz property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42763
SYSTEM
Santiago de los Caballeros
Q42763
(Q6523648,P19,c(Q56061))
action filter_type
action find
entity Q6523648
relation P19
type Q56061
[ANSWER]
['Q6523648', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q6523648 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Santiago de los Caballeros
Santiago de los Caballeros
action filter_type
action find
entity Leo Cruz
relation place of birth
type administrative territorial entity
['Leo Cruz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Leo_Cruz property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42763
P36
Q15617994
USER
Which administrative territories contain that administrative territory as their capital ?
(c(Q15617994),P36,Q42763)
action filter_type
action find_reverse
entity Q42763
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q42763']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . ?y property:P36 resource:Q42763 }
Santiago de los Caballeros
action filter_type
action find_reverse
entity Santiago de los Caballeros
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Santiago de los Caballeros']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:capital resource:Santiago_de_los_Caballeros }
[]
designation for an administrative territorial entity
Q3044677 Q3044623
SYSTEM
Samaná, Cibao
Q3044677 Q3044623
(c(Q15617994),P36,Q42763)
action filter_type
action find_reverse
entity Q42763
relation P36
type Q15617994
[ANSWERS] contain that administrative territory as their capital
[{'concept': 'Q15617994'}, 'P36', 'Q42763']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . ?y property:P36 resource:Q42763 }
Samaná Cibao
Samaná and Cibao contain that administrative territory as their capital
Samaná Cibao
action filter_type
action find_reverse
entity Santiago de los Caballeros
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Santiago de los Caballeros']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:capital resource:Santiago_de_los_Caballeros }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3044677
P1376
Q56061
USER
Which administrative territory is the capital of that administrative territory ?
(c(Q56061),P1376,Q3044677)
action filter_type
action find_reverse
entity Q3044677
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q3044677']
SELECT DISTINCT ?q WHERE { ?q property:P1376 resource:Q3044677 . ?q rdf:type ontology:Q56061 }
Samaná
action filter_type
action find_reverse
entity Samaná
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Samaná']
SELECT DISTINCT ?q WHERE { ?q property:capital_of resource:Samaná . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q3044677
SYSTEM
Did you mean Samaná ?
Q3044677 Q3044623
(c(Q56061),P1376,Q3044677) (c(Q56061),P1376,Q3044623)
[ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q3044677'] [{'concept': 'Q56061'}, 'P1376', 'Q3044623']
SELECT DISTINCT ?q WHERE { ?q property:P1376 resource:Q3044677 . ?q rdf:type ontology:Q56061 }
Samaná Cibao
Did you mean Samaná ?
Samaná
[{'concept': 'administrative territorial entity'}, 'capital of', 'Samaná'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Cibao']
SELECT DISTINCT ?q WHERE { ?q property:capital_of resource:Samaná . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q56061),P1376,Q3044677)
[{'concept': 'Q56061'}, 'P1376', 'Q3044677']
[{'concept': 'administrative territorial entity'}, 'capital of', 'Samaná']
[]
Q42763
SYSTEM
Santiago de los Caballeros
Q42763
(c(Q56061),P1376,Q3044677)
action filter_type
action find_reverse
entity Q3044677
relation P1376
type Q56061
[ANSWER] is the capital of that administrative territory
[{'concept': 'Q56061'}, 'P1376', 'Q3044677']
SELECT DISTINCT ?q WHERE { ?q property:P1376 resource:Q3044677 . ?q rdf:type ontology:Q56061 }
Santiago de los Caballeros
Santiago de los Caballeros is the capital of that administrative territory
Santiago de los Caballeros
action filter_type
action find_reverse
entity Samaná
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Samaná']
SELECT DISTINCT ?q WHERE { ?q property:capital_of resource:Samaná . ?q rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q507924
P19 P21
Q502895
USER
Which people have location of birth at Tramore and have male as the sex ?
AND((c(Q502895),P19,Q507924), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q507924
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q507924'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q507924 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
male Tramore
action filter_type
action intersection
action find_reverse
entity Tramore
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Tramore'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Tramore . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
common name
Q6111022 Q5542645 Q4026914
SYSTEM
Jack Anthony, George Morrison, Norman Loftus Bor
Q6111022 Q5542645 Q4026914
AND((c(Q502895),P19,Q507924), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q507924
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have location of birth at Tramore and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q507924'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l property:P19 resource:Q507924 . ?l property:P21 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
Jack Anthony George Morrison Norman Loftus Bor
Jack Anthony, George Morrison and Norman Loftus Bor have location of birth at Tramore and have male as the sex
Jack Anthony George Morrison Norman Loftus Bor
action filter_type
action intersection
action find_reverse
entity Tramore
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Tramore'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l property:place_of_birth resource:Tramore . ?l property:gender resource:male . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 143 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 143
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { FILTER ( ?p >= 143 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?d } }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 143
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { FILTER ( ?p >= 143 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?d } }
[]
musical instrument common name
SYSTEM
11
Q80284 Q46185 Q80019 Q5994 Q81982 Q8338 Q8371 Q8355 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 143
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { FILTER ( ?p >= 143 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?d } }
viola bass guitar double bass piano harpsichord trumpet cello violin organ drum kit electronic keyboard
11
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 143
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { FILTER ( ?p >= 143 ) . { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?p ) WHERE { ?u property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4026914
P106
Q12737077
USER
Which occupation is the profession of Norman Loftus Bor ?
(Q4026914,P106,c(Q12737077))
action filter_type
action find
entity Q4026914
relation P106
type Q12737077
['Q4026914', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q4026914 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Norman Loftus Bor
action filter_type
action find
entity Norman Loftus Bor
relation occupation
type occupation
['Norman Loftus Bor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Norman_Loftus_Bor property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q2374149
SYSTEM
botanist
Q2374149
(Q4026914,P106,c(Q12737077))
action filter_type
action find
entity Q4026914
relation P106
type Q12737077
[ANSWER] is the profession of Norman Loftus Bor
['Q4026914', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q4026914 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
botanist
Botanist is the profession of Norman Loftus Bor
botanist
action filter_type
action find
entity Norman Loftus Bor
relation occupation
type occupation
['Norman Loftus Bor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Norman_Loftus_Bor property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3041331
Q12737077
USER
And what about Sandy Evrard?
(Q3041331,P106,c(Q12737077))
action filter_type
action find
entity Q3041331
relation P106
type Q12737077
['Q3041331', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q3041331 property:P106 ?d }
Sandy Evrard
action filter_type
action find
entity Sandy Evrard
relation occupation
type occupation
['Sandy Evrard', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Sandy_Evrard property:occupation ?d }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3041331,P106,c(Q12737077))
action filter_type
action find
entity Q3041331
relation P106
type Q12737077
[ANSWER]
['Q3041331', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . resource:Q3041331 property:P106 ?d }
politician
politician
action filter_type
action find
entity Sandy Evrard
relation occupation
type occupation
['Sandy Evrard', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . resource:Sandy_Evrard property:occupation ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q10762848 Q13501083
P166
Q502895
USER
How many people were awarded with Officer of the Order of the British Empire and Knight of the Order of St. Gregory the Great ?
(c(Q502895),P166,Q10762848) (c(Q502895),P166,Q13501083)
action count
action intersection
action filter_type
action find_reverse
entity Q10762848
relation P166
type Q502895
action filter_type
action find_reverse
entity Q13501083
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q10762848'] [{'concept': 'Q502895'}, 'P166', 'Q13501083']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P166 resource:Q10762848 . ?p rdf:type ontology:Q502895 . ?p property:P166 resource:Q13501083 . ?p rdf:type ontology:Q502895 }
Officer of the Order of the British Empire Knight of the Order of St. Gregory the Great
action count
action intersection
action filter_type
action find_reverse
entity Officer of the Order of the British Empire
relation award received
type common name
action filter_type
action find_reverse
entity Knight of the Order of St. Gregory the Great
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Officer of the Order of the British Empire'] [{'concept': 'common name'}, 'award received', 'Knight of the Order of St. Gregory the Great']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:award_received resource:Officer_of_the_Order_of_the_British_Empire . ?p rdf:type ontology:common_name . ?p property:award_received resource:Knight_of_the_Order_of_St._Gregory_the_Great . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q381694 Q713479 Q7229559 Q335517
(c(Q502895),P166,Q10762848) (c(Q502895),P166,Q13501083)
action count
action intersection
action filter_type
action find_reverse
entity Q10762848
relation P166
type Q502895
action filter_type
action find_reverse
entity Q13501083
relation P166
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P166', 'Q10762848'] [{'concept': 'Q502895'}, 'P166', 'Q13501083']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P166 resource:Q10762848 . ?p rdf:type ontology:Q502895 . ?p property:P166 resource:Q13501083 . ?p rdf:type ontology:Q502895 }
Henry Cooper Jimmy Savile Joan Bartlett Charles Guthrie, Baron Guthrie of Craigiebank
4
action count
action intersection
action filter_type
action find_reverse
entity Officer of the Order of the British Empire
relation award received
type common name
action filter_type
action find_reverse
entity Knight of the Order of St. Gregory the Great
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Officer of the Order of the British Empire'] [{'concept': 'common name'}, 'award received', 'Knight of the Order of St. Gregory the Great']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:award_received resource:Officer_of_the_Order_of_the_British_Empire . ?p rdf:type ontology:common_name . ?p property:award_received resource:Knight_of_the_Order_of_St._Gregory_the_Great . ?p rdf:type ontology:common_name }
[]