Simple Question (Direct)
Simple Question
Q837154
P6
Q502895
USER
Which person has Simeria as its head of government ?
(Q837154,P6,c(Q502895))
action filter_type
action find
entity Q837154
relation P6
type Q502895
['Q837154', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q837154 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Simeria
action filter_type
action find
entity Simeria
relation head of government
type common name
['Simeria', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Simeria property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
common name
Q26272196
SYSTEM
Emil-Ioan Rîșteiu
Q26272196
(Q837154,P6,c(Q502895))
action filter_type
action find
entity Q837154
relation P6
type Q502895
[ANSWER] has Simeria as its head of government
['Q837154', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q837154 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Emil-Ioan Rîșteiu
Emil-Ioan Rîșteiu has Simeria as its head of government
Emil-Ioan Rîșteiu
action filter_type
action find
entity Simeria
relation head of government
type common name
['Simeria', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Simeria property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q837154
P190
Q56061
USER
Which administrative territory is the sister city of that one ?
(Q26272196,P190,c(Q56061))
action filter_type
action find
entity Q837154
relation P190
type Q56061
['Q26272196', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q837154 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Simeria
action filter_type
action find
entity Simeria
relation sister city
type administrative territorial entity
['Emil-Ioan Rîșteiu', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Simeria property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q52101
SYSTEM
Middelburg
Q52101
(Q26272196,P190,c(Q56061))
action filter_type
action find
entity Q837154
relation P190
type Q56061
[ANSWER] is the sister city of that one
['Q26272196', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q837154 property:P190 ?v . ?v rdf:type ontology:Q56061 }
Middelburg
Middelburg is the sister city of that one
Middelburg
action filter_type
action find
entity Simeria
relation sister city
type administrative territorial entity
['Emil-Ioan Rîșteiu', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Simeria property:sister_city ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q52101
P47
Q13220204
USER
Which administrative country subdivision has a shared border with that administrative territory ?
(Q52101,P47,c(Q13220204))
action filter_type
action find
entity Q52101
relation P47
type Q13220204
['Q52101', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q13220204 . resource:Q52101 property:P47 ?i }
Middelburg
action filter_type
action find
entity Middelburg
relation shares border with
type second-level administrative country subdivision
['Middelburg', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:second-level_administrative_country_subdivision . resource:Middelburg property:shares_border_with ?i }
[]
second-level administrative country subdivision
Q10083
SYSTEM
Veere
Q10083
(Q52101,P47,c(Q13220204))
action filter_type
action find
entity Q52101
relation P47
type Q13220204
[ANSWER] has a shared border with that administrative territory
['Q52101', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q13220204 . resource:Q52101 property:P47 ?i }
Veere
Veere has a shared border with that administrative territory
Veere
action filter_type
action find
entity Middelburg
relation shares border with
type second-level administrative country subdivision
['Middelburg', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:second-level_administrative_country_subdivision . resource:Middelburg property:shares_border_with ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10083
P19
Q502895
USER
Which people have birthplace at that administrative country subdivision ?
(c(Q502895),P19,Q10083)
action filter_type
action find_reverse
entity Q10083
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q10083']
SELECT DISTINCT ?h WHERE { ?h property:P19 resource:Q10083 . ?h rdf:type ontology:Q502895 }
Veere
action filter_type
action find_reverse
entity Veere
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Veere']
SELECT DISTINCT ?h WHERE { ?h property:place_of_birth resource:Veere . ?h rdf:type ontology:common_name }
[]
common name
Q11727809 Q1581746 Q2518088
SYSTEM
Johannes Hermanus Koekkoek, Hans Peter Minderhoud, Jan de Voogd
Q13815194 Q11727809 Q1581746 Q2518088 Q449330
(c(Q502895),P19,Q10083)
action filter_type
action find_reverse
entity Q10083
relation P19
type Q502895
[ANSWERS] have birthplace at that administrative country subdivision
[{'concept': 'Q502895'}, 'P19', 'Q10083']
SELECT DISTINCT ?h WHERE { ?h property:P19 resource:Q10083 . ?h rdf:type ontology:Q502895 }
Maria van Reigersberch Johannes Hermanus Koekkoek Hans Peter Minderhoud Jan de Voogd Gaby Minneboo
Johannes Hermanus Koekkoek, Hans Peter Minderhoud and Jan de Voogd have birthplace at that administrative country subdivision
Johannes Hermanus Koekkoek Hans Peter Minderhoud Jan de Voogd
action filter_type
action find_reverse
entity Veere
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Veere']
SELECT DISTINCT ?h WHERE { ?h property:place_of_birth resource:Veere . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can approximately 1672 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1672
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?b = 1672 ) . { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?u } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1672
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?b = 1672 ) . { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?u } }
[]
musical instrument common name
Q80284 Q46185 Q80019
SYSTEM
viola, bass guitar, double bass
Q80284 Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1672
[ANSWERS] can approximately 1672 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?b = 1672 ) . { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?u } }
viola bass guitar double bass trumpet cello organ drum kit
Viola, bass guitar and double bass can approximately 1672 people perform with
viola bass guitar double bass
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1672
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?b = 1672 ) . { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?u } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q11727809 Q371545
P21
Q290
USER
How many sexes do Johannes Hermanus Koekkoek or Megaera belong to ?
(Q11727809,P21,c(Q290)) (Q371545,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q11727809
relation P21
type Q290
action filter_type
action find
entity Q371545
relation P21
type Q290
['Q11727809', 'P21', {'concept': 'Q290'}] ['Q371545', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?l ) { ( resource:Q11727809 ) ( resource:Q371545 ) } . ?l property:P21 ?v }
Johannes Hermanus Koekkoek Megaera
action count
action union
action filter_type
action find
entity Johannes Hermanus Koekkoek
relation gender
type sex
action filter_type
action find
entity Megaera
relation gender
type sex
['Johannes Hermanus Koekkoek', 'gender', {'concept': 'sex'}] ['Megaera', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?l ) { ( resource:Johannes_Hermanus_Koekkoek ) ( resource:Megaera ) } . ?l property:gender ?v }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q11727809,P21,c(Q290)) (Q371545,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q11727809
relation P21
type Q290
action filter_type
action find
entity Q371545
relation P21
type Q290
[ANSWER]
['Q11727809', 'P21', {'concept': 'Q290'}] ['Q371545', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?l ) { ( resource:Q11727809 ) ( resource:Q371545 ) } . ?l property:P21 ?v }
male female
2
action count
action union
action filter_type
action find
entity Johannes Hermanus Koekkoek
relation gender
type sex
action filter_type
action find
entity Megaera
relation gender
type sex
['Johannes Hermanus Koekkoek', 'gender', {'concept': 'sex'}] ['Megaera', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { VALUES ( ?l ) { ( resource:Johannes_Hermanus_Koekkoek ) ( resource:Megaera ) } . ?l property:gender ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11727809
P40
Q502895
USER
Which people are an offsprings of Johannes Hermanus Koekkoek ?
(Q11727809,P40,c(Q502895))
action filter_type
action find
entity Q11727809
relation P40
type Q502895
['Q11727809', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q11727809 property:P40 ?h . ?h rdf:type ontology:Q502895 }
Johannes Hermanus Koekkoek
action filter_type
action find
entity Johannes Hermanus Koekkoek
relation child
type common name
['Johannes Hermanus Koekkoek', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Johannes_Hermanus_Koekkoek property:child ?h . ?h rdf:type ontology:common_name }
[]
common name
Q808081 Q15962434 Q2415893
SYSTEM
Barend Cornelis Koekkoek, Hermanus Koekkoek, Marinus Adrianus Koekkoek
Q15962434 Q15966489 Q2415893 Q808081
(Q11727809,P40,c(Q502895))
action filter_type
action find
entity Q11727809
relation P40
type Q502895
[ANSWERS] are an offsprings of Johannes Hermanus Koekkoek
['Q11727809', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q11727809 property:P40 ?h . ?h rdf:type ontology:Q502895 }
Hermanus Koekkoek Johannes Koekkoek Marinus Adrianus Koekkoek Barend Cornelis Koekkoek
Barend Cornelis Koekkoek, Hermanus Koekkoek and Marinus Adrianus Koekkoek are an offsprings of Johannes Hermanus Koekkoek
Barend Cornelis Koekkoek Hermanus Koekkoek Marinus Adrianus Koekkoek
action filter_type
action find
entity Johannes Hermanus Koekkoek
relation child
type common name
['Johannes Hermanus Koekkoek', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Johannes_Hermanus_Koekkoek property:child ?h . ?h rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19902234
P7
Q502895
USER
Did Ed Maley have those ones as brother ?
(Q19902234,P7,Q808081) (Q19902234,P7,Q15962434) (Q19902234,P7,Q2415893)
action is_in
entity prev_answer
action find
entity Q19902234
relation P7
['Q19902234', 'P7', 'Q808081'] ['Q19902234', 'P7', 'Q15962434'] ['Q19902234', 'P7', 'Q2415893']
ASK WHERE { resource:Q19902234 property:P7 ?z . VALUES ( ?z ) { ( resource:Q15962434 ) ( resource:Q15966489 ) ( resource:Q2415893 ) } }
Ed Maley
action is_in
entity prev_answer
action find
entity Ed Maley
relation brother
['Ed Maley', 'brother', 'Barend Cornelis Koekkoek'] ['Ed Maley', 'brother', 'Hermanus Koekkoek'] ['Ed Maley', 'brother', 'Marinus Adrianus Koekkoek']
ASK WHERE { resource:Ed_Maley property:brother ?z . VALUES ( ?z ) { ( resource:Hermanus_Koekkoek ) ( resource:Johannes_Koekkoek ) ( resource:Marinus_Adrianus_Koekkoek ) } }
[]
common name
SYSTEM
NO
(Q19902234,P7,Q808081) (Q19902234,P7,Q15962434) (Q19902234,P7,Q2415893)
action is_in
entity prev_answer
action find
entity Q19902234
relation P7
[ANSWER]
['Q19902234', 'P7', 'Q808081'] ['Q19902234', 'P7', 'Q15962434'] ['Q19902234', 'P7', 'Q2415893']
ASK WHERE { resource:Q19902234 property:P7 ?z . VALUES ( ?z ) { ( resource:Q15962434 ) ( resource:Q15966489 ) ( resource:Q2415893 ) } }
No
action is_in
entity prev_answer
action find
entity Ed Maley
relation brother
['Ed Maley', 'brother', 'Barend Cornelis Koekkoek'] ['Ed Maley', 'brother', 'Hermanus Koekkoek'] ['Ed Maley', 'brother', 'Marinus Adrianus Koekkoek']
ASK WHERE { resource:Ed_Maley property:brother ?z . VALUES ( ?z ) { ( resource:Hermanus_Koekkoek ) ( resource:Johannes_Koekkoek ) ( resource:Marinus_Adrianus_Koekkoek ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q837154 Q218 Q80606
P17
Q15617994
USER
Is Simeria present in Romania and Oberboihingen ?
(Q837154,P17,Q218) (Q837154,P17,Q80606)
action is_in
entity Q837154
action intersection
action find_reverse
entity Q218
relation P17
action find_reverse
entity Q80606
relation P17
['Q837154', 'P17', 'Q218'] ['Q837154', 'P17', 'Q80606']
ASK WHERE { resource:Q837154 property:P17 resource:Q218 . resource:Q837154 property:P17 resource:Q80606 }
Simeria Romania Oberboihingen
action is_in
entity Simeria
action intersection
action find_reverse
entity Romania
relation country
action find_reverse
entity Oberboihingen
relation country
['Simeria', 'country', 'Romania'] ['Simeria', 'country', 'Oberboihingen']
ASK WHERE { resource:Simeria property:country resource:Romania . resource:Simeria property:country resource:Oberboihingen }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q837154,P17,Q218) (Q837154,P17,Q80606)
action is_in
entity Q837154
action intersection
action find_reverse
entity Q218
relation P17
action find_reverse
entity Q80606
relation P17
[ANSWER]
['Q837154', 'P17', 'Q218'] ['Q837154', 'P17', 'Q80606']
ASK WHERE { resource:Q837154 property:P17 resource:Q218 . resource:Q837154 property:P17 resource:Q80606 }
YES and NO respectively
action is_in
entity Simeria
action intersection
action find_reverse
entity Romania
relation country
action find_reverse
entity Oberboihingen
relation country
['Simeria', 'country', 'Romania'] ['Simeria', 'country', 'Oberboihingen']
ASK WHERE { resource:Simeria property:country resource:Romania . resource:Simeria property:country resource:Oberboihingen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q837154
P1383
Q486972
USER
Which human settlement is in that city ?
action filter_type
action find
entity Q837154
relation P1383
type Q486972
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q486972 . resource:Q837154 property:P1383 ?x }
Simeria
action filter_type
action find
entity Simeria
relation contains settlement
type human settlement
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:human_settlement . resource:Simeria property:contains_settlement ?x }
[]
human settlement
Q16898332
SYSTEM
Simeria
Q16898332
action filter_type
action find
entity Q837154
relation P1383
type Q486972
[ANSWER] is in that city
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q486972 . resource:Q837154 property:P1383 ?x }
Simeria
Simeria is in that city
Simeria
action filter_type
action find
entity Simeria
relation contains settlement
type human settlement
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:human_settlement . resource:Simeria property:contains_settlement ?x }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16898332 Q205607 Q898464
P1376
Q515
USER
Is that human settlement the capital of Zirc and Brandýs nad Orlicí ?
(Q16898332,P1376,Q205607) (Q16898332,P1376,Q898464)
action is_in
entity Q16898332
action intersection
action find_reverse
entity Q205607
relation P1376
action find_reverse
entity Q898464
relation P1376
['Q16898332', 'P1376', 'Q205607'] ['Q16898332', 'P1376', 'Q898464']
ASK WHERE { resource:Q16898332 property:P1376 resource:Q898464 . resource:Q16898332 property:P1376 resource:Q205607 }
Simeria Zirc Brandýs nad Orlicí
action is_in
entity Simeria
action intersection
action find_reverse
entity Zirc
relation capital of
action find_reverse
entity Brandýs nad Orlicí
relation capital of
['Simeria', 'capital of', 'Zirc'] ['Simeria', 'capital of', 'Brandýs nad Orlicí']
ASK WHERE { resource:Simeria property:capital_of resource:Brandýs_nad_Orlicí . resource:Simeria property:capital_of resource:Zirc }
[]
city
SYSTEM
NO
(Q16898332,P1376,Q205607) (Q16898332,P1376,Q898464)
action is_in
entity Q16898332
action intersection
action find_reverse
entity Q205607
relation P1376
action find_reverse
entity Q898464
relation P1376
[ANSWER]
['Q16898332', 'P1376', 'Q205607'] ['Q16898332', 'P1376', 'Q898464']
ASK WHERE { resource:Q16898332 property:P1376 resource:Q898464 . resource:Q16898332 property:P1376 resource:Q205607 }
No
action is_in
entity Simeria
action intersection
action find_reverse
entity Zirc
relation capital of
action find_reverse
entity Brandýs nad Orlicí
relation capital of
['Simeria', 'capital of', 'Zirc'] ['Simeria', 'capital of', 'Brandýs nad Orlicí']
ASK WHERE { resource:Simeria property:capital_of resource:Brandýs_nad_Orlicí . resource:Simeria property:capital_of resource:Zirc }
[]