Simple Question (Direct)
Simple Question
Q4888331
P102
Q7210356
USER
Which party does Benjamin Bridges belong to ?
(Q4888331,P102,c(Q7210356))
action filter_type
action find
entity Q4888331
relation P102
type Q7210356
['Q4888331', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q7210356 . resource:Q4888331 property:P102 ?d }
Benjamin Bridges
action filter_type
action find
entity Benjamin Bridges
relation member of political party
type political organization
['Benjamin Bridges', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_organization . resource:Benjamin_Bridges property:member_of_political_party ?d }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q4888331,P102,c(Q7210356))
action filter_type
action find
entity Q4888331
relation P102
type Q7210356
Benjamin Bridges belongs to [ANSWER]
['Q4888331', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q7210356 . resource:Q4888331 property:P102 ?d }
Republican Party
Benjamin Bridges belongs to Republican Party
Republican Party
action filter_type
action find
entity Benjamin Bridges
relation member of political party
type political organization
['Benjamin Bridges', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_organization . resource:Benjamin_Bridges property:member_of_political_party ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29468
P710
Q40231
USER
What event did that political organization particiate in ?
(c(Q40231),P710,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P710
type Q40231
[{'concept': 'Q40231'}, 'P710', 'Q29468']
SELECT DISTINCT ?p WHERE { ?p property:P710 resource:Q29468 . ?p rdf:type ontology:Q40231 }
Republican Party
action filter_type
action find_reverse
entity Republican Party
relation participant
type election
[{'concept': 'election'}, 'participant', 'Republican Party']
SELECT DISTINCT ?p WHERE { ?p property:participant resource:Republican_Party . ?p rdf:type ontology:election }
[]
election
Q17092711
SYSTEM
Republican Party presidential primaries, 2016
Q17092711
(c(Q40231),P710,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P710
type Q40231
That political organization particiated in [ANSWER]
[{'concept': 'Q40231'}, 'P710', 'Q29468']
SELECT DISTINCT ?p WHERE { ?p property:P710 resource:Q29468 . ?p rdf:type ontology:Q40231 }
Republican Party presidential primaries, 2016
That political organization particiated in Republican Party presidential primaries, 2016
Republican Party presidential primaries, 2016
action filter_type
action find_reverse
entity Republican Party
relation participant
type election
[{'concept': 'election'}, 'participant', 'Republican Party']
SELECT DISTINCT ?p WHERE { ?p property:participant resource:Republican_Party . ?p rdf:type ontology:election }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29468
P361
Q7210356
USER
What are a component of Republican Party ?
(c(Q7210356),P361,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', 'Q29468']
SELECT DISTINCT ?o WHERE { ?o property:P361 resource:Q29468 . ?o rdf:type ontology:Q7210356 }
Republican Party
action filter_type
action find_reverse
entity Republican Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Republican Party']
SELECT DISTINCT ?o WHERE { ?o property:part_of resource:Republican_Party . ?o rdf:type ontology:political_organization }
[]
political organization
Q3366683 Q7314631 Q1359302
SYSTEM
Illinois Republican Party, Republican Party, Half-Breed
Q7314655 Q1359302 Q7314640 Q1558808 Q7314652 Q11833539 Q3174289 Q6023387 Q7314631 Q3366683 Q5684363 Q7055038
(c(Q7210356),P361,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P361
type Q7210356
A component of Republican Party are the [ANSWERS]
[{'concept': 'Q7210356'}, 'P361', 'Q29468']
SELECT DISTINCT ?o WHERE { ?o property:P361 resource:Q29468 . ?o rdf:type ontology:Q7210356 }
Republican Party of Iowa Half-Breed Republican Party of Arkansas Stalwarts Republican Party of Guam Radical Republican Vermont Republican Party Indiana Republican Party Republican Party Illinois Republican Party Hawaiʻi Republican Party North Dakota Republican Party
A component of Republican Party are the Illinois Republican Party, Republican Party and Half-Breed
Illinois Republican Party Republican Party Half-Breed
action filter_type
action find_reverse
entity Republican Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', 'Republican Party']
SELECT DISTINCT ?o WHERE { ?o property:part_of resource:Republican_Party . ?o rdf:type ontology:political_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1359302
P17
Q15617994
USER
Which administrative territory is that political organization situated in ?
(Q1359302,P17,c(Q15617994))
action filter_type
action find
entity Q1359302
relation P17
type Q15617994
['Q1359302', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1359302 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Half-Breed
action filter_type
action find
entity Half-Breed
relation country
type designation for an administrative territorial entity
['Half-Breed', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Half-Breed property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1359302
SYSTEM
Did you mean Half-Breed ?
Q3366683 Q7314631 Q1359302
(Q3366683,P17,c(Q15617994)) (Q7314631,P17,c(Q15617994)) (Q1359302,P17,c(Q15617994))
[ANSWER]
['Q3366683', 'P17', {'concept': 'Q15617994'}] ['Q7314631', 'P17', {'concept': 'Q15617994'}] ['Q1359302', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1359302 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Illinois Republican Party Republican Party Half-Breed
Did you mean Half-Breed ?
Half-Breed
['Illinois Republican Party', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Republican Party', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Half-Breed', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Half-Breed property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1359302,P17,c(Q15617994))
['Q1359302', 'P17', {'concept': 'Q15617994'}]
['Half-Breed', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q1359302,P17,c(Q15617994))
action filter_type
action find
entity Q1359302
relation P17
type Q15617994
That political organization is situated in [ANSWER]
['Q1359302', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1359302 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
United States of America
That political organization is situated in United States of America
United States of America
action filter_type
action find
entity Half-Breed
relation country
type designation for an administrative territorial entity
['Half-Breed', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Half-Breed property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P138
Q2221906
USER
Which geographic location is the origin of that administrative territory ?
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { resource:Q30 property:P138 ?s . ?s rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { resource:United_States_of_America property:named_after ?s . ?s rdf:type ontology:geographic_location }
[]
geographic location
Q828
SYSTEM
Americas
Q828
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
The [ANSWER] is the origin of that administrative territory
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?s WHERE { resource:Q30 property:P138 ?s . ?s rdf:type ontology:Q2221906 }
Americas
The Americas is the origin of that administrative territory
Americas
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?s WHERE { resource:United_States_of_America property:named_after ?s . ?s rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q828 Q47674
P138
Q502895
USER
Is Amerigo Vespucci the etymology of that geographic location ?
(Q828,P138,Q47674)
action is_in
entity Q47674
action find
entity Q828
relation P138
['Q828', 'P138', 'Q47674']
ASK WHERE { resource:Q828 property:P138 resource:Q47674 }
Americas Amerigo Vespucci
action is_in
entity Amerigo Vespucci
action find
entity Americas
relation named after
['Americas', 'named after', 'Amerigo Vespucci']
ASK WHERE { resource:Americas property:named_after resource:Amerigo_Vespucci }
[]
common name
SYSTEM
YES
(Q828,P138,Q47674)
action is_in
entity Q47674
action find
entity Q828
relation P138
[ANSWER]
['Q828', 'P138', 'Q47674']
ASK WHERE { resource:Q828 property:P138 resource:Q47674 }
Yes
action is_in
entity Amerigo Vespucci
action find
entity Americas
relation named after
['Americas', 'named after', 'Amerigo Vespucci']
ASK WHERE { resource:Americas property:named_after resource:Amerigo_Vespucci }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have diplomatic relations with United States of America ?
(c(Q15617994),P530,Q30) (c(Q1048835),P530,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q30
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', 'Q30'] [{'concept': 'Q1048835'}, 'P530', 'Q30']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { ?q property:P530 resource:Q30 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P530 resource:Q30 . ?q rdf:type ontology:Q15617994 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { ?q property:diplomatic_relation resource:United_States_of_America . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:diplomatic_relation resource:United_States_of_America . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
30
Q858 Q212 Q805 Q953 Q801 Q184 Q948 Q1011 Q183 Q408 Q252 Q668 Q403 Q230 Q414 Q142 Q884 Q159 Q222 Q155 Q148 Q796 Q347 Q17 Q16 Q37 Q889 Q929 Q38 Q902
(c(Q15617994),P530,Q30) (c(Q1048835),P530,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q30
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q30'] [{'concept': 'Q1048835'}, 'P530', 'Q30']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { ?q property:P530 resource:Q30 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P530 resource:Q30 . ?q rdf:type ontology:Q15617994 } }
Syria Ukraine Yemen Zambia Israel Belarus Tunisia Cape Verde Germany Australia Indonesia India Serbia Georgia Argentina France South Korea Russia Albania Brazil People's Republic of China Iraq Liechtenstein Japan Canada Lithuania Afghanistan Central African Republic Italy Bangladesh
30
action count
action union
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity United States of America
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United States of America'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'United States of America']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { ?q property:diplomatic_relation resource:United_States_of_America . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:diplomatic_relation resource:United_States_of_America . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P136
Q2342494
USER
Which collectable as United States of America as its class ?
(c(Q2342494),P136,Q30)
action filter_type
action find_reverse
entity Q30
relation P136
type Q2342494
[{'concept': 'Q2342494'}, 'P136', 'Q30']
SELECT DISTINCT ?j WHERE { ?j property:P136 resource:Q30 . ?j rdf:type ontology:Q2342494 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'United States of America']
SELECT DISTINCT ?j WHERE { ?j property:genre resource:United_States_of_America . ?j rdf:type ontology:collectable }
[]
collectable
Q7979149
SYSTEM
Wedge: The Secret War between the FBI and CIA
Q7979149
(c(Q2342494),P136,Q30)
action filter_type
action find_reverse
entity Q30
relation P136
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P136', 'Q30']
SELECT DISTINCT ?j WHERE { ?j property:P136 resource:Q30 . ?j rdf:type ontology:Q2342494 }
Wedge: The Secret War between the FBI and CIA
Wedge: The Secret War between the FBI and CIA
action filter_type
action find_reverse
entity United States of America
relation genre
type collectable
[{'concept': 'collectable'}, 'genre', 'United States of America']
SELECT DISTINCT ?j WHERE { ?j property:genre resource:United_States_of_America . ?j rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P36
Q56061
USER
Which administrative territories are the capitals of United States of America ?
(Q30,P36,c(Q56061))
action filter_type
action find
entity Q30
relation P36
type Q56061
['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P36 ?n . ?n rdf:type ontology:Q56061 }
United States of America
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q61
SYSTEM
New York City, Washington, D.C.
Q60 Q61
(Q30,P36,c(Q56061))
action filter_type
action find
entity Q30
relation P36
type Q56061
[ANSWERS]
['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P36 ?n . ?n rdf:type ontology:Q56061 }
New York City Washington, D.C.
New York City and Washington, D.C. are the capitals of United States of America
New York City Washington, D.C.
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q651722
P840
Q838948
USER
Do Quiz Show have their narrative set in those administrative territories ?
(Q651722,P840,Q60) (Q651722,P840,Q61)
action is_in
entity prev_answer
action find
entity Q651722
relation P840
['Q651722', 'P840', 'Q60'] ['Q651722', 'P840', 'Q61']
ASK WHERE { resource:Q651722 property:P840 ?h . VALUES ( ?h ) { ( resource:Q60 ) ( resource:Q61 ) } }
Quiz Show
action is_in
entity prev_answer
action find
entity Quiz Show
relation narrative location
['Quiz Show', 'narrative location', 'New York City'] ['Quiz Show', 'narrative location', 'Washington, D.C.']
ASK WHERE { resource:Quiz_Show property:narrative_location ?h . VALUES ( ?h ) { ( resource:New_York_City ) ( resource:Washington,_D.C. ) } }
[]
work of art
SYSTEM
YES
(Q651722,P840,Q60) (Q651722,P840,Q61)
action is_in
entity prev_answer
action find
entity Q651722
relation P840
[ANSWER]
['Q651722', 'P840', 'Q60'] ['Q651722', 'P840', 'Q61']
ASK WHERE { resource:Q651722 property:P840 ?h . VALUES ( ?h ) { ( resource:Q60 ) ( resource:Q61 ) } }
Yes
action is_in
entity prev_answer
action find
entity Quiz Show
relation narrative location
['Quiz Show', 'narrative location', 'New York City'] ['Quiz Show', 'narrative location', 'Washington, D.C.']
ASK WHERE { resource:Quiz_Show property:narrative_location ?h . VALUES ( ?h ) { ( resource:New_York_City ) ( resource:Washington,_D.C. ) } }
[]