Simple Question (Direct)
Simple Question
Q2043583
P735
Q82799
USER
What the name that P. J. Fenton is known by ?
(Q2043583,P735,c(Q82799))
action filter_type
action find
entity Q2043583
relation P735
type Q82799
['Q2043583', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q82799 . resource:Q2043583 property:P735 ?z }
P. J. Fenton
action filter_type
action find
entity P. J. Fenton
relation given name
type name
['P. J. Fenton', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:name . resource:P._J._Fenton property:given_name ?z }
[]
name
Q19803513
SYSTEM
P.
Q19803513
(Q2043583,P735,c(Q82799))
action filter_type
action find
entity Q2043583
relation P735
type Q82799
J. Fenton is known by the [ANSWER]
['Q2043583', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q82799 . resource:Q2043583 property:P735 ?z }
P.
J. Fenton is known by the P.
P.
action filter_type
action find
entity P. J. Fenton
relation given name
type name
['P. J. Fenton', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:name . resource:P._J._Fenton property:given_name ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2043583
P27
Q15617994
USER
Which administrative territory is the country of citizenship of P. J. Fenton ?
(Q2043583,P27,c(Q15617994))
action filter_type
action find
entity Q2043583
relation P27
type Q15617994
['Q2043583', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q2043583 property:P27 ?y }
P. J. Fenton
action filter_type
action find
entity P. J. Fenton
relation country of citizenship
type designation for an administrative territorial entity
['P. J. Fenton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:P._J._Fenton property:country_of_citizenship ?y }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2043583,P27,c(Q15617994))
action filter_type
action find
entity Q2043583
relation P27
type Q15617994
[ANSWER] is the country of citizenship of P. J. Fenton
['Q2043583', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q2043583 property:P27 ?y }
United States of America
United States of America is the country of citizenship of P. J. Fenton
United States of America
action filter_type
action find
entity P. J. Fenton
relation country of citizenship
type designation for an administrative territorial entity
['P. J. Fenton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:P._J._Fenton property:country_of_citizenship ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3370576
Q15617994
USER
And also tell me about Paul Barselou?
(Q3370576,P27,c(Q15617994))
action filter_type
action find
entity Q3370576
relation P27
type Q15617994
['Q3370576', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q3370576 property:P27 ?j }
Paul Barselou
action filter_type
action find
entity Paul Barselou
relation country of citizenship
type designation for an administrative territorial entity
['Paul Barselou', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Paul_Barselou property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3370576,P27,c(Q15617994))
action filter_type
action find
entity Q3370576
relation P27
type Q15617994
[ANSWER]
['Q3370576', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q3370576 property:P27 ?j }
United States of America
United States of America
action filter_type
action find
entity Paul Barselou
relation country of citizenship
type designation for an administrative territorial entity
['Paul Barselou', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Paul_Barselou property:country_of_citizenship ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3370576
P161
Q838948
USER
Which work of art does that person star in ?
(c(Q838948),P161,Q30)
action filter_type
action find_reverse
entity Q3370576
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q30']
SELECT DISTINCT ?a WHERE { ?a property:P161 resource:Q3370576 . ?a rdf:type ontology:Q838948 }
Paul Barselou
action filter_type
action find_reverse
entity Paul Barselou
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'United States of America']
SELECT DISTINCT ?a WHERE { ?a property:cast_member resource:Paul_Barselou . ?a rdf:type ontology:work_of_art }
[]
work of art
Q1429269
SYSTEM
The Comedy of Terrors
Q1429269
(c(Q838948),P161,Q30)
action filter_type
action find_reverse
entity Q3370576
relation P161
type Q838948
That person stars in [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q30']
SELECT DISTINCT ?a WHERE { ?a property:P161 resource:Q3370576 . ?a rdf:type ontology:Q838948 }
The Comedy of Terrors
That person stars in The Comedy of Terrors
The Comedy of Terrors
action filter_type
action find_reverse
entity Paul Barselou
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'United States of America']
SELECT DISTINCT ?a WHERE { ?a property:cast_member resource:Paul_Barselou . ?a rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q865
P463
Q484652
USER
How many international organizations were United States of America and Taiwan a member of ?
(Q30,P463,c(Q484652)) (Q865,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q30
relation P463
type Q484652
action filter_type
action find
entity Q865
relation P463
type Q484652
['Q30', 'P463', {'concept': 'Q484652'}] ['Q865', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Q30 property:P463 ?d . ?d rdf:type ontology:Q484652 . resource:Q865 property:P463 ?d . ?d rdf:type ontology:Q484652 }
United States of America Taiwan
action count
action intersection
action filter_type
action find
entity United States of America
relation member of
type international organization
action filter_type
action find
entity Taiwan
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}] ['Taiwan', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:United_States_of_America property:member_of ?d . ?d rdf:type ontology:international_organization . resource:Taiwan property:member_of ?d . ?d rdf:type ontology:international_organization }
[]
international organization
SYSTEM
2
Q1065 Q188822
(Q30,P463,c(Q484652)) (Q865,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q30
relation P463
type Q484652
action filter_type
action find
entity Q865
relation P463
type Q484652
[ANSWER]
['Q30', 'P463', {'concept': 'Q484652'}] ['Q865', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Q30 property:P463 ?d . ?d rdf:type ontology:Q484652 . resource:Q865 property:P463 ?d . ?d rdf:type ontology:Q484652 }
United Nations Asian Development Bank
2
action count
action intersection
action filter_type
action find
entity United States of America
relation member of
type international organization
action filter_type
action find
entity Taiwan
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}] ['Taiwan', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:United_States_of_America property:member_of ?d . ?d rdf:type ontology:international_organization . resource:Taiwan property:member_of ?d . ?d rdf:type ontology:international_organization }
[]