Simple Question (Direct)
Simple Question
Q15811851
P106
Q12737077
USER
What is the job of Georges Turines ?
(Q15811851,P106,c(Q12737077))
action filter_type
action find
entity Q15811851
relation P106
type Q12737077
['Q15811851', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q15811851 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Georges Turines
action filter_type
action find
entity Georges Turines
relation occupation
type occupation
['Georges Turines', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Georges_Turines property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q15811851,P106,c(Q12737077))
action filter_type
action find
entity Q15811851
relation P106
type Q12737077
The job of Georges Turines is a [ANSWER]
['Q15811851', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q15811851 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
politician
The job of Georges Turines is a politician
politician
action filter_type
action find
entity Georges Turines
relation occupation
type occupation
['Georges Turines', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Georges_Turines property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15811851
P39
Q12737077
USER
Which occupations were a position held by Georges Turines ?
(Q15811851,P39,c(Q12737077))
action filter_type
action find
entity Q15811851
relation P39
type Q12737077
['Q15811851', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q15811851 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Georges Turines
action filter_type
action find
entity Georges Turines
relation position held
type occupation
['Georges Turines', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Georges_Turines property:position_held ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q382617 Q3044918
SYSTEM
maire, member of the French National Assembly
Q382617 Q3044918
(Q15811851,P39,c(Q12737077))
action filter_type
action find
entity Q15811851
relation P39
type Q12737077
[ANSWERS]
['Q15811851', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q15811851 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
maire member of the French National Assembly
The maire and member of the French National Assembly were a position held by Georges Turines
maire member of the French National Assembly
action filter_type
action find
entity Georges Turines
relation position held
type occupation
['Georges Turines', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Georges_Turines property:position_held ?j . ?j rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3638842
P39
Q502895
USER
Did Bernie Fryer hold the position of those occupations ?
(Q3638842,P39,Q382617) (Q3638842,P39,Q3044918)
action is_in
entity prev_answer
action find
entity Q3638842
relation P39
['Q3638842', 'P39', 'Q382617'] ['Q3638842', 'P39', 'Q3044918']
ASK WHERE { VALUES ( ?k ) { ( resource:Q382617 ) ( resource:Q3044918 ) } . resource:Q3638842 property:P39 ?k }
Bernie Fryer
action is_in
entity prev_answer
action find
entity Bernie Fryer
relation position held
['Bernie Fryer', 'position held', 'maire'] ['Bernie Fryer', 'position held', 'member of the French\xa0National Assembly']
ASK WHERE { VALUES ( ?k ) { ( resource:maire ) ( resource:member_of_the_French National_Assembly ) } . resource:Bernie_Fryer property:position_held ?k }
[]
common name
SYSTEM
NO
(Q3638842,P39,Q382617) (Q3638842,P39,Q3044918)
action is_in
entity prev_answer
action find
entity Q3638842
relation P39
[ANSWER]
['Q3638842', 'P39', 'Q382617'] ['Q3638842', 'P39', 'Q3044918']
ASK WHERE { VALUES ( ?k ) { ( resource:Q382617 ) ( resource:Q3044918 ) } . resource:Q3638842 property:P39 ?k }
No
action is_in
entity prev_answer
action find
entity Bernie Fryer
relation position held
['Bernie Fryer', 'position held', 'maire'] ['Bernie Fryer', 'position held', 'member of the French\xa0National Assembly']
ASK WHERE { VALUES ( ?k ) { ( resource:maire ) ( resource:member_of_the_French National_Assembly ) } . resource:Bernie_Fryer property:position_held ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3638842
P641
Q349
USER
Which sport was that person a part of ?
action filter_type
action find
entity Q3638842
relation P641
type Q349
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q3638842 property:P641 ?d }
Bernie Fryer
action filter_type
action find
entity Bernie Fryer
relation sport
type sport
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Bernie_Fryer property:sport ?d }
[]
sport
Q5372
SYSTEM
basketball
Q5372
action filter_type
action find
entity Q3638842
relation P641
type Q349
The [ANSWER] was that person a part of
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q349 . resource:Q3638842 property:P641 ?d }
basketball
The basketball was that person a part of
basketball
action filter_type
action find
entity Bernie Fryer
relation sport
type sport
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:sport . resource:Bernie_Fryer property:sport ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5372 Q605713
P641
Q502895
USER
Does Kristaps Valters play that sport ?
(Q605713,P641,Q5372)
action is_in
entity Q5372
action find
entity Q605713
relation P641
['Q605713', 'P641', 'Q5372']
ASK WHERE { resource:Q605713 property:P641 resource:Q5372 }
basketball Kristaps Valters
action is_in
entity basketball
action find
entity Kristaps Valters
relation sport
['Kristaps Valters', 'sport', 'basketball']
ASK WHERE { resource:Kristaps_Valters property:sport resource:basketball }
[]
common name
SYSTEM
YES
(Q605713,P641,Q5372)
action is_in
entity Q5372
action find
entity Q605713
relation P641
[ANSWER]
['Q605713', 'P641', 'Q5372']
ASK WHERE { resource:Q605713 property:P641 resource:Q5372 }
Yes
action is_in
entity basketball
action find
entity Kristaps Valters
relation sport
['Kristaps Valters', 'sport', 'basketball']
ASK WHERE { resource:Kristaps_Valters property:sport resource:basketball }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5722110 Q382617
P17
Q15617994
USER
Which administrative territories are maire or Basílica del Salvador present in ?
OR((Q382617,P17,c(Q15617994)), (Q5722110,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q382617
relation P17
action find
entity Q5722110
relation P17
type Q15617994
{'OR': [['Q382617', 'P17', {'concept': 'Q15617994'}], ['Q5722110', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q382617 property:P17 ?h } UNION { resource:Q5722110 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
Basílica del Salvador maire
action filter_type
action union
action find
entity maire
relation country
action find
entity Basílica del Salvador
relation country
type designation for an administrative territorial entity
{'OR': [['maire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Basílica del Salvador', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:maire property:country ?h } UNION { resource:Basílica_del_Salvador property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q298
SYSTEM
France, Chile
Q142 Q298
OR((Q382617,P17,c(Q15617994)), (Q5722110,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q382617
relation P17
action find
entity Q5722110
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q382617', 'P17', {'concept': 'Q15617994'}], ['Q5722110', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q382617 property:P17 ?h } UNION { resource:Q5722110 property:P17 ?h } } . ?h rdf:type ontology:Q15617994 }
France Chile
Which administrative territories are maire or Basílica del Salvador present in
France Chile
action filter_type
action union
action find
entity maire
relation country
action find
entity Basílica del Salvador
relation country
type designation for an administrative territorial entity
{'OR': [['maire', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Basílica del Salvador', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:maire property:country ?h } UNION { resource:Basílica_del_Salvador property:country ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q142 Q298
P112
Q56061
USER
Which administrative territories were established by those administrative territories ?
(c(Q56061),P112,Q142) (c(Q56061),P112,Q298)
action filter_type
action find_reverse
entity prev_answer
relation P112
type Q56061
[{'concept': 'Q56061'}, 'P112', 'Q142'] [{'concept': 'Q56061'}, 'P112', 'Q298']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . ?n property:P112 ?b . VALUES ( ?b ) { ( resource:Q142 ) ( resource:Q298 ) } }
France Chile
action filter_type
action find_reverse
entity prev_answer
relation founder
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'founder', 'France'] [{'concept': 'administrative territorial entity'}, 'founder', 'Chile']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . ?n property:founder ?b . VALUES ( ?b ) { ( resource:France ) ( resource:Chile ) } }
[]
administrative territorial entity
Q458 Q7122288
SYSTEM
European Union, Pacific Alliance
Q458 Q7122288
(c(Q56061),P112,Q142) (c(Q56061),P112,Q298)
action filter_type
action find_reverse
entity prev_answer
relation P112
type Q56061
[ANSWERS] were established by those administrative territories
[{'concept': 'Q56061'}, 'P112', 'Q142'] [{'concept': 'Q56061'}, 'P112', 'Q298']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . ?n property:P112 ?b . VALUES ( ?b ) { ( resource:Q142 ) ( resource:Q298 ) } }
European Union Pacific Alliance
European Union and Pacific Alliance were established by those administrative territories
European Union Pacific Alliance
action filter_type
action find_reverse
entity prev_answer
relation founder
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'founder', 'France'] [{'concept': 'administrative territorial entity'}, 'founder', 'Chile']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . ?n property:founder ?b . VALUES ( ?b ) { ( resource:France ) ( resource:Chile ) } }
[]