Simple Question (Direct)
Simple Question
Q467759
P102
Q7210356
USER
Which political organization is Piia-Noora Kauppi a member of ?
(Q467759,P102,c(Q7210356))
action filter_type
action find
entity Q467759
relation P102
type Q7210356
['Q467759', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q467759 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Piia-Noora Kauppi
action filter_type
action find
entity Piia-Noora Kauppi
relation member of political party
type political organization
['Piia-Noora Kauppi', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Piia-Noora_Kauppi property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q304191
SYSTEM
National Coalition Party
Q304191
(Q467759,P102,c(Q7210356))
action filter_type
action find
entity Q467759
relation P102
type Q7210356
Party [ANSWER] is Piia-Noora Kauppi a member of
['Q467759', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q467759 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
National Coalition Party
Party National Coalition Party is Piia-Noora Kauppi a member of
National Coalition Party
action filter_type
action find
entity Piia-Noora Kauppi
relation member of political party
type political organization
['Piia-Noora Kauppi', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Piia-Noora_Kauppi property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q467759
P937
Q515
USER
How many cities are the work locations of Piia-Noora Kauppi ?
(Q467759,P937,c(Q515))
action count
action filter_type
action find
entity Q467759
relation P937
type Q515
['Q467759', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q rdf:type ontology:Q515 . resource:Q467759 property:P937 ?q }
Piia-Noora Kauppi
action count
action filter_type
action find
entity Piia-Noora Kauppi
relation work location
type city
['Piia-Noora Kauppi', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q rdf:type ontology:city . resource:Piia-Noora_Kauppi property:work_location ?q }
[]
city
SYSTEM
1
Q6602
(Q467759,P937,c(Q515))
action count
action filter_type
action find
entity Q467759
relation P937
type Q515
[ANSWER]
['Q467759', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q rdf:type ontology:Q515 . resource:Q467759 property:P937 ?q }
Strasbourg
1
action count
action filter_type
action find
entity Piia-Noora Kauppi
relation work location
type city
['Piia-Noora Kauppi', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q rdf:type ontology:city . resource:Piia-Noora_Kauppi property:work_location ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1576412
P937
Q515
USER
And how about Hanns F. J. Kropff?
(Q1576412,P937,c(Q515))
action count
action filter_type
action find
entity Q1576412
relation P937
type Q515
['Q1576412', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q1576412 property:P937 ?m . ?m rdf:type ontology:Q515 }
Hanns F. J. Kropff
action count
action filter_type
action find
entity Hanns F. J. Kropff
relation work location
type city
['Hanns F. J. Kropff', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Hanns_F._J._Kropff property:work_location ?m . ?m rdf:type ontology:city }
[]
city
SYSTEM
1
Q1794
(Q1576412,P937,c(Q515))
action count
action filter_type
action find
entity Q1576412
relation P937
type Q515
[ANSWER]
['Q1576412', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q1576412 property:P937 ?m . ?m rdf:type ontology:Q515 }
Frankfurt
1
action count
action filter_type
action find
entity Hanns F. J. Kropff
relation work location
type city
['Hanns F. J. Kropff', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Hanns_F._J._Kropff property:work_location ?m . ?m rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1928210
Q515
USER
And how about Michael Klemm?
(Q1928210,P937,c(Q515))
action count
action filter_type
action find
entity Q1928210
relation P937
type Q515
['Q1928210', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Q1928210 property:P937 ?r . ?r rdf:type ontology:Q515 }
Michael Klemm
action count
action filter_type
action find
entity Michael Klemm
relation work location
type city
['Michael Klemm', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Michael_Klemm property:work_location ?r . ?r rdf:type ontology:city }
[]
city
SYSTEM
1
(Q1928210,P937,c(Q515))
action count
action filter_type
action find
entity Q1928210
relation P937
type Q515
[ANSWER]
['Q1928210', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Q1928210 property:P937 ?r . ?r rdf:type ontology:Q515 }
1
action count
action filter_type
action find
entity Michael Klemm
relation work location
type city
['Michael Klemm', 'work location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Michael_Klemm property:work_location ?r . ?r rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1928210
P106
Q12737077
USER
What are the professions of that person ?
action filter_type
action find
entity Q1928210
relation P106
type Q12737077
SELECT DISTINCT ?z WHERE { resource:Q1928210 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Michael Klemm
action filter_type
action find
entity Michael Klemm
relation occupation
type occupation
SELECT DISTINCT ?z WHERE { resource:Michael_Klemm property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q33999 Q36180
SYSTEM
actor, writer
Q33999 Q36180
action filter_type
action find
entity Q1928210
relation P106
type Q12737077
The professions of that person are [ANSWERS]
SELECT DISTINCT ?z WHERE { resource:Q1928210 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
actor writer
The professions of that person are actor and writer
actor writer
action filter_type
action find
entity Michael Klemm
relation occupation
type occupation
SELECT DISTINCT ?z WHERE { resource:Michael_Klemm property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q86066
P106
Q502895
USER
Do Walter Rilla have career as those occupations ?
(Q86066,P106,Q33999) (Q86066,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q86066
relation P106
['Q86066', 'P106', 'Q33999'] ['Q86066', 'P106', 'Q36180']
ASK WHERE { VALUES ( ?i ) { ( resource:Q33999 ) ( resource:Q36180 ) } . resource:Q86066 property:P106 ?i }
Walter Rilla
action is_in
entity prev_answer
action find
entity Walter Rilla
relation occupation
['Walter Rilla', 'occupation', 'actor'] ['Walter Rilla', 'occupation', 'writer']
ASK WHERE { VALUES ( ?i ) { ( resource:actor ) ( resource:writer ) } . resource:Walter_Rilla property:occupation ?i }
[]
common name
SYSTEM
YES
(Q86066,P106,Q33999) (Q86066,P106,Q36180)
action is_in
entity prev_answer
action find
entity Q86066
relation P106
[ANSWER]
['Q86066', 'P106', 'Q33999'] ['Q86066', 'P106', 'Q36180']
ASK WHERE { VALUES ( ?i ) { ( resource:Q33999 ) ( resource:Q36180 ) } . resource:Q86066 property:P106 ?i }
Yes
action is_in
entity prev_answer
action find
entity Walter Rilla
relation occupation
['Walter Rilla', 'occupation', 'actor'] ['Walter Rilla', 'occupation', 'writer']
ASK WHERE { VALUES ( ?i ) { ( resource:actor ) ( resource:writer ) } . resource:Walter_Rilla property:occupation ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q326075
Q502895
USER
And also tell me about Rafiki?
(Q326075,P106,c(Q502895))
action filter_type
action find
entity Q326075
relation P106
type Q502895
['Q326075', 'P106', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q326075 property:P106 ?y . ?y rdf:type ontology:Q502895 }
Rafiki
action filter_type
action find
entity Rafiki
relation occupation
type common name
['Rafiki', 'occupation', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Rafiki property:occupation ?y . ?y rdf:type ontology:common_name }
[]
common name
Q697405
SYSTEM
shaman
Q697405
(Q326075,P106,c(Q502895))
action filter_type
action find
entity Q326075
relation P106
type Q502895
[ANSWER]
['Q326075', 'P106', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q326075 property:P106 ?y . ?y rdf:type ontology:Q502895 }
shaman
shaman
action filter_type
action find
entity Rafiki
relation occupation
type common name
['Rafiki', 'occupation', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Rafiki property:occupation ?y . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q33999 Q186286
P106
Q502895
USER
How many people have actor and vaudeville as his/her means of employment ?
(c(Q502895),P106,Q33999) (c(Q502895),P106,Q186286)
action count
action intersection
action filter_type
action find_reverse
entity Q33999
relation P106
type Q502895
action filter_type
action find_reverse
entity Q186286
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q33999'] [{'concept': 'Q502895'}, 'P106', 'Q186286']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ontology:Q502895 . ?q property:P106 resource:Q33999 . ?q property:P106 resource:Q186286 . ?q rdf:type ontology:Q502895 }
actor vaudeville
action count
action intersection
action filter_type
action find_reverse
entity actor
relation occupation
type common name
action filter_type
action find_reverse
entity vaudeville
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'actor'] [{'concept': 'common name'}, 'occupation', 'vaudeville']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ontology:common_name . ?q property:occupation resource:actor . ?q property:occupation resource:vaudeville . ?q rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q19668651 Q21608040
(c(Q502895),P106,Q33999) (c(Q502895),P106,Q186286)
action count
action intersection
action filter_type
action find_reverse
entity Q33999
relation P106
type Q502895
action filter_type
action find_reverse
entity Q186286
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q33999'] [{'concept': 'Q502895'}, 'P106', 'Q186286']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ontology:Q502895 . ?q property:P106 resource:Q33999 . ?q property:P106 resource:Q186286 . ?q rdf:type ontology:Q502895 }
Gladys Gale Rachel Rice Dooley
2
action count
action intersection
action filter_type
action find_reverse
entity actor
relation occupation
type common name
action filter_type
action find_reverse
entity vaudeville
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'actor'] [{'concept': 'common name'}, 'occupation', 'vaudeville']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q rdf:type ontology:common_name . ?q property:occupation resource:actor . ?q property:occupation resource:vaudeville . ?q rdf:type ontology:common_name }
[]