Simple Question (Direct)
Simple Question
Q2713853
P178
Q28640
USER
Who produced Naruto: Rise of a Ninja ?
(Q2713853,P178,c(Q28640))
action filter_type
action find
entity Q2713853
relation P178
type Q28640
['Q2713853', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q28640 . resource:Q2713853 property:P178 ?j }
Naruto: Rise of a Ninja
action filter_type
action find
entity Naruto: Rise of a Ninja
relation developer
type profession
['Naruto: Rise of a Ninja', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:profession . resource:Naruto:_Rise_of_a_Ninja property:developer ?j }
[]
profession
Q903621
SYSTEM
Ubisoft Montreal
Q903621
(Q2713853,P178,c(Q28640))
action filter_type
action find
entity Q2713853
relation P178
type Q28640
[ANSWER] produced Naruto: Rise of a Ninja
['Q2713853', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q28640 . resource:Q2713853 property:P178 ?j }
Ubisoft Montreal
Ubisoft Montreal produced Naruto: Rise of a Ninja
Ubisoft Montreal
action filter_type
action find
entity Naruto: Rise of a Ninja
relation developer
type profession
['Naruto: Rise of a Ninja', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:profession . resource:Naruto:_Rise_of_a_Ninja property:developer ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q903621
P452
Q268592
USER
Which economic branch is the industry to which that profession belongs ?
(Q903621,P452,c(Q268592))
action filter_type
action find
entity Q903621
relation P452
type Q268592
['Q903621', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?l WHERE { resource:Q903621 property:P452 ?l . ?l rdf:type ontology:Q268592 }
Ubisoft Montreal
action filter_type
action find
entity Ubisoft Montreal
relation industry
type economic branch
['Ubisoft Montreal', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?l WHERE { resource:Ubisoft_Montreal property:industry ?l . ?l rdf:type ontology:economic_branch }
[]
economic branch
Q941594
SYSTEM
video game industry
Q941594
(Q903621,P452,c(Q268592))
action filter_type
action find
entity Q903621
relation P452
type Q268592
[ANSWER] is the industry to which that profession belongs
['Q903621', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?l WHERE { resource:Q903621 property:P452 ?l . ?l rdf:type ontology:Q268592 }
video game industry
Video game industry is the industry to which that profession belongs
video game industry
action filter_type
action find
entity Ubisoft Montreal
relation industry
type economic branch
['Ubisoft Montreal', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?l WHERE { resource:Ubisoft_Montreal property:industry ?l . ?l rdf:type ontology:economic_branch }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P452
Q14888394 Q1269299
USER
How many distribution channels and business organizations are part of the industry that economic branch ?
(c(Q14888394),P452,Q941594) (c(Q1269299),P452,Q941594) (c(Q14888394),P452,Q941594) (c(Q1269299),P452,Q941594)
action count
action union
action filter_type
action find_reverse
entity Q941594
relation P452
type Q14888394
action filter_type
action find_reverse
entity Q941594
relation P452
type Q1269299
[{'concept': 'Q14888394'}, 'P452', 'Q941594'] [{'concept': 'Q1269299'}, 'P452', 'Q941594'] [{'concept': 'Q14888394'}, 'P452', 'Q941594'] [{'concept': 'Q1269299'}, 'P452', 'Q941594']
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { ?o property:P452 resource:Q941594 . ?o rdf:type ontology:Q1269299 } UNION { ?o property:P452 resource:Q941594 . ?o rdf:type ontology:Q14888394 } }
action count
action union
action filter_type
action find_reverse
entity video game industry
relation industry
type distribution channel
action filter_type
action find_reverse
entity video game industry
relation industry
type type of business entity
[{'concept': 'distribution channel'}, 'industry', 'video game industry'] [{'concept': 'type of business entity'}, 'industry', 'video game industry'] [{'concept': 'distribution channel'}, 'industry', 'video game industry'] [{'concept': 'type of business entity'}, 'industry', 'video game industry']
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { ?o property:industry resource:video_game_industry . ?o rdf:type ontology:type_of_business_entity } UNION { ?o property:industry resource:video_game_industry . ?o rdf:type ontology:distribution_channel } }
[]
distribution channel type of business entity
SYSTEM
1 distribution channels and 9 business organizations
Q507269 Q2597910 Q845047 Q309996 Q302251 Q5195244 Q753684 Q806259 Q207784 Q2541040
(c(Q14888394),P452,Q941594) (c(Q1269299),P452,Q941594) (c(Q14888394),P452,Q941594) (c(Q1269299),P452,Q941594)
action count
action union
action filter_type
action find_reverse
entity Q941594
relation P452
type Q14888394
action filter_type
action find_reverse
entity Q941594
relation P452
type Q1269299
[ANSWER]
[{'concept': 'Q14888394'}, 'P452', 'Q941594'] [{'concept': 'Q1269299'}, 'P452', 'Q941594'] [{'concept': 'Q14888394'}, 'P452', 'Q941594'] [{'concept': 'Q1269299'}, 'P452', 'Q941594']
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { ?o property:P452 resource:Q941594 . ?o rdf:type ontology:Q1269299 } UNION { ?o property:P452 resource:Q941594 . ?o rdf:type ontology:Q14888394 } }
Bandai Co., Ltd. Kairosoft Koei Namco Frontier Developments Curse, Inc. Atari, SA Bandai Namco Holdings Square Enix Spike
1 distribution channels and 9 business organizations
action count
action union
action filter_type
action find_reverse
entity video game industry
relation industry
type distribution channel
action filter_type
action find_reverse
entity video game industry
relation industry
type type of business entity
[{'concept': 'distribution channel'}, 'industry', 'video game industry'] [{'concept': 'type of business entity'}, 'industry', 'video game industry'] [{'concept': 'distribution channel'}, 'industry', 'video game industry'] [{'concept': 'type of business entity'}, 'industry', 'video game industry']
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { ?o property:industry resource:video_game_industry . ?o rdf:type ontology:type_of_business_entity } UNION { ?o property:industry resource:video_game_industry . ?o rdf:type ontology:distribution_channel } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19666874 Q903621
P19 P159
Q56061
USER
Which administrative territories are the headquarters of Ubisoft Montreal located or were Shrinivas S. Vaishya born in ?
OR((Q903621,P159,c(Q56061)), (Q19666874,P19,c(Q56061)))
action filter_type
action union
action find
entity Q903621
relation P159
action find
entity Q19666874
relation P19
type Q56061
{'OR': [['Q903621', 'P159', {'concept': 'Q56061'}], ['Q19666874', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q903621 property:P159 ?a } UNION { resource:Q19666874 property:P19 ?a } } . ?a rdf:type ontology:Q56061 }
Shrinivas S. Vaishya Ubisoft Montreal
action filter_type
action union
action find
entity Ubisoft Montreal
relation headquarters location
action find
entity Shrinivas S. Vaishya
relation place of birth
type administrative territorial entity
{'OR': [['Ubisoft Montreal', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Shrinivas S. Vaishya', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Ubisoft_Montreal property:headquarters_location ?a } UNION { resource:Shrinivas_S._Vaishya property:place_of_birth ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340 Q200311
SYSTEM
Montreal, Mathura
Q340 Q200311
OR((Q903621,P159,c(Q56061)), (Q19666874,P19,c(Q56061)))
action filter_type
action union
action find
entity Q903621
relation P159
action find
entity Q19666874
relation P19
type Q56061
[ANSWERS] are the headquarters of Ubisoft Montreal located or were Shrinivas S. Vaishya born in
{'OR': [['Q903621', 'P159', {'concept': 'Q56061'}], ['Q19666874', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q903621 property:P159 ?a } UNION { resource:Q19666874 property:P19 ?a } } . ?a rdf:type ontology:Q56061 }
Montreal Mathura
Montreal and Mathura are the headquarters of Ubisoft Montreal located or were Shrinivas S. Vaishya born in
Montreal Mathura
action filter_type
action union
action find
entity Ubisoft Montreal
relation headquarters location
action find
entity Shrinivas S. Vaishya
relation place of birth
type administrative territorial entity
{'OR': [['Ubisoft Montreal', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Shrinivas S. Vaishya', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Ubisoft_Montreal property:headquarters_location ?a } UNION { resource:Shrinivas_S._Vaishya property:place_of_birth ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1608230 Q19666874
P19
Q56061
USER
Which administrative territories were Shrinivas S. Vaishya or Herbert Exenberger born at ?
OR((Q19666874,P19,c(Q56061)), (Q1608230,P19,c(Q56061)))
action filter_type
action union
action find
entity Q19666874
relation P19
action find
entity Q1608230
relation P19
type Q56061
{'OR': [['Q19666874', 'P19', {'concept': 'Q56061'}], ['Q1608230', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q19666874 property:P19 ?u } UNION { resource:Q1608230 property:P19 ?u } } . ?u rdf:type ontology:Q56061 }
Herbert Exenberger Shrinivas S. Vaishya
action filter_type
action union
action find
entity Shrinivas S. Vaishya
relation place of birth
action find
entity Herbert Exenberger
relation place of birth
type administrative territorial entity
{'OR': [['Shrinivas S. Vaishya', 'place of birth', {'concept': 'administrative territorial entity'}], ['Herbert Exenberger', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Shrinivas_S._Vaishya property:place_of_birth ?u } UNION { resource:Herbert_Exenberger property:place_of_birth ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741 Q200311
SYSTEM
Vienna, Mathura
Q1741 Q200311
OR((Q19666874,P19,c(Q56061)), (Q1608230,P19,c(Q56061)))
action filter_type
action union
action find
entity Q19666874
relation P19
action find
entity Q1608230
relation P19
type Q56061
[ANSWERS] were Shrinivas S. Vaishya or Herbert Exenberger born at
{'OR': [['Q19666874', 'P19', {'concept': 'Q56061'}], ['Q1608230', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q19666874 property:P19 ?u } UNION { resource:Q1608230 property:P19 ?u } } . ?u rdf:type ontology:Q56061 }
Vienna Mathura
Vienna and Mathura were Shrinivas S. Vaishya or Herbert Exenberger born at
Vienna Mathura
action filter_type
action union
action find
entity Shrinivas S. Vaishya
relation place of birth
action find
entity Herbert Exenberger
relation place of birth
type administrative territorial entity
{'OR': [['Shrinivas S. Vaishya', 'place of birth', {'concept': 'administrative territorial entity'}], ['Herbert Exenberger', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Shrinivas_S._Vaishya property:place_of_birth ?u } UNION { resource:Herbert_Exenberger property:place_of_birth ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P749
Q43229 Q4830453 Q268592
USER
Which economic branches are min number of organizations and business enterprises a parent organization of ?
(c(Q268592),P749,c(Q43229)|c(Q4830453))
action argmin
action union
action find_tuple_counts
relation P749
type Q268592
type Q43229
action find_tuple_counts
relation P749
type Q268592
type Q4830453
[{'concept': 'Q268592'}, 'P749', [{'concept': 'Q43229'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?g ) { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { { ?j property:P749 ?d . ?j rdf:type ontology:Q268592 . ?d rdf:type ontology:Q43229 } UNION { ?j rdf:type ontology:Q268592 . ?d rdf:type ontology:Q4830453 . ?j property:P749 ?d } } GROUP BY ?j } } . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?c ) WHERE { { ?w property:P749 ?a . ?w rdf:type ontology:Q268592 . ?a rdf:type ontology:Q43229 } UNION { ?w property:P749 ?a . ?w rdf:type ontology:Q268592 . ?a rdf:type ontology:Q4830453 } } GROUP BY ?w } . FILTER ( ?c = ?g ) }
action argmin
action union
action find_tuple_counts
relation parent organization
type economic branch
type organization
action find_tuple_counts
relation parent organization
type economic branch
type business enterprise
[{'concept': 'economic branch'}, 'parent organization', [{'concept': 'organization'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?g ) { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { { ?j property:parent_organization ?d . ?j rdf:type ontology:economic_branch . ?d rdf:type ontology:organization } UNION { ?j rdf:type ontology:economic_branch . ?d rdf:type ontology:business_enterprise . ?j property:parent_organization ?d } } GROUP BY ?j } } . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?c ) WHERE { { ?w property:parent_organization ?a . ?w rdf:type ontology:economic_branch . ?a rdf:type ontology:organization } UNION { ?w property:parent_organization ?a . ?w rdf:type ontology:economic_branch . ?a rdf:type ontology:business_enterprise } } GROUP BY ?w } . FILTER ( ?c = ?g ) }
[]
organization business enterprise economic branch
Q206678 Q3511885 Q52618
SYSTEM
OTE, T-Mobile US, Ericsson
Q458944 Q2985116 Q10843470 Q3032811 Q206678 Q470696 Q2819545 Q3511885 Q20891850 Q1140641 Q52618 Q218765 Q540733
(c(Q268592),P749,c(Q43229)|c(Q4830453))
action argmin
action union
action find_tuple_counts
relation P749
type Q268592
type Q43229
action find_tuple_counts
relation P749
type Q268592
type Q4830453
[ANSWERS] are min number of organizations and business enterprises a parent organization of
[{'concept': 'Q268592'}, 'P749', [{'concept': 'Q43229'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?g ) { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { { ?j property:P749 ?d . ?j rdf:type ontology:Q268592 . ?d rdf:type ontology:Q43229 } UNION { ?j rdf:type ontology:Q268592 . ?d rdf:type ontology:Q4830453 . ?j property:P749 ?d } } GROUP BY ?j } } . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?c ) WHERE { { ?w property:P749 ?a . ?w rdf:type ontology:Q268592 . ?a rdf:type ontology:Q43229 } UNION { ?w property:P749 ?a . ?w rdf:type ontology:Q268592 . ?a rdf:type ontology:Q4830453 } } GROUP BY ?w } . FILTER ( ?c = ?g ) }
Magyar Telekom Comcel Haiti MCI Djaweb OTE T-Hrvatski Telekom ATM Mobilis T-Mobile US Telekom Albania Crnogorski Telekom Ericsson SFR Slovak Telekom
OTE, T-Mobile US and Ericsson are min number of organizations and business enterprises a parent organization of
OTE T-Mobile US Ericsson
action argmin
action union
action find_tuple_counts
relation parent organization
type economic branch
type organization
action find_tuple_counts
relation parent organization
type economic branch
type business enterprise
[{'concept': 'economic branch'}, 'parent organization', [{'concept': 'organization'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?g ) { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { { ?j property:parent_organization ?d . ?j rdf:type ontology:economic_branch . ?d rdf:type ontology:organization } UNION { ?j rdf:type ontology:economic_branch . ?d rdf:type ontology:business_enterprise . ?j property:parent_organization ?d } } GROUP BY ?j } } . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?c ) WHERE { { ?w property:parent_organization ?a . ?w rdf:type ontology:economic_branch . ?a rdf:type ontology:organization } UNION { ?w property:parent_organization ?a . ?w rdf:type ontology:economic_branch . ?a rdf:type ontology:business_enterprise } } GROUP BY ?w } . FILTER ( ?c = ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3511885
P355
Q43229
USER
Which organization is the parent company of T-Mobile US ?
(c(Q43229),P355,Q3511885)
action filter_type
action find_reverse
entity Q3511885
relation P355
type Q43229
[{'concept': 'Q43229'}, 'P355', 'Q3511885']
SELECT DISTINCT ?r WHERE { ?r property:P355 resource:Q3511885 . ?r rdf:type ontology:Q43229 }
T-Mobile US
action filter_type
action find_reverse
entity T-Mobile US
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'T-Mobile US']
SELECT DISTINCT ?r WHERE { ?r property:subsidiary resource:T-Mobile_US . ?r rdf:type ontology:organization }
[]
organization
Q327634
SYSTEM
T-Mobile International
Q327634
(c(Q43229),P355,Q3511885)
action filter_type
action find_reverse
entity Q3511885
relation P355
type Q43229
[ANSWER] is the parent company of T-Mobile US
[{'concept': 'Q43229'}, 'P355', 'Q3511885']
SELECT DISTINCT ?r WHERE { ?r property:P355 resource:Q3511885 . ?r rdf:type ontology:Q43229 }
T-Mobile International
T-Mobile International is the parent company of T-Mobile US
T-Mobile International
action filter_type
action find_reverse
entity T-Mobile US
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'T-Mobile US']
SELECT DISTINCT ?r WHERE { ?r property:subsidiary resource:T-Mobile_US . ?r rdf:type ontology:organization }
[]