Simple Question (Direct)
Simple Question
Q3144703
P21
Q290
USER
What is the sex of Hélène Basch ?
(Q3144703,P21,c(Q290))
action filter_type
action find
entity Q3144703
relation P21
type Q290
['Q3144703', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q3144703 property:P21 ?t }
Hélène Basch
action filter_type
action find
entity Hélène Basch
relation gender
type sex
['Hélène Basch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Hélène_Basch property:gender ?t }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3144703,P21,c(Q290))
action filter_type
action find
entity Q3144703
relation P21
type Q290
The sex of Hélène Basch is the [ANSWER]
['Q3144703', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q3144703 property:P21 ?t }
female
The sex of Hélène Basch is the female
female
action filter_type
action find
entity Hélène Basch
relation gender
type sex
['Hélène Basch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Hélène_Basch property:gender ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3144703
P138
Q12280
USER
Which bridge has that person as its toponym ?
(c(Q12280),P138,Q6581072)
action filter_type
action find_reverse
entity Q3144703
relation P138
type Q12280
[{'concept': 'Q12280'}, 'P138', 'Q6581072']
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q3144703 . ?d rdf:type ontology:Q12280 }
Hélène Basch
action filter_type
action find_reverse
entity Hélène Basch
relation named after
type bridge
[{'concept': 'bridge'}, 'named after', 'female']
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Hélène_Basch . ?d rdf:type ontology:bridge }
[]
bridge
Q3556521
SYSTEM
Hélène-et-Victor-Basch viaduct
Q3556521
(c(Q12280),P138,Q6581072)
action filter_type
action find_reverse
entity Q3144703
relation P138
type Q12280
[ANSWER] has that person as its toponym
[{'concept': 'Q12280'}, 'P138', 'Q6581072']
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q3144703 . ?d rdf:type ontology:Q12280 }
Hélène-et-Victor-Basch viaduct
Hélène-et-Victor-Basch viaduct has that person as its toponym
Hélène-et-Victor-Basch viaduct
action filter_type
action find_reverse
entity Hélène Basch
relation named after
type bridge
[{'concept': 'bridge'}, 'named after', 'female']
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Hélène_Basch . ?d rdf:type ontology:bridge }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3144703
P26
Q502895
USER
Which person is married to Hélène Basch ?
(Q3144703,P26,c(Q502895))
action filter_type
action find
entity Q3144703
relation P26
type Q502895
['Q3144703', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q3144703 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Hélène Basch
action filter_type
action find
entity Hélène Basch
relation spouse
type common name
['Hélène Basch', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Hélène_Basch property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Q573584
SYSTEM
Victor Basch
Q573584
(Q3144703,P26,c(Q502895))
action filter_type
action find
entity Q3144703
relation P26
type Q502895
Son [ANSWER] is married to Hélène Basch
['Q3144703', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q3144703 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Victor Basch
Son Victor Basch is married to Hélène Basch
Victor Basch
action filter_type
action find
entity Hélène Basch
relation spouse
type common name
['Hélène Basch', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Hélène_Basch property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q573584
P7
Q502895
USER
Who is a sibling of that one ?
(c(Q502895),P7,Q573584)
action filter_type
action find
entity Q573584
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q573584']
SELECT DISTINCT ?a WHERE { resource:Q573584 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Victor Basch
action filter_type
action find
entity Victor Basch
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Victor Basch']
SELECT DISTINCT ?a WHERE { resource:Victor_Basch property:brother ?a . ?a rdf:type ontology:common_name }
[]
common name
Q765272
SYSTEM
Ernő Lányi
Q765272
(c(Q502895),P7,Q573584)
action filter_type
action find
entity Q573584
relation P7
type Q502895
A sibling of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q573584']
SELECT DISTINCT ?a WHERE { resource:Q573584 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Ernő Lányi
A sibling of that one is the Ernő Lányi
Ernő Lányi
action filter_type
action find
entity Victor Basch
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Victor Basch']
SELECT DISTINCT ?a WHERE { resource:Victor_Basch property:brother ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q765272
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q765272,P106,c(Q12737077))
action filter_type
action find
entity Q765272
relation P106
type Q12737077
['Q765272', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q765272 property:P106 ?l }
Ernő Lányi
action filter_type
action find
entity Ernő Lányi
relation occupation
type occupation
['Ernő Lányi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Ernő_Lányi property:occupation ?l }
[]
occupation
Q36834 Q158852 Q974144
SYSTEM
composer, conductor, educator
Q158852 Q974144 Q36834 Q1776724
(Q765272,P106,c(Q12737077))
action filter_type
action find
entity Q765272
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q765272', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q765272 property:P106 ?l }
conductor educator composer theatre manager
The professions of that person are composer, conductor and educator
composer conductor educator
action filter_type
action find
entity Ernő Lányi
relation occupation
type occupation
['Ernő Lányi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Ernő_Lányi property:occupation ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q765272
P40
Q502895
USER
Which person is a child of that one ?
(Q36834,P40,c(Q502895)) (Q158852,P40,c(Q502895)) (Q974144,P40,c(Q502895))
action filter_type
action find
entity Q765272
relation P40
type Q502895
['Q36834', 'P40', {'concept': 'Q502895'}] ['Q158852', 'P40', {'concept': 'Q502895'}] ['Q974144', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q765272 property:P40 ?i }
Ernő Lányi
action filter_type
action find
entity Ernő Lányi
relation child
type common name
['composer', 'child', {'concept': 'common name'}] ['conductor', 'child', {'concept': 'common name'}] ['educator', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Ernő_Lányi property:child ?i }
[]
common name
Q1160171
SYSTEM
Sarolta Lányi
Q1160171
(Q36834,P40,c(Q502895)) (Q158852,P40,c(Q502895)) (Q974144,P40,c(Q502895))
action filter_type
action find
entity Q765272
relation P40
type Q502895
[ANSWER] is a child of that one
['Q36834', 'P40', {'concept': 'Q502895'}] ['Q158852', 'P40', {'concept': 'Q502895'}] ['Q974144', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q765272 property:P40 ?i }
Sarolta Lányi
Sarolta Lányi is a child of that one
Sarolta Lányi
action filter_type
action find
entity Ernő Lányi
relation child
type common name
['composer', 'child', {'concept': 'common name'}] ['conductor', 'child', {'concept': 'common name'}] ['educator', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Ernő_Lányi property:child ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1160171
P166
Q618779
USER
What were received by that person ?
(Q1160171,P166,c(Q618779))
action filter_type
action find
entity Q1160171
relation P166
type Q618779
['Q1160171', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q618779 . resource:Q1160171 property:P166 ?t }
Sarolta Lányi
action filter_type
action find
entity Sarolta Lányi
relation award received
type award
['Sarolta Lányi', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:award . resource:Sarolta_Lányi property:award_received ?t }
[]
award
Q1102842 Q791491
SYSTEM
Attila József Prize, Baumgarten Prize
Q1102842 Q791491
(Q1160171,P166,c(Q618779))
action filter_type
action find
entity Q1160171
relation P166
type Q618779
[ANSWERS] were received by that person
['Q1160171', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q618779 . resource:Q1160171 property:P166 ?t }
Attila József Prize Baumgarten Prize
Attila József Prize and Baumgarten Prize were received by that person
Attila József Prize Baumgarten Prize
action filter_type
action find
entity Sarolta Lányi
relation award received
type award
['Sarolta Lányi', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:award . resource:Sarolta_Lányi property:award_received ?t }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
How many awards were approximately 257 works of art or people a recipient of ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 257
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?l ) WHERE { { ?w property:P1411 ?q . ?w rdf:type ontology:Q838948 . ?q rdf:type ontology:Q618779 } UNION { ?w property:P1411 ?q . ?q rdf:type ontology:Q618779 . ?w rdf:type ontology:Q502895 } } GROUP BY ?q } . FILTER ( ?l = 257 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 257
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?l ) WHERE { { ?w property:nominated_for ?q . ?w rdf:type ontology:work_of_art . ?q rdf:type ontology:award } UNION { ?w property:nominated_for ?q . ?q rdf:type ontology:award . ?w rdf:type ontology:common_name } } GROUP BY ?q } . FILTER ( ?l = 257 ) }
[]
award work of art common name
SYSTEM
6
Q1723064 Q1445521 Q1537996 Q627778 Q185299 Q1474410
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 257
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?l ) WHERE { { ?w property:P1411 ?q . ?w rdf:type ontology:Q838948 . ?q rdf:type ontology:Q618779 } UNION { ?w property:P1411 ?q . ?q rdf:type ontology:Q618779 . ?w rdf:type ontology:Q502895 } } GROUP BY ?q } . FILTER ( ?l = 257 ) }
Tony Award for Best Actor in a Musical Tony Award for Best Actor in a Play Tony Award for Best Actress in a Musical Tony Award for Best Featured Actress in a Play Tony Award for Best Actress in a Play Tony Award for Best Featured Actor in a Play
6
action count
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 257
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?l ) WHERE { { ?w property:nominated_for ?q . ?w rdf:type ontology:work_of_art . ?q rdf:type ontology:award } UNION { ?w property:nominated_for ?q . ?q rdf:type ontology:award . ?w rdf:type ontology:common_name } } GROUP BY ?q } . FILTER ( ?l = 257 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q765272
P27
Q15617994
USER
Which administrative territory is Ernő Lányi an inhabitant of ?
(Q765272,P27,c(Q15617994))
action filter_type
action find
entity Q765272
relation P27
type Q15617994
['Q765272', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q765272 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Ernő Lányi
action filter_type
action find
entity Ernő Lányi
relation country of citizenship
type designation for an administrative territorial entity
['Ernő Lányi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ernő_Lányi property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q765272,P27,c(Q15617994))
action filter_type
action find
entity Q765272
relation P27
type Q15617994
[ANSWER] is Ernő Lányi an inhabitant of
['Q765272', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q765272 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Hungary
Hungary is Ernő Lányi an inhabitant of
Hungary
action filter_type
action find
entity Ernő Lányi
relation country of citizenship
type designation for an administrative territorial entity
['Ernő Lányi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Ernő_Lányi property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P17
Q15617994
USER
Which administrative territory is that one present in ?
(Q28,P17,c(Q15617994))
action filter_type
action find
entity Q28
relation P17
type Q15617994
['Q28', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q28 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Hungary
action filter_type
action find
entity Hungary
relation country
type designation for an administrative territorial entity
['Hungary', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Hungary property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q28,P17,c(Q15617994))
action filter_type
action find
entity Q28
relation P17
type Q15617994
That one is the [ANSWER]
['Q28', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q28 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Hungary
That one is the Hungary
Hungary
action filter_type
action find
entity Hungary
relation country
type designation for an administrative territorial entity
['Hungary', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Hungary property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P206
Q23397
USER
Which lake is located in the neighbourhood of that administrative territory ?
(Q28,P206,c(Q23397))
action filter_type
action find
entity Q28
relation P206
type Q23397
['Q28', 'P206', {'concept': 'Q23397'}]
SELECT DISTINCT ?k WHERE { resource:Q28 property:P206 ?k . ?k rdf:type ontology:Q23397 }
Hungary
action filter_type
action find
entity Hungary
relation located next to body of water
type lake
['Hungary', 'located next to body of water', {'concept': 'lake'}]
SELECT DISTINCT ?k WHERE { resource:Hungary property:located_next_to_body_of_water ?k . ?k rdf:type ontology:lake }
[]
lake
Q6396
SYSTEM
Neusiedl Lake
Q6396
(Q28,P206,c(Q23397))
action filter_type
action find
entity Q28
relation P206
type Q23397
[ANSWER] is located in the neighbourhood of that administrative territory
['Q28', 'P206', {'concept': 'Q23397'}]
SELECT DISTINCT ?k WHERE { resource:Q28 property:P206 ?k . ?k rdf:type ontology:Q23397 }
Neusiedl Lake
Neusiedl Lake is located in the neighbourhood of that administrative territory
Neusiedl Lake
action filter_type
action find
entity Hungary
relation located next to body of water
type lake
['Hungary', 'located next to body of water', {'concept': 'lake'}]
SELECT DISTINCT ?k WHERE { resource:Hungary property:located_next_to_body_of_water ?k . ?k rdf:type ontology:lake }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q28
Q355304
USER
And which watercourse?
(Q28,P206,c(Q355304))
action filter_type
action find
entity Q28
relation P206
type Q355304
['Q28', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?g WHERE { resource:Q28 property:P206 ?g . ?g rdf:type ontology:Q355304 }
Hungary
action filter_type
action find
entity Hungary
relation located next to body of water
type watercourse
['Hungary', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?g WHERE { resource:Hungary property:located_next_to_body_of_water ?g . ?g rdf:type ontology:watercourse }
[]
watercourse
Q1653 Q134350 Q171009
SYSTEM
Danube, Tisza, Drava
Q748872 Q1653 Q134350 Q171009
(Q28,P206,c(Q355304))
action filter_type
action find
entity Q28
relation P206
type Q355304
[ANSWERS]
['Q28', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?g WHERE { resource:Q28 property:P206 ?g . ?g rdf:type ontology:Q355304 }
Ipoly Danube Tisza Drava
Danube Tisza Drava
action filter_type
action find
entity Hungary
relation located next to body of water
type watercourse
['Hungary', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?g WHERE { resource:Hungary property:located_next_to_body_of_water ?g . ?g rdf:type ontology:watercourse }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q650292
P206
Q15617994
USER
Are Ottersheim located next to those watercourses ?
(Q650292,P206,Q1653) (Q650292,P206,Q134350) (Q650292,P206,Q171009)
action is_in
entity prev_answer
action find
entity Q650292
relation P206
['Q650292', 'P206', 'Q1653'] ['Q650292', 'P206', 'Q134350'] ['Q650292', 'P206', 'Q171009']
ASK WHERE { VALUES ( ?l ) { ( resource:Q748872 ) ( resource:Q1653 ) ( resource:Q134350 ) } . resource:Q650292 property:P206 ?l }
Ottersheim
action is_in
entity prev_answer
action find
entity Ottersheim
relation located next to body of water
['Ottersheim', 'located next to body of water', 'Danube'] ['Ottersheim', 'located next to body of water', 'Tisza'] ['Ottersheim', 'located next to body of water', 'Drava']
ASK WHERE { VALUES ( ?l ) { ( resource:Ipoly ) ( resource:Danube ) ( resource:Tisza ) } . resource:Ottersheim property:located_next_to_body_of_water ?l }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q650292,P206,Q1653) (Q650292,P206,Q134350) (Q650292,P206,Q171009)
action is_in
entity prev_answer
action find
entity Q650292
relation P206
[ANSWER]
['Q650292', 'P206', 'Q1653'] ['Q650292', 'P206', 'Q134350'] ['Q650292', 'P206', 'Q171009']
ASK WHERE { VALUES ( ?l ) { ( resource:Q748872 ) ( resource:Q1653 ) ( resource:Q134350 ) } . resource:Q650292 property:P206 ?l }
No
action is_in
entity prev_answer
action find
entity Ottersheim
relation located next to body of water
['Ottersheim', 'located next to body of water', 'Danube'] ['Ottersheim', 'located next to body of water', 'Tisza'] ['Ottersheim', 'located next to body of water', 'Drava']
ASK WHERE { VALUES ( ?l ) { ( resource:Ipoly ) ( resource:Danube ) ( resource:Tisza ) } . resource:Ottersheim property:located_next_to_body_of_water ?l }
[]