Simple Question (Direct)
Simple Question
Q1990731
P106
Q28640
USER
What is the profession of Nikolaï Sokolov ?
(Q1990731,P106,c(Q28640))
action filter_type
action find
entity Q1990731
relation P106
type Q28640
['Q1990731', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?u WHERE { resource:Q1990731 property:P106 ?u . ?u rdf:type ontology:Q28640 }
Nikolaï Sokolov
action filter_type
action find
entity Nikolaï Sokolov
relation occupation
type profession
['Nikolaï Sokolov', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?u WHERE { resource:Nikolaï_Sokolov property:occupation ?u . ?u rdf:type ontology:profession }
[]
profession
Q185351
SYSTEM
jurist
Q185351
(Q1990731,P106,c(Q28640))
action filter_type
action find
entity Q1990731
relation P106
type Q28640
The profession of Nikolaï Sokolov is a [ANSWER]
['Q1990731', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?u WHERE { resource:Q1990731 property:P106 ?u . ?u rdf:type ontology:Q28640 }
jurist
The profession of Nikolaï Sokolov is a jurist
jurist
action filter_type
action find
entity Nikolaï Sokolov
relation occupation
type profession
['Nikolaï Sokolov', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?u WHERE { resource:Nikolaï_Sokolov property:occupation ?u . ?u rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1990731
P21
Q290
USER
Which sex does Nikolaï Sokolov belong to ?
(Q1990731,P21,c(Q290))
action filter_type
action find
entity Q1990731
relation P21
type Q290
['Q1990731', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q1990731 property:P21 ?l . ?l rdf:type ontology:Q290 }
Nikolaï Sokolov
action filter_type
action find
entity Nikolaï Sokolov
relation gender
type sex
['Nikolaï Sokolov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Nikolaï_Sokolov property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1990731,P21,c(Q290))
action filter_type
action find
entity Q1990731
relation P21
type Q290
Nikolaï Sokolov belongs to [ANSWER]
['Q1990731', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q1990731 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Nikolaï Sokolov belongs to male
male
action filter_type
action find
entity Nikolaï Sokolov
relation gender
type sex
['Nikolaï Sokolov', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Nikolaï_Sokolov property:gender ?l . ?l rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q684218
P355
Q28640 Q43229 Q1269299
USER
Which professions are the subordinates of less number of organizations and business organizations than Cavedog Entertainment ?
(c(Q43229)|c(Q1269299),P355,c(Q28640))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q684218
relation P355
type Q43229
type Q1269299
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:Q43229 ) ( ontology:Q1269299 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P355 resource:Q684218 . { { ?e rdf:type ontology:Q43229 } UNION { ?e rdf:type ontology:Q1269299 } } } } . FILTER ( ?k < ?r ) }
Cavedog Entertainment
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Cavedog Entertainment
relation subsidiary
type organization
type type of business entity
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:organization ) ( ontology:type_of_business_entity ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:subsidiary resource:Cavedog_Entertainment . { { ?e rdf:type ontology:organization } UNION { ?e rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?k < ?r ) }
[]
profession organization type of business entity
Q122741 Q204474 Q1060165
SYSTEM
Sega, id Software, Riot Games
Q1040450 Q18414205 Q15240959 Q1064703 Q863618 Q2076545 Q18388687 Q2607531 Q7641092 Q3456271 Q611508 Q1060165 Q26222 Q1053684 Q739711 Q991149 Q204474 Q122741 Q2510684 Q94937 Q4039000 Q1930918 Q923047 Q8043371 Q467598 Q1358751 Q1172164
(c(Q43229)|c(Q1269299),P355,c(Q28640))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q684218
relation P355
type Q43229
type Q1269299
[ANSWERS] are the subordinates of less number of organizations and business organizations than Cavedog Entertainment
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:Q43229 ) ( ontology:Q1269299 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P355 resource:Q684218 . { { ?e rdf:type ontology:Q43229 } UNION { ?e rdf:type ontology:Q1269299 } } } } . FILTER ( ?k < ?r ) }
Guerrilla Cambridge Future Games Of London Team Bloodlust PopCap Games Feral Interactive Day 1 Studios Lift London Harmonix Music Systems Sunrise Interactive BigWorld Creative Assembly Riot Games Gas Powered Games Polyphony Digital Epic Games 1-UP Studio id Software Sega Zynga Dallas 2K Games Freeverse U.S. Gold 989 Studios Launchworks Cryptic Studios Runic Games CD Projekt RED
Sega, id Software and Riot Games are the subordinates of less number of organizations and business organizations than Cavedog Entertainment
Sega id Software Riot Games
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Cavedog Entertainment
relation subsidiary
type organization
type type of business entity
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ?u . VALUES ( ?u ) { ( ontology:organization ) ( ontology:type_of_business_entity ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:subsidiary resource:Cavedog_Entertainment . { { ?e rdf:type ontology:organization } UNION { ?e rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?k < ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q15018011
P355
Q28640 Q43229 Q1269299
USER
And how about Atari Interactive?
(c(Q43229)|c(Q1269299),P355,c(Q28640))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q15018011
relation P355
type Q43229
type Q1269299
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:P355 ?c . ?c rdf:type ontology:Q28640 . ?g rdf:type ontology:Q1269299 } UNION { ?g property:P355 ?c . ?g rdf:type ontology:Q43229 . ?c rdf:type ontology:Q28640 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P355 resource:Q15018011 . { { ?x rdf:type ontology:Q43229 } UNION { ?x rdf:type ontology:Q1269299 } } } } . FILTER ( ?a < ?v ) }
Atari Interactive
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Atari Interactive
relation subsidiary
type organization
type type of business entity
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:subsidiary ?c . ?c rdf:type ontology:profession . ?g rdf:type ontology:type_of_business_entity } UNION { ?g property:subsidiary ?c . ?g rdf:type ontology:organization . ?c rdf:type ontology:profession } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:subsidiary resource:Atari_Interactive . { { ?x rdf:type ontology:organization } UNION { ?x rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?a < ?v ) }
[]
profession organization type of business entity
Q122741 Q204474 Q1060165
SYSTEM
Sega, id Software, Riot Games
Q1040450 Q18414205 Q15240959 Q1064703 Q863618 Q2076545 Q18388687 Q2607531 Q7641092 Q3456271 Q611508 Q1060165 Q26222 Q1053684 Q739711 Q991149 Q204474 Q122741 Q2510684 Q94937 Q4039000 Q1930918 Q923047 Q8043371 Q467598 Q1358751 Q1172164
(c(Q43229)|c(Q1269299),P355,c(Q28640))
action less
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q15018011
relation P355
type Q43229
type Q1269299
[ANSWERS]
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:P355 ?c . ?c rdf:type ontology:Q28640 . ?g rdf:type ontology:Q1269299 } UNION { ?g property:P355 ?c . ?g rdf:type ontology:Q43229 . ?c rdf:type ontology:Q28640 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:P355 resource:Q15018011 . { { ?x rdf:type ontology:Q43229 } UNION { ?x rdf:type ontology:Q1269299 } } } } . FILTER ( ?a < ?v ) }
Guerrilla Cambridge Future Games Of London Team Bloodlust PopCap Games Feral Interactive Day 1 Studios Lift London Harmonix Music Systems Sunrise Interactive BigWorld Creative Assembly Riot Games Gas Powered Games Polyphony Digital Epic Games 1-UP Studio id Software Sega Zynga Dallas 2K Games Freeverse U.S. Gold 989 Studios Launchworks Cryptic Studios Runic Games CD Projekt RED
Sega id Software Riot Games
action less
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Atari Interactive
relation subsidiary
type organization
type type of business entity
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?a ) WHERE { { ?g property:subsidiary ?c . ?c rdf:type ontology:profession . ?g rdf:type ontology:type_of_business_entity } UNION { ?g property:subsidiary ?c . ?g rdf:type ontology:organization . ?c rdf:type ontology:profession } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { ?x property:subsidiary resource:Atari_Interactive . { { ?x rdf:type ontology:organization } UNION { ?x rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?a < ?v ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q486737 Q122741
P355
Q43229
USER
Which organizations are an auxiliary of Sega or Korea Electric Power Corporation ?
OR((Q122741,P355,c(Q43229)), (Q486737,P355,c(Q43229)))
action filter_type
action union
action find
entity Q122741
relation P355
action find
entity Q486737
relation P355
type Q43229
{'OR': [['Q122741', 'P355', {'concept': 'Q43229'}], ['Q486737', 'P355', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q43229 . { ?t property:P355 ?v . VALUES ( ?t ) { ( resource:Q122741 ) ( resource:Q486737 ) } } }
Korea Electric Power Corporation Sega
action filter_type
action union
action find
entity Sega
relation subsidiary
action find
entity Korea Electric Power Corporation
relation subsidiary
type organization
{'OR': [['Sega', 'subsidiary', {'concept': 'organization'}], ['Korea Electric Power Corporation', 'subsidiary', {'concept': 'organization'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:organization . { ?t property:subsidiary ?v . VALUES ( ?t ) { ( resource:Sega ) ( resource:Korea_Electric_Power_Corporation ) } } }
[]
organization
Q11314210 Q6431684 Q7446141 Q12624295 Q12622947 Q6328582 Q12622949 Q6431646 Q12623697 Q12623270
SYSTEM
Some of them are SEGA TOYS, KEPCO Nuclear Fuel Company, SegaWorld, KEPCO KDN, Korea South-East Power Company, KEPCO Engineering & Construction Company, Korea Southern Power Company, Korea Hydro & Nuclear Power, Korea Midland Power Company, Korea Western Power Company
Q12624295 Q11314210 Q6328582 Q7446141 Q12623270 Q12622947 Q6431688 Q12623697 Q6431646 Q6431684 Q12623033 Q12622949
OR((Q122741,P355,c(Q43229)), (Q486737,P355,c(Q43229)))
action filter_type
action union
action find
entity Q122741
relation P355
action find
entity Q486737
relation P355
type Q43229
[ANSWERS] are an auxiliary of Sega or Korea Electric Power Corporation
{'OR': [['Q122741', 'P355', {'concept': 'Q43229'}], ['Q486737', 'P355', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q43229 . { ?t property:P355 ?v . VALUES ( ?t ) { ( resource:Q122741 ) ( resource:Q486737 ) } } }
KEPCO KDN SEGA TOYS KEPCO Engineering & Construction Company SegaWorld Korea Western Power Company Korea South-East Power Company KEPCO Plant Service & Engineering Co. Korea Midland Power Company Korea Hydro & Nuclear Power KEPCO Nuclear Fuel Company Korea East-West Power Company Korea Southern Power Company
SEGA TOYS, KEPCO Nuclear Fuel Company, SegaWorld, KEPCO KDN, Korea South-East Power Company, KEPCO Engineering & Construction Company, Korea Southern Power Company, Korea Hydro & Nuclear Power, Korea Midland Power Company and Korea Western Power Company are an auxiliary of Sega or Korea Electric Power Corporation
SEGA TOYS KEPCO Nuclear Fuel Company SegaWorld KEPCO KDN Korea South-East Power Company KEPCO Engineering & Construction Company Korea Southern Power Company Korea Hydro & Nuclear Power Korea Midland Power Company Korea Western Power Company
action filter_type
action union
action find
entity Sega
relation subsidiary
action find
entity Korea Electric Power Corporation
relation subsidiary
type organization
{'OR': [['Sega', 'subsidiary', {'concept': 'organization'}], ['Korea Electric Power Corporation', 'subsidiary', {'concept': 'organization'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:organization . { ?t property:subsidiary ?v . VALUES ( ?t ) { ( resource:Sega ) ( resource:Korea_Electric_Power_Corporation ) } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q13409231
P355
Q28640 Q28640 Q43229
USER
How many professions serve as a subsidiary of more number of professions or organizations than Atari, Inc. ?
(c(Q28640)|c(Q43229),P355,c(Q28640))
action count
action greater
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q13409231
relation P355
type Q28640
type Q43229
[[{'concept': 'Q28640'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?k WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:Q28640 ) ( ontology:Q43229 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P355 resource:Q13409231 . { { ?x rdf:type ontology:Q28640 } UNION { ?x rdf:type ontology:Q43229 } } } } . FILTER ( ?z > ?r ) }
Atari, Inc.
action count
action greater
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action count
action filter_multi_types
action find_reverse
entity Atari, Inc.
relation subsidiary
type profession
type organization
[[{'concept': 'profession'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?k WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:profession ) ( ontology:organization ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:subsidiary resource:Atari,_Inc. . { { ?x rdf:type ontology:profession } UNION { ?x rdf:type ontology:organization } } } } . FILTER ( ?z > ?r ) }
[]
profession profession organization
SYSTEM
3
Q684218 Q800120 Q1466613
(c(Q28640)|c(Q43229),P355,c(Q28640))
action count
action greater
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q13409231
relation P355
type Q28640
type Q43229
[ANSWER]
[[{'concept': 'Q28640'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?k WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:Q28640 ) ( ontology:Q43229 ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P355 resource:Q13409231 . { { ?x rdf:type ontology:Q28640 } UNION { ?x rdf:type ontology:Q43229 } } } } . FILTER ( ?z > ?r ) }
Cavedog Entertainment Humongous Ubisoft Massive
3
action count
action greater
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action count
action filter_multi_types
action find_reverse
entity Atari, Inc.
relation subsidiary
type profession
type organization
[[{'concept': 'profession'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) ?k WHERE { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:profession ) ( ontology:organization ) } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:subsidiary resource:Atari,_Inc. . { { ?x rdf:type ontology:profession } UNION { ?x rdf:type ontology:organization } } } } . FILTER ( ?z > ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7641092
P355
Q28640 Q28640 Q43229
USER
And what about Sunrise Interactive?
(c(Q28640)|c(Q43229),P355,c(Q28640))
action count
action greater
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q7641092
relation P355
type Q28640
type Q43229
[[{'concept': 'Q28640'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?l WHERE { VALUES ( ?m ) { ( ontology:Q28640 ) ( ontology:Q43229 ) } . ?u rdf:type ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P355 resource:Q7641092 . { { ?x rdf:type ontology:Q43229 } UNION { ?x rdf:type ontology:Q28640 } } } } . FILTER ( ?j > ?a ) }
Sunrise Interactive
action count
action greater
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action count
action filter_multi_types
action find_reverse
entity Sunrise Interactive
relation subsidiary
type profession
type organization
[[{'concept': 'profession'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?l WHERE { VALUES ( ?m ) { ( ontology:profession ) ( ontology:organization ) } . ?u rdf:type ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:subsidiary resource:Sunrise_Interactive . { { ?x rdf:type ontology:organization } UNION { ?x rdf:type ontology:profession } } } } . FILTER ( ?j > ?a ) }
[]
profession profession organization
SYSTEM
29
Q3281900 Q1040450 Q18414205 Q15240959 Q6423274 Q2076545 Q18388687 Q3456271 Q611508 Q1060165 Q684218 Q26222 Q123018 Q1053684 Q2660350 Q739711 Q13409231 Q2510684 Q94937 Q4039000 Q1930918 Q18594 Q923047 Q800120 Q860580 Q8043371 Q959672 Q1172164 Q1466613
(c(Q28640)|c(Q43229),P355,c(Q28640))
action count
action greater
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
action find_reverse_tuple_counts
relation P355
type Q28640
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q7641092
relation P355
type Q28640
type Q43229
[ANSWER]
[[{'concept': 'Q28640'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?l WHERE { VALUES ( ?m ) { ( ontology:Q28640 ) ( ontology:Q43229 ) } . ?u rdf:type ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P355 resource:Q7641092 . { { ?x rdf:type ontology:Q43229 } UNION { ?x rdf:type ontology:Q28640 } } } } . FILTER ( ?j > ?a ) }
Malfador Machinations Guerrilla Cambridge Future Games Of London Team Bloodlust Knowledge Adventure Day 1 Studios Lift London BigWorld Creative Assembly Riot Games Cavedog Entertainment Gas Powered Games Nintendo Software Technology Polyphony Digital Havok Epic Games Atari, Inc. Zynga Dallas 2K Games Freeverse U.S. Gold Sony Interactive Entertainment 989 Studios Humongous Tencent Holdings Launchworks Daybreak Game Company CD Projekt RED Ubisoft Massive
29
action count
action greater
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
action find_reverse_tuple_counts
relation subsidiary
type profession
type organization
action count
action filter_multi_types
action find_reverse
entity Sunrise Interactive
relation subsidiary
type profession
type organization
[[{'concept': 'profession'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) ?l WHERE { VALUES ( ?m ) { ( ontology:profession ) ( ontology:organization ) } . ?u rdf:type ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:subsidiary resource:Sunrise_Interactive . { { ?x rdf:type ontology:organization } UNION { ?x rdf:type ontology:profession } } } } . FILTER ( ?j > ?a ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q173395 Q486737
P355
Q43229
USER
Which organizations are Korea Electric Power Corporation or Cisco Systems the parent company of ?
OR((Q486737,P355,c(Q43229)), (Q173395,P355,c(Q43229)))
action filter_type
action union
action find
entity Q486737
relation P355
action find
entity Q173395
relation P355
type Q43229
{'OR': [['Q486737', 'P355', {'concept': 'Q43229'}], ['Q173395', 'P355', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?p ) { ( resource:Q486737 ) ( resource:Q173395 ) } . ?p property:P355 ?r } . ?r rdf:type ontology:Q43229 }
Cisco Systems Korea Electric Power Corporation
action filter_type
action union
action find
entity Korea Electric Power Corporation
relation subsidiary
action find
entity Cisco Systems
relation subsidiary
type organization
{'OR': [['Korea Electric Power Corporation', 'subsidiary', {'concept': 'organization'}], ['Cisco Systems', 'subsidiary', {'concept': 'organization'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?p ) { ( resource:Korea_Electric_Power_Corporation ) ( resource:Cisco_Systems ) } . ?p property:subsidiary ?r } . ?r rdf:type ontology:organization }
[]
organization
Q7621739 Q1769702 Q1813510 Q12622949 Q3241626 Q5064182 Q6431688 Q2745629 Q12624295 Q12622947
SYSTEM
Some of them are StrataCom, Tandberg, Sourcefire, Korea Southern Power Company, Linksys, Cerent Corporation, KEPCO Plant Service & Engineering Co., Meraki, KEPCO KDN, Korea South-East Power Company
Q7621739 Q12624295 Q6328582 Q498944 Q5064182 Q7601805 Q6431684 Q12623270 Q1813510 Q12622947 Q2745629 Q6431688 Q12623697 Q1769702 Q961065 Q6431646 Q4387259 Q12622949 Q12623033 Q3241626
OR((Q486737,P355,c(Q43229)), (Q173395,P355,c(Q43229)))
action filter_type
action union
action find
entity Q486737
relation P355
action find
entity Q173395
relation P355
type Q43229
Are Korea Electric Power Corporation or Cisco Systems the parent company of Tokyo [ANSWERS]
{'OR': [['Q486737', 'P355', {'concept': 'Q43229'}], ['Q173395', 'P355', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?p ) { ( resource:Q486737 ) ( resource:Q173395 ) } . ?p property:P355 ?r } . ?r rdf:type ontology:Q43229 }
StrataCom KEPCO KDN KEPCO Engineering & Construction Company Cisco WebEx Cerent Corporation Starent Networks KEPCO Nuclear Fuel Company Korea Western Power Company Sourcefire Korea South-East Power Company Meraki KEPCO Plant Service & Engineering Co. Korea Midland Power Company Tandberg NDS Group Korea Hydro & Nuclear Power Scientific Atlanta Korea Southern Power Company Korea East-West Power Company Linksys
Are Korea Electric Power Corporation or Cisco Systems the parent company of Tokyo StrataCom, Tandberg, Sourcefire, Korea Southern Power Company, Linksys, Cerent Corporation, KEPCO Plant Service & Engineering Co., Meraki, KEPCO KDN and Korea South-East Power Company
StrataCom Tandberg Sourcefire Korea Southern Power Company Linksys Cerent Corporation KEPCO Plant Service & Engineering Co. Meraki KEPCO KDN Korea South-East Power Company
action filter_type
action union
action find
entity Korea Electric Power Corporation
relation subsidiary
action find
entity Cisco Systems
relation subsidiary
type organization
{'OR': [['Korea Electric Power Corporation', 'subsidiary', {'concept': 'organization'}], ['Cisco Systems', 'subsidiary', {'concept': 'organization'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?p ) { ( resource:Korea_Electric_Power_Corporation ) ( resource:Cisco_Systems ) } . ?p property:subsidiary ?r } . ?r rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7621739
P159
Q56061
USER
Which administrative territory is the headquarter location of that organization ?
(Q7621739,P159,c(Q56061))
action filter_type
action find
entity Q7621739
relation P159
type Q56061
['Q7621739', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q7621739 property:P159 ?a . ?a rdf:type ontology:Q56061 }
StrataCom
action filter_type
action find
entity StrataCom
relation headquarters location
type administrative territorial entity
['StrataCom', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:StrataCom property:headquarters_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q3241626
SYSTEM
Did you mean Linksys ?
Q7621739 Q1769702 Q1813510 Q12622949 Q3241626 Q5064182 Q6431688 Q2745629 Q12624295 Q12622947
(Q7621739,P159,c(Q56061)) (Q1769702,P159,c(Q56061)) (Q1813510,P159,c(Q56061)) (Q12622949,P159,c(Q56061)) (Q3241626,P159,c(Q56061)) (Q5064182,P159,c(Q56061)) (Q6431688,P159,c(Q56061)) (Q2745629,P159,c(Q56061)) (Q12624295,P159,c(Q56061)) (Q12622947,P159,c(Q56061))
[ANSWER]
['Q7621739', 'P159', {'concept': 'Q56061'}] ['Q1769702', 'P159', {'concept': 'Q56061'}] ['Q1813510', 'P159', {'concept': 'Q56061'}] ['Q12622949', 'P159', {'concept': 'Q56061'}] ['Q3241626', 'P159', {'concept': 'Q56061'}] ['Q5064182', 'P159', {'concept': 'Q56061'}] ['Q6431688', 'P159', {'concept': 'Q56061'}] ['Q2745629', 'P159', {'concept': 'Q56061'}] ['Q12624295', 'P159', {'concept': 'Q56061'}] ['Q12622947', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q7621739 property:P159 ?a . ?a rdf:type ontology:Q56061 }
StrataCom Tandberg Sourcefire Korea Southern Power Company Linksys Cerent Corporation KEPCO Plant Service & Engineering Co. Meraki KEPCO KDN Korea South-East Power Company
Did you mean Linksys ?
Linksys
['StrataCom', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Tandberg', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Sourcefire', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Korea Southern Power Company', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Linksys', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Cerent Corporation', 'headquarters location', {'concept': 'administrative territorial entity'}] ['KEPCO Plant Service & Engineering Co.', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Meraki', 'headquarters location', {'concept': 'administrative territorial entity'}] ['KEPCO KDN', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Korea South-East Power Company', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:StrataCom property:headquarters_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant StrataCom. Could you tell me the answer for that?
(Q7621739,P159,c(Q56061))
Q7621739
['Q7621739', 'P159', {'concept': 'Q56061'}]
['StrataCom', 'headquarters location', {'concept': 'administrative territorial entity'}]
[]
Q189471
SYSTEM
Cupertino
Q189471
(Q7621739,P159,c(Q56061))
action filter_type
action find
entity Q7621739
relation P159
type Q56061
[ANSWER] is the headquarter location of that organization
['Q7621739', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q7621739 property:P159 ?a . ?a rdf:type ontology:Q56061 }
Cupertino
Cupertino is the headquarter location of that organization
Cupertino
action filter_type
action find
entity StrataCom
relation headquarters location
type administrative territorial entity
['StrataCom', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:StrataCom property:headquarters_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]