Simple Question (Direct)
Simple Question
Q16150032
P39
Q12737077
USER
What was the position held by Sharon Pritchett ?
(Q16150032,P39,c(Q12737077))
action filter_type
action find
entity Q16150032
relation P39
type Q12737077
['Q16150032', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q16150032 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Sharon Pritchett
action filter_type
action find
entity Sharon Pritchett
relation position held
type occupation
['Sharon Pritchett', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Sharon_Pritchett property:position_held ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q18342844
SYSTEM
Member of the Florida House of Representatives
Q18342844
(Q16150032,P39,c(Q12737077))
action filter_type
action find
entity Q16150032
relation P39
type Q12737077
The position held by Sharon Pritchett was a [ANSWER]
['Q16150032', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q16150032 property:P39 ?j . ?j rdf:type ontology:Q12737077 }
Member of the Florida House of Representatives
The position held by Sharon Pritchett was a Member of the Florida House of Representatives
Member of the Florida House of Representatives
action filter_type
action find
entity Sharon Pritchett
relation position held
type occupation
['Sharon Pritchett', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Sharon_Pritchett property:position_held ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16150032
P937
Q56061
USER
Where did that person work ?
(Q18342844,P937,c(Q56061))
action filter_type
action find
entity Q16150032
relation P937
type Q56061
['Q18342844', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q16150032 property:P937 ?m . ?m rdf:type ontology:Q56061 }
Sharon Pritchett
action filter_type
action find
entity Sharon Pritchett
relation work location
type administrative territorial entity
['Member of the Florida House of Representatives', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sharon_Pritchett property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q37043
SYSTEM
Tallahassee
Q37043
(Q18342844,P937,c(Q56061))
action filter_type
action find
entity Q16150032
relation P937
type Q56061
That person worked at [ANSWER]
['Q18342844', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q16150032 property:P937 ?m . ?m rdf:type ontology:Q56061 }
Tallahassee
That person worked at Tallahassee
Tallahassee
action filter_type
action find
entity Sharon Pritchett
relation work location
type administrative territorial entity
['Member of the Florida House of Representatives', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sharon_Pritchett property:work_location ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16150032
P102
Q7210356
USER
Which party does that person belong to ?
(Q37043,P102,c(Q7210356))
action filter_type
action find
entity Q16150032
relation P102
type Q7210356
['Q37043', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q16150032 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Sharon Pritchett
action filter_type
action find
entity Sharon Pritchett
relation member of political party
type political organization
['Tallahassee', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Sharon_Pritchett property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q37043,P102,c(Q7210356))
action filter_type
action find
entity Q16150032
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q37043', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q16150032 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Democratic Party
That person belongs to Democratic Party
Democratic Party
action filter_type
action find
entity Sharon Pritchett
relation member of political party
type political organization
['Tallahassee', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Sharon_Pritchett property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16150032
P69
Q163740
USER
Where was that person educated ?
(Q29552,P69,c(Q163740))
action filter_type
action find
entity Q16150032
relation P69
type Q163740
['Q29552', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q16150032 property:P69 ?d . ?d rdf:type ontology:Q163740 }
Sharon Pritchett
action filter_type
action find
entity Sharon Pritchett
relation educated at
type nonprofit organization
['Democratic Party', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:Sharon_Pritchett property:educated_at ?d . ?d rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q2323376
SYSTEM
St. Thomas University
Q2323376
(Q29552,P69,c(Q163740))
action filter_type
action find
entity Q16150032
relation P69
type Q163740
That person was educated at [ANSWER]
['Q29552', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q16150032 property:P69 ?d . ?d rdf:type ontology:Q163740 }
St. Thomas University
That person was educated at St. Thomas University
St. Thomas University
action filter_type
action find
entity Sharon Pritchett
relation educated at
type nonprofit organization
['Democratic Party', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:Sharon_Pritchett property:educated_at ?d . ?d rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2323376 Q30 Q804044
P17
Q15617994
USER
Is that nonprofit organization situated in United States of America and Baiyin District ?
(Q2323376,P17,Q30) (Q2323376,P17,Q804044)
action is_in
entity Q2323376
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q804044
relation P17
['Q2323376', 'P17', 'Q30'] ['Q2323376', 'P17', 'Q804044']
ASK WHERE { resource:Q2323376 property:P17 resource:Q30 . resource:Q2323376 property:P17 resource:Q804044 }
St. Thomas University United States of America Baiyin District
action is_in
entity St. Thomas University
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Baiyin District
relation country
['St. Thomas University', 'country', 'United States of America'] ['St. Thomas University', 'country', 'Baiyin District']
ASK WHERE { resource:St._Thomas_University property:country resource:United_States_of_America . resource:St._Thomas_University property:country resource:Baiyin_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q2323376,P17,Q30) (Q2323376,P17,Q804044)
action is_in
entity Q2323376
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q804044
relation P17
[ANSWER]
['Q2323376', 'P17', 'Q30'] ['Q2323376', 'P17', 'Q804044']
ASK WHERE { resource:Q2323376 property:P17 resource:Q30 . resource:Q2323376 property:P17 resource:Q804044 }
YES and NO respectively
action is_in
entity St. Thomas University
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Baiyin District
relation country
['St. Thomas University', 'country', 'United States of America'] ['St. Thomas University', 'country', 'Baiyin District']
ASK WHERE { resource:St._Thomas_University property:country resource:United_States_of_America . resource:St._Thomas_University property:country resource:Baiyin_District }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1450040 Q37043
P190 P20
Q56061
USER
Which administrative territories are sister towns of Tallahassee or did the expiration of Franz Žak occur ?
OR((Q37043,P190,c(Q56061)), (Q1450040,P20,c(Q56061)))
action filter_type
action union
action find
entity Q37043
relation P190
action find
entity Q1450040
relation P20
type Q56061
{'OR': [['Q37043', 'P190', {'concept': 'Q56061'}], ['Q1450040', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . { { resource:Q37043 property:P190 ?w } UNION { resource:Q1450040 property:P20 ?w } } }
Franz Žak Tallahassee
action filter_type
action union
action find
entity Tallahassee
relation sister city
action find
entity Franz Žak
relation place of death
type administrative territorial entity
{'OR': [['Tallahassee', 'sister city', {'concept': 'administrative territorial entity'}], ['Franz Žak', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . { { resource:Tallahassee property:sister_city ?w } UNION { resource:Franz_Žak property:place_of_death ?w } } }
[]
administrative territorial entity
Q3646 Q190002 Q845866 Q1741
SYSTEM
Krasnodar, Sligo, Ramat HaSharon, Vienna
Q3646 Q190002 Q845866 Q1741
OR((Q37043,P190,c(Q56061)), (Q1450040,P20,c(Q56061)))
action filter_type
action union
action find
entity Q37043
relation P190
action find
entity Q1450040
relation P20
type Q56061
[ANSWERS] are sister towns of Tallahassee or did the expiration of Franz Žak occur
{'OR': [['Q37043', 'P190', {'concept': 'Q56061'}], ['Q1450040', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . { { resource:Q37043 property:P190 ?w } UNION { resource:Q1450040 property:P20 ?w } } }
Krasnodar Sligo Ramat HaSharon Vienna
Krasnodar, Sligo, Ramat HaSharon and Vienna are sister towns of Tallahassee or did the expiration of Franz Žak occur
Krasnodar Sligo Ramat HaSharon Vienna
action filter_type
action union
action find
entity Tallahassee
relation sister city
action find
entity Franz Žak
relation place of death
type administrative territorial entity
{'OR': [['Tallahassee', 'sister city', {'concept': 'administrative territorial entity'}], ['Franz Žak', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . { { resource:Tallahassee property:sister_city ?w } UNION { resource:Franz_Žak property:place_of_death ?w } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3646
P127
Q483110
USER
Which stadium is owned by that administrative territory ?
(c(Q483110),P127,Q3646)
action filter_type
action find_reverse
entity Q3646
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q3646']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q3646 . ?w rdf:type ontology:Q483110 }
Krasnodar
action filter_type
action find_reverse
entity Krasnodar
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Krasnodar']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Krasnodar . ?w rdf:type ontology:stadium }
[]
stadium
Clarification for simple ques.
Q845866
SYSTEM
Did you mean Ramat HaSharon ?
Q3646 Q190002 Q845866 Q1741
(c(Q483110),P127,Q3646) (c(Q483110),P127,Q190002) (c(Q483110),P127,Q845866) (c(Q483110),P127,Q1741)
[ANSWER]
[{'concept': 'Q483110'}, 'P127', 'Q3646'] [{'concept': 'Q483110'}, 'P127', 'Q190002'] [{'concept': 'Q483110'}, 'P127', 'Q845866'] [{'concept': 'Q483110'}, 'P127', 'Q1741']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q3646 . ?w rdf:type ontology:Q483110 }
Krasnodar Sligo Ramat HaSharon Vienna
Did you mean Ramat HaSharon ?
Ramat HaSharon
[{'concept': 'stadium'}, 'owned by', 'Krasnodar'] [{'concept': 'stadium'}, 'owned by', 'Sligo'] [{'concept': 'stadium'}, 'owned by', 'Ramat HaSharon'] [{'concept': 'stadium'}, 'owned by', 'Vienna']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Krasnodar . ?w rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
USER
No, I meant Krasnodar. Could you tell me the answer for that?
(c(Q483110),P127,Q3646)
Q3646
[{'concept': 'Q483110'}, 'P127', 'Q3646']
[{'concept': 'stadium'}, 'owned by', 'Krasnodar']
[]
Q1558939
SYSTEM
Kuban Stadium
Q1558939
(c(Q483110),P127,Q3646)
action filter_type
action find_reverse
entity Q3646
relation P127
type Q483110
[ANSWER] is owned by that administrative territory
[{'concept': 'Q483110'}, 'P127', 'Q3646']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q3646 . ?w rdf:type ontology:Q483110 }
Kuban Stadium
Kuban Stadium is owned by that administrative territory
Kuban Stadium
action filter_type
action find_reverse
entity Krasnodar
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Krasnodar']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Krasnodar . ?w rdf:type ontology:stadium }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q457314 Q16150032
P19
Q515
USER
Which cities were Sharon Pritchett or Leni Junker born ?
OR((Q16150032,P19,c(Q515)), (Q457314,P19,c(Q515)))
action filter_type
action union
action find
entity Q16150032
relation P19
action find
entity Q457314
relation P19
type Q515
{'OR': [['Q16150032', 'P19', {'concept': 'Q515'}], ['Q457314', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q16150032 property:P19 ?w } UNION { resource:Q457314 property:P19 ?w } } . ?w rdf:type ontology:Q515 }
Leni Junker Sharon Pritchett
action filter_type
action union
action find
entity Sharon Pritchett
relation place of birth
action find
entity Leni Junker
relation place of birth
type city
{'OR': [['Sharon Pritchett', 'place of birth', {'concept': 'city'}], ['Leni Junker', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Sharon_Pritchett property:place_of_birth ?w } UNION { resource:Leni_Junker property:place_of_birth ?w } } . ?w rdf:type ontology:city }
[]
city
Q2865 Q8652
SYSTEM
Kassel, Miami
Q2865 Q8652
OR((Q16150032,P19,c(Q515)), (Q457314,P19,c(Q515)))
action filter_type
action union
action find
entity Q16150032
relation P19
action find
entity Q457314
relation P19
type Q515
Sharon Pritchett or Leni Junker were born in [ANSWERS]
{'OR': [['Q16150032', 'P19', {'concept': 'Q515'}], ['Q457314', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q16150032 property:P19 ?w } UNION { resource:Q457314 property:P19 ?w } } . ?w rdf:type ontology:Q515 }
Kassel Miami
Sharon Pritchett or Leni Junker were born in Kassel and Miami
Kassel Miami
action filter_type
action union
action find
entity Sharon Pritchett
relation place of birth
action find
entity Leni Junker
relation place of birth
type city
{'OR': [['Sharon Pritchett', 'place of birth', {'concept': 'city'}], ['Leni Junker', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Sharon_Pritchett property:place_of_birth ?w } UNION { resource:Leni_Junker property:place_of_birth ?w } } . ?w rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1357354
P20
Q56061
USER
How many administrative territories are the places of death of Ernst Arfken ?
(Q1357354,P20,c(Q56061))
action count
action filter_type
action find
entity Q1357354
relation P20
type Q56061
['Q1357354', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q1357354 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Ernst Arfken
action count
action filter_type
action find
entity Ernst Arfken
relation place of death
type administrative territorial entity
['Ernst Arfken', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Ernst_Arfken property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q3033
(Q1357354,P20,c(Q56061))
action count
action filter_type
action find
entity Q1357354
relation P20
type Q56061
[ANSWER]
['Q1357354', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q1357354 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Göttingen
1
action count
action filter_type
action find
entity Ernst Arfken
relation place of death
type administrative territorial entity
['Ernst Arfken', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Ernst_Arfken property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1357354
P21
Q290
USER
Which sex does that person possess ?
action filter_type
action find
entity Q1357354
relation P21
type Q290
SELECT DISTINCT ?w WHERE { resource:Q1357354 property:P21 ?w . ?w rdf:type ontology:Q290 }
Ernst Arfken
action filter_type
action find
entity Ernst Arfken
relation gender
type sex
SELECT DISTINCT ?w WHERE { resource:Ernst_Arfken property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q1357354
relation P21
type Q290
That person possesses a [ANSWER]
SELECT DISTINCT ?w WHERE { resource:Q1357354 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Ernst Arfken
relation gender
type sex
SELECT DISTINCT ?w WHERE { resource:Ernst_Arfken property:gender ?w . ?w rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q4710517 Q1357354
P21
Q290
USER
And also Albert Huntington Chester
AND((Q1357354,P21,c(Q290)), (Q4710517,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1357354
relation P21
action find
entity Q4710517
relation P21
type Q290
{'AND': [['Q1357354', 'P21', {'concept': 'Q290'}], ['Q4710517', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q1357354 property:P21 ?v . resource:Q4710517 property:P21 ?v }
Albert Huntington Chester Ernst Arfken
action filter_type
action intersection
action find
entity Ernst Arfken
relation gender
action find
entity Albert Huntington Chester
relation gender
type sex
{'AND': [['Ernst Arfken', 'gender', {'concept': 'sex'}], ['Albert Huntington Chester', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Ernst_Arfken property:gender ?v . resource:Albert_Huntington_Chester property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q1357354,P21,c(Q290)), (Q4710517,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q1357354
relation P21
action find
entity Q4710517
relation P21
type Q290
[ANSWER]
{'AND': [['Q1357354', 'P21', {'concept': 'Q290'}], ['Q4710517', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q1357354 property:P21 ?v . resource:Q4710517 property:P21 ?v }
male
male
action filter_type
action intersection
action find
entity Ernst Arfken
relation gender
action find
entity Albert Huntington Chester
relation gender
type sex
{'AND': [['Ernst Arfken', 'gender', {'concept': 'sex'}], ['Albert Huntington Chester', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Ernst_Arfken property:gender ?v . resource:Albert_Huntington_Chester property:gender ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2865
P706
Q2221906
USER
What is the location where Kassel is located ?
(Q2865,P706,c(Q2221906))
action filter_type
action find
entity Q2865
relation P706
type Q2221906
['Q2865', 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { resource:Q2865 property:P706 ?z . ?z rdf:type ontology:Q2221906 }
Kassel
action filter_type
action find
entity Kassel
relation located on terrain feature
type geographic location
['Kassel', 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { resource:Kassel property:located_on_terrain_feature ?z . ?z rdf:type ontology:geographic_location }
[]
geographic location
Q2565366
SYSTEM
West Hesse Depression
Q2565366
(Q2865,P706,c(Q2221906))
action filter_type
action find
entity Q2865
relation P706
type Q2221906
The location Kassel is located is the [ANSWER]
['Q2865', 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { resource:Q2865 property:P706 ?z . ?z rdf:type ontology:Q2221906 }
West Hesse Depression
The location Kassel is located is the West Hesse Depression
West Hesse Depression
action filter_type
action find
entity Kassel
relation located on terrain feature
type geographic location
['Kassel', 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { resource:Kassel property:located_on_terrain_feature ?z . ?z rdf:type ontology:geographic_location }
[]