Simple Question (Direct)
Simple Question
Q18604621
P21
Q290
USER
Which sex does Laurent Courtiaud possess ?
(Q18604621,P21,c(Q290))
action filter_type
action find
entity Q18604621
relation P21
type Q290
['Q18604621', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q18604621 property:P21 ?r . ?r rdf:type ontology:Q290 }
Laurent Courtiaud
action filter_type
action find
entity Laurent Courtiaud
relation gender
type sex
['Laurent Courtiaud', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Laurent_Courtiaud property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18604621,P21,c(Q290))
action filter_type
action find
entity Q18604621
relation P21
type Q290
Laurent Courtiaud possesses un [ANSWER]
['Q18604621', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q18604621 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
Laurent Courtiaud possesses un male
male
action filter_type
action find
entity Laurent Courtiaud
relation gender
type sex
['Laurent Courtiaud', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Laurent_Courtiaud property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18604621
P106
Q28640
USER
What are the job of Laurent Courtiaud ?
(Q18604621,P106,c(Q28640))
action filter_type
action find
entity Q18604621
relation P106
type Q28640
['Q18604621', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?q WHERE { resource:Q18604621 property:P106 ?q . ?q rdf:type ontology:Q28640 }
Laurent Courtiaud
action filter_type
action find
entity Laurent Courtiaud
relation occupation
type profession
['Laurent Courtiaud', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?q WHERE { resource:Laurent_Courtiaud property:occupation ?q . ?q rdf:type ontology:profession }
[]
profession
Q2526255 Q28389
SYSTEM
film director, screenwriter
Q2526255 Q28389
(Q18604621,P106,c(Q28640))
action filter_type
action find
entity Q18604621
relation P106
type Q28640
The job of Laurent Courtiaud are a [ANSWERS]
['Q18604621', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?q WHERE { resource:Q18604621 property:P106 ?q . ?q rdf:type ontology:Q28640 }
film director screenwriter
The job of Laurent Courtiaud are a film director and screenwriter
film director screenwriter
action filter_type
action find
entity Laurent Courtiaud
relation occupation
type profession
['Laurent Courtiaud', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?q WHERE { resource:Laurent_Courtiaud property:occupation ?q . ?q rdf:type ontology:profession }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5819740
Q28640
USER
And also tell me about Eduardo Spagnuolo?
(Q5819740,P106,c(Q28640))
action filter_type
action find
entity Q5819740
relation P106
type Q28640
['Q5819740', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?h WHERE { resource:Q5819740 property:P106 ?h . ?h rdf:type ontology:Q28640 }
Eduardo Spagnuolo
action filter_type
action find
entity Eduardo Spagnuolo
relation occupation
type profession
['Eduardo Spagnuolo', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?h WHERE { resource:Eduardo_Spagnuolo property:occupation ?h . ?h rdf:type ontology:profession }
[]
profession
Q2526255
SYSTEM
film director
Q2526255
(Q5819740,P106,c(Q28640))
action filter_type
action find
entity Q5819740
relation P106
type Q28640
[ANSWER]
['Q5819740', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?h WHERE { resource:Q5819740 property:P106 ?h . ?h rdf:type ontology:Q28640 }
film director
film director
action filter_type
action find
entity Eduardo Spagnuolo
relation occupation
type profession
['Eduardo Spagnuolo', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?h WHERE { resource:Eduardo_Spagnuolo property:occupation ?h . ?h rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5819740
P19
Q515
USER
Which city is the place of birth of that person ?
(Q2526255,P19,c(Q515))
action filter_type
action find
entity Q5819740
relation P19
type Q515
['Q2526255', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q5819740 property:P19 ?e . ?e rdf:type ontology:Q515 }
Eduardo Spagnuolo
action filter_type
action find
entity Eduardo Spagnuolo
relation place of birth
type city
['film director', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Eduardo_Spagnuolo property:place_of_birth ?e . ?e rdf:type ontology:city }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q2526255,P19,c(Q515))
action filter_type
action find
entity Q5819740
relation P19
type Q515
[ANSWER] is the place of birth of that person
['Q2526255', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q5819740 property:P19 ?e . ?e rdf:type ontology:Q515 }
Buenos Aires
Buenos Aires is the place of birth of that person
Buenos Aires
action filter_type
action find
entity Eduardo Spagnuolo
relation place of birth
type city
['film director', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Eduardo_Spagnuolo property:place_of_birth ?e . ?e rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1486 Q1335
P190
Q56061
USER
Is Montevideo sister town of that city ?
(Q1486,P190,Q1335)
action is_in
entity Q1335
action find
entity Q1486
relation P190
['Q1486', 'P190', 'Q1335']
ASK WHERE { resource:Q1486 property:P190 resource:Q1335 }
Buenos Aires Montevideo
action is_in
entity Montevideo
action find
entity Buenos Aires
relation sister city
['Buenos Aires', 'sister city', 'Montevideo']
ASK WHERE { resource:Buenos_Aires property:sister_city resource:Montevideo }
[]
administrative territorial entity
SYSTEM
YES
(Q1486,P190,Q1335)
action is_in
entity Q1335
action find
entity Q1486
relation P190
[ANSWER]
['Q1486', 'P190', 'Q1335']
ASK WHERE { resource:Q1486 property:P190 resource:Q1335 }
Yes
action is_in
entity Montevideo
action find
entity Buenos Aires
relation sister city
['Buenos Aires', 'sister city', 'Montevideo']
ASK WHERE { resource:Buenos_Aires property:sister_city resource:Montevideo }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q79822 Q1486
P190 P551
Q56061
USER
Which administrative territories are twin cities of Buenos Aires and did Adam Mickiewicz reside ?
AND((Q1486,P190,c(Q56061)), (Q79822,P551,c(Q56061)))
action filter_type
action intersection
action find
entity Q1486
relation P190
action find
entity Q79822
relation P551
type Q56061
{'AND': [['Q1486', 'P190', {'concept': 'Q56061'}], ['Q79822', 'P551', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { resource:Q1486 property:P190 ?f . resource:Q79822 property:P551 ?f . ?f rdf:type ontology:Q56061 }
Adam Mickiewicz Buenos Aires
action filter_type
action intersection
action find
entity Buenos Aires
relation sister city
action find
entity Adam Mickiewicz
relation residence
type administrative territorial entity
{'AND': [['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}], ['Adam Mickiewicz', 'residence', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Buenos_Aires property:sister_city ?f . resource:Adam_Mickiewicz property:residence ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
AND((Q1486,P190,c(Q56061)), (Q79822,P551,c(Q56061)))
action filter_type
action intersection
action find
entity Q1486
relation P190
action find
entity Q79822
relation P551
type Q56061
[ANSWER] is twin cities of Buenos Aires and did Adam Mickiewicz reside
{'AND': [['Q1486', 'P190', {'concept': 'Q56061'}], ['Q79822', 'P551', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { resource:Q1486 property:P190 ?f . resource:Q79822 property:P551 ?f . ?f rdf:type ontology:Q56061 }
Moscow
Moscow is twin cities of Buenos Aires and did Adam Mickiewicz reside
Moscow
action filter_type
action intersection
action find
entity Buenos Aires
relation sister city
action find
entity Adam Mickiewicz
relation residence
type administrative territorial entity
{'AND': [['Buenos Aires', 'sister city', {'concept': 'administrative territorial entity'}], ['Adam Mickiewicz', 'residence', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Buenos_Aires property:sister_city ?f . resource:Adam_Mickiewicz property:residence ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q649 Q5301681 Q275106
P112
Q502895
USER
Was that administrative territory founded by Douglas Kennedy and Yuri Dolgorukiy ?
(Q649,P112,Q5301681) (Q649,P112,Q275106)
action is_in
entity Q649
action intersection
action find_reverse
entity Q5301681
relation P112
action find_reverse
entity Q275106
relation P112
['Q649', 'P112', 'Q5301681'] ['Q649', 'P112', 'Q275106']
ASK WHERE { resource:Q649 property:P112 resource:Q5301681 . resource:Q649 property:P112 resource:Q275106 }
Moscow Douglas Kennedy Yuri Dolgorukiy
action is_in
entity Moscow
action intersection
action find_reverse
entity Douglas Kennedy
relation founder
action find_reverse
entity Yuri Dolgorukiy
relation founder
['Moscow', 'founder', 'Douglas Kennedy'] ['Moscow', 'founder', 'Yuri Dolgorukiy']
ASK WHERE { resource:Moscow property:founder resource:Douglas_Kennedy . resource:Moscow property:founder resource:Yuri_Dolgorukiy }
[]
common name
SYSTEM
NO and YES respectively
(Q649,P112,Q5301681) (Q649,P112,Q275106)
action is_in
entity Q649
action intersection
action find_reverse
entity Q5301681
relation P112
action find_reverse
entity Q275106
relation P112
[ANSWER]
['Q649', 'P112', 'Q5301681'] ['Q649', 'P112', 'Q275106']
ASK WHERE { resource:Q649 property:P112 resource:Q5301681 . resource:Q649 property:P112 resource:Q275106 }
NO and YES respectively
action is_in
entity Moscow
action intersection
action find_reverse
entity Douglas Kennedy
relation founder
action find_reverse
entity Yuri Dolgorukiy
relation founder
['Moscow', 'founder', 'Douglas Kennedy'] ['Moscow', 'founder', 'Yuri Dolgorukiy']
ASK WHERE { resource:Moscow property:founder resource:Douglas_Kennedy . resource:Moscow property:founder resource:Yuri_Dolgorukiy }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P291
Q571
USER
Which books have that administrative territory as their publication place ?
action filter_type
action find_reverse
entity Q649
relation P291
type Q571
SELECT DISTINCT ?u WHERE { ?u property:P291 resource:Q649 . ?u rdf:type ontology:Q571 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation place of publication
type book
SELECT DISTINCT ?u WHERE { ?u property:place_of_publication resource:Moscow . ?u rdf:type ontology:book }
[]
book
Q15631965 Q17378135 Q20901632
SYSTEM
Urbi et orbi, Great Soviet Encyclopedia (1969–1978), Убежище. Дневник в письмах
Q15631965 Q14036403 Q21451927 Q21451936 Q15894330 Q21451944 Q20968284 Q17378135 Q20901632 Q21451941 Q20078554
action filter_type
action find_reverse
entity Q649
relation P291
type Q571
[ANSWERS] have that administrative territory as their publication place
SELECT DISTINCT ?u WHERE { ?u property:P291 resource:Q649 . ?u rdf:type ontology:Q571 }
Urbi et orbi Pushkin in Life Illustrirovannaya polnaya populyarnaya biblyeiskaya entsiklopediya. Vipusk Выпуск III, 1892 Illustrirovannaya polnaya populyarnaya biblyeiskaya entsiklopediya. Vipusk Выпуск I, 1891 Travels in Esperanto-Land (1st edition) Illustrirovannaya polnaya populyarnaya biblyeiskaya entsiklopediya. Vipusk Выпуск IV, 1892 Great Soviet Encyclopedia (1950—1958) Great Soviet Encyclopedia (1969–1978) Убежище. Дневник в письмах Illustrirovannaya polnaya populyarnaya biblyeiskaya entsiklopediya. Vipusk Выпуск II, 1892 Great Soviet Encyclopedia (1926—1947)
Urbi et orbi, Great Soviet Encyclopedia (1969–1978) and Убежище. Дневник в письмах have that administrative territory as their publication place
Urbi et orbi Great Soviet Encyclopedia (1969–1978) Убежище. Дневник в письмах
action filter_type
action find_reverse
entity Moscow
relation place of publication
type book
SELECT DISTINCT ?u WHERE { ?u property:place_of_publication resource:Moscow . ?u rdf:type ontology:book }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q611508
P355
Q28640 Q4830453 Q1269299
USER
Which professions are the subordinates of greater number of business enterprises and business organizations than Creative Assembly ?
(c(Q4830453)|c(Q1269299),P355,c(Q28640))
action greater
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q611508
relation P355
type Q4830453
type Q1269299
[[{'concept': 'Q4830453'}, {'concept': 'Q1269299'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P355 resource:Q611508 . { { ?f rdf:type ontology:Q4830453 } UNION { ?f rdf:type ontology:Q1269299 } } } } . FILTER ( ?r > ?w ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?h WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:Q4830453 ) ( ontology:Q1269299 ) } } GROUP BY ?h } }
Creative Assembly
action greater
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Creative Assembly
relation subsidiary
type business enterprise
type type of business entity
[[{'concept': 'business enterprise'}, {'concept': 'type of business entity'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:subsidiary resource:Creative_Assembly . { { ?f rdf:type ontology:business_enterprise } UNION { ?f rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?r > ?w ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?h WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:business_enterprise ) ( ontology:type_of_business_entity ) } } GROUP BY ?h } }
[]
profession business enterprise type of business entity
Q1129295 Q122741 Q73801
SYSTEM
Mojang, Sega, Microsoft Studios
Q1403157 Q1129295 Q122741 Q73801 Q2740414 Q15018011 Q1692707 Q959672 Q3052263
(c(Q4830453)|c(Q1269299),P355,c(Q28640))
action greater
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q611508
relation P355
type Q4830453
type Q1269299
[ANSWERS] are the subordinates of greater number of business enterprises and business organizations than Creative Assembly
[[{'concept': 'Q4830453'}, {'concept': 'Q1269299'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P355 resource:Q611508 . { { ?f rdf:type ontology:Q4830453 } UNION { ?f rdf:type ontology:Q1269299 } } } } . FILTER ( ?r > ?w ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?h WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:Q4830453 ) ( ontology:Q1269299 ) } } GROUP BY ?h } }
WMS Industries Mojang Sega Microsoft Studios Team Ninja Atari Interactive Square Enix Europe Daybreak Game Company Omega Force
Mojang, Sega and Microsoft Studios are the subordinates of greater number of business enterprises and business organizations than Creative Assembly
Mojang Sega Microsoft Studios
action greater
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Creative Assembly
relation subsidiary
type business enterprise
type type of business entity
[[{'concept': 'business enterprise'}, {'concept': 'type of business entity'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:subsidiary resource:Creative_Assembly . { { ?f rdf:type ontology:business_enterprise } UNION { ?f rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?r > ?w ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) ?h WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:business_enterprise ) ( ontology:type_of_business_entity ) } } GROUP BY ?h } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2607531
P355
Q28640 Q4830453 Q1269299
USER
And what about Harmonix Music Systems?
(c(Q4830453)|c(Q1269299),P355,c(Q28640))
action greater
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q2607531
relation P355
type Q4830453
type Q1269299
[[{'concept': 'Q4830453'}, {'concept': 'Q1269299'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:P355 resource:Q2607531 . { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1269299 ) ( ontology:Q4830453 ) } } } } . FILTER ( ?y > ?f ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?w WHERE { { ?d property:P355 ?w . ?w rdf:type ontology:Q28640 . ?d rdf:type ontology:Q4830453 } UNION { ?d property:P355 ?w . ?w rdf:type ontology:Q28640 . ?d rdf:type ontology:Q1269299 } } GROUP BY ?w } }
Harmonix Music Systems
action greater
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Harmonix Music Systems
relation subsidiary
type business enterprise
type type of business entity
[[{'concept': 'business enterprise'}, {'concept': 'type of business entity'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:subsidiary resource:Harmonix_Music_Systems . { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:type_of_business_entity ) ( ontology:business_enterprise ) } } } } . FILTER ( ?y > ?f ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?w WHERE { { ?d property:subsidiary ?w . ?w rdf:type ontology:profession . ?d rdf:type ontology:business_enterprise } UNION { ?d property:subsidiary ?w . ?w rdf:type ontology:profession . ?d rdf:type ontology:type_of_business_entity } } GROUP BY ?w } }
[]
profession business enterprise type of business entity
Q1129295 Q122741 Q73801
SYSTEM
Mojang, Sega, Microsoft Studios
Q1403157 Q1129295 Q122741 Q73801 Q2740414 Q15018011 Q1692707 Q959672 Q3052263
(c(Q4830453)|c(Q1269299),P355,c(Q28640))
action greater
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q28640
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q2607531
relation P355
type Q4830453
type Q1269299
[ANSWERS]
[[{'concept': 'Q4830453'}, {'concept': 'Q1269299'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:P355 resource:Q2607531 . { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1269299 ) ( ontology:Q4830453 ) } } } } . FILTER ( ?y > ?f ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?w WHERE { { ?d property:P355 ?w . ?w rdf:type ontology:Q28640 . ?d rdf:type ontology:Q4830453 } UNION { ?d property:P355 ?w . ?w rdf:type ontology:Q28640 . ?d rdf:type ontology:Q1269299 } } GROUP BY ?w } }
WMS Industries Mojang Sega Microsoft Studios Team Ninja Atari Interactive Square Enix Europe Daybreak Game Company Omega Force
Mojang Sega Microsoft Studios
action greater
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type profession
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Harmonix Music Systems
relation subsidiary
type business enterprise
type type of business entity
[[{'concept': 'business enterprise'}, {'concept': 'type of business entity'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:subsidiary resource:Harmonix_Music_Systems . { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:type_of_business_entity ) ( ontology:business_enterprise ) } } } } . FILTER ( ?y > ?f ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?w WHERE { { ?d property:subsidiary ?w . ?w rdf:type ontology:profession . ?d rdf:type ontology:business_enterprise } UNION { ?d property:subsidiary ?w . ?w rdf:type ontology:profession . ?d rdf:type ontology:type_of_business_entity } } GROUP BY ?w } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P127
Q502895 Q4830453 Q28640
USER
Which professions are owned by greater number of people and business enterprises than that profession ?
(c(Q28640),P127,c(Q502895)|c(Q4830453))
[{'concept': 'Q28640'}, 'P127', [{'concept': 'Q502895'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P127 ?y } UNION { ?z property:P127 ?x } } . ?z rdf:type ontology:Q28640 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q4830453 }
[{'concept': 'profession'}, 'owned by', [{'concept': 'common name'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:owned_by ?y } UNION { ?z property:owned_by ?x } } . ?z rdf:type ontology:profession . ?y rdf:type ontology:common_name . ?x rdf:type ontology:business_enterprise }
[]
common name business enterprise profession
Comparative|More/Less|Mult. entity type|Clarification
Q73801
SYSTEM
Did you mean Microsoft Studios ?
(c(Q28640),P127,c(Q502895)|c(Q4830453))
[ANSWER]
[{'concept': 'Q28640'}, 'P127', [{'concept': 'Q502895'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P127 ?y } UNION { ?z property:P127 ?x } } . ?z rdf:type ontology:Q28640 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q4830453 }
Did you mean Microsoft Studios ?
Microsoft Studios
[{'concept': 'profession'}, 'owned by', [{'concept': 'common name'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:owned_by ?y } UNION { ?z property:owned_by ?x } } . ?z rdf:type ontology:profession . ?y rdf:type ontology:common_name . ?x rdf:type ontology:business_enterprise }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q28640),P127,c(Q502895)|c(Q4830453))
[{'concept': 'Q28640'}, 'P127', [{'concept': 'Q502895'}, {'concept': 'Q4830453'}]]
[{'concept': 'profession'}, 'owned by', [{'concept': 'common name'}, {'concept': 'business enterprise'}]]
[]
SYSTEM
12
Q1251435 Q970264 Q18416053 Q1098120 Q122741 Q959672 Q17747126 Q7883635 Q294587 Q731482 Q5972861 Q1328536
(c(Q28640),P127,c(Q502895)|c(Q4830453))
[ANSWER]
[{'concept': 'Q28640'}, 'P127', [{'concept': 'Q502895'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P127 ?y } UNION { ?z property:P127 ?x } } . ?z rdf:type ontology:Q28640 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q4830453 }
Double Fine Productions Neversoft Amplitude Studios High Moon Studios Sega Daybreak Game Company Fox Digital Entertainment Underground Development Sega AM2 Infinity Ward IOMO Sega Studios San Francisco
12
[{'concept': 'profession'}, 'owned by', [{'concept': 'common name'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:owned_by ?y } UNION { ?z property:owned_by ?x } } . ?z rdf:type ontology:profession . ?y rdf:type ontology:common_name . ?x rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q73801
P178
Q166142
USER
Which applications were created by Microsoft Studios ?
(c(Q166142),P178,Q73801)
action filter_type
action find_reverse
entity Q73801
relation P178
type Q166142
[{'concept': 'Q166142'}, 'P178', 'Q73801']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q166142 . ?b property:P178 resource:Q73801 }
Microsoft Studios
action filter_type
action find_reverse
entity Microsoft Studios
relation developer
type application
[{'concept': 'application'}, 'developer', 'Microsoft Studios']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:application . ?b property:developer resource:Microsoft_Studios }
[]
application
Q18119586 Q6840086 Q20010139
SYSTEM
Age of Empires: Castle Siege, Microsoft Baseball 2001, Combat Flight Simulator WWII Europe Series
Q2302370 Q3285763 Q2734257 Q6840086 Q3641063 Q16267852 Q5508082 Q1995146 Q511615 Q20010139 Q18119586 Q4348691 Q6953723 Q2984708 Q2813524
(c(Q166142),P178,Q73801)
action filter_type
action find_reverse
entity Q73801
relation P178
type Q166142
[ANSWERS] were created by Microsoft Studios
[{'concept': 'Q166142'}, 'P178', 'Q73801']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q166142 . ?b property:P178 resource:Q73801 }
Microsoft Flight Phantom Dust Combat Flight Simulator 2 Microsoft Baseball 2001 Bloodforge NFL Fever 2003 Full House Poker Microsoft Flight Simulator X Kinect Sesame Street TV Combat Flight Simulator WWII Europe Series Age of Empires: Castle Siege Flight Simulator 2004: A Century of Flight NFL Fever 2002 Combat Flight Simulator 3: Battle for Europe 1 vs. 100
Age of Empires: Castle Siege, Microsoft Baseball 2001 and Combat Flight Simulator WWII Europe Series were created by Microsoft Studios
Age of Empires: Castle Siege Microsoft Baseball 2001 Combat Flight Simulator WWII Europe Series
action filter_type
action find_reverse
entity Microsoft Studios
relation developer
type application
[{'concept': 'application'}, 'developer', 'Microsoft Studios']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:application . ?b property:developer resource:Microsoft_Studios }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18119586
P123
Q28640
USER
Which profession released that application ?
(Q18119586,P123,c(Q28640))
action filter_type
action find
entity Q18119586
relation P123
type Q28640
['Q18119586', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q28640 . resource:Q18119586 property:P123 ?s }
Age of Empires: Castle Siege
action filter_type
action find
entity Age of Empires: Castle Siege
relation publisher
type profession
['Age of Empires: Castle Siege', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:profession . resource:Age_of_Empires:_Castle_Siege property:publisher ?s }
[]
profession
Clarification for simple ques.
Q18119586
SYSTEM
Did you mean Age of Empires: Castle Siege ?
Q18119586 Q6840086 Q20010139
(Q18119586,P123,c(Q28640)) (Q6840086,P123,c(Q28640)) (Q20010139,P123,c(Q28640))
[ANSWER]
['Q18119586', 'P123', {'concept': 'Q28640'}] ['Q6840086', 'P123', {'concept': 'Q28640'}] ['Q20010139', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q28640 . resource:Q18119586 property:P123 ?s }
Age of Empires: Castle Siege Microsoft Baseball 2001 Combat Flight Simulator WWII Europe Series
Did you mean Age of Empires: Castle Siege ?
Age of Empires: Castle Siege
['Age of Empires: Castle Siege', 'publisher', {'concept': 'profession'}] ['Microsoft Baseball 2001', 'publisher', {'concept': 'profession'}] ['Combat Flight Simulator WWII Europe Series', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:profession . resource:Age_of_Empires:_Castle_Siege property:publisher ?s }
[]
Simple Question (Coreferenced)
USER
Yes
(Q18119586,P123,c(Q28640))
['Q18119586', 'P123', {'concept': 'Q28640'}]
['Age of Empires: Castle Siege', 'publisher', {'concept': 'profession'}]
[]
Q73801
SYSTEM
Microsoft Studios
Q73801
(Q18119586,P123,c(Q28640))
action filter_type
action find
entity Q18119586
relation P123
type Q28640
[ANSWER] released that application
['Q18119586', 'P123', {'concept': 'Q28640'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q28640 . resource:Q18119586 property:P123 ?s }
Microsoft Studios
Microsoft Studios released that application
Microsoft Studios
action filter_type
action find
entity Age of Empires: Castle Siege
relation publisher
type profession
['Age of Empires: Castle Siege', 'publisher', {'concept': 'profession'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:profession . resource:Age_of_Empires:_Castle_Siege property:publisher ?s }
[]