Simple Question (Direct)
Simple Question
Q983510
P27
Q15617994
USER
Which administrative territory is Jahm bin Safwan a civilian of ?
(Q983510,P27,c(Q15617994))
action filter_type
action find
entity Q983510
relation P27
type Q15617994
['Q983510', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q983510 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Jahm bin Safwan
action filter_type
action find
entity Jahm bin Safwan
relation country of citizenship
type designation for an administrative territorial entity
['Jahm bin Safwan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jahm_bin_Safwan property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q8575586
SYSTEM
Umayyad Caliphate
Q8575586
(Q983510,P27,c(Q15617994))
action filter_type
action find
entity Q983510
relation P27
type Q15617994
[ANSWER] is Jahm bin Safwan a civilian of
['Q983510', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q983510 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Umayyad Caliphate
Umayyad Caliphate is Jahm bin Safwan a civilian of
Umayyad Caliphate
action filter_type
action find
entity Jahm bin Safwan
relation country of citizenship
type designation for an administrative territorial entity
['Jahm bin Safwan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jahm_bin_Safwan property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8575586
P138
Q502895
USER
Which person is namesake of that administrative territory ?
(Q8575586,P138,c(Q502895))
action filter_type
action find
entity Q8575586
relation P138
type Q502895
['Q8575586', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q8575586 property:P138 ?s . ?s rdf:type ontology:Q502895 }
Umayyad Caliphate
action filter_type
action find
entity Umayyad Caliphate
relation named after
type common name
['Umayyad Caliphate', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Umayyad_Caliphate property:named_after ?s . ?s rdf:type ontology:common_name }
[]
common name
Q2746812
SYSTEM
Umayya ibn Abd Shams
Q2746812
(Q8575586,P138,c(Q502895))
action filter_type
action find
entity Q8575586
relation P138
type Q502895
[ANSWER] is namesake of that administrative territory
['Q8575586', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q8575586 property:P138 ?s . ?s rdf:type ontology:Q502895 }
Umayya ibn Abd Shams
Umayya ibn Abd Shams is namesake of that administrative territory
Umayya ibn Abd Shams
action filter_type
action find
entity Umayyad Caliphate
relation named after
type common name
['Umayyad Caliphate', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Umayyad_Caliphate property:named_after ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8575586
P710
Q1190554
USER
Which events have Umayyad Caliphate as their participant ?
(c(Q1190554),P710,Q8575586)
action filter_type
action find_reverse
entity Q8575586
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q8575586']
SELECT DISTINCT ?w WHERE { ?w property:P710 resource:Q8575586 . ?w rdf:type ontology:Q1190554 }
Umayyad Caliphate
action filter_type
action find_reverse
entity Umayyad Caliphate
relation participant
type event
[{'concept': 'event'}, 'participant', 'Umayyad Caliphate']
SELECT DISTINCT ?w WHERE { ?w property:participant resource:Umayyad_Caliphate . ?w rdf:type ontology:event }
[]
event
Q128996 Q4870380 Q2524627
SYSTEM
Battle of Akroinon, Battle of Bagdoura, Battle of the River Garonne
Q128996 Q4870380 Q2524627 Q957186 Q504172 Q1747219 Q4870390 Q4870429
(c(Q1190554),P710,Q8575586)
action filter_type
action find_reverse
entity Q8575586
relation P710
type Q1190554
[ANSWERS] have Umayyad Caliphate as their participant
[{'concept': 'Q1190554'}, 'P710', 'Q8575586']
SELECT DISTINCT ?w WHERE { ?w property:P710 resource:Q8575586 . ?w rdf:type ontology:Q1190554 }
Battle of Akroinon Battle of Bagdoura Battle of the River Garonne Battle of Covadonga Battle of Guadalete Battle of Avignon Battle of Bajarwan Battle of Baykand
Battle of Akroinon, Battle of Bagdoura and Battle of the River Garonne have Umayyad Caliphate as their participant
Battle of Akroinon Battle of Bagdoura Battle of the River Garonne
action filter_type
action find_reverse
entity Umayyad Caliphate
relation participant
type event
[{'concept': 'event'}, 'participant', 'Umayyad Caliphate']
SELECT DISTINCT ?w WHERE { ?w property:participant resource:Umayyad_Caliphate . ?w rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q128996 Q4870380 Q2524627
P276
Q56061
USER
Where can Battle of Akroinon, Battle of Bagdoura and Battle of the River Garonne be found ?
(Q128996,P276,c(Q56061)) (Q4870380,P276,c(Q56061)) (Q2524627,P276,c(Q56061))
action union
action filter_type
action find
entity Q128996
relation P276
type Q56061
action filter_type
action find
entity Q4870380
relation P276
type Q56061
action filter_type
action find
entity Q2524627
relation P276
type Q56061
['Q128996', 'P276', {'concept': 'Q56061'}] ['Q4870380', 'P276', {'concept': 'Q56061'}] ['Q2524627', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?f ) { ( resource:Q4870380 ) ( resource:Q128996 ) } . ?f property:P276 ?g }
Battle of Akroinon Battle of Bagdoura Battle of the River Garonne
action union
action filter_type
action find
entity Battle of Akroinon
relation location
type administrative territorial entity
action filter_type
action find
entity Battle of Bagdoura
relation location
type administrative territorial entity
action filter_type
action find
entity Battle of the River Garonne
relation location
type administrative territorial entity
['Battle of Akroinon', 'location', {'concept': 'administrative territorial entity'}] ['Battle of Bagdoura', 'location', {'concept': 'administrative territorial entity'}] ['Battle of the River Garonne', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?f ) { ( resource:Battle_of_Bagdoura ) ( resource:Battle_of_Akroinon ) } . ?f property:location ?g }
[]
administrative territorial entity
Q166824 Q80985 Q1479
SYSTEM
Afyonkarahisar, Fes, Bordeaux
Q166824 Q80985 Q1479
(Q128996,P276,c(Q56061)) (Q4870380,P276,c(Q56061)) (Q2524627,P276,c(Q56061))
action union
action filter_type
action find
entity Q128996
relation P276
type Q56061
action filter_type
action find
entity Q4870380
relation P276
type Q56061
action filter_type
action find
entity Q2524627
relation P276
type Q56061
Battle of Akroinon , Battle of Bagdoura and Battle of the River Garonne can be found in [ANSWERS]
['Q128996', 'P276', {'concept': 'Q56061'}] ['Q4870380', 'P276', {'concept': 'Q56061'}] ['Q2524627', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?f ) { ( resource:Q4870380 ) ( resource:Q128996 ) } . ?f property:P276 ?g }
Afyonkarahisar Fes Bordeaux
Battle of Akroinon , Battle of Bagdoura and Battle of the River Garonne can be found in Afyonkarahisar, Fes and Bordeaux
Afyonkarahisar Fes Bordeaux
action union
action filter_type
action find
entity Battle of Akroinon
relation location
type administrative territorial entity
action filter_type
action find
entity Battle of Bagdoura
relation location
type administrative territorial entity
action filter_type
action find
entity Battle of the River Garonne
relation location
type administrative territorial entity
['Battle of Akroinon', 'location', {'concept': 'administrative territorial entity'}] ['Battle of Bagdoura', 'location', {'concept': 'administrative territorial entity'}] ['Battle of the River Garonne', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?f ) { ( resource:Battle_of_Bagdoura ) ( resource:Battle_of_Akroinon ) } . ?f property:location ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1479
P112
Q618779
USER
Which award was started by Bordeaux ?
(c(Q618779),P112,Q1479)
action filter_type
action find_reverse
entity Q1479
relation P112
type Q618779
[{'concept': 'Q618779'}, 'P112', 'Q1479']
SELECT DISTINCT ?v WHERE { ?v property:P112 resource:Q1479 . ?v rdf:type ontology:Q618779 }
Bordeaux
action filter_type
action find_reverse
entity Bordeaux
relation founder
type award
[{'concept': 'award'}, 'founder', 'Bordeaux']
SELECT DISTINCT ?v WHERE { ?v property:founder resource:Bordeaux . ?v rdf:type ontology:award }
[]
award
Q16671140
SYSTEM
prix Montaigne de Bordeaux
Q16671140
(c(Q618779),P112,Q1479)
action filter_type
action find_reverse
entity Q1479
relation P112
type Q618779
[ANSWER] was started by Bordeaux
[{'concept': 'Q618779'}, 'P112', 'Q1479']
SELECT DISTINCT ?v WHERE { ?v property:P112 resource:Q1479 . ?v rdf:type ontology:Q618779 }
prix Montaigne de Bordeaux
Prix Montaigne de Bordeaux was started by Bordeaux
prix Montaigne de Bordeaux
action filter_type
action find_reverse
entity Bordeaux
relation founder
type award
[{'concept': 'award'}, 'founder', 'Bordeaux']
SELECT DISTINCT ?v WHERE { ?v property:founder resource:Bordeaux . ?v rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16671140
P17
Q15617994
USER
Which administrative territory is that award a part of ?
(Q16671140,P17,c(Q15617994))
action filter_type
action find
entity Q16671140
relation P17
type Q15617994
['Q16671140', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q16671140 property:P17 ?p }
prix Montaigne de Bordeaux
action filter_type
action find
entity prix Montaigne de Bordeaux
relation country
type designation for an administrative territorial entity
['prix Montaigne de Bordeaux', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:prix_Montaigne_de_Bordeaux property:country ?p }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q16671140,P17,c(Q15617994))
action filter_type
action find
entity Q16671140
relation P17
type Q15617994
[ANSWER] is that award a part of
['Q16671140', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q16671140 property:P17 ?p }
France
France is that award a part of
France
action filter_type
action find
entity prix Montaigne de Bordeaux
relation country
type designation for an administrative territorial entity
['prix Montaigne de Bordeaux', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:prix_Montaigne_de_Bordeaux property:country ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16671140
P166
Q502895
USER
Which people received the award titled that one ?
(c(Q502895),P166,Q142)
action filter_type
action find_reverse
entity Q16671140
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q142']
SELECT DISTINCT ?l WHERE { ?l property:P166 resource:Q16671140 . ?l rdf:type ontology:Q502895 }
prix Montaigne de Bordeaux
action filter_type
action find_reverse
entity prix Montaigne de Bordeaux
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'France']
SELECT DISTINCT ?l WHERE { ?l property:award_received resource:prix_Montaigne_de_Bordeaux . ?l rdf:type ontology:common_name }
[]
common name
Q1149751 Q766776
SYSTEM
Élie Barnavi, Philippe Beaussant
Q1149751 Q766776
(c(Q502895),P166,Q142)
action filter_type
action find_reverse
entity Q16671140
relation P166
type Q502895
[ANSWERS] received the award titled that one
[{'concept': 'Q502895'}, 'P166', 'Q142']
SELECT DISTINCT ?l WHERE { ?l property:P166 resource:Q16671140 . ?l rdf:type ontology:Q502895 }
Élie Barnavi Philippe Beaussant
Élie Barnavi and Philippe Beaussant received the award titled that one
Élie Barnavi Philippe Beaussant
action filter_type
action find_reverse
entity prix Montaigne de Bordeaux
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'France']
SELECT DISTINCT ?l WHERE { ?l property:award_received resource:prix_Montaigne_de_Bordeaux . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q28389 Q16671140
P106 P166
Q502895
USER
Which people won prix Montaigne de Bordeaux and have a job as screenwriter ?
AND((c(Q502895),P166,Q16671140), (c(Q502895),P106,Q28389))
action filter_type
action intersection
action find_reverse
entity Q16671140
relation P166
action find_reverse
entity Q28389
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q16671140'], [{'concept': 'Q502895'}, 'P106', 'Q28389']]}
SELECT DISTINCT ?p WHERE { ?p property:P166 resource:Q16671140 . ?p property:P106 resource:Q28389 . ?p rdf:type ontology:Q502895 }
screenwriter prix Montaigne de Bordeaux
action filter_type
action intersection
action find_reverse
entity prix Montaigne de Bordeaux
relation award received
action find_reverse
entity screenwriter
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'prix Montaigne de Bordeaux'], [{'concept': 'common name'}, 'occupation', 'screenwriter']]}
SELECT DISTINCT ?p WHERE { ?p property:award_received resource:prix_Montaigne_de_Bordeaux . ?p property:occupation resource:screenwriter . ?p rdf:type ontology:common_name }
[]
common name
Q766776
SYSTEM
Philippe Beaussant
Q766776
AND((c(Q502895),P166,Q16671140), (c(Q502895),P106,Q28389))
action filter_type
action intersection
action find_reverse
entity Q16671140
relation P166
action find_reverse
entity Q28389
relation P106
type Q502895
[ANSWER] won prix Montaigne de Bordeaux and have a job as screenwriter
{'AND': [[{'concept': 'Q502895'}, 'P166', 'Q16671140'], [{'concept': 'Q502895'}, 'P106', 'Q28389']]}
SELECT DISTINCT ?p WHERE { ?p property:P166 resource:Q16671140 . ?p property:P106 resource:Q28389 . ?p rdf:type ontology:Q502895 }
Philippe Beaussant
Philippe Beaussant won prix Montaigne de Bordeaux and have a job as screenwriter
Philippe Beaussant
action filter_type
action intersection
action find_reverse
entity prix Montaigne de Bordeaux
relation award received
action find_reverse
entity screenwriter
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'award received', 'prix Montaigne de Bordeaux'], [{'concept': 'common name'}, 'occupation', 'screenwriter']]}
SELECT DISTINCT ?p WHERE { ?p property:award_received resource:prix_Montaigne_de_Bordeaux . ?p property:occupation resource:screenwriter . ?p rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q766776 Q17355454 Q13422138
P166
Q618779
USER
Was that person honoured with Prix Pelléas and Knight of the National Order of Merit ?
(Q766776,P166,Q17355454) (Q766776,P166,Q13422138)
action is_in
entity Q766776
action intersection
action find_reverse
entity Q17355454
relation P166
action find_reverse
entity Q13422138
relation P166
['Q766776', 'P166', 'Q17355454'] ['Q766776', 'P166', 'Q13422138']
ASK WHERE { resource:Q766776 property:P166 resource:Q17355454 . resource:Q766776 property:P166 resource:Q13422138 }
Philippe Beaussant Prix Pelléas Knight of the National Order of Merit
action is_in
entity Philippe Beaussant
action intersection
action find_reverse
entity Prix Pelléas
relation award received
action find_reverse
entity Knight of the National Order of Merit
relation award received
['Philippe Beaussant', 'award received', 'Prix Pelléas'] ['Philippe Beaussant', 'award received', 'Knight of the National Order of Merit']
ASK WHERE { resource:Philippe_Beaussant property:award_received resource:Prix_Pelléas . resource:Philippe_Beaussant property:award_received resource:Knight_of_the_National_Order_of_Merit }
[]
award
SYSTEM
YES
(Q766776,P166,Q17355454) (Q766776,P166,Q13422138)
action is_in
entity Q766776
action intersection
action find_reverse
entity Q17355454
relation P166
action find_reverse
entity Q13422138
relation P166
[ANSWER]
['Q766776', 'P166', 'Q17355454'] ['Q766776', 'P166', 'Q13422138']
ASK WHERE { resource:Q766776 property:P166 resource:Q17355454 . resource:Q766776 property:P166 resource:Q13422138 }
Yes
action is_in
entity Philippe Beaussant
action intersection
action find_reverse
entity Prix Pelléas
relation award received
action find_reverse
entity Knight of the National Order of Merit
relation award received
['Philippe Beaussant', 'award received', 'Prix Pelléas'] ['Philippe Beaussant', 'award received', 'Knight of the National Order of Merit']
ASK WHERE { resource:Philippe_Beaussant property:award_received resource:Prix_Pelléas . resource:Philippe_Beaussant property:award_received resource:Knight_of_the_National_Order_of_Merit }
[]