Simple Question (Direct)
Simple Question
Q1504042
P27
Q15617994
USER
Which administrative territory is Mojmír Bártek an inhabitant of ?
(Q1504042,P27,c(Q15617994))
action filter_type
action find
entity Q1504042
relation P27
type Q15617994
['Q1504042', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1504042 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Mojmír Bártek
action filter_type
action find
entity Mojmír Bártek
relation country of citizenship
type designation for an administrative territorial entity
['Mojmír Bártek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Mojmír_Bártek property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q1504042,P27,c(Q15617994))
action filter_type
action find
entity Q1504042
relation P27
type Q15617994
[ANSWER] is Mojmír Bártek an inhabitant of
['Q1504042', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1504042 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic is Mojmír Bártek an inhabitant of
Czech Republic
action filter_type
action find
entity Mojmír Bártek
relation country of citizenship
type designation for an administrative territorial entity
['Mojmír Bártek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Mojmír_Bártek property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P206
Q355304
USER
Which watercourses are situated nearby that administrative territory ?
(Q213,P206,c(Q355304))
action filter_type
action find
entity Q213
relation P206
type Q355304
['Q213', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { resource:Q213 property:P206 ?s . ?s rdf:type ontology:Q355304 }
Czech Republic
action filter_type
action find
entity Czech Republic
relation located next to body of water
type watercourse
['Czech Republic', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { resource:Czech_Republic property:located_next_to_body_of_water ?s . ?s rdf:type ontology:watercourse }
[]
watercourse
Q179251 Q552 Q577026
SYSTEM
Morava, Oder, Opava
Q552 Q179251 Q582675 Q660208 Q1331973 Q577026
(Q213,P206,c(Q355304))
action filter_type
action find
entity Q213
relation P206
type Q355304
Are [ANSWERS] are situated nearby that administrative territory
['Q213', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { resource:Q213 property:P206 ?s . ?s rdf:type ontology:Q355304 }
Oder Morava Jizera Thaya Olza Opava
Are Morava, Oder and Opava are situated nearby that administrative territory
Morava Oder Opava
action filter_type
action find
entity Czech Republic
relation located next to body of water
type watercourse
['Czech Republic', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { resource:Czech_Republic property:located_next_to_body_of_water ?s . ?s rdf:type ontology:watercourse }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q140359
P206
Q7275
USER
Are First Czechoslovak Republic located nearby those watercourses ?
(Q140359,P206,Q179251) (Q140359,P206,Q552) (Q140359,P206,Q577026)
action is_in
entity prev_answer
action find
entity Q140359
relation P206
['Q140359', 'P206', 'Q179251'] ['Q140359', 'P206', 'Q552'] ['Q140359', 'P206', 'Q577026']
ASK WHERE { resource:Q140359 property:P206 ?q . VALUES ( ?q ) { ( resource:Q552 ) ( resource:Q179251 ) ( resource:Q582675 ) } }
First Czechoslovak Republic
action is_in
entity prev_answer
action find
entity First Czechoslovak Republic
relation located next to body of water
['First Czechoslovak Republic', 'located next to body of water', 'Morava'] ['First Czechoslovak Republic', 'located next to body of water', 'Oder'] ['First Czechoslovak Republic', 'located next to body of water', 'Opava']
ASK WHERE { resource:First_Czechoslovak_Republic property:located_next_to_body_of_water ?q . VALUES ( ?q ) { ( resource:Oder ) ( resource:Morava ) ( resource:Jizera ) } }
[]
state
SYSTEM
YES
(Q140359,P206,Q179251) (Q140359,P206,Q552) (Q140359,P206,Q577026)
action is_in
entity prev_answer
action find
entity Q140359
relation P206
[ANSWER]
['Q140359', 'P206', 'Q179251'] ['Q140359', 'P206', 'Q552'] ['Q140359', 'P206', 'Q577026']
ASK WHERE { resource:Q140359 property:P206 ?q . VALUES ( ?q ) { ( resource:Q552 ) ( resource:Q179251 ) ( resource:Q582675 ) } }
Yes
action is_in
entity prev_answer
action find
entity First Czechoslovak Republic
relation located next to body of water
['First Czechoslovak Republic', 'located next to body of water', 'Morava'] ['First Czechoslovak Republic', 'located next to body of water', 'Oder'] ['First Czechoslovak Republic', 'located next to body of water', 'Opava']
ASK WHERE { resource:First_Czechoslovak_Republic property:located_next_to_body_of_water ?q . VALUES ( ?q ) { ( resource:Oder ) ( resource:Morava ) ( resource:Jizera ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1504042 Q171018
P19
Q56061
USER
Was Mojmír Bártek born at Zlín ?
(Q1504042,P19,Q171018)
action is_in
entity Q171018
action find
entity Q1504042
relation P19
['Q1504042', 'P19', 'Q171018']
ASK WHERE { resource:Q1504042 property:P19 resource:Q171018 }
Mojmír Bártek Zlín
action is_in
entity Zlín
action find
entity Mojmír Bártek
relation place of birth
['Mojmír Bártek', 'place of birth', 'Zlín']
ASK WHERE { resource:Mojmír_Bártek property:place_of_birth resource:Zlín }
[]
administrative territorial entity
SYSTEM
YES
(Q1504042,P19,Q171018)
action is_in
entity Q171018
action find
entity Q1504042
relation P19
[ANSWER]
['Q1504042', 'P19', 'Q171018']
ASK WHERE { resource:Q1504042 property:P19 resource:Q171018 }
Yes
action is_in
entity Zlín
action find
entity Mojmír Bártek
relation place of birth
['Mojmír Bártek', 'place of birth', 'Zlín']
ASK WHERE { resource:Mojmír_Bártek property:place_of_birth resource:Zlín }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1504042
P136
Q151885
USER
Which concept is the genre for that person ?
action filter_type
action find
entity Q1504042
relation P136
type Q151885
SELECT DISTINCT ?f WHERE { resource:Q1504042 property:P136 ?f . ?f rdf:type ontology:Q151885 }
Mojmír Bártek
action filter_type
action find
entity Mojmír Bártek
relation genre
type concept
SELECT DISTINCT ?f WHERE { resource:Mojmír_Bártek property:genre ?f . ?f rdf:type ontology:concept }
[]
concept
Q8341
SYSTEM
jazz
Q8341
action filter_type
action find
entity Q1504042
relation P136
type Q151885
[ANSWER] is the genre for that person
SELECT DISTINCT ?f WHERE { resource:Q1504042 property:P136 ?f . ?f rdf:type ontology:Q151885 }
jazz
Jazz is the genre for that person
jazz
action filter_type
action find
entity Mojmír Bártek
relation genre
type concept
SELECT DISTINCT ?f WHERE { resource:Mojmír_Bártek property:genre ?f . ?f rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P101
Q334453 Q874405
USER
How many divisions or social groups have his/her area as that concept ?
(c(Q334453),P101,Q8341) (c(Q874405),P101,Q8341) (c(Q334453),P101,Q8341) (c(Q874405),P101,Q8341)
action count
action union
action filter_type
action find_reverse
entity Q8341
relation P101
type Q334453
action filter_type
action find_reverse
entity Q8341
relation P101
type Q874405
[{'concept': 'Q334453'}, 'P101', 'Q8341'] [{'concept': 'Q874405'}, 'P101', 'Q8341'] [{'concept': 'Q334453'}, 'P101', 'Q8341'] [{'concept': 'Q874405'}, 'P101', 'Q8341']
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:Q334453 ) ( ontology:Q874405 ) } }
action count
action union
action filter_type
action find_reverse
entity jazz
relation field of work
type division
action filter_type
action find_reverse
entity jazz
relation field of work
type social group
[{'concept': 'division'}, 'field of work', 'jazz'] [{'concept': 'social group'}, 'field of work', 'jazz'] [{'concept': 'division'}, 'field of work', 'jazz'] [{'concept': 'social group'}, 'field of work', 'jazz']
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:division ) ( ontology:social_group ) } }
[]
division social group
SYSTEM
2
Q19961177 Q22191950
(c(Q334453),P101,Q8341) (c(Q874405),P101,Q8341) (c(Q334453),P101,Q8341) (c(Q874405),P101,Q8341)
action count
action union
action filter_type
action find_reverse
entity Q8341
relation P101
type Q334453
action filter_type
action find_reverse
entity Q8341
relation P101
type Q874405
[ANSWER]
[{'concept': 'Q334453'}, 'P101', 'Q8341'] [{'concept': 'Q874405'}, 'P101', 'Q8341'] [{'concept': 'Q334453'}, 'P101', 'Q8341'] [{'concept': 'Q874405'}, 'P101', 'Q8341']
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:Q334453 ) ( ontology:Q874405 ) } }
Hot Club de Belgique evosound
2
action count
action union
action filter_type
action find_reverse
entity jazz
relation field of work
type division
action filter_type
action find_reverse
entity jazz
relation field of work
type social group
[{'concept': 'division'}, 'field of work', 'jazz'] [{'concept': 'social group'}, 'field of work', 'jazz'] [{'concept': 'division'}, 'field of work', 'jazz'] [{'concept': 'social group'}, 'field of work', 'jazz']
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j rdf:type ?n . VALUES ( ?n ) { ( ontology:division ) ( ontology:social_group ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16733337 Q171018
P17
Q15617994
USER
Which administrative territories are Zlín or Akosombo-Tema Highway a part of ?
OR((Q171018,P17,c(Q15617994)), (Q16733337,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q171018
relation P17
action find
entity Q16733337
relation P17
type Q15617994
{'OR': [['Q171018', 'P17', {'concept': 'Q15617994'}], ['Q16733337', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { ?m property:P17 ?c . VALUES ( ?m ) { ( resource:Q171018 ) ( resource:Q16733337 ) } } . ?c rdf:type ontology:Q15617994 }
Akosombo-Tema Highway Zlín
action filter_type
action union
action find
entity Zlín
relation country
action find
entity Akosombo-Tema Highway
relation country
type designation for an administrative territorial entity
{'OR': [['Zlín', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Akosombo-Tema Highway', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { ?m property:country ?c . VALUES ( ?m ) { ( resource:Zlín ) ( resource:Akosombo-Tema_Highway ) } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q117
SYSTEM
Czech Republic, Ghana
Q213 Q117
OR((Q171018,P17,c(Q15617994)), (Q16733337,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q171018
relation P17
action find
entity Q16733337
relation P17
type Q15617994
[ANSWERS] are Zlín or Akosombo-Tema Highway a part of
{'OR': [['Q171018', 'P17', {'concept': 'Q15617994'}], ['Q16733337', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { ?m property:P17 ?c . VALUES ( ?m ) { ( resource:Q171018 ) ( resource:Q16733337 ) } } . ?c rdf:type ontology:Q15617994 }
Czech Republic Ghana
Czech Republic and Ghana are Zlín or Akosombo-Tema Highway a part of
Czech Republic Ghana
action filter_type
action union
action find
entity Zlín
relation country
action find
entity Akosombo-Tema Highway
relation country
type designation for an administrative territorial entity
{'OR': [['Zlín', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Akosombo-Tema Highway', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { ?m property:country ?c . VALUES ( ?m ) { ( resource:Zlín ) ( resource:Akosombo-Tema_Highway ) } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4423696
P530
Q1048835
USER
Are Slobodo-Petrivka known to have diplomatic connections with those administrative territories ?
(Q4423696,P530,Q213) (Q4423696,P530,Q117)
action is_in
entity prev_answer
action find
entity Q4423696
relation P530
['Q4423696', 'P530', 'Q213'] ['Q4423696', 'P530', 'Q117']
ASK WHERE { resource:Q4423696 property:P530 ?t . VALUES ( ?t ) { ( resource:Q213 ) ( resource:Q117 ) } }
Slobodo-Petrivka
action is_in
entity prev_answer
action find
entity Slobodo-Petrivka
relation diplomatic relation
['Slobodo-Petrivka', 'diplomatic relation', 'Czech Republic'] ['Slobodo-Petrivka', 'diplomatic relation', 'Ghana']
ASK WHERE { resource:Slobodo-Petrivka property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Czech_Republic ) ( resource:Ghana ) } }
[]
political territorial entity
SYSTEM
NO
(Q4423696,P530,Q213) (Q4423696,P530,Q117)
action is_in
entity prev_answer
action find
entity Q4423696
relation P530
[ANSWER]
['Q4423696', 'P530', 'Q213'] ['Q4423696', 'P530', 'Q117']
ASK WHERE { resource:Q4423696 property:P530 ?t . VALUES ( ?t ) { ( resource:Q213 ) ( resource:Q117 ) } }
No
action is_in
entity prev_answer
action find
entity Slobodo-Petrivka
relation diplomatic relation
['Slobodo-Petrivka', 'diplomatic relation', 'Czech Republic'] ['Slobodo-Petrivka', 'diplomatic relation', 'Ghana']
ASK WHERE { resource:Slobodo-Petrivka property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Czech_Republic ) ( resource:Ghana ) } }
[]