Simple Question (Direct)
Simple Question
Q3713721
P641
Q349
USER
Which sport was Donatello Gasparini a part of ?
(Q3713721,P641,c(Q349))
action filter_type
action find
entity Q3713721
relation P641
type Q349
['Q3713721', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3713721 property:P641 ?o . ?o rdf:type ontology:Q349 }
Donatello Gasparini
action filter_type
action find
entity Donatello Gasparini
relation sport
type sport
['Donatello Gasparini', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Donatello_Gasparini property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3713721,P641,c(Q349))
action filter_type
action find
entity Q3713721
relation P641
type Q349
Which sport was Donatello Gasparini a part of
['Q3713721', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3713721 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Which sport was Donatello Gasparini a part of
association football
action filter_type
action find
entity Donatello Gasparini
relation sport
type sport
['Donatello Gasparini', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Donatello_Gasparini property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3713721
P106
Q12737077
USER
What does Donatello Gasparini do for a living ?
(Q3713721,P106,c(Q12737077))
action filter_type
action find
entity Q3713721
relation P106
type Q12737077
['Q3713721', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3713721 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Donatello Gasparini
action filter_type
action find
entity Donatello Gasparini
relation occupation
type occupation
['Donatello Gasparini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Donatello_Gasparini property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3713721,P106,c(Q12737077))
action filter_type
action find
entity Q3713721
relation P106
type Q12737077
[ANSWER] Donatello Gasparini does for a living
['Q3713721', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3713721 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
Association football player Donatello Gasparini does for a living
association football player
action filter_type
action find
entity Donatello Gasparini
relation occupation
type occupation
['Donatello Gasparini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Donatello_Gasparini property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3032934 Q3713721
P19
Q56061
USER
Which administrative territories are the birthplace of Donatello Gasparini or Djibril Diawara ?
OR((Q3713721,P19,c(Q56061)), (Q3032934,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3713721
relation P19
action find
entity Q3032934
relation P19
type Q56061
{'OR': [['Q3713721', 'P19', {'concept': 'Q56061'}], ['Q3032934', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q3713721 property:P19 ?g } UNION { resource:Q3032934 property:P19 ?g } } . ?g rdf:type ontology:Q56061 }
Djibril Diawara Donatello Gasparini
action filter_type
action union
action find
entity Donatello Gasparini
relation place of birth
action find
entity Djibril Diawara
relation place of birth
type administrative territorial entity
{'OR': [['Donatello Gasparini', 'place of birth', {'concept': 'administrative territorial entity'}], ['Djibril Diawara', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Donatello_Gasparini property:place_of_birth ?g } UNION { resource:Djibril_Diawara property:place_of_birth ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3718 Q495
SYSTEM
Dakar, Turin
Q3718 Q495
OR((Q3713721,P19,c(Q56061)), (Q3032934,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3713721
relation P19
action find
entity Q3032934
relation P19
type Q56061
[ANSWERS] are the birthplace of Donatello Gasparini or Djibril Diawara
{'OR': [['Q3713721', 'P19', {'concept': 'Q56061'}], ['Q3032934', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q3713721 property:P19 ?g } UNION { resource:Q3032934 property:P19 ?g } } . ?g rdf:type ontology:Q56061 }
Dakar Turin
Dakar and Turin are the birthplace of Donatello Gasparini or Djibril Diawara
Dakar Turin
action filter_type
action union
action find
entity Donatello Gasparini
relation place of birth
action find
entity Djibril Diawara
relation place of birth
type administrative territorial entity
{'OR': [['Donatello Gasparini', 'place of birth', {'concept': 'administrative territorial entity'}], ['Djibril Diawara', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Donatello_Gasparini property:place_of_birth ?g } UNION { resource:Djibril_Diawara property:place_of_birth ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6872212 Q3713721
P27
Q15617994
USER
Which administrative territories are Donatello Gasparini or Mira Klobučar an inhabitant of ?
OR((Q3713721,P27,c(Q15617994)), (Q6872212,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3713721
relation P27
action find
entity Q6872212
relation P27
type Q15617994
{'OR': [['Q3713721', 'P27', {'concept': 'Q15617994'}], ['Q6872212', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q6872212 property:P27 ?f } UNION { resource:Q3713721 property:P27 ?f } } }
Mira Klobučar Donatello Gasparini
action filter_type
action union
action find
entity Donatello Gasparini
relation country of citizenship
action find
entity Mira Klobučar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Donatello Gasparini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mira Klobučar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Mira_Klobučar property:country_of_citizenship ?f } UNION { resource:Donatello_Gasparini property:country_of_citizenship ?f } } }
[]
designation for an administrative territorial entity
Q224 Q38
SYSTEM
Croatia, Italy
Q224 Q38
OR((Q3713721,P27,c(Q15617994)), (Q6872212,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3713721
relation P27
action find
entity Q6872212
relation P27
type Q15617994
[ANSWERS] are Donatello Gasparini or Mira Klobučar an inhabitant of
{'OR': [['Q3713721', 'P27', {'concept': 'Q15617994'}], ['Q6872212', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q6872212 property:P27 ?f } UNION { resource:Q3713721 property:P27 ?f } } }
Croatia Italy
Croatia and Italy are Donatello Gasparini or Mira Klobučar an inhabitant of
Croatia Italy
action filter_type
action union
action find
entity Donatello Gasparini
relation country of citizenship
action find
entity Mira Klobučar
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Donatello Gasparini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mira Klobučar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Mira_Klobučar property:country_of_citizenship ?f } UNION { resource:Donatello_Gasparini property:country_of_citizenship ?f } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q30 Q224
P27
Q502895
USER
Which people are civilians of Croatia and United States of America ?
AND((c(Q502895),P27,Q224), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q224
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q224'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P27 resource:Q30 . ?w property:P27 resource:Q224 }
United States of America Croatia
action filter_type
action intersection
action find_reverse
entity Croatia
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Croatia'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:country_of_citizenship resource:United_States_of_America . ?w property:country_of_citizenship resource:Croatia }
[]
common name
Q7617716 Q3816470 Q1242161 Q3446303 Q7281591 Q2777876 Q13850958 Q453133
SYSTEM
Stjepan Meštrović, Korel Engin, Dontaye Draper, Korie Hlede, Radoslav Lorković, Lisa Ann Karčić, Bernarda Pera, Mia Čorak Slavenska
Q7617716 Q3816470 Q1242161 Q3446303 Q7281591 Q2777876 Q13850958 Q453133
AND((c(Q502895),P27,Q224), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q224
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] are civilians of Croatia and United States of America
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q224'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P27 resource:Q30 . ?w property:P27 resource:Q224 }
Stjepan Meštrović Korel Engin Dontaye Draper Korie Hlede Radoslav Lorković Lisa Ann Karčić Bernarda Pera Mia Čorak Slavenska
Stjepan Meštrović, Korel Engin, Dontaye Draper, Korie Hlede, Radoslav Lorković, Lisa Ann Karčić, Bernarda Pera and Mia Čorak Slavenska are civilians of Croatia and United States of America
Stjepan Meštrović Korel Engin Dontaye Draper Korie Hlede Radoslav Lorković Lisa Ann Karčić Bernarda Pera Mia Čorak Slavenska
action filter_type
action intersection
action find_reverse
entity Croatia
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Croatia'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:country_of_citizenship resource:United_States_of_America . ?w property:country_of_citizenship resource:Croatia }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q909740
P725
Q502895 Q11424
USER
Which films did lesser number of people dub for than Krabat – The Sorcerer's Apprentice ?
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q909740
relation P725
type Q502895
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?v ) WHERE { ?y property:P725 ?x . ?y rdf:type ontology:Q11424 . ?x rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Q909740 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?v < ?i ) }
Krabat – The Sorcerer's Apprentice
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Krabat – The Sorcerer's Apprentice
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?v ) WHERE { ?y property:voice_actor ?x . ?y rdf:type ontology:film . ?x rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Krabat_–_The_Sorcerer's_Apprentice property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?v < ?i ) }
[]
common name film
Q943192 Q785363 Q1361113
SYSTEM
Fantasia, The Time Masters, Pooh's Heffalump Movie
Q1138751 Q2918397 Q785363 Q1656435 Q943192 Q1361113 Q2299779 Q1195096
(c(Q11424),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q909740
relation P725
type Q502895
[ANSWERS] lesser number of people dubbed for than Krabat – The Sorcerer's Apprentice
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?v ) WHERE { ?y property:P725 ?x . ?y rdf:type ontology:Q11424 . ?x rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Q909740 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?v < ?i ) }
The Plague Dogs The Bugs Bunny/Road Runner Movie The Time Masters Ico, the Brave Horse Fantasia Pooh's Heffalump Movie Animal Farms Havoc in Heaven
Fantasia, The Time Masters and Pooh's Heffalump Movie lesser number of people dubbed for than Krabat – The Sorcerer's Apprentice
Fantasia The Time Masters Pooh's Heffalump Movie
action less
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Krabat – The Sorcerer's Apprentice
relation voice actor
type common name
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?v ) WHERE { ?y property:voice_actor ?x . ?y rdf:type ontology:film . ?x rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { resource:Krabat_–_The_Sorcerer's_Apprentice property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?v < ?i ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P1441
Q11424 Q15619164 Q6619679
USER
How many films do more number of abstract beings or fictional humanoids appear than that film ?
(c(Q15619164)|c(Q6619679),P1441,c(Q11424))
[[{'concept': 'Q15619164'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1441 ?y } UNION { ?x property:P1441 ?y } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q11424 . ?x rdf:type ontology:Q6619679 }
[[{'concept': 'abstract being'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'film'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:present_in_work ?y } UNION { ?x property:present_in_work ?y } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:film . ?x rdf:type ontology:fictional_humanoid }
[]
film abstract being fictional humanoid
Comparative|Count over More/Less|Mult. entity type|Clarification
Q785363
SYSTEM
Did you mean The Time Masters ?
(c(Q15619164)|c(Q6619679),P1441,c(Q11424))
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1441 ?y } UNION { ?x property:P1441 ?y } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q11424 . ?x rdf:type ontology:Q6619679 }
Did you mean The Time Masters ?
The Time Masters
[[{'concept': 'abstract being'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'film'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:present_in_work ?y } UNION { ?x property:present_in_work ?y } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:film . ?x rdf:type ontology:fictional_humanoid }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Fantasia. Could you tell me the answer for that?
(c(Q15619164)|c(Q6619679),P1441,c(Q11424))
Q943192
[[{'concept': 'Q15619164'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q11424'}]
[[{'concept': 'abstract being'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'film'}]
[]
SYSTEM
2
Q250378 Q271189
(c(Q15619164)|c(Q6619679),P1441,c(Q11424))
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q11424'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P1441 ?y } UNION { ?x property:P1441 ?y } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q11424 . ?x rdf:type ontology:Q6619679 }
The Transformers: The Movie Hercules
2
[[{'concept': 'abstract being'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'film'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:present_in_work ?y } UNION { ?x property:present_in_work ?y } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:film . ?x rdf:type ontology:fictional_humanoid }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q203187 Q2777876
P19
Q56061
USER
Which administrative territories were Lisa Ann Karčić or Glen Vella born in ?
OR((Q2777876,P19,c(Q56061)), (Q203187,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2777876
relation P19
action find
entity Q203187
relation P19
type Q56061
{'OR': [['Q2777876', 'P19', {'concept': 'Q56061'}], ['Q203187', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?s ) { ( resource:Q203187 ) ( resource:Q2777876 ) } . ?s property:P19 ?z } . ?z rdf:type ontology:Q56061 }
Glen Vella Lisa Ann Karčić
action filter_type
action union
action find
entity Lisa Ann Karčić
relation place of birth
action find
entity Glen Vella
relation place of birth
type administrative territorial entity
{'OR': [['Lisa Ann Karčić', 'place of birth', {'concept': 'administrative territorial entity'}], ['Glen Vella', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?s ) { ( resource:Glen_Vella ) ( resource:Lisa_Ann_Karčić ) } . ?s property:place_of_birth ?z } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q23800
SYSTEM
New York City, Valletta
Q60 Q23800
OR((Q2777876,P19,c(Q56061)), (Q203187,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2777876
relation P19
action find
entity Q203187
relation P19
type Q56061
Lisa Ann Karčić or Glen Vella were born in [ANSWERS]
{'OR': [['Q2777876', 'P19', {'concept': 'Q56061'}], ['Q203187', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?s ) { ( resource:Q203187 ) ( resource:Q2777876 ) } . ?s property:P19 ?z } . ?z rdf:type ontology:Q56061 }
New York City Valletta
Lisa Ann Karčić or Glen Vella were born in New York City and Valletta
New York City Valletta
action filter_type
action union
action find
entity Lisa Ann Karčić
relation place of birth
action find
entity Glen Vella
relation place of birth
type administrative territorial entity
{'OR': [['Lisa Ann Karčić', 'place of birth', {'concept': 'administrative territorial entity'}], ['Glen Vella', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?s ) { ( resource:Glen_Vella ) ( resource:Lisa_Ann_Karčić ) } . ?s property:place_of_birth ?z } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q208850 Q60
P840 P404
Q166142
USER
Which applications have a setting location of New York City and support single-player video game as their gameplay ?
AND((c(Q166142),P840,Q60), (c(Q166142),P404,Q208850))
action filter_type
action intersection
action find_reverse
entity Q60
relation P840
action find_reverse
entity Q208850
relation P404
type Q166142
{'AND': [[{'concept': 'Q166142'}, 'P840', 'Q60'], [{'concept': 'Q166142'}, 'P404', 'Q208850']]}
SELECT DISTINCT ?o WHERE { ?o property:P840 resource:Q60 . ?o property:P404 resource:Q208850 . ?o rdf:type ontology:Q166142 }
single-player video game New York City
action filter_type
action intersection
action find_reverse
entity New York City
relation narrative location
action find_reverse
entity single-player video game
relation game mode
type application
{'AND': [[{'concept': 'application'}, 'narrative location', 'New York City'], [{'concept': 'application'}, 'game mode', 'single-player video game']]}
SELECT DISTINCT ?o WHERE { ?o property:narrative_location resource:New_York_City . ?o property:game_mode resource:single-player_video_game . ?o rdf:type ontology:application }
[]
application
Q2721899 Q2539142 Q2645897 Q2337769 Q7850243 Q1514853 Q3342011 Q1476611 Q2539517 Q3542597
SYSTEM
Some of them are Top Gear, Cadillacs and Dinosaurs, Home Alone 2: Lost in New York, Spider-Man 3, Tsuppari Ōzumō: Risshin Shusse Hen, Ghostbusters: The Video Game, Ninja Combat, True Crime: New York City, Spider-Man, Crude Buster
Q2075296 Q7763529 Q379438 Q2787136 Q3342011 Q878492 Q2633916 Q144550 Q2981167 Q74401 Q1854477 Q6822591 Q5247184 Q1130980 Q2635546 Q1427606 Q392058 Q3021170 Q2289666 Q2645897 Q1053110 Q1192945 Q798676 Q3493437 Q1476611 Q3493438 Q780045 Q2660542 Q1168536 Q7773605 Q1430706 Q281246 Q1514853 Q2745328 Q2567511 Q2569492 Q2293778 Q3341409 Q376217 Q538821 Q642359 Q2471373 Q2947434 Q3358896 Q12147068 Q880977 Q3493444 Q3958954 Q644793 Q3542597 Q3280776 Q4747366 Q252198 Q2721899 Q533304 Q7335449 Q791454 Q6152417 Q1950734 Q6948979 Q1175156 Q5492760 Q2557356 Q1634362 Q1328570 Q2891778 Q1327449 Q1139696 Q1974230 Q761941 Q840308 Q2297485 Q6038373 Q1890670 Q2016922 Q3567609 Q7883516 Q577381 Q2241522 Q1846213 Q582662 Q2062573 Q2101882 Q22138547 Q1077719 Q2712152 Q971046 Q736939 Q2539142 Q16971686 Q2185497 Q2635988 Q2609577 Q2583842 Q1196167 Q3486326 Q2344435 Q6502931 Q6502932 Q967889 Q7428034 Q40166 Q5043574 Q4743629 Q4050079 Q2165750 Q2745925 Q2746198 Q3493448 Q5512049 Q1430332 Q7962618 Q386925 Q473852 Q94797 Q2708351 Q7713360 Q6502929 Q6502928 Q3962987 Q886391 Q6502927 Q739782 Q2401564 Q2211843 Q2957837 Q8762678 Q1870070 Q7013815 Q11231423 Q4958186 Q1992329 Q2354748 Q2367032 Q730466 Q2337769 Q907226 Q946795 Q939837 Q3098365 Q1777612 Q2326799 Q2316701 Q2216367 Q7460497 Q486233 Q5427938 Q3317556 Q2700365 Q736040 Q2819724 Q5245092 Q2297364 Q3283769 Q3099600 Q7850243 Q3303131 Q1538485 Q671152 Q3334615 Q736887 Q1047581 Q2539517 Q16152567 Q7112134 Q2549185
AND((c(Q166142),P840,Q60), (c(Q166142),P404,Q208850))
action filter_type
action intersection
action find_reverse
entity Q60
relation P840
action find_reverse
entity Q208850
relation P404
type Q166142
Characters [ANSWERS] have a setting location of New York City and support single-player video game as their gameplay
{'AND': [[{'concept': 'Q166142'}, 'P840', 'Q60'], [{'concept': 'Q166142'}, 'P404', 'Q208850']]}
SELECT DISTINCT ?o WHERE { ?o property:P840 resource:Q60 . ?o property:P404 resource:Q208850 . ?o rdf:type ontology:Q166142 }
Prototype 2 The Shadow Enslaved: Odyssey to the West Manhunter: New York Ninja Combat Tom Clancy's Splinter Cell: Double Agent The Punisher Zak McKracken - Between Time and Space Cobra Command Indiana Jones and the Fate of Atlantis Urban Strike Metal Combat: Falcon's Revenge Death Race Sam & Max Save the World The Punisher Soldier of Fortune Legendary Def Jam Fight for NY: The Takeover Burnout Home Alone 2: Lost in New York Tom Clancy's Splinter Cell: Pandora Tomorrow The Dagger of Amon Ra Bad Dudes Vs. DragonNinja Spider-Man: Return of the Sinister Six True Crime: New York City Spider-Man: Web of Fire Driver 76 Spider-Man 2 Dead or Alive 5 The Warriors: Street Brawl Sam & Max Hit the Road Need for Speed: The Run Ghostbusters: The Video Game Tycoon City: New York Turbo Outrun Rock Band 2 Driver Night of the Raving Dead Driver: Parallel Lines Crysis 3 Tomb Raider Chronicles Battle Clash Maru's Mission Overclocked: A History of Violence Call of Duty: Ghosts Blackwell Spider-Man 2: The Sinister Six Ninja Gaiden Shadow Deus Ex Crude Buster The Amazing Spider-Man Amnesia Deus Ex: Invisible War Top Gear Tom Clancy's Splinter Cell: Chaos Theory Riot Zone Battlefield 3 Jane Jensen's Moebius Tom Clancy's Splinter Cell: Essentials Mystic Warriors Max Payne Rockin' Kats Ninja Gaiden II Rush 2: Extreme Racing USA International Karate BattleTanx Fahrenheit The Godfather: The Game The Warriors Die Hard Trilogy Crash Bandicoot: Warped Ice Station Santa Inspector Gadget: Mission 1 – Global Terror! Last Ninja 2 Barbie: Super Model What's New, Beelzebub? Undercover Cops: Hakaishin Garumaa Freedom Fighters Godzilla: Unleashed C.O.P. The Recruit Super Bonk Broken Sword: The Angel of Death Def Jam: Fight for NY Blackwell Convergence Front Mission Evolved The Darkness Turning Point: Fall of Liberty Asphalt Urban GT Cadillacs and Dinosaurs Disney Infinity 2.0: Marvel Super Heroes Ghostbusters II Spider-Man: Web of Shadows Top Players' Tennis Ultimate Spider-Man The Godfather II Skitchin' Sam & Max: The Devil's Playhouse Law & Order: Justice is Served Law & Order: Legacies Alone in the Dark Save New York Assassin's Creed III Carmen Sandiego: The Secret of the Stolen Drums American Dream Stay Tuned for Danger Parasite Eve The Revenge of Shinobi Rolling Thunder Spider-Man: Battle for New York G.I. Joe The Moment of Silence Wall Street Kid Empire City: 1931 Prototype Grand Theft Auto IV 2 Days to Vegas The Amazing Spider-Man: Lethal Foes Law & Order: Double or Nothing Law & Order: Dead on the Money Smashing Drive Blur Law & Order: Criminal Intent Syphon Filter 2 Midnight Club: Street Racing All-Pro Basketball Chariots of the Dogs New Ghostbusters II CSI: NY New York Nights: Success in the City Metal Wolf Chaos Bratz: The Movie The Combatribes Yo! Noid Twisted Metal 2 Ninja Gaiden Sigma 2 Spider-Man 3 Metal Gear Solid 2: Sons of Liberty Max Payne 2: The Fall of Max Payne Syphon Filter Gargoyles Vigilante Test Drive 6 Duke Nukem: Manhattan Project Sam & Max Beyond Time and Space Shadow Dancer: The Secret of Shinobi Call of Duty: Modern Warfare 3 The Wolf Among Us Moai Better Blues Wipeout HD Max Payne 3 A Dinosaur's Tale Dead Angle Teenage Mutant Ninja Turtles: Turtles in Time WWF European Rampage Tour Sin and Punishment Tsuppari Ōzumō: Risshin Shusse Hen Mazin Saga: Mutant Fighter Tony Hawk's Pro Skater 2 Crysis 2 New York Race Virtua Tennis 4 Undercover Cops Spider-Man The Amazing Spider-Man 2 Outlaw Volleyball Top Gear 2
Characters Top Gear, Cadillacs and Dinosaurs, Home Alone 2: Lost in New York, Spider-Man 3, Tsuppari Ōzumō: Risshin Shusse Hen, Ghostbusters: The Video Game, Ninja Combat, True Crime: New York City, Spider-Man and Crude Buster have a setting location of New York City and support single-player video game as their gameplay
Top Gear Cadillacs and Dinosaurs Home Alone 2: Lost in New York Spider-Man 3 Tsuppari Ōzumō: Risshin Shusse Hen Ghostbusters: The Video Game Ninja Combat True Crime: New York City Spider-Man Crude Buster
action filter_type
action intersection
action find_reverse
entity New York City
relation narrative location
action find_reverse
entity single-player video game
relation game mode
type application
{'AND': [[{'concept': 'application'}, 'narrative location', 'New York City'], [{'concept': 'application'}, 'game mode', 'single-player video game']]}
SELECT DISTINCT ?o WHERE { ?o property:narrative_location resource:New_York_City . ?o property:game_mode resource:single-player_video_game . ?o rdf:type ontology:application }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3342011
P136
Q483394
USER
What can be considered as category for that application ?
(Q3342011,P136,c(Q483394))
action filter_type
action find
entity Q3342011
relation P136
type Q483394
['Q3342011', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?n WHERE { resource:Q3342011 property:P136 ?n . ?n rdf:type ontology:Q483394 }
Ninja Combat
action filter_type
action find
entity Ninja Combat
relation genre
type genre
['Ninja Combat', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?n WHERE { resource:Ninja_Combat property:genre ?n . ?n rdf:type ontology:genre }
[]
genre
Clarification for simple ques.
Q2539142
SYSTEM
Did you mean Cadillacs and Dinosaurs ?
Q2721899 Q2539142 Q2645897 Q2337769 Q7850243 Q1514853 Q3342011 Q1476611 Q2539517 Q3542597
(Q2721899,P136,c(Q483394)) (Q2539142,P136,c(Q483394)) (Q2645897,P136,c(Q483394)) (Q2337769,P136,c(Q483394)) (Q7850243,P136,c(Q483394)) (Q1514853,P136,c(Q483394)) (Q3342011,P136,c(Q483394)) (Q1476611,P136,c(Q483394)) (Q2539517,P136,c(Q483394)) (Q3542597,P136,c(Q483394))
[ANSWER]
['Q2721899', 'P136', {'concept': 'Q483394'}] ['Q2539142', 'P136', {'concept': 'Q483394'}] ['Q2645897', 'P136', {'concept': 'Q483394'}] ['Q2337769', 'P136', {'concept': 'Q483394'}] ['Q7850243', 'P136', {'concept': 'Q483394'}] ['Q1514853', 'P136', {'concept': 'Q483394'}] ['Q3342011', 'P136', {'concept': 'Q483394'}] ['Q1476611', 'P136', {'concept': 'Q483394'}] ['Q2539517', 'P136', {'concept': 'Q483394'}] ['Q3542597', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?n WHERE { resource:Q3342011 property:P136 ?n . ?n rdf:type ontology:Q483394 }
Top Gear Cadillacs and Dinosaurs Home Alone 2: Lost in New York Spider-Man 3 Tsuppari Ōzumō: Risshin Shusse Hen Ghostbusters: The Video Game Ninja Combat True Crime: New York City Spider-Man Crude Buster
Did you mean Cadillacs and Dinosaurs ?
Cadillacs and Dinosaurs
['Top Gear', 'genre', {'concept': 'genre'}] ['Cadillacs and Dinosaurs', 'genre', {'concept': 'genre'}] ['Home Alone 2: Lost in New York', 'genre', {'concept': 'genre'}] ['Spider-Man 3', 'genre', {'concept': 'genre'}] ['Tsuppari Ōzumō: Risshin Shusse Hen', 'genre', {'concept': 'genre'}] ['Ghostbusters: The Video Game', 'genre', {'concept': 'genre'}] ['Ninja Combat', 'genre', {'concept': 'genre'}] ['True Crime: New York City', 'genre', {'concept': 'genre'}] ['Spider-Man', 'genre', {'concept': 'genre'}] ['Crude Buster', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?n WHERE { resource:Ninja_Combat property:genre ?n . ?n rdf:type ontology:genre }
[]
Simple Question (Coreferenced)
USER
No, I meant Ninja Combat. Could you tell me the answer for that?
(Q3342011,P136,c(Q483394))
Q3342011
['Q3342011', 'P136', {'concept': 'Q483394'}]
['Ninja Combat', 'genre', {'concept': 'genre'}]
[]
Q2281714
SYSTEM
side-scrolling video game
Q2281714
(Q3342011,P136,c(Q483394))
action filter_type
action find
entity Q3342011
relation P136
type Q483394
[ANSWER] can be considered as category for that application
['Q3342011', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?n WHERE { resource:Q3342011 property:P136 ?n . ?n rdf:type ontology:Q483394 }
side-scrolling video game
Side-scrolling video game can be considered as category for that application
side-scrolling video game
action filter_type
action find
entity Ninja Combat
relation genre
type genre
['Ninja Combat', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?n WHERE { resource:Ninja_Combat property:genre ?n . ?n rdf:type ontology:genre }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1206660
P1056
Q166142 Q1269299 Q4830453
USER
Which applications are made by less number of business organizations or business enterprises than IntelliJ IDEA ?
(c(Q1269299)|c(Q4830453),P1056,c(Q166142))
action less
action union
action find_reverse_tuple_counts
relation P1056
type Q166142
type Q1269299
action find_reverse_tuple_counts
relation P1056
type Q166142
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q1206660
relation P1056
type Q1269299
type Q4830453
[[{'concept': 'Q1269299'}, {'concept': 'Q4830453'}], 'P1056', {'concept': 'Q166142'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?s WHERE { VALUES ( ?j ) { ( ontology:Q1269299 ) ( ontology:Q4830453 ) } . ?m rdf:type ?j } GROUP BY ?s } . FILTER ( ?t < ?x ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P1056 resource:Q1206660 . { { ?d rdf:type ontology:Q1269299 } UNION { ?d rdf:type ontology:Q4830453 } } } } }
IntelliJ IDEA
action less
action union
action find_reverse_tuple_counts
relation product
type application
type type of business entity
action find_reverse_tuple_counts
relation product
type application
type business enterprise
action count
action filter_multi_types
action find_reverse
entity IntelliJ IDEA
relation product
type type of business entity
type business enterprise
[[{'concept': 'type of business entity'}, {'concept': 'business enterprise'}], 'product', {'concept': 'application'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?s WHERE { VALUES ( ?j ) { ( ontology:type_of_business_entity ) ( ontology:business_enterprise ) } . ?m rdf:type ?j } GROUP BY ?s } . FILTER ( ?t < ?x ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:product resource:IntelliJ_IDEA . { { ?d rdf:type ontology:type_of_business_entity } UNION { ?d rdf:type ontology:business_enterprise } } } } }
[]
application type of business entity business enterprise
Q810662 Q22095911 Q21421256
SYSTEM
Bastion, Oxenfree, Friday the 13th: The Game
Q1196833 Q22095911 Q20031743 Q24060042 Q17618314 Q13417084 Q483207 Q20011212 Q21421256 Q18913274 Q23893416 Q18913176 Q22075109 Q21061092 Q19627426 Q810662 Q19816285 Q18705872 Q210337 Q25706819 Q18215878 Q14838050 Q22075179 Q21662718
(c(Q1269299)|c(Q4830453),P1056,c(Q166142))
action less
action union
action find_reverse_tuple_counts
relation P1056
type Q166142
type Q1269299
action find_reverse_tuple_counts
relation P1056
type Q166142
type Q4830453
action count
action filter_multi_types
action find_reverse
entity Q1206660
relation P1056
type Q1269299
type Q4830453
[ANSWERS] are made by less number of business organizations or business enterprises than IntelliJ IDEA
[[{'concept': 'Q1269299'}, {'concept': 'Q4830453'}], 'P1056', {'concept': 'Q166142'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?s WHERE { VALUES ( ?j ) { ( ontology:Q1269299 ) ( ontology:Q4830453 ) } . ?m rdf:type ?j } GROUP BY ?s } . FILTER ( ?t < ?x ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P1056 resource:Q1206660 . { { ?d rdf:type ontology:Q1269299 } UNION { ?d rdf:type ontology:Q4830453 } } } } }
Sleipnir Oxenfree Rocket League Five Nights at Freddy's: Sister Location Five Nights at Freddy's Transistor The Exiled Realm of Arborea Five Nights at Freddy's 4 Friday the 13th: The Game Five Nights at Freddy's 3 Thapster Vivaldi Fruit Attacks Pac-Man 256 Firewatch Bastion Running with Rifles Crossy Road media player DGLux5 Five Nights at Freddy's 2 Outlast Pocket Platoons Outlast 2
Bastion, Oxenfree and Friday the 13th: The Game are made by less number of business organizations or business enterprises than IntelliJ IDEA
Bastion Oxenfree Friday the 13th: The Game
action less
action union
action find_reverse_tuple_counts
relation product
type application
type type of business entity
action find_reverse_tuple_counts
relation product
type application
type business enterprise
action count
action filter_multi_types
action find_reverse
entity IntelliJ IDEA
relation product
type type of business entity
type business enterprise
[[{'concept': 'type of business entity'}, {'concept': 'business enterprise'}], 'product', {'concept': 'application'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) ?s WHERE { VALUES ( ?j ) { ( ontology:type_of_business_entity ) ( ontology:business_enterprise ) } . ?m rdf:type ?j } GROUP BY ?s } . FILTER ( ?t < ?x ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:product resource:IntelliJ_IDEA . { { ?d rdf:type ontology:type_of_business_entity } UNION { ?d rdf:type ontology:business_enterprise } } } } }
[]