Simple Question (Direct)
Simple Question
Q12022035
P21
Q290
USER
Which sex does Ivan Štoll possess ?
(Q12022035,P21,c(Q290))
action filter_type
action find
entity Q12022035
relation P21
type Q290
['Q12022035', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q12022035 property:P21 ?i . ?i rdf:type ontology:Q290 }
Ivan Štoll
action filter_type
action find
entity Ivan Štoll
relation gender
type sex
['Ivan Štoll', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Ivan_Štoll property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12022035,P21,c(Q290))
action filter_type
action find
entity Q12022035
relation P21
type Q290
Ivan Štoll possesses un [ANSWER]
['Q12022035', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q12022035 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Ivan Štoll possesses un male
male
action filter_type
action find
entity Ivan Štoll
relation gender
type sex
['Ivan Štoll', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Ivan_Štoll property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12022035
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q12022035
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q12022035 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Ivan Štoll
action filter_type
action find
entity Ivan Štoll
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Ivan_Štoll property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q12022035
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q12022035 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic is that person a civilian of
Czech Republic
action filter_type
action find
entity Ivan Štoll
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Ivan_Štoll property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3474780 Q12022035
P19
Q56061
USER
Which administrative territories were Ivan Štoll or Saïd Benkarit born at ?
OR((Q12022035,P19,c(Q56061)), (Q3474780,P19,c(Q56061)))
action filter_type
action union
action find
entity Q12022035
relation P19
action find
entity Q3474780
relation P19
type Q56061
{'OR': [['Q12022035', 'P19', {'concept': 'Q56061'}], ['Q3474780', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . { { resource:Q12022035 property:P19 ?p } UNION { resource:Q3474780 property:P19 ?p } } }
Saïd Benkarit Ivan Štoll
action filter_type
action union
action find
entity Ivan Štoll
relation place of birth
action find
entity Saïd Benkarit
relation place of birth
type administrative territorial entity
{'OR': [['Ivan Štoll', 'place of birth', {'concept': 'administrative territorial entity'}], ['Saïd Benkarit', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . { { resource:Ivan_Štoll property:place_of_birth ?p } UNION { resource:Saïd_Benkarit property:place_of_birth ?p } } }
[]
administrative territorial entity
Q649 Q2066
SYSTEM
Moscow, Essen
Q649 Q2066
OR((Q12022035,P19,c(Q56061)), (Q3474780,P19,c(Q56061)))
action filter_type
action union
action find
entity Q12022035
relation P19
action find
entity Q3474780
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q12022035', 'P19', {'concept': 'Q56061'}], ['Q3474780', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . { { resource:Q12022035 property:P19 ?p } UNION { resource:Q3474780 property:P19 ?p } } }
Moscow Essen
Which administrative territories were Ivan Štoll or Saïd Benkarit born at
Moscow Essen
action filter_type
action union
action find
entity Ivan Štoll
relation place of birth
action find
entity Saïd Benkarit
relation place of birth
type administrative territorial entity
{'OR': [['Ivan Štoll', 'place of birth', {'concept': 'administrative territorial entity'}], ['Saïd Benkarit', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . { { resource:Ivan_Štoll property:place_of_birth ?p } UNION { resource:Saïd_Benkarit property:place_of_birth ?p } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16893202
P190
Q56061
USER
Are Kateru a sister city of those ones ?
(Q16893202,P190,Q649) (Q16893202,P190,Q2066)
action is_in
entity prev_answer
action find
entity Q16893202
relation P190
['Q16893202', 'P190', 'Q649'] ['Q16893202', 'P190', 'Q2066']
ASK WHERE { resource:Q16893202 property:P190 ?d . VALUES ( ?d ) { ( resource:Q649 ) ( resource:Q2066 ) } }
Kateru
action is_in
entity prev_answer
action find
entity Kateru
relation sister city
['Kateru', 'sister city', 'Moscow'] ['Kateru', 'sister city', 'Essen']
ASK WHERE { resource:Kateru property:sister_city ?d . VALUES ( ?d ) { ( resource:Moscow ) ( resource:Essen ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q16893202,P190,Q649) (Q16893202,P190,Q2066)
action is_in
entity prev_answer
action find
entity Q16893202
relation P190
[ANSWER]
['Q16893202', 'P190', 'Q649'] ['Q16893202', 'P190', 'Q2066']
ASK WHERE { resource:Q16893202 property:P190 ?d . VALUES ( ?d ) { ( resource:Q649 ) ( resource:Q2066 ) } }
No
action is_in
entity prev_answer
action find
entity Kateru
relation sister city
['Kateru', 'sister city', 'Moscow'] ['Kateru', 'sister city', 'Essen']
ASK WHERE { resource:Kateru property:sister_city ?d . VALUES ( ?d ) { ( resource:Moscow ) ( resource:Essen ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q213 Q12740079
P206
Q355304
USER
Is Tâmpa River (Niraj) situated in the neighbourhood of Czech Republic ?
(Q213,P206,Q12740079)
action is_in
entity Q12740079
action find
entity Q213
relation P206
['Q213', 'P206', 'Q12740079']
ASK WHERE { resource:Q213 property:P206 resource:Q12740079 }
Czech Republic Tâmpa River (Niraj)
action is_in
entity Tâmpa River (Niraj)
action find
entity Czech Republic
relation located next to body of water
['Czech Republic', 'located next to body of water', 'Tâmpa River (Niraj)']
ASK WHERE { resource:Czech_Republic property:located_next_to_body_of_water resource:Tâmpa_River_(Niraj) }
[]
watercourse
SYSTEM
NO
(Q213,P206,Q12740079)
action is_in
entity Q12740079
action find
entity Q213
relation P206
[ANSWER]
['Q213', 'P206', 'Q12740079']
ASK WHERE { resource:Q213 property:P206 resource:Q12740079 }
No
action is_in
entity Tâmpa River (Niraj)
action find
entity Czech Republic
relation located next to body of water
['Czech Republic', 'located next to body of water', 'Tâmpa River (Niraj)']
ASK WHERE { resource:Czech_Republic property:located_next_to_body_of_water resource:Tâmpa_River_(Niraj) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2066 Q4494113 Q183
P17
Q1048835
USER
Is Essen located in Fedorivka and Germany ?
(Q2066,P17,Q4494113) (Q2066,P17,Q183)
action is_in
entity Q2066
action intersection
action find_reverse
entity Q4494113
relation P17
action find_reverse
entity Q183
relation P17
['Q2066', 'P17', 'Q4494113'] ['Q2066', 'P17', 'Q183']
ASK WHERE { resource:Q2066 property:P17 resource:Q4494113 . resource:Q2066 property:P17 resource:Q183 }
Essen Fedorivka Germany
action is_in
entity Essen
action intersection
action find_reverse
entity Fedorivka
relation country
action find_reverse
entity Germany
relation country
['Essen', 'country', 'Fedorivka'] ['Essen', 'country', 'Germany']
ASK WHERE { resource:Essen property:country resource:Fedorivka . resource:Essen property:country resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q2066,P17,Q4494113) (Q2066,P17,Q183)
action is_in
entity Q2066
action intersection
action find_reverse
entity Q4494113
relation P17
action find_reverse
entity Q183
relation P17
[ANSWER]
['Q2066', 'P17', 'Q4494113'] ['Q2066', 'P17', 'Q183']
ASK WHERE { resource:Q2066 property:P17 resource:Q4494113 . resource:Q2066 property:P17 resource:Q183 }
NO and YES respectively
action is_in
entity Essen
action intersection
action find_reverse
entity Fedorivka
relation country
action find_reverse
entity Germany
relation country
['Essen', 'country', 'Fedorivka'] ['Essen', 'country', 'Germany']
ASK WHERE { resource:Essen property:country resource:Fedorivka . resource:Essen property:country resource:Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2066
P361
Q19335303
USER
What is that administrative territory a portion of ?
action filter_type
action find
entity Q2066
relation P361
type Q19335303
SELECT DISTINCT ?g WHERE { resource:Q2066 property:P361 ?g . ?g rdf:type ontology:Q19335303 }
Essen
action filter_type
action find
entity Essen
relation part of
type type of business entity in Germany
SELECT DISTINCT ?g WHERE { resource:Essen property:part_of ?g . ?g rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q49849
SYSTEM
Regionalverband Ruhr
Q49849
action filter_type
action find
entity Q2066
relation P361
type Q19335303
That administrative territory a portion of is in [ANSWER]
SELECT DISTINCT ?g WHERE { resource:Q2066 property:P361 ?g . ?g rdf:type ontology:Q19335303 }
Regionalverband Ruhr
That administrative territory a portion of is in Regionalverband Ruhr
Regionalverband Ruhr
action filter_type
action find
entity Essen
relation part of
type type of business entity in Germany
SELECT DISTINCT ?g WHERE { resource:Essen property:part_of ?g . ?g rdf:type ontology:type_of_business_entity_in_Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q49849 Q4320235
P17
Q1048835
USER
Does Regionalverband Ruhr belong to Mykolaivka ?
(Q49849,P17,Q4320235)
action is_in
entity Q4320235
action find
entity Q49849
relation P17
['Q49849', 'P17', 'Q4320235']
ASK WHERE { resource:Q49849 property:P17 resource:Q4320235 }
Regionalverband Ruhr Mykolaivka
action is_in
entity Mykolaivka
action find
entity Regionalverband Ruhr
relation country
['Regionalverband Ruhr', 'country', 'Mykolaivka']
ASK WHERE { resource:Regionalverband_Ruhr property:country resource:Mykolaivka }
[]
political territorial entity
SYSTEM
NO
(Q49849,P17,Q4320235)
action is_in
entity Q4320235
action find
entity Q49849
relation P17
[ANSWER]
['Q49849', 'P17', 'Q4320235']
ASK WHERE { resource:Q49849 property:P17 resource:Q4320235 }
No
action is_in
entity Mykolaivka
action find
entity Regionalverband Ruhr
relation country
['Regionalverband Ruhr', 'country', 'Mykolaivka']
ASK WHERE { resource:Regionalverband_Ruhr property:country resource:Mykolaivka }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16489983 Q12022035
P19
Q56061
USER
Which administrative territories are the places of birth of Ivan Štoll or Ana Maria Botelho ?
OR((Q12022035,P19,c(Q56061)), (Q16489983,P19,c(Q56061)))
action filter_type
action union
action find
entity Q12022035
relation P19
action find
entity Q16489983
relation P19
type Q56061
{'OR': [['Q12022035', 'P19', {'concept': 'Q56061'}], ['Q16489983', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q12022035 property:P19 ?z } UNION { resource:Q16489983 property:P19 ?z } } . ?z rdf:type ontology:Q56061 }
Ana Maria Botelho Ivan Štoll
action filter_type
action union
action find
entity Ivan Štoll
relation place of birth
action find
entity Ana Maria Botelho
relation place of birth
type administrative territorial entity
{'OR': [['Ivan Štoll', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ana Maria Botelho', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Ivan_Štoll property:place_of_birth ?z } UNION { resource:Ana_Maria_Botelho property:place_of_birth ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q597 Q649
SYSTEM
Lisbon, Moscow
Q597 Q649
OR((Q12022035,P19,c(Q56061)), (Q16489983,P19,c(Q56061)))
action filter_type
action union
action find
entity Q12022035
relation P19
action find
entity Q16489983
relation P19
type Q56061
[ANSWERS] are the places of birth of Ivan Štoll or Ana Maria Botelho
{'OR': [['Q12022035', 'P19', {'concept': 'Q56061'}], ['Q16489983', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q12022035 property:P19 ?z } UNION { resource:Q16489983 property:P19 ?z } } . ?z rdf:type ontology:Q56061 }
Lisbon Moscow
Lisbon and Moscow are the places of birth of Ivan Štoll or Ana Maria Botelho
Lisbon Moscow
action filter_type
action union
action find
entity Ivan Štoll
relation place of birth
action find
entity Ana Maria Botelho
relation place of birth
type administrative territorial entity
{'OR': [['Ivan Štoll', 'place of birth', {'concept': 'administrative territorial entity'}], ['Ana Maria Botelho', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Ivan_Štoll property:place_of_birth ?z } UNION { resource:Ana_Maria_Botelho property:place_of_birth ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4749014
P190
Q56061
USER
Are Amuru sister town of those ones ?
(Q4749014,P190,Q597) (Q4749014,P190,Q649)
action is_in
entity prev_answer
action find
entity Q4749014
relation P190
['Q4749014', 'P190', 'Q597'] ['Q4749014', 'P190', 'Q649']
ASK WHERE { VALUES ( ?e ) { ( resource:Q597 ) ( resource:Q649 ) } . resource:Q4749014 property:P190 ?e }
Amuru
action is_in
entity prev_answer
action find
entity Amuru
relation sister city
['Amuru', 'sister city', 'Lisbon'] ['Amuru', 'sister city', 'Moscow']
ASK WHERE { VALUES ( ?e ) { ( resource:Lisbon ) ( resource:Moscow ) } . resource:Amuru property:sister_city ?e }
[]
administrative territorial entity
SYSTEM
NO
(Q4749014,P190,Q597) (Q4749014,P190,Q649)
action is_in
entity prev_answer
action find
entity Q4749014
relation P190
[ANSWER]
['Q4749014', 'P190', 'Q597'] ['Q4749014', 'P190', 'Q649']
ASK WHERE { VALUES ( ?e ) { ( resource:Q597 ) ( resource:Q649 ) } . resource:Q4749014 property:P190 ?e }
No
action is_in
entity prev_answer
action find
entity Amuru
relation sister city
['Amuru', 'sister city', 'Lisbon'] ['Amuru', 'sister city', 'Moscow']
ASK WHERE { VALUES ( ?e ) { ( resource:Lisbon ) ( resource:Moscow ) } . resource:Amuru property:sister_city ?e }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q1002697 Q2342494
USER
Which administrative territories are the places of publication of approximately 91 periodical literatures and collectables ?
(c(Q1002697)|c(Q2342494),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
value 91
[[{'concept': 'Q1002697'}, {'concept': 'Q2342494'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?k = 91 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?m WHERE { { ?x property:P291 ?m . ?m rdf:type ontology:Q56061 . ?x rdf:type ontology:Q1002697 } UNION { ?x property:P291 ?m . ?m rdf:type ontology:Q56061 . ?x rdf:type ontology:Q2342494 } } GROUP BY ?m } }
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
value 91
[[{'concept': 'periodical literature'}, {'concept': 'collectable'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?k = 91 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?m WHERE { { ?x property:place_of_publication ?m . ?m rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:periodical_literature } UNION { ?x property:place_of_publication ?m . ?m rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:collectable } } GROUP BY ?m } }
[]
administrative territorial entity periodical literature collectable
Q84 Q1492
SYSTEM
London, Barcelona
Q84 Q1492
(c(Q1002697)|c(Q2342494),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q2342494
value 91
[ANSWERS] are the places of publication of approximately 91 periodical literatures and collectables
[[{'concept': 'Q1002697'}, {'concept': 'Q2342494'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?k = 91 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?m WHERE { { ?x property:P291 ?m . ?m rdf:type ontology:Q56061 . ?x rdf:type ontology:Q1002697 } UNION { ?x property:P291 ?m . ?m rdf:type ontology:Q56061 . ?x rdf:type ontology:Q2342494 } } GROUP BY ?m } }
London Barcelona
London and Barcelona are the places of publication of approximately 91 periodical literatures and collectables
London Barcelona
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type collectable
value 91
[[{'concept': 'periodical literature'}, {'concept': 'collectable'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?k = 91 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?m WHERE { { ?x property:place_of_publication ?m . ?m rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:periodical_literature } UNION { ?x property:place_of_publication ?m . ?m rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:collectable } } GROUP BY ?m } }
[]