Simple Question (Direct)
Simple Question
Q1795533
P106
Q28640
USER
Which professions are the professions of Käthe Kratz ?
(Q1795533,P106,c(Q28640))
action filter_type
action find
entity Q1795533
relation P106
type Q28640
['Q1795533', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q28640 . resource:Q1795533 property:P106 ?w }
Käthe Kratz
action filter_type
action find
entity Käthe Kratz
relation occupation
type profession
['Käthe Kratz', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:profession . resource:Käthe_Kratz property:occupation ?w }
[]
profession
Q2526255 Q28389
SYSTEM
film director, screenwriter
Q2526255 Q28389
(Q1795533,P106,c(Q28640))
action filter_type
action find
entity Q1795533
relation P106
type Q28640
The professions of Käthe Kratz are a [ANSWERS]
['Q1795533', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q28640 . resource:Q1795533 property:P106 ?w }
film director screenwriter
The professions of Käthe Kratz are a film director and screenwriter
film director screenwriter
action filter_type
action find
entity Käthe Kratz
relation occupation
type profession
['Käthe Kratz', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:profession . resource:Käthe_Kratz property:occupation ?w }
[]
Clarification
Simple Question|Single Entity|Indirect
Q28389
P425
Q9332
USER
Who is associated with the field of occupation that profession ?
(Q28389,P425,c(Q9332))
action filter_type
action find
entity Q28389
relation P425
type Q9332
['Q28389', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?j WHERE { resource:Q28389 property:P425 ?j . ?j rdf:type ontology:Q9332 }
screenwriter
action filter_type
action find
entity screenwriter
relation field of this occupation
type behavior
['screenwriter', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?j WHERE { resource:screenwriter property:field_of_this_occupation ?j . ?j rdf:type ontology:behavior }
[]
behavior
Clarification for simple ques.
Q2526255
SYSTEM
Did you mean film director ?
Q2526255 Q28389
(Q2526255,P425,c(Q9332)) (Q28389,P425,c(Q9332))
[ANSWER]
['Q2526255', 'P425', {'concept': 'Q9332'}] ['Q28389', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?j WHERE { resource:Q28389 property:P425 ?j . ?j rdf:type ontology:Q9332 }
film director screenwriter
Did you mean film director ?
film director
['film director', 'field of this occupation', {'concept': 'behavior'}] ['screenwriter', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?j WHERE { resource:screenwriter property:field_of_this_occupation ?j . ?j rdf:type ontology:behavior }
[]
Simple Question (Coreferenced)
USER
No, I meant screenwriter. Could you tell me the answer for that?
(Q28389,P425,c(Q9332))
Q28389
['Q28389', 'P425', {'concept': 'Q9332'}]
['screenwriter', 'field of this occupation', {'concept': 'behavior'}]
[]
Q3429919
SYSTEM
screenwriting
Q3429919
(Q28389,P425,c(Q9332))
action filter_type
action find
entity Q28389
relation P425
type Q9332
[ANSWER] is associated with the field of occupation that profession
['Q28389', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?j WHERE { resource:Q28389 property:P425 ?j . ?j rdf:type ontology:Q9332 }
screenwriting
Screenwriting is associated with the field of occupation that profession
screenwriting
action filter_type
action find
entity screenwriter
relation field of this occupation
type behavior
['screenwriter', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?j WHERE { resource:screenwriter property:field_of_this_occupation ?j . ?j rdf:type ontology:behavior }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q14373
P366
Q9332 Q2235308 Q11436
USER
Which behaviors are considered to be the main utilization of less number of ship types or aircrafts than fishing ?
(c(Q2235308)|c(Q11436),P366,c(Q9332))
action less
action union
action find_reverse_tuple_counts
relation P366
type Q9332
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q9332
type Q11436
action count
action filter_multi_types
action find_reverse
entity Q14373
relation P366
type Q2235308
type Q11436
[[{'concept': 'Q2235308'}, {'concept': 'Q11436'}], 'P366', {'concept': 'Q9332'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { VALUES ( ?o ) { ( ontology:Q2235308 ) ( ontology:Q11436 ) } . ?c rdf:type ?o } . ?c property:P366 resource:Q14373 } } . FILTER ( ?f < ?a ) . { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?f ) WHERE { { ?s property:P366 ?p . ?s rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q9332 } UNION { ?s property:P366 ?p . ?p rdf:type ontology:Q9332 . ?s rdf:type ontology:Q11436 } } GROUP BY ?p } }
fishing
action less
action union
action find_reverse_tuple_counts
relation use
type behavior
type ship type
action find_reverse_tuple_counts
relation use
type behavior
type aircraft
action count
action filter_multi_types
action find_reverse
entity fishing
relation use
type ship type
type aircraft
[[{'concept': 'ship type'}, {'concept': 'aircraft'}], 'use', {'concept': 'behavior'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { VALUES ( ?o ) { ( ontology:ship_type ) ( ontology:aircraft ) } . ?c rdf:type ?o } . ?c property:use resource:fishing } } . FILTER ( ?f < ?a ) . { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?f ) WHERE { { ?s property:use ?p . ?s rdf:type ontology:ship_type . ?p rdf:type ontology:behavior } UNION { ?s property:use ?p . ?p rdf:type ontology:behavior . ?s rdf:type ontology:aircraft } } GROUP BY ?p } }
[]
behavior ship type aircraft
Q17200001 Q93935 Q648877
SYSTEM
cleaning, tooth brushing, post-production
Q36963 Q174876 Q545981 Q17200001 Q11880995 Q961751 Q2927074 Q20978155 Q173799 Q10751894 Q5888958 Q36633 Q213753 Q8434 Q4008379 Q2306047 Q192043 Q349 Q2144962 Q61509 Q93935 Q2602017 Q648877 Q832237 Q218719 Q918306 Q352842 Q179643 Q816425 Q3241671 Q177719 Q455550 Q53121 Q5098002 Q130286 Q1546695 Q185733 Q184199 Q2314618 Q735 Q830036 Q52948 Q1362246 Q20976736 Q131508 Q1417815 Q203605 Q2695280 Q20851021 Q171141 Q327651 Q182020 Q12090069 Q336 Q47728 Q321476 Q628191 Q41399 Q18382459 Q16798237
(c(Q2235308)|c(Q11436),P366,c(Q9332))
action less
action union
action find_reverse_tuple_counts
relation P366
type Q9332
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q9332
type Q11436
action count
action filter_multi_types
action find_reverse
entity Q14373
relation P366
type Q2235308
type Q11436
[ANSWERS] are considered to be the main utilization of less number of ship types or aircrafts than fishing
[[{'concept': 'Q2235308'}, {'concept': 'Q11436'}], 'P366', {'concept': 'Q9332'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { VALUES ( ?o ) { ( ontology:Q2235308 ) ( ontology:Q11436 ) } . ?c rdf:type ?o } . ?c property:P366 resource:Q14373 } } . FILTER ( ?f < ?a ) . { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?f ) WHERE { { ?s property:P366 ?p . ?s rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q9332 } UNION { ?s property:P366 ?p . ?p rdf:type ontology:Q9332 . ?s rdf:type ontology:Q11436 } } GROUP BY ?p } }
hunting breastfeeding image editing cleaning berry picking winnowing Internet meme scheduled domestic air service entertainment lifesaving Home construction prostitution harvest education valuation pest control electrical wiring sport repair travel tooth brushing human branding post-production environmental protection border control thermal insulation teaching underwater diving surveying plumbing diagnostic procedure camping cycling childproofing management consulting cartomancy philanthropy automation forensic identification art shopping interaction Security of train rides scheduled international air service Enterprise resource planning reading education in the United States carpentry technics sexual pleasure gastronomy bathing extra-vehicular activity drainage science hobby Wire stripping industrial action fire protection passenger airline service protection
Cleaning, tooth brushing and post-production are considered to be the main utilization of less number of ship types or aircrafts than fishing
cleaning tooth brushing post-production
action less
action union
action find_reverse_tuple_counts
relation use
type behavior
type ship type
action find_reverse_tuple_counts
relation use
type behavior
type aircraft
action count
action filter_multi_types
action find_reverse
entity fishing
relation use
type ship type
type aircraft
[[{'concept': 'ship type'}, {'concept': 'aircraft'}], 'use', {'concept': 'behavior'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { VALUES ( ?o ) { ( ontology:ship_type ) ( ontology:aircraft ) } . ?c rdf:type ?o } . ?c property:use resource:fishing } } . FILTER ( ?f < ?a ) . { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?f ) WHERE { { ?s property:use ?p . ?s rdf:type ontology:ship_type . ?p rdf:type ontology:behavior } UNION { ?s property:use ?p . ?p rdf:type ontology:behavior . ?s rdf:type ontology:aircraft } } GROUP BY ?p } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q9640723
P366
Q9332 Q2235308 Q11436
USER
And what about commercial aviation?
(c(Q2235308)|c(Q11436),P366,c(Q9332))
action less
action union
action find_reverse_tuple_counts
relation P366
type Q9332
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q9332
type Q11436
action count
action filter_multi_types
action find_reverse
entity Q9640723
relation P366
type Q2235308
type Q11436
[[{'concept': 'Q2235308'}, {'concept': 'Q11436'}], 'P366', {'concept': 'Q9332'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?u ) { ( ontology:Q2235308 ) ( ontology:Q11436 ) } . ?f rdf:type ?u } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:P366 resource:Q9640723 . { ?w rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2235308 ) ( ontology:Q11436 ) } } } } . FILTER ( ?d < ?n ) }
commercial aviation
action less
action union
action find_reverse_tuple_counts
relation use
type behavior
type ship type
action find_reverse_tuple_counts
relation use
type behavior
type aircraft
action count
action filter_multi_types
action find_reverse
entity commercial aviation
relation use
type ship type
type aircraft
[[{'concept': 'ship type'}, {'concept': 'aircraft'}], 'use', {'concept': 'behavior'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?u ) { ( ontology:ship_type ) ( ontology:aircraft ) } . ?f rdf:type ?u } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:use resource:commercial_aviation . { ?w rdf:type ?k . VALUES ( ?k ) { ( ontology:ship_type ) ( ontology:aircraft ) } } } } . FILTER ( ?d < ?n ) }
[]
behavior ship type aircraft
Q17200001 Q93935 Q648877
SYSTEM
cleaning, tooth brushing, post-production
Q36963 Q174876 Q545981 Q17200001 Q11880995 Q961751 Q2927074 Q20978155 Q173799 Q10751894 Q5888958 Q36633 Q213753 Q8434 Q4008379 Q2306047 Q192043 Q852170 Q349 Q2144962 Q61509 Q15449497 Q93935 Q2602017 Q648877 Q832237 Q218719 Q918306 Q352842 Q179643 Q816425 Q3241671 Q177719 Q455550 Q20976913 Q1043452 Q53121 Q5098002 Q130286 Q1546695 Q185733 Q184199 Q2314618 Q735 Q830036 Q1571929 Q52948 Q1362246 Q20976736 Q131508 Q1417815 Q203605 Q2695280 Q20851021 Q171141 Q327651 Q182020 Q12090069 Q336 Q47728 Q321476 Q14373 Q628191 Q41399 Q18382459 Q16798237
(c(Q2235308)|c(Q11436),P366,c(Q9332))
action less
action union
action find_reverse_tuple_counts
relation P366
type Q9332
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q9332
type Q11436
action count
action filter_multi_types
action find_reverse
entity Q9640723
relation P366
type Q2235308
type Q11436
[ANSWERS]
[[{'concept': 'Q2235308'}, {'concept': 'Q11436'}], 'P366', {'concept': 'Q9332'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?u ) { ( ontology:Q2235308 ) ( ontology:Q11436 ) } . ?f rdf:type ?u } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:P366 resource:Q9640723 . { ?w rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2235308 ) ( ontology:Q11436 ) } } } } . FILTER ( ?d < ?n ) }
hunting breastfeeding image editing cleaning berry picking winnowing Internet meme scheduled domestic air service entertainment lifesaving Home construction prostitution harvest education valuation pest control electrical wiring dredging sport repair travel executive transport tooth brushing human branding post-production environmental protection border control thermal insulation teaching underwater diving surveying plumbing diagnostic procedure camping commercial air service maintenance, repair, and operations cycling childproofing management consulting cartomancy philanthropy automation forensic identification art shopping general aviation interaction Security of train rides scheduled international air service Enterprise resource planning reading education in the United States carpentry technics sexual pleasure gastronomy bathing extra-vehicular activity drainage science hobby Wire stripping fishing industrial action fire protection passenger airline service protection
cleaning tooth brushing post-production
action less
action union
action find_reverse_tuple_counts
relation use
type behavior
type ship type
action find_reverse_tuple_counts
relation use
type behavior
type aircraft
action count
action filter_multi_types
action find_reverse
entity commercial aviation
relation use
type ship type
type aircraft
[[{'concept': 'ship type'}, {'concept': 'aircraft'}], 'use', {'concept': 'behavior'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?u ) { ( ontology:ship_type ) ( ontology:aircraft ) } . ?f rdf:type ?u } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:use resource:commercial_aviation . { ?w rdf:type ?k . VALUES ( ?k ) { ( ontology:ship_type ) ( ontology:aircraft ) } } } } . FILTER ( ?d < ?n ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q648877
P361
Q268592
USER
What is that behavior a portion of ?
(Q648877,P361,c(Q268592))
action filter_type
action find
entity Q648877
relation P361
type Q268592
['Q648877', 'P361', {'concept': 'Q268592'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q268592 . resource:Q648877 property:P361 ?v }
post-production
action filter_type
action find
entity post-production
relation part of
type economic branch
['post-production', 'part of', {'concept': 'economic branch'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:economic_branch . resource:post-production property:part_of ?v }
[]
economic branch
Clarification for simple ques.
Q648877
SYSTEM
Did you mean post-production ?
Q17200001 Q93935 Q648877
(Q17200001,P361,c(Q268592)) (Q93935,P361,c(Q268592)) (Q648877,P361,c(Q268592))
[ANSWER]
['Q17200001', 'P361', {'concept': 'Q268592'}] ['Q93935', 'P361', {'concept': 'Q268592'}] ['Q648877', 'P361', {'concept': 'Q268592'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q268592 . resource:Q648877 property:P361 ?v }
cleaning tooth brushing post-production
Did you mean post-production ?
post-production
['cleaning', 'part of', {'concept': 'economic branch'}] ['tooth brushing', 'part of', {'concept': 'economic branch'}] ['post-production', 'part of', {'concept': 'economic branch'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:economic_branch . resource:post-production property:part_of ?v }
[]
Simple Question (Coreferenced)
USER
Yes
(Q648877,P361,c(Q268592))
['Q648877', 'P361', {'concept': 'Q268592'}]
['post-production', 'part of', {'concept': 'economic branch'}]
[]
Q932586
SYSTEM
filmmaking
Q932586
(Q648877,P361,c(Q268592))
action filter_type
action find
entity Q648877
relation P361
type Q268592
That behavior a portion of is in [ANSWER]
['Q648877', 'P361', {'concept': 'Q268592'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q268592 . resource:Q648877 property:P361 ?v }
filmmaking
That behavior a portion of is in filmmaking
filmmaking
action filter_type
action find
entity post-production
relation part of
type economic branch
['post-production', 'part of', {'concept': 'economic branch'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:economic_branch . resource:post-production property:part_of ?v }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P127
Q43229 Q502895 Q28640
USER
Which professions are owned by max number of organizations and people ?
(c(Q28640),P127,c(Q43229)|c(Q502895))
action argmax
action union
action find_tuple_counts
relation P127
type Q28640
type Q43229
action find_tuple_counts
relation P127
type Q28640
type Q502895
[{'concept': 'Q28640'}, 'P127', [{'concept': 'Q43229'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?j ) WHERE { { ?k property:P127 ?u . ?k rdf:type ontology:Q28640 . ?u rdf:type ontology:Q43229 } UNION { ?k property:P127 ?u . ?k rdf:type ontology:Q28640 . ?u rdf:type ontology:Q502895 } } GROUP BY ?k } . FILTER ( ?j = ?d ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?d ) { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?h ) WHERE { { ?p property:P127 ?v . ?p rdf:type ontology:Q28640 . ?v rdf:type ontology:Q43229 } UNION { ?p property:P127 ?v . ?p rdf:type ontology:Q28640 . ?v rdf:type ontology:Q502895 } } GROUP BY ?p } } }
action argmax
action union
action find_tuple_counts
relation owned by
type profession
type organization
action find_tuple_counts
relation owned by
type profession
type common name
[{'concept': 'profession'}, 'owned by', [{'concept': 'organization'}, {'concept': 'common name'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?j ) WHERE { { ?k property:owned_by ?u . ?k rdf:type ontology:profession . ?u rdf:type ontology:organization } UNION { ?k property:owned_by ?u . ?k rdf:type ontology:profession . ?u rdf:type ontology:common_name } } GROUP BY ?k } . FILTER ( ?j = ?d ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?d ) { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?h ) WHERE { { ?p property:owned_by ?v . ?p rdf:type ontology:profession . ?v rdf:type ontology:organization } UNION { ?p property:owned_by ?v . ?p rdf:type ontology:profession . ?v rdf:type ontology:common_name } } GROUP BY ?p } } }
[]
organization common name profession
Q18594 Q2607531 Q207922
SYSTEM
Sony Interactive Entertainment, Harmonix Music Systems, Atari
Q2944021 Q1191897 Q3658005 Q1493042 Q1251435 Q1458317 Q1061580 Q1229035 Q4746762 Q1207809 Q481968 Q484143 Q1040450 Q2660350 Q656710 Q2822760 Q1254065 Q2577247 Q727701 Q5514680 Q637851 Q2414469 Q18594 Q2740414 Q651140 Q821910 Q4051487 Q1254072 Q2607531 Q207922 Q2448087 Q1502832 Q13409231 Q3982798 Q1933462 Q916714
(c(Q28640),P127,c(Q43229)|c(Q502895))
action argmax
action union
action find_tuple_counts
relation P127
type Q28640
type Q43229
action find_tuple_counts
relation P127
type Q28640
type Q502895
[ANSWERS] are owned by max number of organizations and people
[{'concept': 'Q28640'}, 'P127', [{'concept': 'Q43229'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?j ) WHERE { { ?k property:P127 ?u . ?k rdf:type ontology:Q28640 . ?u rdf:type ontology:Q43229 } UNION { ?k property:P127 ?u . ?k rdf:type ontology:Q28640 . ?u rdf:type ontology:Q502895 } } GROUP BY ?k } . FILTER ( ?j = ?d ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?d ) { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?h ) WHERE { { ?p property:P127 ?v . ?p rdf:type ontology:Q28640 . ?v rdf:type ontology:Q43229 } UNION { ?p property:P127 ?v . ?p rdf:type ontology:Q28640 . ?v rdf:type ontology:Q502895 } } GROUP BY ?p } } }
Cellius Grasshopper Manufacture Capstone Software Game Arts Double Fine Productions Deep Silver Volition Atari Games Disney Interactive Studios Project Siren Gust Co. Ltd. Acquire Gravity Corporation Guerrilla Cambridge Havok SCE Santa Monica Studio Acclaim Cheltenham SCE Foster City Studio Imagineering SIE Bend Studio GTE Interactive Media Playdom FromSoftware Sony Interactive Entertainment Team Ninja Media Molecule Team Soho Tigon Studios SCE San Diego Studio Harmonix Music Systems Atari The Adventure Company Reality Pump Studios Atari, Inc. Telecomsoft SCE Studio Liverpool Sucker Punch Productions
Sony Interactive Entertainment, Harmonix Music Systems and Atari are owned by max number of organizations and people
Sony Interactive Entertainment Harmonix Music Systems Atari
action argmax
action union
action find_tuple_counts
relation owned by
type profession
type organization
action find_tuple_counts
relation owned by
type profession
type common name
[{'concept': 'profession'}, 'owned by', [{'concept': 'organization'}, {'concept': 'common name'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?j ) WHERE { { ?k property:owned_by ?u . ?k rdf:type ontology:profession . ?u rdf:type ontology:organization } UNION { ?k property:owned_by ?u . ?k rdf:type ontology:profession . ?u rdf:type ontology:common_name } } GROUP BY ?k } . FILTER ( ?j = ?d ) . { SELECT DISTINCT ( MAX ( ?h ) AS ?d ) { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?h ) WHERE { { ?p property:owned_by ?v . ?p rdf:type ontology:profession . ?v rdf:type ontology:organization } UNION { ?p property:owned_by ?v . ?p rdf:type ontology:profession . ?v rdf:type ontology:common_name } } GROUP BY ?p } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18594 Q2607531 Q207922
P452
Q268592
USER
Which industries do Sony Interactive Entertainment, Harmonix Music Systems and Atari belong to ?
(Q18594,P452,c(Q268592)) (Q2607531,P452,c(Q268592)) (Q207922,P452,c(Q268592))
action union
action filter_type
action find
entity Q18594
relation P452
type Q268592
action filter_type
action find
entity Q2607531
relation P452
type Q268592
action filter_type
action find
entity Q207922
relation P452
type Q268592
['Q18594', 'P452', {'concept': 'Q268592'}] ['Q2607531', 'P452', {'concept': 'Q268592'}] ['Q207922', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?k WHERE { ?m property:P452 ?k . VALUES ( ?m ) { ( resource:Q2607531 ) ( resource:Q18594 ) } }
Sony Interactive Entertainment Harmonix Music Systems Atari
action union
action filter_type
action find
entity Sony Interactive Entertainment
relation industry
type economic branch
action filter_type
action find
entity Harmonix Music Systems
relation industry
type economic branch
action filter_type
action find
entity Atari
relation industry
type economic branch
['Sony Interactive Entertainment', 'industry', {'concept': 'economic branch'}] ['Harmonix Music Systems', 'industry', {'concept': 'economic branch'}] ['Atari', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?k WHERE { ?m property:industry ?k . VALUES ( ?m ) { ( resource:Harmonix_Music_Systems ) ( resource:Sony_Interactive_Entertainment ) } }
[]
economic branch
Q941594 Q941594 Q941594
SYSTEM
video game industry
Q941594 Q941594 Q941594
(Q18594,P452,c(Q268592)) (Q2607531,P452,c(Q268592)) (Q207922,P452,c(Q268592))
action union
action filter_type
action find
entity Q18594
relation P452
type Q268592
action filter_type
action find
entity Q2607531
relation P452
type Q268592
action filter_type
action find
entity Q207922
relation P452
type Q268592
[ANSWER], [ANSWER] and [ANSWER] Sony Interactive Entertainment, Harmonix Music Systems and Atari belong to
['Q18594', 'P452', {'concept': 'Q268592'}] ['Q2607531', 'P452', {'concept': 'Q268592'}] ['Q207922', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?k WHERE { ?m property:P452 ?k . VALUES ( ?m ) { ( resource:Q2607531 ) ( resource:Q18594 ) } }
video game industry video game industry video game industry
Video game industry, video game industry and video game industry Sony Interactive Entertainment, Harmonix Music Systems and Atari belong to
video game industry video game industry video game industry
action union
action filter_type
action find
entity Sony Interactive Entertainment
relation industry
type economic branch
action filter_type
action find
entity Harmonix Music Systems
relation industry
type economic branch
action filter_type
action find
entity Atari
relation industry
type economic branch
['Sony Interactive Entertainment', 'industry', {'concept': 'economic branch'}] ['Harmonix Music Systems', 'industry', {'concept': 'economic branch'}] ['Atari', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?k WHERE { ?m property:industry ?k . VALUES ( ?m ) { ( resource:Harmonix_Music_Systems ) ( resource:Sony_Interactive_Entertainment ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18594
P749
Q28640
USER
Which profession is Sony Interactive Entertainment a parent organization of ?
(c(Q28640),P749,Q941594) (c(Q28640),P749,Q941594) (c(Q28640),P749,Q941594)
action filter_type
action find_reverse
entity Q18594
relation P749
type Q28640
[{'concept': 'Q28640'}, 'P749', 'Q941594'] [{'concept': 'Q28640'}, 'P749', 'Q941594'] [{'concept': 'Q28640'}, 'P749', 'Q941594']
SELECT DISTINCT ?w WHERE { ?w property:P749 resource:Q18594 . ?w rdf:type ontology:Q28640 }
Sony Interactive Entertainment
action filter_type
action find_reverse
entity Sony Interactive Entertainment
relation parent organization
type profession
[{'concept': 'profession'}, 'parent organization', 'video game industry'] [{'concept': 'profession'}, 'parent organization', 'video game industry'] [{'concept': 'profession'}, 'parent organization', 'video game industry']
SELECT DISTINCT ?w WHERE { ?w property:parent_organization resource:Sony_Interactive_Entertainment . ?w rdf:type ontology:profession }
[]
profession
Q923047
SYSTEM
989 Studios
Q923047
(c(Q28640),P749,Q941594) (c(Q28640),P749,Q941594) (c(Q28640),P749,Q941594)
action filter_type
action find_reverse
entity Q18594
relation P749
type Q28640
Which profession is Sony Interactive Entertainment a parent organization of
[{'concept': 'Q28640'}, 'P749', 'Q941594'] [{'concept': 'Q28640'}, 'P749', 'Q941594'] [{'concept': 'Q28640'}, 'P749', 'Q941594']
SELECT DISTINCT ?w WHERE { ?w property:P749 resource:Q18594 . ?w rdf:type ontology:Q28640 }
989 Studios
Which profession is Sony Interactive Entertainment a parent organization of
989 Studios
action filter_type
action find_reverse
entity Sony Interactive Entertainment
relation parent organization
type profession
[{'concept': 'profession'}, 'parent organization', 'video game industry'] [{'concept': 'profession'}, 'parent organization', 'video game industry'] [{'concept': 'profession'}, 'parent organization', 'video game industry']
SELECT DISTINCT ?w WHERE { ?w property:parent_organization resource:Sony_Interactive_Entertainment . ?w rdf:type ontology:profession }
[]