Simple Question (Direct)
Simple Question
Q6262244
P19
Q56061
USER
Which administrative territory is the birthplace of John W. Drummond ?
(Q6262244,P19,c(Q56061))
action filter_type
action find
entity Q6262244
relation P19
type Q56061
['Q6262244', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q6262244 property:P19 ?r . ?r rdf:type ontology:Q56061 }
John W. Drummond
action filter_type
action find
entity John W. Drummond
relation place of birth
type administrative territorial entity
['John W. Drummond', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:John_W._Drummond property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q520251
SYSTEM
Greenwood
Q520251
(Q6262244,P19,c(Q56061))
action filter_type
action find
entity Q6262244
relation P19
type Q56061
[ANSWER] is the birthplace of John W. Drummond
['Q6262244', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q6262244 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Greenwood
Greenwood is the birthplace of John W. Drummond
Greenwood
action filter_type
action find
entity John W. Drummond
relation place of birth
type administrative territorial entity
['John W. Drummond', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:John_W._Drummond property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6262244
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q520251,P27,c(Q15617994))
action filter_type
action find
entity Q6262244
relation P27
type Q15617994
['Q520251', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q6262244 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
John W. Drummond
action filter_type
action find
entity John W. Drummond
relation country of citizenship
type designation for an administrative territorial entity
['Greenwood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:John_W._Drummond property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q520251,P27,c(Q15617994))
action filter_type
action find
entity Q6262244
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q520251', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q6262244 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity John W. Drummond
relation country of citizenship
type designation for an administrative territorial entity
['Greenwood', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:John_W._Drummond property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q2235308 Q811979
USER
How many ship types or architectural structures come from that administrative territory ?
(c(Q2235308),P138,Q30) (c(Q811979),P138,Q30) (c(Q2235308),P138,Q30) (c(Q811979),P138,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P138
type Q2235308
action filter_type
action find_reverse
entity Q30
relation P138
type Q811979
[{'concept': 'Q2235308'}, 'P138', 'Q30'] [{'concept': 'Q811979'}, 'P138', 'Q30'] [{'concept': 'Q2235308'}, 'P138', 'Q30'] [{'concept': 'Q811979'}, 'P138', 'Q30']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { VALUES ( ?i ) { ( ontology:Q811979 ) ( ontology:Q2235308 ) } . ?c rdf:type ?i }
action count
action union
action filter_type
action find_reverse
entity United States of America
relation named after
type ship type
action filter_type
action find_reverse
entity United States of America
relation named after
type architectural structure
[{'concept': 'ship type'}, 'named after', 'United States of America'] [{'concept': 'architectural structure'}, 'named after', 'United States of America'] [{'concept': 'ship type'}, 'named after', 'United States of America'] [{'concept': 'architectural structure'}, 'named after', 'United States of America']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { VALUES ( ?i ) { ( ontology:architectural_structure ) ( ontology:ship_type ) } . ?c rdf:type ?i }
[]
ship type architectural structure
SYSTEM
3
Q509266 Q7408497 Q3390556
(c(Q2235308),P138,Q30) (c(Q811979),P138,Q30) (c(Q2235308),P138,Q30) (c(Q811979),P138,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P138
type Q2235308
action filter_type
action find_reverse
entity Q30
relation P138
type Q811979
[ANSWER]
[{'concept': 'Q2235308'}, 'P138', 'Q30'] [{'concept': 'Q811979'}, 'P138', 'Q30'] [{'concept': 'Q2235308'}, 'P138', 'Q30'] [{'concept': 'Q811979'}, 'P138', 'Q30']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { VALUES ( ?i ) { ( ontology:Q811979 ) ( ontology:Q2235308 ) } . ?c rdf:type ?i }
USS America USS America place des États-Unis
3
action count
action union
action filter_type
action find_reverse
entity United States of America
relation named after
type ship type
action filter_type
action find_reverse
entity United States of America
relation named after
type architectural structure
[{'concept': 'ship type'}, 'named after', 'United States of America'] [{'concept': 'architectural structure'}, 'named after', 'United States of America'] [{'concept': 'ship type'}, 'named after', 'United States of America'] [{'concept': 'architectural structure'}, 'named after', 'United States of America']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { VALUES ( ?i ) { ( ontology:architectural_structure ) ( ontology:ship_type ) } . ?c rdf:type ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6262244
P21
Q290
USER
Which sex does John W. Drummond possess ?
(Q6262244,P21,c(Q290))
action filter_type
action find
entity Q6262244
relation P21
type Q290
['Q6262244', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q6262244 property:P21 ?n }
John W. Drummond
action filter_type
action find
entity John W. Drummond
relation gender
type sex
['John W. Drummond', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:John_W._Drummond property:gender ?n }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6262244,P21,c(Q290))
action filter_type
action find
entity Q6262244
relation P21
type Q290
John W. Drummond possesses un [ANSWER]
['Q6262244', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q6262244 property:P21 ?n }
male
John W. Drummond possesses un male
male
action filter_type
action find
entity John W. Drummond
relation gender
type sex
['John W. Drummond', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:John_W._Drummond property:gender ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6262244
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q6262244
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q6262244 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
John W. Drummond
action filter_type
action find
entity John W. Drummond
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:John_W._Drummond property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q6262244
relation P106
type Q12737077
Is [ANSWER] is the profession of that person
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q6262244 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
politician
Is politician is the profession of that person
politician
action filter_type
action find
entity John W. Drummond
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:John_W._Drummond property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6262244
P102
Q7210356
USER
Which party is John W. Drummond affiliated with ?
(Q6262244,P102,c(Q7210356))
action filter_type
action find
entity Q6262244
relation P102
type Q7210356
['Q6262244', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q6262244 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
John W. Drummond
action filter_type
action find
entity John W. Drummond
relation member of political party
type political organization
['John W. Drummond', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:John_W._Drummond property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q6262244,P102,c(Q7210356))
action filter_type
action find
entity Q6262244
relation P102
type Q7210356
John W. Drummond is affiliated with [ANSWER]
['Q6262244', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q6262244 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Democratic Party
John W. Drummond is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity John W. Drummond
relation member of political party
type political organization
['John W. Drummond', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:John_W._Drummond property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6262244
P39
Q12737077
USER
What were the positions for which John W. Drummond were appointed ?
(Q6262244,P39,c(Q12737077))
action filter_type
action find
entity Q6262244
relation P39
type Q12737077
['Q6262244', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q6262244 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
John W. Drummond
action filter_type
action find
entity John W. Drummond
relation position held
type occupation
['John W. Drummond', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:John_W._Drummond property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q19754409 Q18676729
SYSTEM
member of the South Carolina House of Representatives, member of the State Senate of South Carolina
Q19754409 Q18676729
(Q6262244,P39,c(Q12737077))
action filter_type
action find
entity Q6262244
relation P39
type Q12737077
What a [ANSWERS]
['Q6262244', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q6262244 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
member of the South Carolina House of Representatives member of the State Senate of South Carolina
What a member of the South Carolina House of Representatives and member of the State Senate of South Carolina
member of the South Carolina House of Representatives member of the State Senate of South Carolina
action filter_type
action find
entity John W. Drummond
relation position held
type occupation
['John W. Drummond', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:John_W._Drummond property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6536843
Q12737077
USER
And what about Lewis Martin?
(Q6536843,P39,c(Q12737077))
action filter_type
action find
entity Q6536843
relation P39
type Q12737077
['Q6536843', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q6536843 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Lewis Martin
action filter_type
action find
entity Lewis Martin
relation position held
type occupation
['Lewis Martin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Lewis_Martin property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q19202748
SYSTEM
Member of the New South Wales Legislative Assembly
Q19202748
(Q6536843,P39,c(Q12737077))
action filter_type
action find
entity Q6536843
relation P39
type Q12737077
[ANSWER]
['Q6536843', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q6536843 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Member of the New South Wales Legislative Assembly
Member of the New South Wales Legislative Assembly
action filter_type
action find
entity Lewis Martin
relation position held
type occupation
['Lewis Martin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Lewis_Martin property:position_held ?b . ?b rdf:type ontology:occupation }
[]