Simple Question (Direct)
Simple Question
Q7803708
P54
Q847017
USER
Which sports club is Tim James a member of ?
(Q7803708,P54,c(Q847017))
action filter_type
action find
entity Q7803708
relation P54
type Q847017
['Q7803708', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?d WHERE { resource:Q7803708 property:P54 ?d . ?d rdf:type ontology:Q847017 }
Tim James
action filter_type
action find
entity Tim James
relation member of sports team
type sports club
['Tim James', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?d WHERE { resource:Tim_James property:member_of_sports_team ?d . ?d rdf:type ontology:sports_club }
[]
sports club
Q3528311
SYSTEM
Auburn Tigers
Q3528311
(Q7803708,P54,c(Q847017))
action filter_type
action find
entity Q7803708
relation P54
type Q847017
The [ANSWER] is Tim James a member of
['Q7803708', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?d WHERE { resource:Q7803708 property:P54 ?d . ?d rdf:type ontology:Q847017 }
Auburn Tigers
The Auburn Tigers is Tim James a member of
Auburn Tigers
action filter_type
action find
entity Tim James
relation member of sports team
type sports club
['Tim James', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?d WHERE { resource:Tim_James property:member_of_sports_team ?d . ?d rdf:type ontology:sports_club }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7803708
P22
Q502895
USER
Who was the father of Tim James ?
(Q7803708,P22,c(Q502895))
action filter_type
action find
entity Q7803708
relation P22
type Q502895
['Q7803708', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q7803708 property:P22 ?m }
Tim James
action filter_type
action find
entity Tim James
relation father
type common name
['Tim James', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Tim_James property:father ?m }
[]
common name
Q880793
SYSTEM
Forrest Hood James, Jr.
Q880793
(Q7803708,P22,c(Q502895))
action filter_type
action find
entity Q7803708
relation P22
type Q502895
The father of Tim James was named [ANSWER]
['Q7803708', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q7803708 property:P22 ?m }
Forrest Hood James, Jr.
The father of Tim James was named Forrest Hood James, Jr.
Forrest Hood James, Jr.
action filter_type
action find
entity Tim James
relation father
type common name
['Tim James', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Tim_James property:father ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q880793
P140
Q879146
USER
Which Christian denomination is the religion of that person ?
(Q880793,P140,c(Q879146))
action filter_type
action find
entity Q880793
relation P140
type Q879146
['Q880793', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?f WHERE { resource:Q880793 property:P140 ?f . ?f rdf:type ontology:Q879146 }
Forrest Hood James, Jr.
action filter_type
action find
entity Forrest Hood James, Jr.
relation religion
type Christian denomination
['Forrest Hood James, Jr.', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?f WHERE { resource:Forrest_Hood_James,_Jr. property:religion ?f . ?f rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q682443
SYSTEM
Episcopal Church
Q682443
(Q880793,P140,c(Q879146))
action filter_type
action find
entity Q880793
relation P140
type Q879146
The [ANSWER] is the religion of that person
['Q880793', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?f WHERE { resource:Q880793 property:P140 ?f . ?f rdf:type ontology:Q879146 }
Episcopal Church
The Episcopal Church is the religion of that person
Episcopal Church
action filter_type
action find
entity Forrest Hood James, Jr.
relation religion
type Christian denomination
['Forrest Hood James, Jr.', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?f WHERE { resource:Forrest_Hood_James,_Jr. property:religion ?f . ?f rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q682443
P108
Q502895
USER
Which person has that Christian denomination as its employer ?
(c(Q502895),P108,Q682443)
action filter_type
action find_reverse
entity Q682443
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q682443']
SELECT DISTINCT ?d WHERE { ?d property:P108 resource:Q682443 . ?d rdf:type ontology:Q502895 }
Episcopal Church
action filter_type
action find_reverse
entity Episcopal Church
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Episcopal Church']
SELECT DISTINCT ?d WHERE { ?d property:employer resource:Episcopal_Church . ?d rdf:type ontology:common_name }
[]
common name
Q5218670
SYSTEM
Daniel Sylvester Tuttle
Q5218670
(c(Q502895),P108,Q682443)
action filter_type
action find_reverse
entity Q682443
relation P108
type Q502895
[ANSWER] has that Christian denomination as its employer
[{'concept': 'Q502895'}, 'P108', 'Q682443']
SELECT DISTINCT ?d WHERE { ?d property:P108 resource:Q682443 . ?d rdf:type ontology:Q502895 }
Daniel Sylvester Tuttle
Daniel Sylvester Tuttle has that Christian denomination as its employer
Daniel Sylvester Tuttle
action filter_type
action find_reverse
entity Episcopal Church
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Episcopal Church']
SELECT DISTINCT ?d WHERE { ?d property:employer resource:Episcopal_Church . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q682443
P361
Q12737077
USER
What are a component of Episcopal Church ?
(c(Q12737077),P361,Q682443)
action filter_type
action find_reverse
entity Q682443
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q682443']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . ?z property:P361 resource:Q682443 }
Episcopal Church
action filter_type
action find_reverse
entity Episcopal Church
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Episcopal Church']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . ?z property:part_of resource:Episcopal_Church }
[]
occupation
Q19461542 Q19899734
SYSTEM
Bishop of Louisiana, Bishop of Pennsylvania
Q19461542 Q19899734
(c(Q12737077),P361,Q682443)
action filter_type
action find_reverse
entity Q682443
relation P361
type Q12737077
A component of Episcopal Church are the [ANSWERS]
[{'concept': 'Q12737077'}, 'P361', 'Q682443']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . ?z property:P361 resource:Q682443 }
Bishop of Louisiana Bishop of Pennsylvania
A component of Episcopal Church are the Bishop of Louisiana and Bishop of Pennsylvania
Bishop of Louisiana Bishop of Pennsylvania
action filter_type
action find_reverse
entity Episcopal Church
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Episcopal Church']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . ?z property:part_of resource:Episcopal_Church }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q682443
P272
Q838948
USER
Which work of art had Episcopal Church as the production company ?
(c(Q838948),P272,Q682443)
action filter_type
action find_reverse
entity Q682443
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q682443']
SELECT DISTINCT ?s WHERE { ?s property:P272 resource:Q682443 . ?s rdf:type ontology:Q838948 }
Episcopal Church
action filter_type
action find_reverse
entity Episcopal Church
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Episcopal Church']
SELECT DISTINCT ?s WHERE { ?s property:production_company resource:Episcopal_Church . ?s rdf:type ontology:work_of_art }
[]
work of art
Q647369
SYSTEM
The Lion, the Witch and the Wardrobe
Q647369
(c(Q838948),P272,Q682443)
action filter_type
action find_reverse
entity Q682443
relation P272
type Q838948
[ANSWER] had Episcopal Church as the production company
[{'concept': 'Q838948'}, 'P272', 'Q682443']
SELECT DISTINCT ?s WHERE { ?s property:P272 resource:Q682443 . ?s rdf:type ontology:Q838948 }
The Lion, the Witch and the Wardrobe
The Lion, the Witch and the Wardrobe had Episcopal Church as the production company
The Lion, the Witch and the Wardrobe
action filter_type
action find_reverse
entity Episcopal Church
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Episcopal Church']
SELECT DISTINCT ?s WHERE { ?s property:production_company resource:Episcopal_Church . ?s rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q682443
P17
Q15617994
USER
Which administrative territory is Episcopal Church a part of ?
(Q682443,P17,c(Q15617994))
action filter_type
action find
entity Q682443
relation P17
type Q15617994
['Q682443', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q682443 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Episcopal Church
action filter_type
action find
entity Episcopal Church
relation country
type designation for an administrative territorial entity
['Episcopal Church', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Episcopal_Church property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q682443,P17,c(Q15617994))
action filter_type
action find
entity Q682443
relation P17
type Q15617994
[ANSWER] is Episcopal Church a part of
['Q682443', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q682443 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
United States of America is Episcopal Church a part of
United States of America
action filter_type
action find
entity Episcopal Church
relation country
type designation for an administrative territorial entity
['Episcopal Church', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Episcopal_Church property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6410283
Q15617994
USER
And also tell me about Kimwenza?
(Q6410283,P17,c(Q15617994))
action filter_type
action find
entity Q6410283
relation P17
type Q15617994
['Q6410283', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q6410283 property:P17 ?l }
Kimwenza
action filter_type
action find
entity Kimwenza
relation country
type designation for an administrative territorial entity
['Kimwenza', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kimwenza property:country ?l }
[]
designation for an administrative territorial entity
Q974
SYSTEM
Democratic Republic of the Congo
Q974
(Q6410283,P17,c(Q15617994))
action filter_type
action find
entity Q6410283
relation P17
type Q15617994
[ANSWER]
['Q6410283', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q6410283 property:P17 ?l }
Democratic Republic of the Congo
Democratic Republic of the Congo
action filter_type
action find
entity Kimwenza
relation country
type designation for an administrative territorial entity
['Kimwenza', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kimwenza property:country ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q484652 Q56061
USER
How many international organizations and administrative territories were that administrative territory a member of ?
(Q974,P463,c(Q484652)) (Q974,P463,c(Q56061)) (Q974,P463,c(Q484652)) (Q974,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q974
relation P463
type Q484652
action filter_type
action find
entity Q974
relation P463
type Q56061
['Q974', 'P463', {'concept': 'Q484652'}] ['Q974', 'P463', {'concept': 'Q56061'}] ['Q974', 'P463', {'concept': 'Q484652'}] ['Q974', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { VALUES ( ?n ) { ( ontology:Q484652 ) ( ontology:Q56061 ) } . ?h rdf:type ?n }
action count
action union
action filter_type
action find
entity Democratic Republic of the Congo
relation member of
type international organization
action filter_type
action find
entity Democratic Republic of the Congo
relation member of
type administrative territorial entity
['Democratic Republic of the Congo', 'member of', {'concept': 'international organization'}] ['Democratic Republic of the Congo', 'member of', {'concept': 'administrative territorial entity'}] ['Democratic Republic of the Congo', 'member of', {'concept': 'international organization'}] ['Democratic Republic of the Congo', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { VALUES ( ?n ) { ( ontology:international_organization ) ( ontology:administrative_territorial_entity ) } . ?h rdf:type ?n }
[]
international organization administrative territorial entity
SYSTEM
3 international organizations and 1 administrative territories
Q7159 Q1065 Q294278 Q1043527
(Q974,P463,c(Q484652)) (Q974,P463,c(Q56061)) (Q974,P463,c(Q484652)) (Q974,P463,c(Q56061))
action count
action union
action filter_type
action find
entity Q974
relation P463
type Q484652
action filter_type
action find
entity Q974
relation P463
type Q56061
[ANSWER]
['Q974', 'P463', {'concept': 'Q484652'}] ['Q974', 'P463', {'concept': 'Q56061'}] ['Q974', 'P463', {'concept': 'Q484652'}] ['Q974', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { VALUES ( ?n ) { ( ontology:Q484652 ) ( ontology:Q56061 ) } . ?h rdf:type ?n }
African Union United Nations African, Caribbean and Pacific Group of States Multilateral Investment Guarantee Agency
3 international organizations and 1 administrative territories
action count
action union
action filter_type
action find
entity Democratic Republic of the Congo
relation member of
type international organization
action filter_type
action find
entity Democratic Republic of the Congo
relation member of
type administrative territorial entity
['Democratic Republic of the Congo', 'member of', {'concept': 'international organization'}] ['Democratic Republic of the Congo', 'member of', {'concept': 'administrative territorial entity'}] ['Democratic Republic of the Congo', 'member of', {'concept': 'international organization'}] ['Democratic Republic of the Congo', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { VALUES ( ?n ) { ( ontology:international_organization ) ( ontology:administrative_territorial_entity ) } . ?h rdf:type ?n }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with atmost 59 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 59
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?f ) WHERE { ?k property:P530 ?u . ?k rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?f <= 59 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 59
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?f ) WHERE { ?k property:diplomatic_relation ?u . ?k rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?f <= 59 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 59
[ANSWERS] have diplomatic relationships with atmost 59 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?f ) WHERE { ?k property:P530 ?u . ?k rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?f <= 59 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relationships with atmost 59 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 59
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?f ) WHERE { ?k property:diplomatic_relation ?u . ?k rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?f <= 59 ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P27
Q1048835 Q502895
USER
Which political territories do around the same number of people belong to as that political territory ?
(c(Q502895),P27,c(Q1048835))
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity common name
Comparative|More/Less|Single entity type|Clarification
Q40
SYSTEM
Did you mean Austria ?
(c(Q502895),P27,c(Q1048835))
[ANSWER]
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Did you mean Austria ?
Austria
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q502895),P27,c(Q1048835))
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
[]
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q664 Q16 Q35 Q40 Q408
(c(Q502895),P27,c(Q1048835))
[ANSWERS] around the same number of people belong to as that political territory
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
New Zealand Canada Denmark Austria Australia
Australia, Denmark and Canada around the same number of people belong to as that political territory
Australia Denmark Canada
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]