Simple Question (Direct)
Simple Question
Q828606
P641
Q349
USER
Which sport was Bertrand Marchand a part of ?
(Q828606,P641,c(Q349))
action filter_type
action find
entity Q828606
relation P641
type Q349
['Q828606', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q828606 property:P641 ?n }
Bertrand Marchand
action filter_type
action find
entity Bertrand Marchand
relation sport
type sport
['Bertrand Marchand', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Bertrand_Marchand property:sport ?n }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q828606,P641,c(Q349))
action filter_type
action find
entity Q828606
relation P641
type Q349
The [ANSWER] was Bertrand Marchand a part of
['Q828606', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q828606 property:P641 ?n }
association football
The association football was Bertrand Marchand a part of
association football
action filter_type
action find
entity Bertrand Marchand
relation sport
type sport
['Bertrand Marchand', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Bertrand_Marchand property:sport ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q828606
P734
Q82799
USER
Who has the surname that person ?
(Q2736,P734,c(Q82799))
action filter_type
action find
entity Q828606
relation P734
type Q82799
['Q2736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q828606 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Bertrand Marchand
action filter_type
action find
entity Bertrand Marchand
relation family name
type name
['association football', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Bertrand_Marchand property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q18549497
SYSTEM
Marchand
Q18549497
(Q2736,P734,c(Q82799))
action filter_type
action find
entity Q828606
relation P734
type Q82799
[ANSWER] has the surname that person
['Q2736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q828606 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Marchand
Marchand has the surname that person
Marchand
action filter_type
action find
entity Bertrand Marchand
relation family name
type name
['association football', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Bertrand_Marchand property:family_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q828606
P106
Q12737077
USER
What are the professions of that person ?
(Q18549497,P106,c(Q12737077))
action filter_type
action find
entity Q828606
relation P106
type Q12737077
['Q18549497', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q828606 property:P106 ?t }
Bertrand Marchand
action filter_type
action find
entity Bertrand Marchand
relation occupation
type occupation
['Marchand', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Bertrand_Marchand property:occupation ?t }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q18549497,P106,c(Q12737077))
action filter_type
action find
entity Q828606
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q18549497', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q828606 property:P106 ?t }
association football manager association football player
The professions of that person are association football manager and association football player
association football manager association football player
action filter_type
action find
entity Bertrand Marchand
relation occupation
type occupation
['Marchand', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Bertrand_Marchand property:occupation ?t }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3870622
P106
Q502895
USER
Do Natale Picano have those occupations as his/her means of employment ?
(Q3870622,P106,Q628099) (Q3870622,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q3870622
relation P106
['Q3870622', 'P106', 'Q628099'] ['Q3870622', 'P106', 'Q937857']
ASK WHERE { resource:Q3870622 property:P106 ?l . VALUES ( ?l ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
Natale Picano
action is_in
entity prev_answer
action find
entity Natale Picano
relation occupation
['Natale Picano', 'occupation', 'association football manager'] ['Natale Picano', 'occupation', 'association football player']
ASK WHERE { resource:Natale_Picano property:occupation ?l . VALUES ( ?l ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
common name
SYSTEM
YES
(Q3870622,P106,Q628099) (Q3870622,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q3870622
relation P106
[ANSWER]
['Q3870622', 'P106', 'Q628099'] ['Q3870622', 'P106', 'Q937857']
ASK WHERE { resource:Q3870622 property:P106 ?l . VALUES ( ?l ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
Yes
action is_in
entity prev_answer
action find
entity Natale Picano
relation occupation
['Natale Picano', 'occupation', 'association football manager'] ['Natale Picano', 'occupation', 'association football player']
ASK WHERE { resource:Natale_Picano property:occupation ?l . VALUES ( ?l ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q628099 Q606060
P425
Q349
USER
Is women's association football associated with the field of occupation association football manager ?
(Q628099,P425,Q606060)
action is_in
entity Q606060
action find
entity Q628099
relation P425
['Q628099', 'P425', 'Q606060']
ASK WHERE { resource:Q628099 property:P425 resource:Q606060 }
association football manager women's association football
action is_in
entity women's association football
action find
entity association football manager
relation field of this occupation
['association football manager', 'field of this occupation', "women's association football"]
ASK WHERE { resource:association_football_manager property:field_of_this_occupation resource:women's_association_football }
[]
sport
SYSTEM
NO
(Q628099,P425,Q606060)
action is_in
entity Q606060
action find
entity Q628099
relation P425
[ANSWER]
['Q628099', 'P425', 'Q606060']
ASK WHERE { resource:Q628099 property:P425 resource:Q606060 }
No
action is_in
entity women's association football
action find
entity association football manager
relation field of this occupation
['association football manager', 'field of this occupation', "women's association football"]
ASK WHERE { resource:association_football_manager property:field_of_this_occupation resource:women's_association_football }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q828606
P27
Q15617994
USER
Which administrative territory is the native country of Bertrand Marchand ?
(Q828606,P27,c(Q15617994))
action filter_type
action find
entity Q828606
relation P27
type Q15617994
['Q828606', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q828606 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Bertrand Marchand
action filter_type
action find
entity Bertrand Marchand
relation country of citizenship
type designation for an administrative territorial entity
['Bertrand Marchand', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Bertrand_Marchand property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q828606,P27,c(Q15617994))
action filter_type
action find
entity Q828606
relation P27
type Q15617994
[ANSWER] is the native country of Bertrand Marchand
['Q828606', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q828606 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
France
France is the native country of Bertrand Marchand
France
action filter_type
action find
entity Bertrand Marchand
relation country of citizenship
type designation for an administrative territorial entity
['Bertrand Marchand', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Bertrand_Marchand property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q944563
Q15617994
USER
And also tell me about Richard Coles?
(Q944563,P27,c(Q15617994))
action filter_type
action find
entity Q944563
relation P27
type Q15617994
['Q944563', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q944563 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Richard Coles
action filter_type
action find
entity Richard Coles
relation country of citizenship
type designation for an administrative territorial entity
['Richard Coles', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Richard_Coles property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q944563,P27,c(Q15617994))
action filter_type
action find
entity Q944563
relation P27
type Q15617994
[ANSWER]
['Q944563', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q944563 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity Richard Coles
relation country of citizenship
type designation for an administrative territorial entity
['Richard Coles', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Richard_Coles property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4715188 Q628099
P425 P641
Q349
USER
Which sports have association football manager as thier associated field of occupation and were Aleksandr Karakin a part of ?
AND((Q628099,P425,c(Q349)), (Q4715188,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q628099
relation P425
action find
entity Q4715188
relation P641
type Q349
{'AND': [['Q628099', 'P425', {'concept': 'Q349'}], ['Q4715188', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?w WHERE { resource:Q628099 property:P425 ?w . resource:Q4715188 property:P641 ?w . ?w rdf:type ontology:Q349 }
Aleksandr Karakin association football manager
action filter_type
action intersection
action find
entity association football manager
relation field of this occupation
action find
entity Aleksandr Karakin
relation sport
type sport
{'AND': [['association football manager', 'field of this occupation', {'concept': 'sport'}], ['Aleksandr Karakin', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?w WHERE { resource:association_football_manager property:field_of_this_occupation ?w . resource:Aleksandr_Karakin property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q628099,P425,c(Q349)), (Q4715188,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q628099
relation P425
action find
entity Q4715188
relation P641
type Q349
As [ANSWER] have [ANSWER] manager as thier associated field of occupation and were Aleksandr Karakin a part of
{'AND': [['Q628099', 'P425', {'concept': 'Q349'}], ['Q4715188', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?w WHERE { resource:Q628099 property:P425 ?w . resource:Q4715188 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
As association football have association football manager as thier associated field of occupation and were Aleksandr Karakin a part of
association football
action filter_type
action intersection
action find
entity association football manager
relation field of this occupation
action find
entity Aleksandr Karakin
relation sport
type sport
{'AND': [['association football manager', 'field of this occupation', {'concept': 'sport'}], ['Aleksandr Karakin', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?w WHERE { resource:association_football_manager property:field_of_this_occupation ?w . resource:Aleksandr_Karakin property:sport ?w . ?w rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6291338 Q4715188
P27
Q15617994
USER
Which administrative territories are Aleksandr Karakin or José Alfredo Saavedra a civilian of ?
OR((Q4715188,P27,c(Q15617994)), (Q6291338,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4715188
relation P27
action find
entity Q6291338
relation P27
type Q15617994
{'OR': [['Q4715188', 'P27', {'concept': 'Q15617994'}], ['Q6291338', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?w ) { ( resource:Q4715188 ) ( resource:Q6291338 ) } . ?w property:P27 ?q } . ?q rdf:type ontology:Q15617994 }
José Alfredo Saavedra Aleksandr Karakin
action filter_type
action union
action find
entity Aleksandr Karakin
relation country of citizenship
action find
entity José Alfredo Saavedra
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Aleksandr Karakin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['José Alfredo Saavedra', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?w ) { ( resource:Aleksandr_Karakin ) ( resource:José_Alfredo_Saavedra ) } . ?w property:country_of_citizenship ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q783 Q159
SYSTEM
Honduras, Russia
Q783 Q159
OR((Q4715188,P27,c(Q15617994)), (Q6291338,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4715188
relation P27
action find
entity Q6291338
relation P27
type Q15617994
[ANSWERS] are Aleksandr Karakin or José Alfredo Saavedra a civilian of
{'OR': [['Q4715188', 'P27', {'concept': 'Q15617994'}], ['Q6291338', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?w ) { ( resource:Q4715188 ) ( resource:Q6291338 ) } . ?w property:P27 ?q } . ?q rdf:type ontology:Q15617994 }
Honduras Russia
Honduras and Russia are Aleksandr Karakin or José Alfredo Saavedra a civilian of
Honduras Russia
action filter_type
action union
action find
entity Aleksandr Karakin
relation country of citizenship
action find
entity José Alfredo Saavedra
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Aleksandr Karakin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['José Alfredo Saavedra', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?w ) { ( resource:Aleksandr_Karakin ) ( resource:José_Alfredo_Saavedra ) } . ?w property:country_of_citizenship ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q155
P530
Q15617994
USER
Do Brazil have diplomatic relations with those ones ?
(Q155,P530,Q783) (Q155,P530,Q159)
action is_in
entity prev_answer
action find
entity Q155
relation P530
['Q155', 'P530', 'Q783'] ['Q155', 'P530', 'Q159']
ASK WHERE { resource:Q155 property:P530 ?y . VALUES ( ?y ) { ( resource:Q783 ) ( resource:Q159 ) } }
Brazil
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Honduras'] ['Brazil', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Brazil property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Honduras ) ( resource:Russia ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q783) (Q155,P530,Q159)
action is_in
entity prev_answer
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q783'] ['Q155', 'P530', 'Q159']
ASK WHERE { resource:Q155 property:P530 ?y . VALUES ( ?y ) { ( resource:Q783 ) ( resource:Q159 ) } }
Yes
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Honduras'] ['Brazil', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Brazil property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Honduras ) ( resource:Russia ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q142 Q183
P530
Q1048835
USER
Does Germany have diplomatic relationships with France ?
(Q142,P530,Q183)
action is_in
entity Q183
action find
entity Q142
relation P530
['Q142', 'P530', 'Q183']
ASK WHERE { resource:Q142 property:P530 resource:Q183 }
France Germany
action is_in
entity Germany
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Germany']
ASK WHERE { resource:France property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q142,P530,Q183)
action is_in
entity Q183
action find
entity Q142
relation P530
[ANSWER]
['Q142', 'P530', 'Q183']
ASK WHERE { resource:Q142 property:P530 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'Germany']
ASK WHERE { resource:France property:diplomatic_relation resource:Germany }
[]