Simple Question (Direct)
Simple Question
Q4945963
P110
Q502895
USER
What is the name of person who illustrated Born to Exile ?
(Q4945963,P110,c(Q502895))
action filter_type
action find
entity Q4945963
relation P110
type Q502895
['Q4945963', 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q4945963 property:P110 ?j . ?j rdf:type ontology:Q502895 }
Born to Exile
action filter_type
action find
entity Born to Exile
relation illustrator
type common name
['Born to Exile', 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Born_to_Exile property:illustrator ?j . ?j rdf:type ontology:common_name }
[]
common name
Q7609173
SYSTEM
Stephen Fabian
Q7609173
(Q4945963,P110,c(Q502895))
action filter_type
action find
entity Q4945963
relation P110
type Q502895
The name of person illustrated Born to Exile is by [ANSWER]
['Q4945963', 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q4945963 property:P110 ?j . ?j rdf:type ontology:Q502895 }
Stephen Fabian
The name of person illustrated Born to Exile is by Stephen Fabian
Stephen Fabian
action filter_type
action find
entity Born to Exile
relation illustrator
type common name
['Born to Exile', 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Born_to_Exile property:illustrator ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4945963
P495
Q15617994
USER
Which administrative territory is the country of origin of that collectable ?
(Q7609173,P495,c(Q15617994))
action filter_type
action find
entity Q4945963
relation P495
type Q15617994
['Q7609173', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q4945963 property:P495 ?p . ?p rdf:type ontology:Q15617994 }
Born to Exile
action filter_type
action find
entity Born to Exile
relation country of origin
type designation for an administrative territorial entity
['Stephen Fabian', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Born_to_Exile property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7609173,P495,c(Q15617994))
action filter_type
action find
entity Q4945963
relation P495
type Q15617994
The [ANSWER] is the country of origin of that collectable
['Q7609173', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q4945963 property:P495 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
The United States of America is the country of origin of that collectable
United States of America
action filter_type
action find
entity Born to Exile
relation country of origin
type designation for an administrative territorial entity
['Stephen Fabian', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Born_to_Exile property:country_of_origin ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q1793663 Q1769041
P47
Q1048835
USER
Is United States of America next to the border of Serra Preta and Moral de Sayago ?
(Q30,P47,Q1793663) (Q30,P47,Q1769041)
action is_in
entity Q30
action intersection
action find_reverse
entity Q1793663
relation P47
action find_reverse
entity Q1769041
relation P47
['Q30', 'P47', 'Q1793663'] ['Q30', 'P47', 'Q1769041']
ASK WHERE { resource:Q30 property:P47 resource:Q1793663 . resource:Q30 property:P47 resource:Q1769041 }
United States of America Serra Preta Moral de Sayago
action is_in
entity United States of America
action intersection
action find_reverse
entity Serra Preta
relation shares border with
action find_reverse
entity Moral de Sayago
relation shares border with
['United States of America', 'shares border with', 'Serra Preta'] ['United States of America', 'shares border with', 'Moral de Sayago']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Serra_Preta . resource:United_States_of_America property:shares_border_with resource:Moral_de_Sayago }
[]
political territorial entity
SYSTEM
NO
(Q30,P47,Q1793663) (Q30,P47,Q1769041)
action is_in
entity Q30
action intersection
action find_reverse
entity Q1793663
relation P47
action find_reverse
entity Q1769041
relation P47
[ANSWER]
['Q30', 'P47', 'Q1793663'] ['Q30', 'P47', 'Q1769041']
ASK WHERE { resource:Q30 property:P47 resource:Q1793663 . resource:Q30 property:P47 resource:Q1769041 }
No
action is_in
entity United States of America
action intersection
action find_reverse
entity Serra Preta
relation shares border with
action find_reverse
entity Moral de Sayago
relation shares border with
['United States of America', 'shares border with', 'Serra Preta'] ['United States of America', 'shares border with', 'Moral de Sayago']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Serra_Preta . resource:United_States_of_America property:shares_border_with resource:Moral_de_Sayago }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P495
Q15850590 Q20739124
USER
How many theatrical genres and entertainment companies originated in United States of America ?
(c(Q15850590),P495,Q30) (c(Q20739124),P495,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P495
type Q15850590
action filter_type
action find_reverse
entity Q30
relation P495
type Q20739124
[{'concept': 'Q15850590'}, 'P495', 'Q30'] [{'concept': 'Q20739124'}, 'P495', 'Q30']
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15850590 ) ( ontology:Q20739124 ) } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation country of origin
type theatrical genre
action filter_type
action find_reverse
entity United States of America
relation country of origin
type entertainment company
[{'concept': 'theatrical genre'}, 'country of origin', 'United States of America'] [{'concept': 'entertainment company'}, 'country of origin', 'United States of America']
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:theatrical_genre ) ( ontology:entertainment_company ) } }
[]
theatrical genre entertainment company
SYSTEM
32 theatrical genres and 3 entertainment companies
Q5583052 Q16157002 Q310516 Q7718891 Q7728247 Q7798202 Q16927872 Q16962077 Q2915147 Q22908803 Q20899421 Q4660426 Q7755106 Q7096583 Q7602410 Q465082 Q18786674 Q2855727 Q4851919 Q7165861 Q1118244 Q7751691 Q4802538 Q1533983 Q4660422 Q15839051 Q19570835 Q6803048 Q7091825 Q1018482 Q193695 Q3224353 Q4974681 Q2166879 Q189427
(c(Q15850590),P495,Q30) (c(Q20739124),P495,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P495
type Q15850590
action filter_type
action find_reverse
entity Q30
relation P495
type Q20739124
[ANSWER]
[{'concept': 'Q15850590'}, 'P495', 'Q30'] [{'concept': 'Q20739124'}, 'P495', 'Q30']
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15850590 ) ( ontology:Q20739124 ) } }
Good Vibrations Holy Musical B@man! Riverdance The Blues Brothers Show The Crucible Thriller – Live Twisted Opera Company of Middlebury A Very Potter Musical Hairspray Live! Dear Evan Hansen A Very Potter Sequel The Onion Cellar Opera Company of Brooklyn Starship American Idiot Piece of My Heart: The Bert Berns Story The Wiz Ballroom People Are Wrong! Into the Woods The Misadventures of the Wholesome Twins Opera Company of Boston Next to Normal A Very Potter Senior Year Aladdin Ani Me and My Dick Once Upon a Mattress Bye Bye Birdie The Wizard of Oz Cinderella Brookledge Follies Show Boat A Chorus Line
32 theatrical genres and 3 entertainment companies
action count
action union
action filter_type
action find_reverse
entity United States of America
relation country of origin
type theatrical genre
action filter_type
action find_reverse
entity United States of America
relation country of origin
type entertainment company
[{'concept': 'theatrical genre'}, 'country of origin', 'United States of America'] [{'concept': 'entertainment company'}, 'country of origin', 'United States of America']
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:theatrical_genre ) ( ontology:entertainment_company ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q846
P463
Q43229
USER
How many organizations were United States of America and Qatar a member of ?
(Q30,P463,c(Q43229)) (Q846,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q30
relation P463
type Q43229
action filter_type
action find
entity Q846
relation P463
type Q43229
['Q30', 'P463', {'concept': 'Q43229'}] ['Q846', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Q30 property:P463 ?p . ?p rdf:type ontology:Q43229 . resource:Q846 property:P463 ?p . ?p rdf:type ontology:Q43229 }
United States of America Qatar
action count
action intersection
action filter_type
action find
entity United States of America
relation member of
type organization
action filter_type
action find
entity Qatar
relation member of
type organization
['United States of America', 'member of', {'concept': 'organization'}] ['Qatar', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:United_States_of_America property:member_of ?p . ?p rdf:type ontology:organization . resource:Qatar property:member_of ?p . ?p rdf:type ontology:organization }
[]
organization
SYSTEM
4
Q7825 Q191384 Q899770 Q656801
(Q30,P463,c(Q43229)) (Q846,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q30
relation P463
type Q43229
action filter_type
action find
entity Q846
relation P463
type Q43229
[ANSWER]
['Q30', 'P463', {'concept': 'Q43229'}] ['Q846', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:Q30 property:P463 ?p . ?p rdf:type ontology:Q43229 . resource:Q846 property:P463 ?p . ?p rdf:type ontology:Q43229 }
World Trade Organization International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation
4
action count
action intersection
action filter_type
action find
entity United States of America
relation member of
type organization
action filter_type
action find
entity Qatar
relation member of
type organization
['United States of America', 'member of', {'concept': 'organization'}] ['Qatar', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { resource:United_States_of_America property:member_of ?p . ?p rdf:type ontology:organization . resource:Qatar property:member_of ?p . ?p rdf:type ontology:organization }
[]