Simple Question (Direct)
Simple Question
Q7734901
P58
Q502895
USER
Who was the screenwriter for The Fortunes of Fifi ?
(Q7734901,P58,c(Q502895))
action filter_type
action find
entity Q7734901
relation P58
type Q502895
['Q7734901', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q7734901 property:P58 ?g }
The Fortunes of Fifi
action filter_type
action find
entity The Fortunes of Fifi
relation screenwriter
type common name
['The Fortunes of Fifi', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:The_Fortunes_of_Fifi property:screenwriter ?g }
[]
common name
Q3061364
SYSTEM
Eve Unsell
Q3061364
(Q7734901,P58,c(Q502895))
action filter_type
action find
entity Q7734901
relation P58
type Q502895
The screenwriter for The Fortunes of Fifi was to [ANSWER]
['Q7734901', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q7734901 property:P58 ?g }
Eve Unsell
The screenwriter for The Fortunes of Fifi was to Eve Unsell
Eve Unsell
action filter_type
action find
entity The Fortunes of Fifi
relation screenwriter
type common name
['The Fortunes of Fifi', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:The_Fortunes_of_Fifi property:screenwriter ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7734901
P793
Q838948
USER
Which significant event is The Fortunes of Fifi associated with ?
(Q7734901,P793,c(Q838948))
action filter_type
action find
entity Q7734901
relation P793
type Q838948
['Q7734901', 'P793', {'concept': 'Q838948'}]
SELECT DISTINCT ?z WHERE { resource:Q7734901 property:P793 ?z . ?z rdf:type ontology:Q838948 }
The Fortunes of Fifi
action filter_type
action find
entity The Fortunes of Fifi
relation significant event
type work of art
['The Fortunes of Fifi', 'significant event', {'concept': 'work of art'}]
SELECT DISTINCT ?z WHERE { resource:The_Fortunes_of_Fifi property:significant_event ?z . ?z rdf:type ontology:work_of_art }
[]
work of art
Q1268687
SYSTEM
lost film
Q1268687
(Q7734901,P793,c(Q838948))
action filter_type
action find
entity Q7734901
relation P793
type Q838948
The Fortunes of Fifi is associated with [ANSWER]
['Q7734901', 'P793', {'concept': 'Q838948'}]
SELECT DISTINCT ?z WHERE { resource:Q7734901 property:P793 ?z . ?z rdf:type ontology:Q838948 }
lost film
The Fortunes of Fifi is associated with lost film
lost film
action filter_type
action find
entity The Fortunes of Fifi
relation significant event
type work of art
['The Fortunes of Fifi', 'significant event', {'concept': 'work of art'}]
SELECT DISTINCT ?z WHERE { resource:The_Fortunes_of_Fifi property:significant_event ?z . ?z rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1268687
P136
Q201658
USER
Which film genre as that work of art as its type ?
(c(Q201658),P136,Q1268687)
action filter_type
action find_reverse
entity Q1268687
relation P136
type Q201658
[{'concept': 'Q201658'}, 'P136', 'Q1268687']
SELECT DISTINCT ?k WHERE { ?k property:P136 resource:Q1268687 . ?k rdf:type ontology:Q201658 }
lost film
action filter_type
action find_reverse
entity lost film
relation genre
type film genre
[{'concept': 'film genre'}, 'genre', 'lost film']
SELECT DISTINCT ?k WHERE { ?k property:genre resource:lost_film . ?k rdf:type ontology:film_genre }
[]
film genre
Q1109750
SYSTEM
The Patriot
Q1109750
(c(Q201658),P136,Q1268687)
action filter_type
action find_reverse
entity Q1268687
relation P136
type Q201658
[ANSWER]
[{'concept': 'Q201658'}, 'P136', 'Q1268687']
SELECT DISTINCT ?k WHERE { ?k property:P136 resource:Q1268687 . ?k rdf:type ontology:Q201658 }
The Patriot
The Patriot
action filter_type
action find_reverse
entity lost film
relation genre
type film genre
[{'concept': 'film genre'}, 'genre', 'lost film']
SELECT DISTINCT ?k WHERE { ?k property:genre resource:lost_film . ?k rdf:type ontology:film_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1109750 Q30
P495
Q15617994
USER
Is United States of America the country of origin of The Patriot ?
(Q1109750,P495,Q30)
action is_in
entity Q30
action find
entity Q1109750
relation P495
['Q1109750', 'P495', 'Q30']
ASK WHERE { resource:Q1109750 property:P495 resource:Q30 }
The Patriot United States of America
action is_in
entity United States of America
action find
entity The Patriot
relation country of origin
['The Patriot', 'country of origin', 'United States of America']
ASK WHERE { resource:The_Patriot property:country_of_origin resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1109750,P495,Q30)
action is_in
entity Q30
action find
entity Q1109750
relation P495
[ANSWER]
['Q1109750', 'P495', 'Q30']
ASK WHERE { resource:Q1109750 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity The Patriot
relation country of origin
['The Patriot', 'country of origin', 'United States of America']
ASK WHERE { resource:The_Patriot property:country_of_origin resource:United_States_of_America }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q838948 Q386724
USER
Which works represents a fictional universe described in max number of works of art ?
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?w ) WHERE { ?m property:P1445 ?r . ?m rdf:type ontology:Q386724 . ?r rdf:type ontology:Q838948 } GROUP BY ?m } . FILTER ( ?w = ?o ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?o ) { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?z ) WHERE { ?k property:P1445 ?n . ?k rdf:type ontology:Q386724 . ?n rdf:type ontology:Q838948 } GROUP BY ?k } } }
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?w ) WHERE { ?m property:fictional_universe_described_in ?r . ?m rdf:type ontology:work . ?r rdf:type ontology:work_of_art } GROUP BY ?m } . FILTER ( ?w = ?o ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?o ) { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?z ) WHERE { ?k property:fictional_universe_described_in ?n . ?k rdf:type ontology:work . ?n rdf:type ontology:work_of_art } GROUP BY ?k } } }
[]
work of art work
Q384426
SYSTEM
Pirates of the Caribbean
Q384426
(c(Q386724),P1445,c(Q838948))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[ANSWER] represents a fictional universe described in max number of works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?w ) WHERE { ?m property:P1445 ?r . ?m rdf:type ontology:Q386724 . ?r rdf:type ontology:Q838948 } GROUP BY ?m } . FILTER ( ?w = ?o ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?o ) { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?z ) WHERE { ?k property:P1445 ?n . ?k rdf:type ontology:Q386724 . ?n rdf:type ontology:Q838948 } GROUP BY ?k } } }
Pirates of the Caribbean
Pirates of the Caribbean represents a fictional universe described in max number of works of art
Pirates of the Caribbean
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?w ) WHERE { ?m property:fictional_universe_described_in ?r . ?m rdf:type ontology:work . ?r rdf:type ontology:work_of_art } GROUP BY ?m } . FILTER ( ?w = ?o ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?o ) { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?z ) WHERE { ?k property:fictional_universe_described_in ?n . ?k rdf:type ontology:work . ?n rdf:type ontology:work_of_art } GROUP BY ?k } } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q384426 Q6946208 Q46717
P1445
Q838948
USER
Is that work set up by My Only Ü and Pirates of the Caribbean: The Curse of the Black Pearl ?
(Q384426,P1445,Q6946208) (Q384426,P1445,Q46717)
action is_in
entity Q384426
action intersection
action find_reverse
entity Q6946208
relation P1445
action find_reverse
entity Q46717
relation P1445
['Q384426', 'P1445', 'Q6946208'] ['Q384426', 'P1445', 'Q46717']
ASK WHERE { resource:Q384426 property:P1445 resource:Q46717 . resource:Q384426 property:P1445 resource:Q6946208 }
Pirates of the Caribbean My Only Ü Pirates of the Caribbean: The Curse of the Black Pearl
action is_in
entity Pirates of the Caribbean
action intersection
action find_reverse
entity My Only Ü
relation fictional universe described in
action find_reverse
entity Pirates of the Caribbean: The Curse of the Black Pearl
relation fictional universe described in
['Pirates of the Caribbean', 'fictional universe described in', 'My Only Ü'] ['Pirates of the Caribbean', 'fictional universe described in', 'Pirates of the Caribbean: The Curse of the Black Pearl']
ASK WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:Pirates_of_the_Caribbean:_The_Curse_of_the_Black_Pearl . resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:My_Only_Ü }
[]
work of art
SYSTEM
NO and YES respectively
(Q384426,P1445,Q6946208) (Q384426,P1445,Q46717)
action is_in
entity Q384426
action intersection
action find_reverse
entity Q6946208
relation P1445
action find_reverse
entity Q46717
relation P1445
[ANSWER]
['Q384426', 'P1445', 'Q6946208'] ['Q384426', 'P1445', 'Q46717']
ASK WHERE { resource:Q384426 property:P1445 resource:Q46717 . resource:Q384426 property:P1445 resource:Q6946208 }
NO and YES respectively
action is_in
entity Pirates of the Caribbean
action intersection
action find_reverse
entity My Only Ü
relation fictional universe described in
action find_reverse
entity Pirates of the Caribbean: The Curse of the Black Pearl
relation fictional universe described in
['Pirates of the Caribbean', 'fictional universe described in', 'My Only Ü'] ['Pirates of the Caribbean', 'fictional universe described in', 'Pirates of the Caribbean: The Curse of the Black Pearl']
ASK WHERE { resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:Pirates_of_the_Caribbean:_The_Curse_of_the_Black_Pearl . resource:Pirates_of_the_Caribbean property:fictional_universe_described_in resource:My_Only_Ü }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1109750
P136
Q838948 Q1792379
USER
How many works of art or art genres can be considered as genre of The Patriot ?
(Q1109750,P136,c(Q838948)) (Q1109750,P136,c(Q1792379))
action count
action union
action filter_type
action find
entity Q1109750
relation P136
type Q838948
action filter_type
action find
entity Q1109750
relation P136
type Q1792379
['Q1109750', 'P136', {'concept': 'Q838948'}] ['Q1109750', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ?j . VALUES ( ?j ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } }
The Patriot
action count
action union
action filter_type
action find
entity The Patriot
relation genre
type work of art
action filter_type
action find
entity The Patriot
relation genre
type art genre
['The Patriot', 'genre', {'concept': 'work of art'}] ['The Patriot', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ?j . VALUES ( ?j ) { ( ontology:work_of_art ) ( ontology:art_genre ) } }
[]
work of art art genre
SYSTEM
6
Q1268687 Q652256 Q226730 Q7168625 Q645928 Q130232
(Q1109750,P136,c(Q838948)) (Q1109750,P136,c(Q1792379))
action count
action union
action filter_type
action find
entity Q1109750
relation P136
type Q838948
action filter_type
action find
entity Q1109750
relation P136
type Q1792379
[ANSWER]
['Q1109750', 'P136', {'concept': 'Q838948'}] ['Q1109750', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ?j . VALUES ( ?j ) { ( ontology:Q838948 ) ( ontology:Q1792379 ) } }
lost film epic film silent film historical period drama biographical film drama film
6
action count
action union
action filter_type
action find
entity The Patriot
relation genre
type work of art
action filter_type
action find
entity The Patriot
relation genre
type art genre
['The Patriot', 'genre', {'concept': 'work of art'}] ['The Patriot', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a rdf:type ?j . VALUES ( ?j ) { ( ontology:work_of_art ) ( ontology:art_genre ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1109750
P1040
Q502895
USER
Who is the editor of that film genre ?
action filter_type
action find
entity Q1109750
relation P1040
type Q502895
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q1109750 property:P1040 ?x }
The Patriot
action filter_type
action find
entity The Patriot
relation film editor
type common name
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:The_Patriot property:film_editor ?x }
[]
common name
Q51562
SYSTEM
Ernst Lubitsch
Q51562
action filter_type
action find
entity Q1109750
relation P1040
type Q502895
The editor of that film genre is the [ANSWER]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q1109750 property:P1040 ?x }
Ernst Lubitsch
The editor of that film genre is the Ernst Lubitsch
Ernst Lubitsch
action filter_type
action find
entity The Patriot
relation film editor
type common name
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:The_Patriot property:film_editor ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q626035
P1303
Q34379 Q502895
USER
How many musical instruments can approximately the same number of people perform with as glockenspiel ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q626035
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { FILTER ( ?k = ?i ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q626035 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?k ) WHERE { ?p rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 . ?u property:P1303 ?p } GROUP BY ?p } }
glockenspiel
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity glockenspiel
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { FILTER ( ?k = ?i ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:glockenspiel property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?k ) WHERE { ?p rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name . ?u property:instrument ?p } GROUP BY ?p } }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q626035
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { FILTER ( ?k = ?i ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:Q626035 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?k ) WHERE { ?p rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 . ?u property:P1303 ?p } GROUP BY ?p } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity glockenspiel
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { FILTER ( ?k = ?i ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { resource:glockenspiel property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?p ( COUNT ( ?u ) AS ?k ) WHERE { ?p rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name . ?u property:instrument ?p } GROUP BY ?p } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3538419 Q7734901
P495
Q15617994
USER
Which administrative territories are the origin of The Fortunes of Fifi or Treme Brass Band ?
OR((Q7734901,P495,c(Q15617994)), (Q3538419,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q7734901
relation P495
action find
entity Q3538419
relation P495
type Q15617994
{'OR': [['Q7734901', 'P495', {'concept': 'Q15617994'}], ['Q3538419', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { ?x property:P495 ?p . VALUES ( ?x ) { ( resource:Q3538419 ) ( resource:Q7734901 ) } } . ?p rdf:type ontology:Q15617994 }
Treme Brass Band The Fortunes of Fifi
action filter_type
action union
action find
entity The Fortunes of Fifi
relation country of origin
action find
entity Treme Brass Band
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Fortunes of Fifi', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Treme Brass Band', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?x property:country_of_origin ?p . VALUES ( ?x ) { ( resource:Treme_Brass_Band ) ( resource:The_Fortunes_of_Fifi ) } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q7734901,P495,c(Q15617994)), (Q3538419,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q7734901
relation P495
action find
entity Q3538419
relation P495
type Q15617994
[ANSWER] is the origin of The Fortunes of Fifi or Treme Brass Band
{'OR': [['Q7734901', 'P495', {'concept': 'Q15617994'}], ['Q3538419', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { ?x property:P495 ?p . VALUES ( ?x ) { ( resource:Q3538419 ) ( resource:Q7734901 ) } } . ?p rdf:type ontology:Q15617994 }
United States of America
United States of America is the origin of The Fortunes of Fifi or Treme Brass Band
United States of America
action filter_type
action union
action find
entity The Fortunes of Fifi
relation country of origin
action find
entity Treme Brass Band
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Fortunes of Fifi', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Treme Brass Band', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { ?x property:country_of_origin ?p . VALUES ( ?x ) { ( resource:Treme_Brass_Band ) ( resource:The_Fortunes_of_Fifi ) } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q94972
P47
Q15617994
USER
Does Monzuno have a shared border with that one ?
(Q30,P47,Q94972)
action is_in
entity Q94972
action find
entity Q30
relation P47
['Q30', 'P47', 'Q94972']
ASK WHERE { resource:Q30 property:P47 resource:Q94972 }
United States of America Monzuno
action is_in
entity Monzuno
action find
entity United States of America
relation shares border with
['United States of America', 'shares border with', 'Monzuno']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Monzuno }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q30,P47,Q94972)
action is_in
entity Q94972
action find
entity Q30
relation P47
[ANSWER]
['Q30', 'P47', 'Q94972']
ASK WHERE { resource:Q30 property:P47 resource:Q94972 }
No
action is_in
entity Monzuno
action find
entity United States of America
relation shares border with
['United States of America', 'shares border with', 'Monzuno']
ASK WHERE { resource:United_States_of_America property:shares_border_with resource:Monzuno }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6895044 Q46717
P404 P144
Q166142
USER
Which applications build on Pirates of the Caribbean: The Curse of the Black Pearl and contain multiplayer video game as a supported game mode ?
AND((c(Q166142),P144,Q46717), (c(Q166142),P404,Q6895044))
action filter_type
action intersection
action find_reverse
entity Q46717
relation P144
action find_reverse
entity Q6895044
relation P404
type Q166142
{'AND': [[{'concept': 'Q166142'}, 'P144', 'Q46717'], [{'concept': 'Q166142'}, 'P404', 'Q6895044']]}
SELECT DISTINCT ?r WHERE { ?r property:P144 resource:Q46717 . ?r property:P404 resource:Q6895044 . ?r rdf:type ontology:Q166142 }
multiplayer video game Pirates of the Caribbean: The Curse of the Black Pearl
action filter_type
action intersection
action find_reverse
entity Pirates of the Caribbean: The Curse of the Black Pearl
relation based on
action find_reverse
entity multiplayer video game
relation game mode
type application
{'AND': [[{'concept': 'application'}, 'based on', 'Pirates of the Caribbean: The Curse of the Black Pearl'], [{'concept': 'application'}, 'game mode', 'multiplayer video game']]}
SELECT DISTINCT ?r WHERE { ?r property:based_on resource:Pirates_of_the_Caribbean:_The_Curse_of_the_Black_Pearl . ?r property:game_mode resource:multiplayer_video_game . ?r rdf:type ontology:application }
[]
application
Q2474250
SYSTEM
Pirates of the Caribbean: The Legend of Jack Sparrow
Q2474250
AND((c(Q166142),P144,Q46717), (c(Q166142),P404,Q6895044))
action filter_type
action intersection
action find_reverse
entity Q46717
relation P144
action find_reverse
entity Q6895044
relation P404
type Q166142
[ANSWER] build on Pirates of the Caribbean: The Curse of the Black Pearl and contain multiplayer video game as a supported game mode
{'AND': [[{'concept': 'Q166142'}, 'P144', 'Q46717'], [{'concept': 'Q166142'}, 'P404', 'Q6895044']]}
SELECT DISTINCT ?r WHERE { ?r property:P144 resource:Q46717 . ?r property:P404 resource:Q6895044 . ?r rdf:type ontology:Q166142 }
Pirates of the Caribbean: The Legend of Jack Sparrow
Pirates of the Caribbean: The Legend of Jack Sparrow build on Pirates of the Caribbean: The Curse of the Black Pearl and contain multiplayer video game as a supported game mode
Pirates of the Caribbean: The Legend of Jack Sparrow
action filter_type
action intersection
action find_reverse
entity Pirates of the Caribbean: The Curse of the Black Pearl
relation based on
action find_reverse
entity multiplayer video game
relation game mode
type application
{'AND': [[{'concept': 'application'}, 'based on', 'Pirates of the Caribbean: The Curse of the Black Pearl'], [{'concept': 'application'}, 'game mode', 'multiplayer video game']]}
SELECT DISTINCT ?r WHERE { ?r property:based_on resource:Pirates_of_the_Caribbean:_The_Curse_of_the_Black_Pearl . ?r property:game_mode resource:multiplayer_video_game . ?r rdf:type ontology:application }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2474250
P178
Q28640
USER
Who developed that application ?
(Q2474250,P178,c(Q28640))
action filter_type
action find
entity Q2474250
relation P178
type Q28640
['Q2474250', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q28640 . resource:Q2474250 property:P178 ?o }
Pirates of the Caribbean: The Legend of Jack Sparrow
action filter_type
action find
entity Pirates of the Caribbean: The Legend of Jack Sparrow
relation developer
type profession
['Pirates of the Caribbean: The Legend of Jack Sparrow', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:profession . resource:Pirates_of_the_Caribbean:_The_Legend_of_Jack_Sparrow property:developer ?o }
[]
profession
Q1229035
SYSTEM
Disney Interactive Studios
Q1229035
(Q2474250,P178,c(Q28640))
action filter_type
action find
entity Q2474250
relation P178
type Q28640
[ANSWER] developed that application
['Q2474250', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q28640 . resource:Q2474250 property:P178 ?o }
Disney Interactive Studios
Disney Interactive Studios developed that application
Disney Interactive Studios
action filter_type
action find
entity Pirates of the Caribbean: The Legend of Jack Sparrow
relation developer
type profession
['Pirates of the Caribbean: The Legend of Jack Sparrow', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:profession . resource:Pirates_of_the_Caribbean:_The_Legend_of_Jack_Sparrow property:developer ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1229035
P159
Q56061
USER
Where is the head office for that profession located ?
(Q1229035,P159,c(Q56061))
action filter_type
action find
entity Q1229035
relation P159
type Q56061
['Q1229035', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1229035 property:P159 ?v . ?v rdf:type ontology:Q56061 }
Disney Interactive Studios
action filter_type
action find
entity Disney Interactive Studios
relation headquarters location
type administrative territorial entity
['Disney Interactive Studios', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Disney_Interactive_Studios property:headquarters_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q485716
SYSTEM
Glendale
Q485716
(Q1229035,P159,c(Q56061))
action filter_type
action find
entity Q1229035
relation P159
type Q56061
The head office for that profession is located in [ANSWER]
['Q1229035', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1229035 property:P159 ?v . ?v rdf:type ontology:Q56061 }
Glendale
The head office for that profession is located in Glendale
Glendale
action filter_type
action find
entity Disney Interactive Studios
relation headquarters location
type administrative territorial entity
['Disney Interactive Studios', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Disney_Interactive_Studios property:headquarters_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1229035
P452
Q268592
USER
Which industry does Disney Interactive Studios belong to ?
(Q1229035,P452,c(Q268592))
action filter_type
action find
entity Q1229035
relation P452
type Q268592
['Q1229035', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?o WHERE { resource:Q1229035 property:P452 ?o . ?o rdf:type ontology:Q268592 }
Disney Interactive Studios
action filter_type
action find
entity Disney Interactive Studios
relation industry
type economic branch
['Disney Interactive Studios', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?o WHERE { resource:Disney_Interactive_Studios property:industry ?o . ?o rdf:type ontology:economic_branch }
[]
economic branch
Q941594
SYSTEM
video game industry
Q941594
(Q1229035,P452,c(Q268592))
action filter_type
action find
entity Q1229035
relation P452
type Q268592
Disney Interactive Studios belongs to [ANSWER]
['Q1229035', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?o WHERE { resource:Q1229035 property:P452 ?o . ?o rdf:type ontology:Q268592 }
video game industry
Disney Interactive Studios belongs to video game industry
video game industry
action filter_type
action find
entity Disney Interactive Studios
relation industry
type economic branch
['Disney Interactive Studios', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?o WHERE { resource:Disney_Interactive_Studios property:industry ?o . ?o rdf:type ontology:economic_branch }
[]