Simple Question (Direct)
Simple Question
Q5611891
P108
Q3918
USER
Which university is the workplace of Royal S. Copeland ?
(Q5611891,P108,c(Q3918))
action filter_type
action find
entity Q5611891
relation P108
type Q3918
['Q5611891', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { resource:Q5611891 property:P108 ?d . ?d rdf:type ontology:Q3918 }
Royal S. Copeland
action filter_type
action find
entity Royal S. Copeland
relation employer
type university
['Royal S. Copeland', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { resource:Royal_S._Copeland property:employer ?d . ?d rdf:type ontology:university }
[]
university
Q230492
SYSTEM
University of Michigan
Q230492
(Q5611891,P108,c(Q3918))
action filter_type
action find
entity Q5611891
relation P108
type Q3918
[ANSWER] is the workplace of Royal S. Copeland
['Q5611891', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?d WHERE { resource:Q5611891 property:P108 ?d . ?d rdf:type ontology:Q3918 }
University of Michigan
University of Michigan is the workplace of Royal S. Copeland
University of Michigan
action filter_type
action find
entity Royal S. Copeland
relation employer
type university
['Royal S. Copeland', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?d WHERE { resource:Royal_S._Copeland property:employer ?d . ?d rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5611891
P102
Q7210356
USER
Which political organizations are Royal S. Copeland a member of ?
(Q5611891,P102,c(Q7210356))
action filter_type
action find
entity Q5611891
relation P102
type Q7210356
['Q5611891', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7210356 . resource:Q5611891 property:P102 ?j }
Royal S. Copeland
action filter_type
action find
entity Royal S. Copeland
relation member of political party
type political organization
['Royal S. Copeland', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_organization . resource:Royal_S._Copeland property:member_of_political_party ?j }
[]
political organization
Q29552 Q29468
SYSTEM
Democratic Party, Republican Party
Q29552 Q29468
(Q5611891,P102,c(Q7210356))
action filter_type
action find
entity Q5611891
relation P102
type Q7210356
The [ANSWERS] are Royal S. Copeland a member of
['Q5611891', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7210356 . resource:Q5611891 property:P102 ?j }
Democratic Party Republican Party
The Democratic Party and Republican Party are Royal S. Copeland a member of
Democratic Party Republican Party
action filter_type
action find
entity Royal S. Copeland
relation member of political party
type political organization
['Royal S. Copeland', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_organization . resource:Royal_S._Copeland property:member_of_political_party ?j }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q29552 Q29468
P463
Q7210356
USER
Which political organizations were Democratic Party and Republican Party a member of ?
(Q29552,P463,c(Q7210356)) (Q29468,P463,c(Q7210356))
action union
action filter_type
action find
entity Q29552
relation P463
type Q7210356
action filter_type
action find
entity Q29468
relation P463
type Q7210356
['Q29552', 'P463', {'concept': 'Q7210356'}] ['Q29468', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { { resource:Q29552 property:P463 ?b . ?b rdf:type ontology:Q7210356 } UNION { resource:Q29468 property:P463 ?b . ?b rdf:type ontology:Q7210356 } }
Democratic Party Republican Party
action union
action filter_type
action find
entity Democratic Party
relation member of
type political organization
action filter_type
action find
entity Republican Party
relation member of
type political organization
['Democratic Party', 'member of', {'concept': 'political organization'}] ['Republican Party', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { { resource:Democratic_Party property:member_of ?b . ?b rdf:type ontology:political_organization } UNION { resource:Republican_Party property:member_of ?b . ?b rdf:type ontology:political_organization } }
[]
political organization
Q7248622 Q862603
SYSTEM
Progressive Alliance, International Democrat Union
Q7248622 Q862603
(Q29552,P463,c(Q7210356)) (Q29468,P463,c(Q7210356))
action union
action filter_type
action find
entity Q29552
relation P463
type Q7210356
action filter_type
action find
entity Q29468
relation P463
type Q7210356
Party [ANSWERS] were Democratic Party and Republican Party a member of
['Q29552', 'P463', {'concept': 'Q7210356'}] ['Q29468', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { { resource:Q29552 property:P463 ?b . ?b rdf:type ontology:Q7210356 } UNION { resource:Q29468 property:P463 ?b . ?b rdf:type ontology:Q7210356 } }
Progressive Alliance International Democrat Union
Party Progressive Alliance and International Democrat Union were Democratic Party and Republican Party a member of
Progressive Alliance International Democrat Union
action union
action filter_type
action find
entity Democratic Party
relation member of
type political organization
action filter_type
action find
entity Republican Party
relation member of
type political organization
['Democratic Party', 'member of', {'concept': 'political organization'}] ['Republican Party', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { { resource:Democratic_Party property:member_of ?b . ?b rdf:type ontology:political_organization } UNION { resource:Republican_Party property:member_of ?b . ?b rdf:type ontology:political_organization } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7248622 Q862603
P361
Q7210356
USER
Which political organizations are a part of those ones ?
(c(Q7210356),P361,Q7248622) (c(Q7210356),P361,Q862603)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', 'Q7248622'] [{'concept': 'Q7210356'}, 'P361', 'Q862603']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7210356 . VALUES ( ?b ) { ( resource:Q7248622 ) ( resource:Q862603 ) } . ?e property:P361 ?b }
Progressive Alliance International Democrat Union
action filter_type
action find_reverse
entity prev_answer
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Progressive Alliance'] [{'concept': 'political organization'}, 'part of', 'International Democrat Union']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_organization . VALUES ( ?b ) { ( resource:Progressive_Alliance ) ( resource:International_Democrat_Union ) } . ?e property:part_of ?b }
[]
political organization
Q47729 Q304191
SYSTEM
Democratic Party, National Coalition Party
Q47729 Q304191
(c(Q7210356),P361,Q7248622) (c(Q7210356),P361,Q862603)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q7210356
Are [ANSWERS] are a part of those ones
[{'concept': 'Q7210356'}, 'P361', 'Q7248622'] [{'concept': 'Q7210356'}, 'P361', 'Q862603']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7210356 . VALUES ( ?b ) { ( resource:Q7248622 ) ( resource:Q862603 ) } . ?e property:P361 ?b }
Democratic Party National Coalition Party
Are Democratic Party and National Coalition Party are a part of those ones
Democratic Party National Coalition Party
action filter_type
action find_reverse
entity prev_answer
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Progressive Alliance'] [{'concept': 'political organization'}, 'part of', 'International Democrat Union']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_organization . VALUES ( ?b ) { ( resource:Progressive_Alliance ) ( resource:International_Democrat_Union ) } . ?e property:part_of ?b }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q47729 Q304191
P361
Q7210356
USER
Which political organizations are those ones a part of ?
(Q47729,P361,c(Q7210356)) (Q304191,P361,c(Q7210356))
action filter_type
action find
entity prev_answer
relation P361
type Q7210356
['Q47729', 'P361', {'concept': 'Q7210356'}] ['Q304191', 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q7210356 . ?n property:P361 ?c . VALUES ( ?n ) { ( resource:Q47729 ) ( resource:Q304191 ) } }
Democratic Party National Coalition Party
action filter_type
action find
entity prev_answer
relation part of
type political organization
['Democratic Party', 'part of', {'concept': 'political organization'}] ['National Coalition Party', 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_organization . ?n property:part_of ?c . VALUES ( ?n ) { ( resource:Democratic_Party ) ( resource:National_Coalition_Party ) } }
[]
political organization
Q7248622 Q862603
SYSTEM
Progressive Alliance, International Democrat Union
Q7248622 Q862603
(Q47729,P361,c(Q7210356)) (Q304191,P361,c(Q7210356))
action filter_type
action find
entity prev_answer
relation P361
type Q7210356
The [ANSWERS] are those ones a part of
['Q47729', 'P361', {'concept': 'Q7210356'}] ['Q304191', 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q7210356 . ?n property:P361 ?c . VALUES ( ?n ) { ( resource:Q47729 ) ( resource:Q304191 ) } }
Progressive Alliance International Democrat Union
The Progressive Alliance and International Democrat Union are those ones a part of
Progressive Alliance International Democrat Union
action filter_type
action find
entity prev_answer
relation part of
type political organization
['Democratic Party', 'part of', {'concept': 'political organization'}] ['National Coalition Party', 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_organization . ?n property:part_of ?c . VALUES ( ?n ) { ( resource:Democratic_Party ) ( resource:National_Coalition_Party ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q862603
P1142
Q1047113
USER
Which special field does that political organization believe in ?
(Q862603,P1142,c(Q1047113))
action filter_type
action find
entity Q862603
relation P1142
type Q1047113
['Q862603', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?d WHERE { resource:Q862603 property:P1142 ?d . ?d rdf:type ontology:Q1047113 }
International Democrat Union
action filter_type
action find
entity International Democrat Union
relation political ideology
type special field
['International Democrat Union', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?d WHERE { resource:International_Democrat_Union property:political_ideology ?d . ?d rdf:type ontology:special_field }
[]
special field
Clarification for simple ques.
Q7248622
SYSTEM
Did you mean Progressive Alliance ?
Q7248622 Q862603
(Q7248622,P1142,c(Q1047113)) (Q862603,P1142,c(Q1047113))
[ANSWER]
['Q7248622', 'P1142', {'concept': 'Q1047113'}] ['Q862603', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?d WHERE { resource:Q862603 property:P1142 ?d . ?d rdf:type ontology:Q1047113 }
Progressive Alliance International Democrat Union
Did you mean Progressive Alliance ?
Progressive Alliance
['Progressive Alliance', 'political ideology', {'concept': 'special field'}] ['International Democrat Union', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?d WHERE { resource:International_Democrat_Union property:political_ideology ?d . ?d rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
USER
No, I meant International Democrat Union. Could you tell me the answer for that?
(Q862603,P1142,c(Q1047113))
Q862603
['Q862603', 'P1142', {'concept': 'Q1047113'}]
['International Democrat Union', 'political ideology', {'concept': 'special field'}]
[]
Q7169
SYSTEM
conservatism
Q7169
(Q862603,P1142,c(Q1047113))
action filter_type
action find
entity Q862603
relation P1142
type Q1047113
That political organization believes in [ANSWER]
['Q862603', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?d WHERE { resource:Q862603 property:P1142 ?d . ?d rdf:type ontology:Q1047113 }
conservatism
That political organization believes in conservatism
conservatism
action filter_type
action find
entity International Democrat Union
relation political ideology
type special field
['International Democrat Union', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?d WHERE { resource:International_Democrat_Union property:political_ideology ?d . ?d rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7169
P122
Q7275
USER
Which state has that special field as the type of government ?
(c(Q7275),P122,Q7169)
action filter_type
action find_reverse
entity Q7169
relation P122
type Q7275
[{'concept': 'Q7275'}, 'P122', 'Q7169']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7275 . ?j property:P122 resource:Q7169 }
conservatism
action filter_type
action find_reverse
entity conservatism
relation basic form of government
type state
[{'concept': 'state'}, 'basic form of government', 'conservatism']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:state . ?j property:basic_form_of_government resource:conservatism }
[]
state
Q824489
SYSTEM
Estado Novo
Q824489
(c(Q7275),P122,Q7169)
action filter_type
action find_reverse
entity Q7169
relation P122
type Q7275
[ANSWER] has that special field as the type of government
[{'concept': 'Q7275'}, 'P122', 'Q7169']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7275 . ?j property:P122 resource:Q7169 }
Estado Novo
Estado Novo has that special field as the type of government
Estado Novo
action filter_type
action find_reverse
entity conservatism
relation basic form of government
type state
[{'concept': 'state'}, 'basic form of government', 'conservatism']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:state . ?j property:basic_form_of_government resource:conservatism }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P85
Q7725634 Q7275
USER
Which states have greater number of literary works as their anthem than that state ?
(c(Q7275),P85,c(Q7725634))
action greater
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action count
action filter_type
action find
entity Q824489
relation P85
type Q7275
[{'concept': 'Q7275'}, 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?w ) WHERE { ?k property:P85 ?c . ?k rdf:type ontology:Q7275 . ?c rdf:type ontology:Q7725634 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:Q7275 . resource:Q824489 property:P85 ?g } } . FILTER ( ?w > ?u ) }
action greater
action find_tuple_counts
relation anthem
type state
type literary work
action count
action filter_type
action find
entity Estado Novo
relation anthem
type state
[{'concept': 'state'}, 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?w ) WHERE { ?k property:anthem ?c . ?k rdf:type ontology:state . ?c rdf:type ontology:literary_work } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:state . resource:Estado_Novo property:anthem ?g } } . FILTER ( ?w > ?u ) }
[]
literary work state
Q15180 Q518101 Q41304
SYSTEM
Soviet Union, First Republic of Austria, Weimar Republic
Q797527 Q2414171 Q174193 Q1028835 Q713750 Q2006542 Q1649871 Q652560 Q203493 Q147909 Q58202 Q112558 Q518101 Q207272 Q153015 Q49910 Q696242 Q71092 Q15180 Q210542 Q7318 Q1072140 Q248452 Q1775277 Q153660 Q70972 Q211274 Q370736 Q541455 Q41304
(c(Q7275),P85,c(Q7725634))
action greater
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action count
action filter_type
action find
entity Q824489
relation P85
type Q7275
[ANSWERS] have greater number of literary works as their anthem than that state
[{'concept': 'Q7275'}, 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?w ) WHERE { ?k property:P85 ?c . ?k rdf:type ontology:Q7275 . ?c rdf:type ontology:Q7725634 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:Q7275 . resource:Q824489 property:P85 ?g } } . FILTER ( ?w > ?u ) }
British Togoland First Brazilian Republic United Kingdom of Great Britain and Ireland British Cameroons West Germany Dominion of Pakistan Kingdom of Poland West Indies Federation Kingdom of Romania Kingdom of Bulgaria July Monarchy Republic of Saugeais First Republic of Austria Second Polish Republic Kingdom of Saxony Colony of Aden Reorganized National Government of China Second French Empire Soviet Union Second Brazilian Republic Nazi Germany Roman Republic British North America Dominion of India Italian Social Republic Kingdom of France People's Republic of Poland Cape Colony Anglo-Egyptian Sudan Weimar Republic
Soviet Union, First Republic of Austria and Weimar Republic have greater number of literary works as their anthem than that state
Soviet Union First Republic of Austria Weimar Republic
action greater
action find_tuple_counts
relation anthem
type state
type literary work
action count
action filter_type
action find
entity Estado Novo
relation anthem
type state
[{'concept': 'state'}, 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?w ) WHERE { ?k property:anthem ?c . ?k rdf:type ontology:state . ?c rdf:type ontology:literary_work } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) WHERE { ?g rdf:type ontology:state . resource:Estado_Novo property:anthem ?g } } . FILTER ( ?w > ?u ) }
[]