Simple Question (Direct)
Simple Question
Q1709098
P102
Q7210356
USER
Which parties are José Celso Barbosa affiliated with ?
(Q1709098,P102,c(Q7210356))
action filter_type
action find
entity Q1709098
relation P102
type Q7210356
['Q1709098', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q1709098 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
José Celso Barbosa
action filter_type
action find
entity José Celso Barbosa
relation member of political party
type political organization
['José Celso Barbosa', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:José_Celso_Barbosa property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q7314631 Q29468
SYSTEM
Republican Party, Republican Party
Q7314631 Q29468
(Q1709098,P102,c(Q7210356))
action filter_type
action find
entity Q1709098
relation P102
type Q7210356
José Celso Barbosa are affiliated with [ANSWERS]
['Q1709098', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q1709098 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Republican Party Republican Party
José Celso Barbosa are affiliated with Republican Party and Republican Party
Republican Party Republican Party
action filter_type
action find
entity José Celso Barbosa
relation member of political party
type political organization
['José Celso Barbosa', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:José_Celso_Barbosa property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1709098
P1196
Q1931388
USER
What manner did that person die ?
(Q7314631,P1196,c(Q1931388)) (Q29468,P1196,c(Q1931388))
action filter_type
action find
entity Q1709098
relation P1196
type Q1931388
['Q7314631', 'P1196', {'concept': 'Q1931388'}] ['Q29468', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?k WHERE { resource:Q1709098 property:P1196 ?k . ?k rdf:type ontology:Q1931388 }
José Celso Barbosa
action filter_type
action find
entity José Celso Barbosa
relation manner of death
type cause of death
['Republican Party', 'manner of death', {'concept': 'cause of death'}] ['Republican Party', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?k WHERE { resource:José_Celso_Barbosa property:manner_of_death ?k . ?k rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q7314631,P1196,c(Q1931388)) (Q29468,P1196,c(Q1931388))
action filter_type
action find
entity Q1709098
relation P1196
type Q1931388
That person died in [ANSWER]
['Q7314631', 'P1196', {'concept': 'Q1931388'}] ['Q29468', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?k WHERE { resource:Q1709098 property:P1196 ?k . ?k rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity José Celso Barbosa
relation manner of death
type cause of death
['Republican Party', 'manner of death', {'concept': 'cause of death'}] ['Republican Party', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?k WHERE { resource:José_Celso_Barbosa property:manner_of_death ?k . ?k rdf:type ontology:cause_of_death }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q577911 Q29468
P159
Q56061
USER
Which administrative territories are the head office for Republican Party and Pepco Holdings located ?
AND((Q29468,P159,c(Q56061)), (Q577911,P159,c(Q56061)))
action filter_type
action intersection
action find
entity Q29468
relation P159
action find
entity Q577911
relation P159
type Q56061
{'AND': [['Q29468', 'P159', {'concept': 'Q56061'}], ['Q577911', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { resource:Q29468 property:P159 ?g . resource:Q577911 property:P159 ?g . ?g rdf:type ontology:Q56061 }
Pepco Holdings Republican Party
action filter_type
action intersection
action find
entity Republican Party
relation headquarters location
action find
entity Pepco Holdings
relation headquarters location
type administrative territorial entity
{'AND': [['Republican Party', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Pepco Holdings', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Republican_Party property:headquarters_location ?g . resource:Pepco_Holdings property:headquarters_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
AND((Q29468,P159,c(Q56061)), (Q577911,P159,c(Q56061)))
action filter_type
action intersection
action find
entity Q29468
relation P159
action find
entity Q577911
relation P159
type Q56061
[ANSWER] is the head office for Republican Party and Pepco Holdings located
{'AND': [['Q29468', 'P159', {'concept': 'Q56061'}], ['Q577911', 'P159', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { resource:Q29468 property:P159 ?g . resource:Q577911 property:P159 ?g . ?g rdf:type ontology:Q56061 }
Washington, D.C.
Washington, D.C. is the head office for Republican Party and Pepco Holdings located
Washington, D.C.
action filter_type
action intersection
action find
entity Republican Party
relation headquarters location
action find
entity Pepco Holdings
relation headquarters location
type administrative territorial entity
{'AND': [['Republican Party', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Pepco Holdings', 'headquarters location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Republican_Party property:headquarters_location ?g . resource:Pepco_Holdings property:headquarters_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q61 Q4721267 Q23
P138
Q502895
USER
Does that administrative territory have Alexei Ivanov and George Washington as its namesake ?
(Q61,P138,Q4721267) (Q61,P138,Q23)
action is_in
entity Q61
action intersection
action find_reverse
entity Q4721267
relation P138
action find_reverse
entity Q23
relation P138
['Q61', 'P138', 'Q4721267'] ['Q61', 'P138', 'Q23']
ASK WHERE { resource:Q61 property:P138 resource:Q4721267 . resource:Q61 property:P138 resource:Q23 }
Washington, D.C. Alexei Ivanov George Washington
action is_in
entity Washington, D.C.
action intersection
action find_reverse
entity Alexei Ivanov
relation named after
action find_reverse
entity George Washington
relation named after
['Washington, D.C.', 'named after', 'Alexei Ivanov'] ['Washington, D.C.', 'named after', 'George Washington']
ASK WHERE { resource:Washington,_D.C. property:named_after resource:Alexei_Ivanov . resource:Washington,_D.C. property:named_after resource:George_Washington }
[]
common name
SYSTEM
NO and YES respectively
(Q61,P138,Q4721267) (Q61,P138,Q23)
action is_in
entity Q61
action intersection
action find_reverse
entity Q4721267
relation P138
action find_reverse
entity Q23
relation P138
[ANSWER]
['Q61', 'P138', 'Q4721267'] ['Q61', 'P138', 'Q23']
ASK WHERE { resource:Q61 property:P138 resource:Q4721267 . resource:Q61 property:P138 resource:Q23 }
NO and YES respectively
action is_in
entity Washington, D.C.
action intersection
action find_reverse
entity Alexei Ivanov
relation named after
action find_reverse
entity George Washington
relation named after
['Washington, D.C.', 'named after', 'Alexei Ivanov'] ['Washington, D.C.', 'named after', 'George Washington']
ASK WHERE { resource:Washington,_D.C. property:named_after resource:Alexei_Ivanov . resource:Washington,_D.C. property:named_after resource:George_Washington }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61
P291
Q2342494
USER
Which collectables have Washington, D.C. as their publication location ?
(c(Q2342494),P291,Q61)
action filter_type
action find_reverse
entity Q61
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q61']
SELECT DISTINCT ?q WHERE { ?q property:P291 resource:Q61 . ?q rdf:type ontology:Q2342494 }
Washington, D.C.
action filter_type
action find_reverse
entity Washington, D.C.
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Washington, D.C.']
SELECT DISTINCT ?q WHERE { ?q property:place_of_publication resource:Washington,_D.C. . ?q rdf:type ontology:collectable }
[]
collectable
Q1388502 Q27834234 Q21725175
SYSTEM
The Cactaceae, Black on Red, Secure Multi-Party Computation
Q1388502 Q27834234 Q21725175
(c(Q2342494),P291,Q61)
action filter_type
action find_reverse
entity Q61
relation P291
type Q2342494
[ANSWERS] have Washington, D.C. as their publication location
[{'concept': 'Q2342494'}, 'P291', 'Q61']
SELECT DISTINCT ?q WHERE { ?q property:P291 resource:Q61 . ?q rdf:type ontology:Q2342494 }
The Cactaceae Black on Red Secure Multi-Party Computation
The Cactaceae, Black on Red and Secure Multi-Party Computation have Washington, D.C. as their publication location
The Cactaceae Black on Red Secure Multi-Party Computation
action filter_type
action find_reverse
entity Washington, D.C.
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Washington, D.C.']
SELECT DISTINCT ?q WHERE { ?q property:place_of_publication resource:Washington,_D.C. . ?q rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1388502 Q27834234 Q21725175
P291
Q56061
USER
Which administrative territories are the places of publication of those collectables ?
(Q1388502,P291,c(Q56061)) (Q27834234,P291,c(Q56061)) (Q21725175,P291,c(Q56061))
action filter_type
action find
entity prev_answer
relation P291
type Q56061
['Q1388502', 'P291', {'concept': 'Q56061'}] ['Q27834234', 'P291', {'concept': 'Q56061'}] ['Q21725175', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . VALUES ( ?c ) { ( resource:Q1388502 ) ( resource:Q27834234 ) ( resource:Q21725175 ) } . ?c property:P291 ?q }
The Cactaceae Black on Red Secure Multi-Party Computation
action filter_type
action find
entity prev_answer
relation place of publication
type administrative territorial entity
['The Cactaceae', 'place of publication', {'concept': 'administrative territorial entity'}] ['Black on Red', 'place of publication', {'concept': 'administrative territorial entity'}] ['Secure Multi-Party Computation', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . VALUES ( ?c ) { ( resource:The_Cactaceae ) ( resource:Black_on_Red ) ( resource:Secure_Multi-Party_Computation ) } . ?c property:place_of_publication ?q }
[]
administrative territorial entity
Q64 Q727 Q61
SYSTEM
Berlin, Amsterdam, Washington, D.C.
Q61 Q61 Q64 Q727 Q61 Q1490
(Q1388502,P291,c(Q56061)) (Q27834234,P291,c(Q56061)) (Q21725175,P291,c(Q56061))
action filter_type
action find
entity prev_answer
relation P291
type Q56061
[ANSWERS]
['Q1388502', 'P291', {'concept': 'Q56061'}] ['Q27834234', 'P291', {'concept': 'Q56061'}] ['Q21725175', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . VALUES ( ?c ) { ( resource:Q1388502 ) ( resource:Q27834234 ) ( resource:Q21725175 ) } . ?c property:P291 ?q }
Washington, D.C. Washington, D.C. Berlin Amsterdam Washington, D.C. Tokyo
Berlin, Amsterdam and Washington, D.C. are the places of publication of those collectables
Berlin Amsterdam Washington, D.C.
action filter_type
action find
entity prev_answer
relation place of publication
type administrative territorial entity
['The Cactaceae', 'place of publication', {'concept': 'administrative territorial entity'}] ['Black on Red', 'place of publication', {'concept': 'administrative territorial entity'}] ['Secure Multi-Party Computation', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . VALUES ( ?c ) { ( resource:The_Cactaceae ) ( resource:Black_on_Red ) ( resource:Secure_Multi-Party_Computation ) } . ?c property:place_of_publication ?q }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q64 Q727 Q61
P159
Q334453
USER
Which divisions have the principal seat at Berlin, Amsterdam and Washington, D.C. ?
(c(Q334453),P159,Q64) (c(Q334453),P159,Q727) (c(Q334453),P159,Q61)
action union
action filter_type
action find_reverse
entity Q64
relation P159
type Q334453
action filter_type
action find_reverse
entity Q727
relation P159
type Q334453
action filter_type
action find_reverse
entity Q61
relation P159
type Q334453
[{'concept': 'Q334453'}, 'P159', 'Q64'] [{'concept': 'Q334453'}, 'P159', 'Q727'] [{'concept': 'Q334453'}, 'P159', 'Q61']
SELECT DISTINCT ?v WHERE { { ?v property:P159 resource:Q727 . ?v rdf:type ontology:Q334453 } UNION { ?v rdf:type ontology:Q334453 . ?v property:P159 resource:Q64 } }
Berlin Amsterdam Washington, D.C.
action union
action filter_type
action find_reverse
entity Berlin
relation headquarters location
type division
action filter_type
action find_reverse
entity Amsterdam
relation headquarters location
type division
action filter_type
action find_reverse
entity Washington, D.C.
relation headquarters location
type division
[{'concept': 'division'}, 'headquarters location', 'Berlin'] [{'concept': 'division'}, 'headquarters location', 'Amsterdam'] [{'concept': 'division'}, 'headquarters location', 'Washington, D.C.']
SELECT DISTINCT ?v WHERE { { ?v property:headquarters_location resource:Amsterdam . ?v rdf:type ontology:division } UNION { ?v rdf:type ontology:division . ?v property:headquarters_location resource:Berlin } }
[]
division
Q23819508 Q796316 Q1228431
SYSTEM
Aut Records, BMG Rights Management, Dischord Records
Q880408 Q393401 Q180277 Q1093882 Q2427366 Q796316 Q737029 Q319166 Q1687615 Q474113 Q18913565 Q678186 Q827462 Q23819508 Q315760 Q700359 Q7185509 Q1536003 Q1574052 Q2030782 Q6954918 Q26911493 Q160732 Q1688849 Q1228431 Q3106841 Q5324176 Q546258 Q5045602
(c(Q334453),P159,Q64) (c(Q334453),P159,Q727) (c(Q334453),P159,Q61)
action union
action filter_type
action find_reverse
entity Q64
relation P159
type Q334453
action filter_type
action find_reverse
entity Q727
relation P159
type Q334453
action filter_type
action find_reverse
entity Q61
relation P159
type Q334453
[ANSWERS] have the principal seat at Berlin, Amsterdam and Washington, D.C.
[{'concept': 'Q334453'}, 'P159', 'Q64'] [{'concept': 'Q334453'}, 'P159', 'Q727'] [{'concept': 'Q334453'}, 'P159', 'Q61']
SELECT DISTINCT ?v WHERE { { ?v property:P159 resource:Q727 . ?v rdf:type ontology:Q334453 } UNION { ?v rdf:type ontology:Q334453 . ?v property:P159 resource:Q64 } }
Shitkatapult Aggro Berlin Hansa Records City Centre Offices Out of Line Music BMG Rights Management Asphalt Tango Records City Slang Low Spirit Morr Music Machinery Tresor Play Loud! Productions Aut Records Studio !K7 PolyGram Philips Classics Records Philips Records Mokum Records Q-dance NON Records Zonamo Armada Music TopNotch Dischord Records Paw Tracks ESL Music DeSoto Records Carpark Records
Aut Records, BMG Rights Management and Dischord Records have the principal seat at Berlin, Amsterdam and Washington, D.C.
Aut Records BMG Rights Management Dischord Records
action union
action filter_type
action find_reverse
entity Berlin
relation headquarters location
type division
action filter_type
action find_reverse
entity Amsterdam
relation headquarters location
type division
action filter_type
action find_reverse
entity Washington, D.C.
relation headquarters location
type division
[{'concept': 'division'}, 'headquarters location', 'Berlin'] [{'concept': 'division'}, 'headquarters location', 'Amsterdam'] [{'concept': 'division'}, 'headquarters location', 'Washington, D.C.']
SELECT DISTINCT ?v WHERE { { ?v property:headquarters_location resource:Amsterdam . ?v rdf:type ontology:division } UNION { ?v rdf:type ontology:division . ?v property:headquarters_location resource:Berlin } }
[]