Simple Question (Direct)
Simple Question
Q10985702
P102
Q7210356
USER
Which party is Linda Dorcena Forry affiliated with ?
(Q10985702,P102,c(Q7210356))
action filter_type
action find
entity Q10985702
relation P102
type Q7210356
['Q10985702', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q10985702 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Linda Dorcena Forry
action filter_type
action find
entity Linda Dorcena Forry
relation member of political party
type political organization
['Linda Dorcena Forry', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Linda_Dorcena_Forry property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q10985702,P102,c(Q7210356))
action filter_type
action find
entity Q10985702
relation P102
type Q7210356
Linda Dorcena Forry is affiliated with [ANSWER]
['Q10985702', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q10985702 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Democratic Party
Linda Dorcena Forry is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Linda Dorcena Forry
relation member of political party
type political organization
['Linda Dorcena Forry', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Linda_Dorcena_Forry property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29552
P749
Q7210356
USER
Which political organizations are owned by that one ?
(c(Q7210356),P749,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P749
type Q7210356
[{'concept': 'Q7210356'}, 'P749', 'Q29552']
SELECT DISTINCT ?n WHERE { ?n property:P749 resource:Q29552 . ?n rdf:type ontology:Q7210356 }
Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation parent organization
type political organization
[{'concept': 'political organization'}, 'parent organization', 'Democratic Party']
SELECT DISTINCT ?n WHERE { ?n property:parent_organization resource:Democratic_Party . ?n rdf:type ontology:political_organization }
[]
political organization
Q7008134 Q5020399
SYSTEM
New Hampshire Democratic Party, California Democratic Party
Q7008134 Q5020399
(c(Q7210356),P749,Q29552)
action filter_type
action find_reverse
entity Q29552
relation P749
type Q7210356
And [ANSWERS] are owned by that one
[{'concept': 'Q7210356'}, 'P749', 'Q29552']
SELECT DISTINCT ?n WHERE { ?n property:P749 resource:Q29552 . ?n rdf:type ontology:Q7210356 }
New Hampshire Democratic Party California Democratic Party
And New Hampshire Democratic Party and California Democratic Party are owned by that one
New Hampshire Democratic Party California Democratic Party
action filter_type
action find_reverse
entity Democratic Party
relation parent organization
type political organization
[{'concept': 'political organization'}, 'parent organization', 'Democratic Party']
SELECT DISTINCT ?n WHERE { ?n property:parent_organization resource:Democratic_Party . ?n rdf:type ontology:political_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7008134
P355
Q7210356
USER
Which political organization is that one the subsidiary of ?
(c(Q7210356),P355,Q7008134)
action filter_type
action find_reverse
entity Q7008134
relation P355
type Q7210356
[{'concept': 'Q7210356'}, 'P355', 'Q7008134']
SELECT DISTINCT ?d WHERE { ?d property:P355 resource:Q7008134 . ?d rdf:type ontology:Q7210356 }
New Hampshire Democratic Party
action filter_type
action find_reverse
entity New Hampshire Democratic Party
relation subsidiary
type political organization
[{'concept': 'political organization'}, 'subsidiary', 'New Hampshire Democratic Party']
SELECT DISTINCT ?d WHERE { ?d property:subsidiary resource:New_Hampshire_Democratic_Party . ?d rdf:type ontology:political_organization }
[]
political organization
Clarification for simple ques.
Q7008134
SYSTEM
Did you mean New Hampshire Democratic Party ?
Q7008134 Q5020399
(c(Q7210356),P355,Q7008134) (c(Q7210356),P355,Q5020399)
[ANSWER]
[{'concept': 'Q7210356'}, 'P355', 'Q7008134'] [{'concept': 'Q7210356'}, 'P355', 'Q5020399']
SELECT DISTINCT ?d WHERE { ?d property:P355 resource:Q7008134 . ?d rdf:type ontology:Q7210356 }
New Hampshire Democratic Party California Democratic Party
Did you mean New Hampshire Democratic Party ?
New Hampshire Democratic Party
[{'concept': 'political organization'}, 'subsidiary', 'New Hampshire Democratic Party'] [{'concept': 'political organization'}, 'subsidiary', 'California Democratic Party']
SELECT DISTINCT ?d WHERE { ?d property:subsidiary resource:New_Hampshire_Democratic_Party . ?d rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q7210356),P355,Q7008134)
[{'concept': 'Q7210356'}, 'P355', 'Q7008134']
[{'concept': 'political organization'}, 'subsidiary', 'New Hampshire Democratic Party']
[]
Q29552
SYSTEM
Democratic Party
Q29552
(c(Q7210356),P355,Q7008134)
action filter_type
action find_reverse
entity Q7008134
relation P355
type Q7210356
Party [ANSWER] is that one the subsidiary of
[{'concept': 'Q7210356'}, 'P355', 'Q7008134']
SELECT DISTINCT ?d WHERE { ?d property:P355 resource:Q7008134 . ?d rdf:type ontology:Q7210356 }
Democratic Party
Party Democratic Party is that one the subsidiary of
Democratic Party
action filter_type
action find_reverse
entity New Hampshire Democratic Party
relation subsidiary
type political organization
[{'concept': 'political organization'}, 'subsidiary', 'New Hampshire Democratic Party']
SELECT DISTINCT ?d WHERE { ?d property:subsidiary resource:New_Hampshire_Democratic_Party . ?d rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29468
P463
Q502895
USER
Which person has a membership of Republican Party ?
(c(Q502895),P463,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q29468']
SELECT DISTINCT ?h WHERE { ?h property:P463 resource:Q29468 . ?h rdf:type ontology:Q502895 }
Republican Party
action filter_type
action find_reverse
entity Republican Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Republican Party']
SELECT DISTINCT ?h WHERE { ?h property:member_of resource:Republican_Party . ?h rdf:type ontology:common_name }
[]
common name
Q2522486
SYSTEM
Victor Murdock
Q2522486
(c(Q502895),P463,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P463
type Q502895
[ANSWER] has a membership of Republican Party
[{'concept': 'Q502895'}, 'P463', 'Q29468']
SELECT DISTINCT ?h WHERE { ?h property:P463 resource:Q29468 . ?h rdf:type ontology:Q502895 }
Victor Murdock
Victor Murdock has a membership of Republican Party
Victor Murdock
action filter_type
action find_reverse
entity Republican Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Republican Party']
SELECT DISTINCT ?h WHERE { ?h property:member_of resource:Republican_Party . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2522486
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q2522486,P39,c(Q12737077))
action filter_type
action find
entity Q2522486
relation P39
type Q12737077
['Q2522486', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q2522486 property:P39 ?g }
Victor Murdock
action filter_type
action find
entity Victor Murdock
relation position held
type occupation
['Victor Murdock', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Victor_Murdock property:position_held ?g }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q2522486,P39,c(Q12737077))
action filter_type
action find
entity Q2522486
relation P39
type Q12737077
[ANSWER]
['Q2522486', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q2522486 property:P39 ?g }
United States representative
United States representative
United States representative
action filter_type
action find
entity Victor Murdock
relation position held
type occupation
['Victor Murdock', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Victor_Murdock property:position_held ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2522486
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q13218630,P106,c(Q12737077))
action filter_type
action find
entity Q2522486
relation P106
type Q12737077
['Q13218630', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q2522486 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Victor Murdock
action filter_type
action find
entity Victor Murdock
relation occupation
type occupation
['United States representative', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Victor_Murdock property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q13218630,P106,c(Q12737077))
action filter_type
action find
entity Q2522486
relation P106
type Q12737077
Is [ANSWER] is the profession of that person
['Q13218630', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q2522486 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
politician
Is politician is the profession of that person
politician
action filter_type
action find
entity Victor Murdock
relation occupation
type occupation
['United States representative', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Victor_Murdock property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q82955
P425
Q3769299
USER
Which human behaviour has that one as the associated field of occupation ?
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?k WHERE { resource:Q82955 property:P425 ?k . ?k rdf:type ontology:Q3769299 }
politician
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?k WHERE { resource:politician property:field_of_this_occupation ?k . ?k rdf:type ontology:human_behaviour }
[]
human behaviour
Q7163
SYSTEM
politics
Q7163
(Q82955,P425,c(Q3769299))
action filter_type
action find
entity Q82955
relation P425
type Q3769299
[ANSWER] has that one as the associated field of occupation
['Q82955', 'P425', {'concept': 'Q3769299'}]
SELECT DISTINCT ?k WHERE { resource:Q82955 property:P425 ?k . ?k rdf:type ontology:Q3769299 }
politics
Politics has that one as the associated field of occupation
politics
action filter_type
action find
entity politician
relation field of this occupation
type human behaviour
['politician', 'field of this occupation', {'concept': 'human behaviour'}]
SELECT DISTINCT ?k WHERE { resource:politician property:field_of_this_occupation ?k . ?k rdf:type ontology:human_behaviour }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P101
Q28640 Q502895
USER
How many professions and people have field of work as that human behaviour ?
(c(Q28640),P101,Q7163) (c(Q502895),P101,Q7163) (c(Q28640),P101,Q7163) (c(Q502895),P101,Q7163)
action count
action union
action filter_type
action find_reverse
entity Q7163
relation P101
type Q28640
action filter_type
action find_reverse
entity Q7163
relation P101
type Q502895
[{'concept': 'Q28640'}, 'P101', 'Q7163'] [{'concept': 'Q502895'}, 'P101', 'Q7163'] [{'concept': 'Q28640'}, 'P101', 'Q7163'] [{'concept': 'Q502895'}, 'P101', 'Q7163']
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { ?r property:P101 resource:Q7163 . ?r rdf:type ontology:Q28640 } UNION { ?r property:P101 resource:Q7163 . ?r rdf:type ontology:Q502895 } }
action count
action union
action filter_type
action find_reverse
entity politics
relation field of work
type profession
action filter_type
action find_reverse
entity politics
relation field of work
type common name
[{'concept': 'profession'}, 'field of work', 'politics'] [{'concept': 'common name'}, 'field of work', 'politics'] [{'concept': 'profession'}, 'field of work', 'politics'] [{'concept': 'common name'}, 'field of work', 'politics']
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { ?r property:field_of_work resource:politics . ?r rdf:type ontology:profession } UNION { ?r property:field_of_work resource:politics . ?r rdf:type ontology:common_name } }
[]
profession common name
SYSTEM
1 professions and 48 people
Q334294 Q697184 Q16037012 Q2514 Q311826 Q4538691 Q983654 Q4203535 Q3875891 Q21170951 Q253515 Q77193 Q293621 Q520016 Q4336754 Q2107072 Q2530 Q10857728 Q546231 Q4292925 Q491558 Q4260940 Q4746323 Q7747 Q200015 Q20612062 Q193257 Q27443332 Q57888 Q1371404 Q23530 Q182654 Q4289876 Q5545875 Q20829890 Q17198254 Q589645 Q11256 Q57783 Q15278506 Q34453 Q27307792 Q4992409 Q4384595 Q7526096 Q87528 Q160852 Q2398475 Q298678
(c(Q28640),P101,Q7163) (c(Q502895),P101,Q7163) (c(Q28640),P101,Q7163) (c(Q502895),P101,Q7163)
action count
action union
action filter_type
action find_reverse
entity Q7163
relation P101
type Q28640
action filter_type
action find_reverse
entity Q7163
relation P101
type Q502895
[ANSWER]
[{'concept': 'Q28640'}, 'P101', 'Q7163'] [{'concept': 'Q502895'}, 'P101', 'Q7163'] [{'concept': 'Q28640'}, 'P101', 'Q7163'] [{'concept': 'Q502895'}, 'P101', 'Q7163']
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { ?r property:P101 resource:Q7163 . ?r rdf:type ontology:Q28640 } UNION { ?r property:P101 resource:Q7163 . ?r rdf:type ontology:Q502895 } }
Anatoly Sobchak Per Stig Møller Johanna Rolland Willy Brandt Muhammad Abduh Irina Yarovaya Sergey Naryshkin Andrey Isayev Niccolò Rinaldi Pierre-André Page Jaak Aaviksoo Sahra Wagenknecht Al-Mustarshid Igor Lebedev Svetlana Orlova Lyudmila Narusova Gerhard Schröder Zdeněk Velíšek David Campbell Bannerman Yelena Mizulina Ibn Taymiyyah Dmitry Livanov Amin Saikal Vladimir Putin Vladimir Zhirinovsky Khaltmaagyn Battulga Jean-François Lyotard Remco Meijer Norovyn Altankhuyag Georgios Athanasiadis-Novas Dmitry Medvedev Valentina Matviyenko Ivan Melnikov George Ward, 1st Viscount Ward of Witley Monica Mallon Tomasz Kitliński Anton Siluanov Fidel Castro John Key Sofia Osmani Boris Yeltsin Pamela Verasay political editor Vladimir Puchkov Sir Baldwyn Leighton, 8th Baronet Ewald Stadler William Ewart Gladstone Gilles Catoire Muhammad Ahmad
1 professions and 48 people
action count
action union
action filter_type
action find_reverse
entity politics
relation field of work
type profession
action filter_type
action find_reverse
entity politics
relation field of work
type common name
[{'concept': 'profession'}, 'field of work', 'politics'] [{'concept': 'common name'}, 'field of work', 'politics'] [{'concept': 'profession'}, 'field of work', 'politics'] [{'concept': 'common name'}, 'field of work', 'politics']
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { ?r property:field_of_work resource:politics . ?r rdf:type ontology:profession } UNION { ?r property:field_of_work resource:politics . ?r rdf:type ontology:common_name } }
[]