Simple Question (Direct)
Simple Question
Q1513662
P607
Q198
USER
Which war did Heinrich Refardt take part in ?
(Q1513662,P607,c(Q198))
action filter_type
action find
entity Q1513662
relation P607
type Q198
['Q1513662', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q198 . resource:Q1513662 property:P607 ?t }
Heinrich Refardt
action filter_type
action find
entity Heinrich Refardt
relation conflict
type war
['Heinrich Refardt', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:war . resource:Heinrich_Refardt property:conflict ?t }
[]
war
Q361
SYSTEM
World War I
Q361
(Q1513662,P607,c(Q198))
action filter_type
action find
entity Q1513662
relation P607
type Q198
Heinrich Refardt took part in [ANSWER]
['Q1513662', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q198 . resource:Q1513662 property:P607 ?t }
World War I
Heinrich Refardt took part in World War I
World War I
action filter_type
action find
entity Heinrich Refardt
relation conflict
type war
['Heinrich Refardt', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:war . resource:Heinrich_Refardt property:conflict ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q361
P710
Q15617994
USER
Which artists participated in that war ?
(Q361,P710,c(Q15617994))
action filter_type
action find
entity Q361
relation P710
type Q15617994
['Q361', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q361 property:P710 ?r . ?r rdf:type ontology:Q15617994 }
World War I
action filter_type
action find
entity World War I
relation participant
type designation for an administrative territorial entity
['World War I', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:World_War_I property:participant ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
(Q361,P710,c(Q15617994))
action filter_type
action find
entity Q361
relation P710
type Q15617994
[ANSWERS] participated in that war
['Q361', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q361 property:P710 ?r . ?r rdf:type ontology:Q15617994 }
France Italy
France and Italy participated in that war
France Italy
action filter_type
action find
entity World War I
relation participant
type designation for an administrative territorial entity
['World War I', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:World_War_I property:participant ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q38
P530
Q15617994
USER
How many administrative territories holds diplomatic relationship with Italy ?
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q38 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Italy
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Italy property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
74
Q739 Q805 Q801 Q189 Q843 Q928 Q184 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q228 Q33 Q32 Q31 Q37 Q36 Q34 Q77 Q39 Q1016 Q227 Q215 Q79 Q191 Q733 Q948 Q869 Q298 Q45 Q252 Q30 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q423 Q881 Q114
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q38 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Colombia Yemen Israel Iceland Pakistan Philippines Belarus Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Andorra Finland Luxembourg Belgium Lithuania Poland Sweden Uruguay Switzerland Libya Azerbaijan Slovenia Egypt Estonia Paraguay Tunisia Thailand Chile Portugal Indonesia United States of America Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea North Korea Vietnam Kenya
74
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Italy property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q184
P530
Q15617994
USER
And how about Belarus?
(Q184,P530,c(Q15617994))
action count
action filter_type
action find
entity Q184
relation P530
type Q15617994
['Q184', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Q184 property:P530 ?v . ?v rdf:type ontology:Q15617994 }
Belarus
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Belarus property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
37
Q801 Q833 Q843 Q241 Q668 Q227 Q224 Q55 Q262 Q148 Q33 Q874 Q30 Q37 Q36 Q34 Q39 Q38 Q902 Q142 Q1016 Q414 Q298 Q215 Q403 Q230 Q212 Q213 Q211 Q159 Q217 Q214 Q41 Q155 Q233 Q794 Q27
(Q184,P530,c(Q15617994))
action count
action filter_type
action find
entity Q184
relation P530
type Q15617994
[ANSWER]
['Q184', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Q184 property:P530 ?v . ?v rdf:type ontology:Q15617994 }
Israel Malaysia Pakistan Cuba India Azerbaijan Croatia Netherlands Algeria People's Republic of China Finland Turkmenistan United States of America Lithuania Poland Sweden Switzerland Italy Bangladesh France Libya Argentina Chile Slovenia Serbia Georgia Ukraine Czech Republic Latvia Russia Republic of Moldova Slovakia Greece Brazil Malta Iran Ireland
37
action count
action filter_type
action find
entity Belarus
relation diplomatic relation
type designation for an administrative territorial entity
['Belarus', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Belarus property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q38
Q15617994
USER
And also tell me about Italy?
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Q38 property:P530 ?v . ?v rdf:type ontology:Q15617994 }
Italy
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Italy property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
74
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Q38 property:P530 ?v . ?v rdf:type ontology:Q15617994 }
74
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { resource:Italy property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P162
Q838948
USER
Which work of art has been produced by that administrative territory ?
action filter_type
action find_reverse
entity Q38
relation P162
type Q838948
SELECT DISTINCT ?m WHERE { ?m property:P162 resource:Q38 . ?m rdf:type ontology:Q838948 }
Italy
action filter_type
action find_reverse
entity Italy
relation producer
type work of art
SELECT DISTINCT ?m WHERE { ?m property:producer resource:Italy . ?m rdf:type ontology:work_of_art }
[]
work of art
Q2933446
SYSTEM
Calabuch
Q2933446
action filter_type
action find_reverse
entity Q38
relation P162
type Q838948
[ANSWER] has been produced by that administrative territory
SELECT DISTINCT ?m WHERE { ?m property:P162 resource:Q38 . ?m rdf:type ontology:Q838948 }
Calabuch
Calabuch has been produced by that administrative territory
Calabuch
action filter_type
action find_reverse
entity Italy
relation producer
type work of art
SELECT DISTINCT ?m WHERE { ?m property:producer resource:Italy . ?m rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q838948 Q386724
USER
Which works are set up by atleast 3 works of art ?
(c(Q386724),P1445,c(Q838948))
action atleast
action find_tuple_counts
relation P1445
type Q386724
type Q838948
value 3
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?p >= 3 ) . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?p ) WHERE { ?m property:P1445 ?n . ?m rdf:type ontology:Q386724 . ?n rdf:type ontology:Q838948 } GROUP BY ?m } }
action atleast
action find_tuple_counts
relation fictional universe described in
type work
type work of art
value 3
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?p >= 3 ) . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?p ) WHERE { ?m property:fictional_universe_described_in ?n . ?m rdf:type ontology:work . ?n rdf:type ontology:work_of_art } GROUP BY ?m } }
[]
work of art work
Q384426
SYSTEM
Pirates of the Caribbean
Q384426
(c(Q386724),P1445,c(Q838948))
action atleast
action find_tuple_counts
relation P1445
type Q386724
type Q838948
value 3
[ANSWER] is set up by atleast 3 works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?p >= 3 ) . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?p ) WHERE { ?m property:P1445 ?n . ?m rdf:type ontology:Q386724 . ?n rdf:type ontology:Q838948 } GROUP BY ?m } }
Pirates of the Caribbean
Pirates of the Caribbean is set up by atleast 3 works of art
Pirates of the Caribbean
action atleast
action find_tuple_counts
relation fictional universe described in
type work
type work of art
value 3
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?p >= 3 ) . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?p ) WHERE { ?m property:fictional_universe_described_in ?n . ?m rdf:type ontology:work . ?n rdf:type ontology:work_of_art } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1080
Q386724 Q23010327
USER
How many works have around the same number of groups of fictitious objects as their universe as that work ?
(c(Q23010327),P1080,c(Q386724))
action count
action approx
action find_reverse_tuple_counts
relation P1080
type Q386724
type Q23010327
action count
action filter_type
action find
entity Q384426
relation P1080
type Q386724
[{'concept': 'Q23010327'}, 'P1080', {'concept': 'Q386724'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:P1080 ?f . ?f rdf:type ontology:Q386724 . ?y rdf:type ontology:Q23010327 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q rdf:type ontology:Q386724 . resource:Q384426 property:P1080 ?q } } . FILTER ( ?k = ?v ) }
action count
action approx
action find_reverse_tuple_counts
relation from fictional universe
type work
type group of fictitious objects
action count
action filter_type
action find
entity Pirates of the Caribbean
relation from fictional universe
type work
[{'concept': 'group of fictitious objects'}, 'from fictional universe', {'concept': 'work'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:from_fictional_universe ?f . ?f rdf:type ontology:work . ?y rdf:type ontology:group_of_fictitious_objects } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q rdf:type ontology:work . resource:Pirates_of_the_Caribbean property:from_fictional_universe ?q } } . FILTER ( ?k = ?v ) }
[]
work group of fictitious objects
SYSTEM
14
Q290106 Q1092 Q384426 Q15051307 Q15905320 Q15731902 Q815739 Q3998250 Q836013 Q333156 Q519710 Q5027225 Q1953422 Q1203222
(c(Q23010327),P1080,c(Q386724))
action count
action approx
action find_reverse_tuple_counts
relation P1080
type Q386724
type Q23010327
action count
action filter_type
action find
entity Q384426
relation P1080
type Q386724
[ANSWER]
[{'concept': 'Q23010327'}, 'P1080', {'concept': 'Q386724'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:P1080 ?f . ?f rdf:type ontology:Q386724 . ?y rdf:type ontology:Q23010327 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q rdf:type ontology:Q386724 . resource:Q384426 property:P1080 ?q } } . FILTER ( ?k = ?v ) }
StarCraft Star Trek Pirates of the Caribbean Dragon Ball Talking Tom and Friends Aladdin media franchise Warcraft Tremors Battlestar Galactica Power Rangers Masters of the Universe Camp Half-Blood chronicles The Muppets Shrek
14
action count
action approx
action find_reverse_tuple_counts
relation from fictional universe
type work
type group of fictitious objects
action count
action filter_type
action find
entity Pirates of the Caribbean
relation from fictional universe
type work
[{'concept': 'group of fictitious objects'}, 'from fictional universe', {'concept': 'work'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:from_fictional_universe ?f . ?f rdf:type ontology:work . ?y rdf:type ontology:group_of_fictitious_objects } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q rdf:type ontology:work . resource:Pirates_of_the_Caribbean property:from_fictional_universe ?q } } . FILTER ( ?k = ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q384426
P1434
Q36649
USER
Which visual arts is set in Pirates of the Caribbean ?
(c(Q36649),P1434,Q384426)
action filter_type
action find_reverse
entity Q384426
relation P1434
type Q36649
[{'concept': 'Q36649'}, 'P1434', 'Q384426']
SELECT DISTINCT ?c WHERE { ?c property:P1434 resource:Q384426 . ?c rdf:type ontology:Q36649 }
Pirates of the Caribbean
action filter_type
action find_reverse
entity Pirates of the Caribbean
relation describes the fictional universe
type visual arts
[{'concept': 'visual arts'}, 'describes the fictional universe', 'Pirates of the Caribbean']
SELECT DISTINCT ?c WHERE { ?c property:describes_the_fictional_universe resource:Pirates_of_the_Caribbean . ?c rdf:type ontology:visual_arts }
[]
visual arts
Q194318
SYSTEM
Pirates of the Caribbean
Q194318
(c(Q36649),P1434,Q384426)
action filter_type
action find_reverse
entity Q384426
relation P1434
type Q36649
Set [ANSWER] is set in [ANSWER]
[{'concept': 'Q36649'}, 'P1434', 'Q384426']
SELECT DISTINCT ?c WHERE { ?c property:P1434 resource:Q384426 . ?c rdf:type ontology:Q36649 }
Pirates of the Caribbean
Set Pirates of the Caribbean is set in Pirates of the Caribbean
Pirates of the Caribbean
action filter_type
action find_reverse
entity Pirates of the Caribbean
relation describes the fictional universe
type visual arts
[{'concept': 'visual arts'}, 'describes the fictional universe', 'Pirates of the Caribbean']
SELECT DISTINCT ?c WHERE { ?c property:describes_the_fictional_universe resource:Pirates_of_the_Caribbean . ?c rdf:type ontology:visual_arts }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q194318
P86
Q502895
USER
Who did the compostion for that visual arts ?
(Q194318,P86,c(Q502895))
action filter_type
action find
entity Q194318
relation P86
type Q502895
['Q194318', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q194318 property:P86 ?o }
Pirates of the Caribbean
action filter_type
action find
entity Pirates of the Caribbean
relation composer
type common name
['Pirates of the Caribbean', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Pirates_of_the_Caribbean property:composer ?o }
[]
common name
Q76364
SYSTEM
Hans Zimmer
Q76364
(Q194318,P86,c(Q502895))
action filter_type
action find
entity Q194318
relation P86
type Q502895
[ANSWER] did the compostion for that visual arts
['Q194318', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q194318 property:P86 ?o }
Hans Zimmer
Hans Zimmer did the compostion for that visual arts
Hans Zimmer
action filter_type
action find
entity Pirates of the Caribbean
relation composer
type common name
['Pirates of the Caribbean', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Pirates_of_the_Caribbean property:composer ?o }
[]