Simple Question (Direct)
Simple Question
Q1424475
P735
Q82799
USER
What is the firstname of Chris Gatling ?
(Q1424475,P735,c(Q82799))
action filter_type
action find
entity Q1424475
relation P735
type Q82799
['Q1424475', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q1424475 property:P735 ?c }
Chris Gatling
action filter_type
action find
entity Chris Gatling
relation given name
type name
['Chris Gatling', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:Chris_Gatling property:given_name ?c }
[]
name
Q339346
SYSTEM
Chris
Q339346
(Q1424475,P735,c(Q82799))
action filter_type
action find
entity Q1424475
relation P735
type Q82799
The firstname of [ANSWER] Gatling is of [ANSWER]
['Q1424475', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q1424475 property:P735 ?c }
Chris
The firstname of Chris Gatling is of Chris
Chris
action filter_type
action find
entity Chris Gatling
relation given name
type name
['Chris Gatling', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:Chris_Gatling property:given_name ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1424475
P19
Q56061
USER
Which administrative territory was Chris Gatling born in ?
(Q1424475,P19,c(Q56061))
action filter_type
action find
entity Q1424475
relation P19
type Q56061
['Q1424475', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1424475 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Chris Gatling
action filter_type
action find
entity Chris Gatling
relation place of birth
type administrative territorial entity
['Chris Gatling', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Chris_Gatling property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q138311
SYSTEM
Elizabeth
Q138311
(Q1424475,P19,c(Q56061))
action filter_type
action find
entity Q1424475
relation P19
type Q56061
Chris Gatling was born to [ANSWER]
['Q1424475', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1424475 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Elizabeth
Chris Gatling was born to Elizabeth
Elizabeth
action filter_type
action find
entity Chris Gatling
relation place of birth
type administrative territorial entity
['Chris Gatling', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Chris_Gatling property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q138311
P190
Q15617994
USER
Which administrative territory is twin city of that administrative territory ?
(Q138311,P190,c(Q15617994))
action filter_type
action find
entity Q138311
relation P190
type Q15617994
['Q138311', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q138311 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Elizabeth
action filter_type
action find
entity Elizabeth
relation sister city
type designation for an administrative territorial entity
['Elizabeth', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Elizabeth property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q432527
SYSTEM
Ribera
Q432527
(Q138311,P190,c(Q15617994))
action filter_type
action find
entity Q138311
relation P190
type Q15617994
[ANSWER] is twin city of that administrative territory
['Q138311', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q138311 property:P190 ?e . ?e rdf:type ontology:Q15617994 }
Ribera
Ribera is twin city of that administrative territory
Ribera
action filter_type
action find
entity Elizabeth
relation sister city
type designation for an administrative territorial entity
['Elizabeth', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Elizabeth property:sister_city ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q688187
Q15617994
USER
And how about Charlieu?
(Q688187,P190,c(Q15617994))
action filter_type
action find
entity Q688187
relation P190
type Q15617994
['Q688187', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q688187 property:P190 ?r . ?r rdf:type ontology:Q15617994 }
Charlieu
action filter_type
action find
entity Charlieu
relation sister city
type designation for an administrative territorial entity
['Charlieu', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Charlieu property:sister_city ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q81423
SYSTEM
Eningen unter Achalm
Q81423
(Q688187,P190,c(Q15617994))
action filter_type
action find
entity Q688187
relation P190
type Q15617994
[ANSWER]
['Q688187', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q688187 property:P190 ?r . ?r rdf:type ontology:Q15617994 }
Eningen unter Achalm
Eningen unter Achalm
action filter_type
action find
entity Charlieu
relation sister city
type designation for an administrative territorial entity
['Charlieu', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Charlieu property:sister_city ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q108058 Q138311
P20
Q502895
USER
Which people died in Elizabeth or Contra Costa County ?
OR((c(Q502895),P20,Q138311), (c(Q502895),P20,Q108058))
action filter_type
action union
action find_reverse
entity Q138311
relation P20
action find_reverse
entity Q108058
relation P20
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q138311'], [{'concept': 'Q502895'}, 'P20', 'Q108058']]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?u ) { ( resource:Q138311 ) ( resource:Q108058 ) } . ?l property:P20 ?u } . ?l rdf:type ontology:Q502895 }
Contra Costa County Elizabeth
action filter_type
action union
action find_reverse
entity Elizabeth
relation place of death
action find_reverse
entity Contra Costa County
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Elizabeth'], [{'concept': 'common name'}, 'place of death', 'Contra Costa County']]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?u ) { ( resource:Elizabeth ) ( resource:Contra_Costa_County ) } . ?l property:place_of_death ?u } . ?l rdf:type ontology:common_name }
[]
common name
Q7343748 Q8068996 Q6144700 Q24845861 Q6145105 Q6669082 Q1700685 Q461697 Q372861 Q1370892
SYSTEM
Some of them are Robert E. Connick, Zenaida Manfugás, James Vote Bomford, Charles Goeller, James Walter Wall, Arthur Ellery, John Kean, Jonathan Dayton, Louis Abell, Phife Dawg
Q24845861 Q1701874 Q6272552 Q6794812 Q706292 Q322581 Q6272949 Q444466 Q2578259 Q6144700 Q1711489 Q1805255 Q1329026 Q7343748 Q7342591 Q2602810 Q4160747 Q1700685 Q878535 Q2479516 Q8068996 Q2069761 Q6145105 Q435008 Q21751019 Q885455 Q1370892 Q7079716 Q372861 Q6669082 Q461697 Q1297019 Q945457 Q549506
OR((c(Q502895),P20,Q138311), (c(Q502895),P20,Q108058))
action filter_type
action union
action find_reverse
entity Q138311
relation P20
action find_reverse
entity Q108058
relation P20
type Q502895
[ANSWERS] died in Elizabeth or Contra Costa County
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q138311'], [{'concept': 'Q502895'}, 'P20', 'Q108058']]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?u ) { ( resource:Q138311 ) ( resource:Q108058 ) } . ?l property:P20 ?u } . ?l rdf:type ontology:Q502895 }
Charles Goeller John T. Dunn Jonathan Belcher Max Greenberg Forrest Smithson Al Aronowitz Jonathan Dickinson Matthias Ogden William Chetwood James Vote Bomford Idalia Anreus William Martin Elias Dayton Robert E. Connick Robert C. Crane Alfred C. Crowle Joseph Dzvonchik John Kean William Livingston Philip Diehl Zenaida Manfugás Peppermint Harris James Walter Wall Isaac Halstead Williamson Charles L. Goeller Robert Stockton Green Phife Dawg Offutt Pinion Louis Abell Arthur Ellery Jonathan Dayton Florence P. Dwyer Charles Doe Antoinette Brown Blackwell
Robert E. Connick, Zenaida Manfugás, James Vote Bomford, Charles Goeller, James Walter Wall, Arthur Ellery, John Kean, Jonathan Dayton, Louis Abell and Phife Dawg died in Elizabeth or Contra Costa County
Robert E. Connick Zenaida Manfugás James Vote Bomford Charles Goeller James Walter Wall Arthur Ellery John Kean Jonathan Dayton Louis Abell Phife Dawg
action filter_type
action union
action find_reverse
entity Elizabeth
relation place of death
action find_reverse
entity Contra Costa County
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Elizabeth'], [{'concept': 'common name'}, 'place of death', 'Contra Costa County']]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?u ) { ( resource:Elizabeth ) ( resource:Contra_Costa_County ) } . ?l property:place_of_death ?u } . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q138311
P47
Q56061
USER
How many administrative territories have a shared border with Elizabeth ?
(Q138311,P47,c(Q56061))
action count
action filter_type
action find
entity Q138311
relation P47
type Q56061
['Q138311', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { resource:Q138311 property:P47 ?b . ?b rdf:type ontology:Q56061 }
Elizabeth
action count
action filter_type
action find
entity Elizabeth
relation shares border with
type administrative territorial entity
['Elizabeth', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { resource:Elizabeth property:shares_border_with ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
5
Q1004712 Q25395 Q770167 Q60 Q1013233
(Q138311,P47,c(Q56061))
action count
action filter_type
action find
entity Q138311
relation P47
type Q56061
[ANSWER]
['Q138311', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { resource:Q138311 property:P47 ?b . ?b rdf:type ontology:Q56061 }
Linden Newark Roselle Park New York City Roselle
5
action count
action filter_type
action find
entity Elizabeth
relation shares border with
type administrative territorial entity
['Elizabeth', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { resource:Elizabeth property:shares_border_with ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5397887
Q56061
USER
And how about Esholt?
(Q5397887,P47,c(Q56061))
action count
action filter_type
action find
entity Q5397887
relation P47
type Q56061
['Q5397887', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q5397887 property:P47 ?n . ?n rdf:type ontology:Q56061 }
Esholt
action count
action filter_type
action find
entity Esholt
relation shares border with
type administrative territorial entity
['Esholt', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Esholt property:shares_border_with ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q5397887,P47,c(Q56061))
action count
action filter_type
action find
entity Q5397887
relation P47
type Q56061
[ANSWER]
['Q5397887', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q5397887 property:P47 ?n . ?n rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Esholt
relation shares border with
type administrative territorial entity
['Esholt', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Esholt property:shares_border_with ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q461697
P106
Q12737077
USER
Which occupation has Jonathan Dayton as his/her 's career ?
(Q461697,P106,c(Q12737077))
action filter_type
action find
entity Q461697
relation P106
type Q12737077
['Q461697', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q461697 property:P106 ?u }
Jonathan Dayton
action filter_type
action find
entity Jonathan Dayton
relation occupation
type occupation
['Jonathan Dayton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Jonathan_Dayton property:occupation ?u }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q461697,P106,c(Q12737077))
action filter_type
action find
entity Q461697
relation P106
type Q12737077
[ANSWER] has Jonathan Dayton as his/her 's career
['Q461697', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q461697 property:P106 ?u }
politician
Politician has Jonathan Dayton as his/her 's career
politician
action filter_type
action find
entity Jonathan Dayton
relation occupation
type occupation
['Jonathan Dayton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Jonathan_Dayton property:occupation ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q9819120 Q732577
USER
How many Victimss of the White Terror (Spain) or publications have the profession of that occupation ?
(c(Q9819120),P106,Q82955) (c(Q732577),P106,Q82955) (c(Q9819120),P106,Q82955) (c(Q732577),P106,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P106
type Q9819120
action filter_type
action find_reverse
entity Q82955
relation P106
type Q732577
[{'concept': 'Q9819120'}, 'P106', 'Q82955'] [{'concept': 'Q732577'}, 'P106', 'Q82955'] [{'concept': 'Q9819120'}, 'P106', 'Q82955'] [{'concept': 'Q732577'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Q9819120 ) ( ontology:Q732577 ) } }
action count
action union
action filter_type
action find_reverse
entity politician
relation occupation
type Category:Victims of the White Terror (Spain)
action filter_type
action find_reverse
entity politician
relation occupation
type publication
[{'concept': 'Category:Victims of the White Terror (Spain)'}, 'occupation', 'politician'] [{'concept': 'publication'}, 'occupation', 'politician'] [{'concept': 'Category:Victims of the White Terror (Spain)'}, 'occupation', 'politician'] [{'concept': 'publication'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Category:Victims_of_the_White_Terror_(Spain) ) ( ontology:publication ) } }
[]
Category:Victims of the White Terror (Spain) publication
SYSTEM
2
Q14626845 Q4831013
(c(Q9819120),P106,Q82955) (c(Q732577),P106,Q82955) (c(Q9819120),P106,Q82955) (c(Q732577),P106,Q82955)
action count
action union
action filter_type
action find_reverse
entity Q82955
relation P106
type Q9819120
action filter_type
action find_reverse
entity Q82955
relation P106
type Q732577
[ANSWER]
[{'concept': 'Q9819120'}, 'P106', 'Q82955'] [{'concept': 'Q732577'}, 'P106', 'Q82955'] [{'concept': 'Q9819120'}, 'P106', 'Q82955'] [{'concept': 'Q732577'}, 'P106', 'Q82955']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Q9819120 ) ( ontology:Q732577 ) } }
Juan Antonio Gaya Tovar Ayaz Amir
2
action count
action union
action filter_type
action find_reverse
entity politician
relation occupation
type Category:Victims of the White Terror (Spain)
action filter_type
action find_reverse
entity politician
relation occupation
type publication
[{'concept': 'Category:Victims of the White Terror (Spain)'}, 'occupation', 'politician'] [{'concept': 'publication'}, 'occupation', 'politician'] [{'concept': 'Category:Victims of the White Terror (Spain)'}, 'occupation', 'politician'] [{'concept': 'publication'}, 'occupation', 'politician']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ?f . VALUES ( ?f ) { ( ontology:Category:Victims_of_the_White_Terror_(Spain) ) ( ontology:publication ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q461697
P40
Q502895
USER
Which person has Jonathan Dayton as a child ?
(c(Q502895),P40,Q461697)
action filter_type
action find_reverse
entity Q461697
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q461697']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q461697 . ?r rdf:type ontology:Q502895 }
Jonathan Dayton
action filter_type
action find_reverse
entity Jonathan Dayton
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jonathan Dayton']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Jonathan_Dayton . ?r rdf:type ontology:common_name }
[]
common name
Q1329026
SYSTEM
Elias Dayton
Q1329026
(c(Q502895),P40,Q461697)
action filter_type
action find_reverse
entity Q461697
relation P40
type Q502895
[ANSWER] has Jonathan Dayton as a child
[{'concept': 'Q502895'}, 'P40', 'Q461697']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q461697 . ?r rdf:type ontology:Q502895 }
Elias Dayton
Elias Dayton has Jonathan Dayton as a child
Elias Dayton
action filter_type
action find_reverse
entity Jonathan Dayton
relation child
type common name
[{'concept': 'common name'}, 'child', 'Jonathan Dayton']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Jonathan_Dayton . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q461697
P102
Q7210356
USER
Which parties do Jonathan Dayton belong to ?
(Q461697,P102,c(Q7210356))
action filter_type
action find
entity Q461697
relation P102
type Q7210356
['Q461697', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q461697 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Jonathan Dayton
action filter_type
action find
entity Jonathan Dayton
relation member of political party
type political organization
['Jonathan Dayton', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Jonathan_Dayton property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
political organization
Q42189 Q1290162
SYSTEM
Federalist Party, Pro-Administration Party
Q42189 Q1290162
(Q461697,P102,c(Q7210356))
action filter_type
action find
entity Q461697
relation P102
type Q7210356
Jonathan Dayton belong to [ANSWERS]
['Q461697', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q461697 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Federalist Party Pro-Administration Party
Jonathan Dayton belong to Federalist Party and Pro-Administration Party
Federalist Party Pro-Administration Party
action filter_type
action find
entity Jonathan Dayton
relation member of political party
type political organization
['Jonathan Dayton', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Jonathan_Dayton property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]