Simple Question (Direct)
Simple Question
Q1476159
P19
Q56061
USER
Which administrative territory is the birthplace of Michel Bergmann ?
(Q1476159,P19,c(Q56061))
action filter_type
action find
entity Q1476159
relation P19
type Q56061
['Q1476159', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q1476159 property:P19 ?x }
Michel Bergmann
action filter_type
action find
entity Michel Bergmann
relation place of birth
type administrative territorial entity
['Michel Bergmann', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Michel_Bergmann property:place_of_birth ?x }
[]
administrative territorial entity
Q78
SYSTEM
Basel
Q78
(Q1476159,P19,c(Q56061))
action filter_type
action find
entity Q1476159
relation P19
type Q56061
[ANSWER] is the birthplace of Michel Bergmann
['Q1476159', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . resource:Q1476159 property:P19 ?x }
Basel
Basel is the birthplace of Michel Bergmann
Basel
action filter_type
action find
entity Michel Bergmann
relation place of birth
type administrative territorial entity
['Michel Bergmann', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . resource:Michel_Bergmann property:place_of_birth ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1476159
P106
Q12737077
USER
What is the profession of Michel Bergmann ?
(Q1476159,P106,c(Q12737077))
action filter_type
action find
entity Q1476159
relation P106
type Q12737077
['Q1476159', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1476159 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Michel Bergmann
action filter_type
action find
entity Michel Bergmann
relation occupation
type occupation
['Michel Bergmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Michel_Bergmann property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q1476159,P106,c(Q12737077))
action filter_type
action find
entity Q1476159
relation P106
type Q12737077
The profession of Michel Bergmann is a [ANSWER]
['Q1476159', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1476159 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
writer
The profession of Michel Bergmann is a writer
writer
action filter_type
action find
entity Michel Bergmann
relation occupation
type occupation
['Michel Bergmann', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Michel_Bergmann property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1476159
Q28640
USER
And which profession?
(Q1476159,P106,c(Q28640))
action filter_type
action find
entity Q1476159
relation P106
type Q28640
['Q1476159', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q28640 . resource:Q1476159 property:P106 ?h }
Michel Bergmann
action filter_type
action find
entity Michel Bergmann
relation occupation
type profession
['Michel Bergmann', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:profession . resource:Michel_Bergmann property:occupation ?h }
[]
profession
Q2526255 Q3282637
SYSTEM
film director, film producer
Q2526255 Q3282637
(Q1476159,P106,c(Q28640))
action filter_type
action find
entity Q1476159
relation P106
type Q28640
[ANSWERS]
['Q1476159', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q28640 . resource:Q1476159 property:P106 ?h }
film director film producer
film director film producer
action filter_type
action find
entity Michel Bergmann
relation occupation
type profession
['Michel Bergmann', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:profession . resource:Michel_Bergmann property:occupation ?h }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2526255 Q3282637
P425
Q268592
USER
Which economic branches have those professions as the associated field of occupation ?
(Q2526255,P425,c(Q268592)) (Q3282637,P425,c(Q268592))
action filter_type
action find
entity prev_answer
relation P425
type Q268592
['Q2526255', 'P425', {'concept': 'Q268592'}] ['Q3282637', 'P425', {'concept': 'Q268592'}]
SELECT DISTINCT ?e WHERE { ?q property:P425 ?e . VALUES ( ?q ) { ( resource:Q2526255 ) ( resource:Q3282637 ) } . ?e rdf:type ontology:Q268592 }
film director film producer
action filter_type
action find
entity prev_answer
relation field of this occupation
type economic branch
['film director', 'field of this occupation', {'concept': 'economic branch'}] ['film producer', 'field of this occupation', {'concept': 'economic branch'}]
SELECT DISTINCT ?e WHERE { ?q property:field_of_this_occupation ?e . VALUES ( ?q ) { ( resource:film_director ) ( resource:film_producer ) } . ?e rdf:type ontology:economic_branch }
[]
economic branch
Q932586 Q932586
SYSTEM
filmmaking
Q932586 Q932586
(Q2526255,P425,c(Q268592)) (Q3282637,P425,c(Q268592))
action filter_type
action find
entity prev_answer
relation P425
type Q268592
[ANSWER] and [ANSWER] have those professions as the associated field of occupation
['Q2526255', 'P425', {'concept': 'Q268592'}] ['Q3282637', 'P425', {'concept': 'Q268592'}]
SELECT DISTINCT ?e WHERE { ?q property:P425 ?e . VALUES ( ?q ) { ( resource:Q2526255 ) ( resource:Q3282637 ) } . ?e rdf:type ontology:Q268592 }
filmmaking filmmaking
Filmmaking and filmmaking have those professions as the associated field of occupation
filmmaking filmmaking
action filter_type
action find
entity prev_answer
relation field of this occupation
type economic branch
['film director', 'field of this occupation', {'concept': 'economic branch'}] ['film producer', 'field of this occupation', {'concept': 'economic branch'}]
SELECT DISTINCT ?e WHERE { ?q property:field_of_this_occupation ?e . VALUES ( ?q ) { ( resource:film_director ) ( resource:film_producer ) } . ?e rdf:type ontology:economic_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q932586
P452
Q43229
USER
Who belongs to the industry filmmaking ?
(c(Q43229),P452,Q932586)
action filter_type
action find_reverse
entity Q932586
relation P452
type Q43229
[{'concept': 'Q43229'}, 'P452', 'Q932586']
SELECT DISTINCT ?m WHERE { ?m property:P452 resource:Q932586 . ?m rdf:type ontology:Q43229 }
filmmaking
action filter_type
action find_reverse
entity filmmaking
relation industry
type organization
[{'concept': 'organization'}, 'industry', 'filmmaking']
SELECT DISTINCT ?m WHERE { ?m property:industry resource:filmmaking . ?m rdf:type ontology:organization }
[]
organization
Q2436112 Q4713342 Q3352642
SYSTEM
Cruel and Unusual Films, Alcon Entertainment, One Race Films
Q179922 Q3352642 Q16666390 Q689021 Q650331 Q3296752 Q4647372 Q5052147 Q3028387 Q540590 Q2436112 Q4713342
(c(Q43229),P452,Q932586)
action filter_type
action find_reverse
entity Q932586
relation P452
type Q43229
[ANSWERS] belong to the industry filmmaking
[{'concept': 'Q43229'}, 'P452', 'Q932586']
SELECT DISTINCT ?m WHERE { ?m property:P452 resource:Q932586 . ?m rdf:type ontology:Q43229 }
Goldwyn Pictures One Race Films New York Motion Picture Company Selig Polyscope Company Metro Pictures Dualstar A.S. Films International Cathay Organisation Dino de Laurentiis Cinematografica Mutual Film Cruel and Unusual Films Alcon Entertainment
Cruel and Unusual Films, Alcon Entertainment and One Race Films belong to the industry filmmaking
Cruel and Unusual Films Alcon Entertainment One Race Films
action filter_type
action find_reverse
entity filmmaking
relation industry
type organization
[{'concept': 'organization'}, 'industry', 'filmmaking']
SELECT DISTINCT ?m WHERE { ?m property:industry resource:filmmaking . ?m rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q932586
P1056
Q43229
USER
Who is the producer of filmmaking ?
(c(Q43229),P1056,Q932586)
action filter_type
action find_reverse
entity Q932586
relation P1056
type Q43229
[{'concept': 'Q43229'}, 'P1056', 'Q932586']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q43229 . ?x property:P1056 resource:Q932586 }
filmmaking
action filter_type
action find_reverse
entity filmmaking
relation product
type organization
[{'concept': 'organization'}, 'product', 'filmmaking']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:organization . ?x property:product resource:filmmaking }
[]
organization
Q19868261
SYSTEM
STX Entertainment
Q19868261
(c(Q43229),P1056,Q932586)
action filter_type
action find_reverse
entity Q932586
relation P1056
type Q43229
The producer of filmmaking is [ANSWER]
[{'concept': 'Q43229'}, 'P1056', 'Q932586']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q43229 . ?x property:P1056 resource:Q932586 }
STX Entertainment
The producer of filmmaking is STX Entertainment
STX Entertainment
action filter_type
action find_reverse
entity filmmaking
relation product
type organization
[{'concept': 'organization'}, 'product', 'filmmaking']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:organization . ?x property:product resource:filmmaking }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19868261
P159
Q56061
USER
Where is the head office for that organization located ?
(Q19868261,P159,c(Q56061))
action filter_type
action find
entity Q19868261
relation P159
type Q56061
['Q19868261', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q19868261 property:P159 ?s . ?s rdf:type ontology:Q56061 }
STX Entertainment
action filter_type
action find
entity STX Entertainment
relation headquarters location
type administrative territorial entity
['STX Entertainment', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:STX_Entertainment property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65
SYSTEM
Los Angeles
Q65
(Q19868261,P159,c(Q56061))
action filter_type
action find
entity Q19868261
relation P159
type Q56061
The head office for that organization is located in [ANSWER]
['Q19868261', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q19868261 property:P159 ?s . ?s rdf:type ontology:Q56061 }
Los Angeles
The head office for that organization is located in Los Angeles
Los Angeles
action filter_type
action find
entity STX Entertainment
relation headquarters location
type administrative territorial entity
['STX Entertainment', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:STX_Entertainment property:headquarters_location ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q19868261
P1056
Q17502905 Q268592
USER
How many the medias or economic branches are produced by STX Entertainment ?
(Q19868261,P1056,c(Q17502905)) (Q19868261,P1056,c(Q268592))
action count
action union
action filter_type
action find
entity Q19868261
relation P1056
type Q17502905
action filter_type
action find
entity Q19868261
relation P1056
type Q268592
['Q19868261', 'P1056', {'concept': 'Q17502905'}] ['Q19868261', 'P1056', {'concept': 'Q268592'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { resource:Q19868261 property:P1056 ?q . ?q rdf:type ontology:Q268592 } UNION { resource:Q19868261 property:P1056 ?q . ?q rdf:type ontology:Q17502905 } }
STX Entertainment
action count
action union
action filter_type
action find
entity STX Entertainment
relation product
type the media
action filter_type
action find
entity STX Entertainment
relation product
type economic branch
['STX Entertainment', 'product', {'concept': 'the media'}] ['STX Entertainment', 'product', {'concept': 'economic branch'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { resource:STX_Entertainment property:product ?q . ?q rdf:type ontology:economic_branch } UNION { resource:STX_Entertainment property:product ?q . ?q rdf:type ontology:the_media } }
[]
the media economic branch
SYSTEM
2
Q368290 Q932586
(Q19868261,P1056,c(Q17502905)) (Q19868261,P1056,c(Q268592))
action count
action union
action filter_type
action find
entity Q19868261
relation P1056
type Q17502905
action filter_type
action find
entity Q19868261
relation P1056
type Q268592
[ANSWER]
['Q19868261', 'P1056', {'concept': 'Q17502905'}] ['Q19868261', 'P1056', {'concept': 'Q268592'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { resource:Q19868261 property:P1056 ?q . ?q rdf:type ontology:Q268592 } UNION { resource:Q19868261 property:P1056 ?q . ?q rdf:type ontology:Q17502905 } }
film distributor filmmaking
2
action count
action union
action filter_type
action find
entity STX Entertainment
relation product
type the media
action filter_type
action find
entity STX Entertainment
relation product
type economic branch
['STX Entertainment', 'product', {'concept': 'the media'}] ['STX Entertainment', 'product', {'concept': 'economic branch'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { { resource:STX_Entertainment property:product ?q . ?q rdf:type ontology:economic_branch } UNION { resource:STX_Entertainment property:product ?q . ?q rdf:type ontology:the_media } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P749
Q1269299 Q19335303 Q268592
USER
Which economic branches have min number of business organizations and German business organizations as their parent organization ?
(c(Q268592),P749,c(Q1269299)|c(Q19335303))
action argmin
action union
action find_tuple_counts
relation P749
type Q268592
type Q1269299
action find_tuple_counts
relation P749
type Q268592
type Q19335303
[{'concept': 'Q268592'}, 'P749', [{'concept': 'Q1269299'}, {'concept': 'Q19335303'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) ?k WHERE { { ?k property:P749 ?b . ?b rdf:type ontology:Q1269299 . ?k rdf:type ontology:Q268592 } UNION { ?k property:P749 ?b . ?k rdf:type ontology:Q268592 . ?b rdf:type ontology:Q19335303 } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?c WHERE { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1269299 ) ( ontology:Q19335303 ) } } GROUP BY ?c } . FILTER ( ?j = ?f ) }
action argmin
action union
action find_tuple_counts
relation parent organization
type economic branch
type type of business entity
action find_tuple_counts
relation parent organization
type economic branch
type type of business entity in Germany
[{'concept': 'economic branch'}, 'parent organization', [{'concept': 'type of business entity'}, {'concept': 'type of business entity in Germany'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) ?k WHERE { { ?k property:parent_organization ?b . ?b rdf:type ontology:type_of_business_entity . ?k rdf:type ontology:economic_branch } UNION { ?k property:parent_organization ?b . ?k rdf:type ontology:economic_branch . ?b rdf:type ontology:type_of_business_entity_in_Germany } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?c WHERE { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:type_of_business_entity ) ( ontology:type_of_business_entity_in_Germany ) } } GROUP BY ?c } . FILTER ( ?j = ?f ) }
[]
type of business entity type of business entity in Germany economic branch
Q1368919 Q581438 Q2819545
SYSTEM
MTS, Bouygues Telecom, ATM Mobilis
Q967735 Q836564 Q1368919 Q581438 Q2985116 Q22081440 Q2444780 Q10843470 Q3032811 Q3093528 Q21328647 Q2627330 Q2819545 Q1936895 Q13610282 Q268578 Q3326234 Q1140641 Q22079775 Q2005282 Q298594 Q809824 Q2529830 Q19698200 Q1796954
(c(Q268592),P749,c(Q1269299)|c(Q19335303))
action argmin
action union
action find_tuple_counts
relation P749
type Q268592
type Q1269299
action find_tuple_counts
relation P749
type Q268592
type Q19335303
[ANSWERS] have min number of business organizations and German business organizations as their parent organization
[{'concept': 'Q268592'}, 'P749', [{'concept': 'Q1269299'}, {'concept': 'Q19335303'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) ?k WHERE { { ?k property:P749 ?b . ?b rdf:type ontology:Q1269299 . ?k rdf:type ontology:Q268592 } UNION { ?k property:P749 ?b . ?k rdf:type ontology:Q268592 . ?b rdf:type ontology:Q19335303 } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?c WHERE { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1269299 ) ( ontology:Q19335303 ) } } GROUP BY ?c } . FILTER ( ?j = ?f ) }
Movistar Spain Djezzy GSM MTS Bouygues Telecom Comcel Haiti Natcom Ooredoo Tunisia MCI Djaweb Gabon Telecom Movitel Maxis Communications ATM Mobilis Lifecell Metro Cash & Carry Telenor Hungary R Crnogorski Telekom Viettel Tanzania Proximus AT&T Mobility BASE Vodafone Germany Orange France Telenor Denmark
MTS, Bouygues Telecom and ATM Mobilis have min number of business organizations and German business organizations as their parent organization
MTS Bouygues Telecom ATM Mobilis
action argmin
action union
action find_tuple_counts
relation parent organization
type economic branch
type type of business entity
action find_tuple_counts
relation parent organization
type economic branch
type type of business entity in Germany
[{'concept': 'economic branch'}, 'parent organization', [{'concept': 'type of business entity'}, {'concept': 'type of business entity in Germany'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?f ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?l ) ?k WHERE { { ?k property:parent_organization ?b . ?b rdf:type ontology:type_of_business_entity . ?k rdf:type ontology:economic_branch } UNION { ?k property:parent_organization ?b . ?k rdf:type ontology:economic_branch . ?b rdf:type ontology:type_of_business_entity_in_Germany } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) ?c WHERE { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:type_of_business_entity ) ( ontology:type_of_business_entity_in_Germany ) } } GROUP BY ?c } . FILTER ( ?j = ?f ) }
[]