Simple Question (Direct)
Simple Question
Q221951
P106
Q12737077
USER
What is the job of Achilles Tatius ?
(Q221951,P106,c(Q12737077))
action filter_type
action find
entity Q221951
relation P106
type Q12737077
['Q221951', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q221951 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Achilles Tatius
action filter_type
action find
entity Achilles Tatius
relation occupation
type occupation
['Achilles Tatius', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Achilles_Tatius property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q221951,P106,c(Q12737077))
action filter_type
action find
entity Q221951
relation P106
type Q12737077
The job of Achilles Tatius is a [ANSWER]
['Q221951', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q221951 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
writer
The job of Achilles Tatius is a writer
writer
action filter_type
action find
entity Achilles Tatius
relation occupation
type occupation
['Achilles Tatius', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Achilles_Tatius property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q221951
P50
Q2342494
USER
Which collectable is Achilles Tatius an author of ?
(c(Q2342494),P50,Q221951)
action filter_type
action find_reverse
entity Q221951
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q221951']
SELECT DISTINCT ?w WHERE { ?w property:P50 resource:Q221951 . ?w rdf:type ontology:Q2342494 }
Achilles Tatius
action filter_type
action find_reverse
entity Achilles Tatius
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Achilles Tatius']
SELECT DISTINCT ?w WHERE { ?w property:author resource:Achilles_Tatius . ?w rdf:type ontology:collectable }
[]
collectable
Q1225163
SYSTEM
Leucippe and Clitophon
Q1225163
(c(Q2342494),P50,Q221951)
action filter_type
action find_reverse
entity Q221951
relation P50
type Q2342494
Which collectable is Achilles Tatius an author of
[{'concept': 'Q2342494'}, 'P50', 'Q221951']
SELECT DISTINCT ?w WHERE { ?w property:P50 resource:Q221951 . ?w rdf:type ontology:Q2342494 }
Leucippe and Clitophon
Which collectable is Achilles Tatius an author of
Leucippe and Clitophon
action filter_type
action find_reverse
entity Achilles Tatius
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Achilles Tatius']
SELECT DISTINCT ?w WHERE { ?w property:author resource:Achilles_Tatius . ?w rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q221951
P172
Q2472587
USER
Which ethnic group does that person belong ?
(Q1225163,P172,c(Q2472587))
action filter_type
action find
entity Q221951
relation P172
type Q2472587
['Q1225163', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2472587 . resource:Q221951 property:P172 ?f }
Achilles Tatius
action filter_type
action find
entity Achilles Tatius
relation ethnic group
type people
['Leucippe and Clitophon', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:people . resource:Achilles_Tatius property:ethnic_group ?f }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q1225163,P172,c(Q2472587))
action filter_type
action find
entity Q221951
relation P172
type Q2472587
That person belongs to [ANSWER]
['Q1225163', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q2472587 . resource:Q221951 property:P172 ?f }
Greeks
That person belongs to Greeks
Greeks
action filter_type
action find
entity Achilles Tatius
relation ethnic group
type people
['Leucippe and Clitophon', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:people . resource:Achilles_Tatius property:ethnic_group ?f }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6581375 Q221951
P172
Q2472587
USER
Or Pachara Chirathivat?
OR((Q221951,P172,c(Q2472587)), (Q6581375,P172,c(Q2472587)))
action filter_type
action union
action find
entity Q221951
relation P172
action find
entity Q6581375
relation P172
type Q2472587
{'OR': [['Q221951', 'P172', {'concept': 'Q2472587'}], ['Q6581375', 'P172', {'concept': 'Q2472587'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?d ) { ( resource:Q221951 ) ( resource:Q6581375 ) } . ?d property:P172 ?l } . ?l rdf:type ontology:Q2472587 }
Pachara Chirathivat Achilles Tatius
action filter_type
action union
action find
entity Achilles Tatius
relation ethnic group
action find
entity Pachara Chirathivat
relation ethnic group
type people
{'OR': [['Achilles Tatius', 'ethnic group', {'concept': 'people'}], ['Pachara Chirathivat', 'ethnic group', {'concept': 'people'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?d ) { ( resource:Achilles_Tatius ) ( resource:Pachara_Chirathivat ) } . ?d property:ethnic_group ?l } . ?l rdf:type ontology:people }
[]
people
Q539051 Q2408653
SYSTEM
Greeks, Thai Chinese
Q539051 Q2408653
OR((Q221951,P172,c(Q2472587)), (Q6581375,P172,c(Q2472587)))
action filter_type
action union
action find
entity Q221951
relation P172
action find
entity Q6581375
relation P172
type Q2472587
[ANSWERS]
{'OR': [['Q221951', 'P172', {'concept': 'Q2472587'}], ['Q6581375', 'P172', {'concept': 'Q2472587'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?d ) { ( resource:Q221951 ) ( resource:Q6581375 ) } . ?d property:P172 ?l } . ?l rdf:type ontology:Q2472587 }
Greeks Thai Chinese
Greeks Thai Chinese
action filter_type
action union
action find
entity Achilles Tatius
relation ethnic group
action find
entity Pachara Chirathivat
relation ethnic group
type people
{'OR': [['Achilles Tatius', 'ethnic group', {'concept': 'people'}], ['Pachara Chirathivat', 'ethnic group', {'concept': 'people'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?d ) { ( resource:Achilles_Tatius ) ( resource:Pachara_Chirathivat ) } . ?d property:ethnic_group ?l } . ?l rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6581375
P27
Q15617994
USER
Which administrative territory does Pachara Chirathivat belong to ?
(Q539051,P27,c(Q15617994)) (Q2408653,P27,c(Q15617994))
action filter_type
action find
entity Q6581375
relation P27
type Q15617994
['Q539051', 'P27', {'concept': 'Q15617994'}] ['Q2408653', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q6581375 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Pachara Chirathivat
action filter_type
action find
entity Pachara Chirathivat
relation country of citizenship
type designation for an administrative territorial entity
['Greeks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thai Chinese', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Pachara_Chirathivat property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869
SYSTEM
Thailand
Q869
(Q539051,P27,c(Q15617994)) (Q2408653,P27,c(Q15617994))
action filter_type
action find
entity Q6581375
relation P27
type Q15617994
Pachara Chirathivat belongs to [ANSWER]
['Q539051', 'P27', {'concept': 'Q15617994'}] ['Q2408653', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q6581375 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Thailand
Pachara Chirathivat belongs to Thailand
Thailand
action filter_type
action find
entity Pachara Chirathivat
relation country of citizenship
type designation for an administrative territorial entity
['Greeks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Thai Chinese', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Pachara_Chirathivat property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P530
Q1048835 Q15617994
USER
How many political territories or administrative territories have diplomatic relations with that administrative territory ?
(Q869,P530,c(Q1048835)) (Q869,P530,c(Q15617994)) (Q869,P530,c(Q1048835)) (Q869,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q869
relation P530
type Q1048835
action filter_type
action find
entity Q869
relation P530
type Q15617994
['Q869', 'P530', {'concept': 'Q1048835'}] ['Q869', 'P530', {'concept': 'Q15617994'}] ['Q869', 'P530', {'concept': 'Q1048835'}] ['Q869', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { ?h rdf:type ontology:Q1048835 . resource:Q869 property:P530 ?h } UNION { resource:Q869 property:P530 ?h . ?h rdf:type ontology:Q15617994 } }
action count
action union
action filter_type
action find
entity Thailand
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Thailand
relation diplomatic relation
type designation for an administrative territorial entity
['Thailand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Thailand', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Thailand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Thailand', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { ?h rdf:type ontology:political_territorial_entity . resource:Thailand property:diplomatic_relation ?h } UNION { resource:Thailand property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3
Q408 Q38 Q183
(Q869,P530,c(Q1048835)) (Q869,P530,c(Q15617994)) (Q869,P530,c(Q1048835)) (Q869,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q869
relation P530
type Q1048835
action filter_type
action find
entity Q869
relation P530
type Q15617994
[ANSWER]
['Q869', 'P530', {'concept': 'Q1048835'}] ['Q869', 'P530', {'concept': 'Q15617994'}] ['Q869', 'P530', {'concept': 'Q1048835'}] ['Q869', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { ?h rdf:type ontology:Q1048835 . resource:Q869 property:P530 ?h } UNION { resource:Q869 property:P530 ?h . ?h rdf:type ontology:Q15617994 } }
Australia Italy Germany
3
action count
action union
action filter_type
action find
entity Thailand
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Thailand
relation diplomatic relation
type designation for an administrative territorial entity
['Thailand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Thailand', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Thailand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Thailand', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { ?h rdf:type ontology:political_territorial_entity . resource:Thailand property:diplomatic_relation ?h } UNION { resource:Thailand property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q869
P6
Q502895
USER
Who are the heads of the government of Thailand ?
(Q869,P6,c(Q502895))
action filter_type
action find
entity Q869
relation P6
type Q502895
['Q869', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q869 property:P6 ?x . ?x rdf:type ontology:Q502895 }
Thailand
action filter_type
action find
entity Thailand
relation head of government
type common name
['Thailand', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Thailand property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]
common name
Q2108126 Q16140300
SYSTEM
Prayut Chan-o-cha, Niwatthamrong Boonsongpaisan
Q2108126 Q16140300
(Q869,P6,c(Q502895))
action filter_type
action find
entity Q869
relation P6
type Q502895
The heads of the government of Thailand are Prince [ANSWERS]
['Q869', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q869 property:P6 ?x . ?x rdf:type ontology:Q502895 }
Prayut Chan-o-cha Niwatthamrong Boonsongpaisan
The heads of the government of Thailand are Prince Prayut Chan-o-cha and Niwatthamrong Boonsongpaisan
Prayut Chan-o-cha Niwatthamrong Boonsongpaisan
action filter_type
action find
entity Thailand
relation head of government
type common name
['Thailand', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Thailand property:head_of_government ?x . ?x rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q869
P6
Q15617994
USER
Do Thailand have their government headed by those people ?
(Q869,P6,Q2108126) (Q869,P6,Q16140300)
action is_in
entity prev_answer
action find
entity Q869
relation P6
['Q869', 'P6', 'Q2108126'] ['Q869', 'P6', 'Q16140300']
ASK WHERE { VALUES ( ?l ) { ( resource:Q2108126 ) ( resource:Q16140300 ) } . resource:Q869 property:P6 ?l }
Thailand
action is_in
entity prev_answer
action find
entity Thailand
relation head of government
['Thailand', 'head of government', 'Prayut Chan-o-cha'] ['Thailand', 'head of government', 'Niwatthamrong Boonsongpaisan']
ASK WHERE { VALUES ( ?l ) { ( resource:Prayut_Chan-o-cha ) ( resource:Niwatthamrong_Boonsongpaisan ) } . resource:Thailand property:head_of_government ?l }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q869,P6,Q2108126) (Q869,P6,Q16140300)
action is_in
entity prev_answer
action find
entity Q869
relation P6
[ANSWER]
['Q869', 'P6', 'Q2108126'] ['Q869', 'P6', 'Q16140300']
ASK WHERE { VALUES ( ?l ) { ( resource:Q2108126 ) ( resource:Q16140300 ) } . resource:Q869 property:P6 ?l }
Yes
action is_in
entity prev_answer
action find
entity Thailand
relation head of government
['Thailand', 'head of government', 'Prayut Chan-o-cha'] ['Thailand', 'head of government', 'Niwatthamrong Boonsongpaisan']
ASK WHERE { VALUES ( ?l ) { ( resource:Prayut_Chan-o-cha ) ( resource:Niwatthamrong_Boonsongpaisan ) } . resource:Thailand property:head_of_government ?l }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q208871 Q6581375
P106
Q12737077
USER
Which occupations do Pachara Chirathivat and Ike Turner do for a living ?
AND((Q6581375,P106,c(Q12737077)), (Q208871,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6581375
relation P106
action find
entity Q208871
relation P106
type Q12737077
{'AND': [['Q6581375', 'P106', {'concept': 'Q12737077'}], ['Q208871', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { resource:Q6581375 property:P106 ?i . resource:Q208871 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Ike Turner Pachara Chirathivat
action filter_type
action intersection
action find
entity Pachara Chirathivat
relation occupation
action find
entity Ike Turner
relation occupation
type occupation
{'AND': [['Pachara Chirathivat', 'occupation', {'concept': 'occupation'}], ['Ike Turner', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { resource:Pachara_Chirathivat property:occupation ?i . resource:Ike_Turner property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
AND((Q6581375,P106,c(Q12737077)), (Q208871,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6581375
relation P106
action find
entity Q208871
relation P106
type Q12737077
Pachara Chirathivat and Ike Turner do an [ANSWER] for a living
{'AND': [['Q6581375', 'P106', {'concept': 'Q12737077'}], ['Q208871', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { resource:Q6581375 property:P106 ?i . resource:Q208871 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
actor
Pachara Chirathivat and Ike Turner do an actor for a living
actor
action filter_type
action intersection
action find
entity Pachara Chirathivat
relation occupation
action find
entity Ike Turner
relation occupation
type occupation
{'AND': [['Pachara Chirathivat', 'occupation', {'concept': 'occupation'}], ['Ike Turner', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { resource:Pachara_Chirathivat property:occupation ?i . resource:Ike_Turner property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q208871
P264
Q334453
USER
Which divisions are the record brand of Ike Turner ?
(Q33999,P264,c(Q334453))
action filter_type
action find
entity Q208871
relation P264
type Q334453
['Q33999', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?k WHERE { resource:Q208871 property:P264 ?k . ?k rdf:type ontology:Q334453 }
Ike Turner
action filter_type
action find
entity Ike Turner
relation record label
type division
['actor', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?k WHERE { resource:Ike_Turner property:record_label ?k . ?k rdf:type ontology:division }
[]
division
Q772494 Q2047343
SYSTEM
Chess Records, Flair Records
Q772494 Q2047343
(Q33999,P264,c(Q334453))
action filter_type
action find
entity Q208871
relation P264
type Q334453
[ANSWERS] are the record brand of Ike Turner
['Q33999', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?k WHERE { resource:Q208871 property:P264 ?k . ?k rdf:type ontology:Q334453 }
Chess Records Flair Records
Chess Records and Flair Records are the record brand of Ike Turner
Chess Records Flair Records
action filter_type
action find
entity Ike Turner
relation record label
type division
['actor', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?k WHERE { resource:Ike_Turner property:record_label ?k . ?k rdf:type ontology:division }
[]