Simple Question (Direct)
Simple Question
Q58961
P184
Q502895
USER
Who was the doctoral advisor of Willem Jacob Luyten ?
(Q58961,P184,c(Q502895))
action filter_type
action find
entity Q58961
relation P184
type Q502895
['Q58961', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q58961 property:P184 ?y . ?y rdf:type ontology:Q502895 }
Willem Jacob Luyten
action filter_type
action find
entity Willem Jacob Luyten
relation doctoral advisor
type common name
['Willem Jacob Luyten', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Willem_Jacob_Luyten property:doctoral_advisor ?y . ?y rdf:type ontology:common_name }
[]
common name
Q295099
SYSTEM
Ejnar Hertzsprung
Q295099
(Q58961,P184,c(Q502895))
action filter_type
action find
entity Q58961
relation P184
type Q502895
The doctoral advisor of Willem Jacob Luyten was [ANSWER]
['Q58961', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q58961 property:P184 ?y . ?y rdf:type ontology:Q502895 }
Ejnar Hertzsprung
The doctoral advisor of Willem Jacob Luyten was Ejnar Hertzsprung
Ejnar Hertzsprung
action filter_type
action find
entity Willem Jacob Luyten
relation doctoral advisor
type common name
['Willem Jacob Luyten', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Willem_Jacob_Luyten property:doctoral_advisor ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q295099
P138
Q17444909
USER
Which astronomical object type comes from that person ?
(c(Q17444909),P138,Q295099)
action filter_type
action find_reverse
entity Q295099
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q295099']
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q295099 . ?z rdf:type ontology:Q17444909 }
Ejnar Hertzsprung
action filter_type
action find_reverse
entity Ejnar Hertzsprung
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Ejnar Hertzsprung']
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:Ejnar_Hertzsprung . ?z rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q142457
SYSTEM
1693 Hertzsprung
Q142457
(c(Q17444909),P138,Q295099)
action filter_type
action find_reverse
entity Q295099
relation P138
type Q17444909
[ANSWER] comes from that person
[{'concept': 'Q17444909'}, 'P138', 'Q295099']
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q295099 . ?z rdf:type ontology:Q17444909 }
1693 Hertzsprung
1693 Hertzsprung comes from that person
1693 Hertzsprung
action filter_type
action find_reverse
entity Ejnar Hertzsprung
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Ejnar Hertzsprung']
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:Ejnar_Hertzsprung . ?z rdf:type ontology:astronomical_object_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q295099
P61
Q17444909
USER
How many astronomical object types were invented or discovered by Ejnar Hertzsprung ?
(c(Q17444909),P61,Q295099)
action count
action filter_type
action find_reverse
entity Q295099
relation P61
type Q17444909
[{'concept': 'Q17444909'}, 'P61', 'Q295099']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:P61 resource:Q295099 . ?j rdf:type ontology:Q17444909 }
Ejnar Hertzsprung
action count
action filter_type
action find_reverse
entity Ejnar Hertzsprung
relation discoverer or inventor
type astronomical object type
[{'concept': 'astronomical object type'}, 'discoverer or inventor', 'Ejnar Hertzsprung']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:discoverer_or_inventor resource:Ejnar_Hertzsprung . ?j rdf:type ontology:astronomical_object_type }
[]
astronomical object type
SYSTEM
2
Q142595 Q141634
(c(Q17444909),P61,Q295099)
action count
action filter_type
action find_reverse
entity Q295099
relation P61
type Q17444909
[ANSWER]
[{'concept': 'Q17444909'}, 'P61', 'Q295099']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:P61 resource:Q295099 . ?j rdf:type ontology:Q17444909 }
1702 Kalahari 1627 Ivar
2
action count
action filter_type
action find_reverse
entity Ejnar Hertzsprung
relation discoverer or inventor
type astronomical object type
[{'concept': 'astronomical object type'}, 'discoverer or inventor', 'Ejnar Hertzsprung']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j property:discoverer_or_inventor resource:Ejnar_Hertzsprung . ?j rdf:type ontology:astronomical_object_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q295099
P166
Q618779
USER
What was won by Ejnar Hertzsprung ?
(Q295099,P166,c(Q618779))
action filter_type
action find
entity Q295099
relation P166
type Q618779
['Q295099', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q295099 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Ejnar Hertzsprung
action filter_type
action find
entity Ejnar Hertzsprung
relation award received
type award
['Ejnar Hertzsprung', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Ejnar_Hertzsprung property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q753072
SYSTEM
Gold Medal of the Royal Astronomical Society
Q753072
(Q295099,P166,c(Q618779))
action filter_type
action find
entity Q295099
relation P166
type Q618779
The [ANSWER] was won by Ejnar Hertzsprung
['Q295099', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q295099 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Gold Medal of the Royal Astronomical Society
The Gold Medal of the Royal Astronomical Society was won by Ejnar Hertzsprung
Gold Medal of the Royal Astronomical Society
action filter_type
action find
entity Ejnar Hertzsprung
relation award received
type award
['Ejnar Hertzsprung', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Ejnar_Hertzsprung property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q318319
Q618779
USER
And how about Herman Hertzberger?
(Q318319,P166,c(Q618779))
action filter_type
action find
entity Q318319
relation P166
type Q618779
['Q318319', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q318319 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Herman Hertzberger
action filter_type
action find
entity Herman Hertzberger
relation award received
type award
['Herman Hertzberger', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Herman_Hertzberger property:award_received ?z . ?z rdf:type ontology:award }
[]
award
Q16976268
SYSTEM
Oeuvre Awards BKVB
Q16976268
(Q318319,P166,c(Q618779))
action filter_type
action find
entity Q318319
relation P166
type Q618779
[ANSWER]
['Q318319', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q318319 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Oeuvre Awards BKVB
Oeuvre Awards BKVB
action filter_type
action find
entity Herman Hertzberger
relation award received
type award
['Herman Hertzberger', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Herman_Hertzberger property:award_received ?z . ?z rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q318319
P166
Q1829324 Q618779
USER
How many architecture prizes and awards were Herman Hertzberger awarded with ?
(Q318319,P166,c(Q1829324)) (Q318319,P166,c(Q618779))
action count
action union
action filter_type
action find
entity Q318319
relation P166
type Q1829324
action filter_type
action find
entity Q318319
relation P166
type Q618779
['Q318319', 'P166', {'concept': 'Q1829324'}] ['Q318319', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:Q618779 ) ( ontology:Q1829324 ) } . ?c rdf:type ?k }
Herman Hertzberger
action count
action union
action filter_type
action find
entity Herman Hertzberger
relation award received
type architecture prize
action filter_type
action find
entity Herman Hertzberger
relation award received
type award
['Herman Hertzberger', 'award received', {'concept': 'architecture prize'}] ['Herman Hertzberger', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:award ) ( ontology:architecture_prize ) } . ?c rdf:type ?k }
[]
architecture prize award
SYSTEM
1 architecture prizes and 1 awards
Q16976268 Q920783
(Q318319,P166,c(Q1829324)) (Q318319,P166,c(Q618779))
action count
action union
action filter_type
action find
entity Q318319
relation P166
type Q1829324
action filter_type
action find
entity Q318319
relation P166
type Q618779
[ANSWER]
['Q318319', 'P166', {'concept': 'Q1829324'}] ['Q318319', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:Q618779 ) ( ontology:Q1829324 ) } . ?c rdf:type ?k }
Oeuvre Awards BKVB Royal Gold Medal
1 architecture prizes and 1 awards
action count
action union
action filter_type
action find
entity Herman Hertzberger
relation award received
type architecture prize
action filter_type
action find
entity Herman Hertzberger
relation award received
type award
['Herman Hertzberger', 'award received', {'concept': 'architecture prize'}] ['Herman Hertzberger', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { VALUES ( ?k ) { ( ontology:award ) ( ontology:architecture_prize ) } . ?c rdf:type ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q318319
P21
Q290
USER
What is the sex of that person ?
action filter_type
action find
entity Q318319
relation P21
type Q290
SELECT DISTINCT ?h WHERE { resource:Q318319 property:P21 ?h . ?h rdf:type ontology:Q290 }
Herman Hertzberger
action filter_type
action find
entity Herman Hertzberger
relation gender
type sex
SELECT DISTINCT ?h WHERE { resource:Herman_Hertzberger property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q318319
relation P21
type Q290
The sex of that person is a [ANSWER]
SELECT DISTINCT ?h WHERE { resource:Q318319 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Herman Hertzberger
relation gender
type sex
SELECT DISTINCT ?h WHERE { resource:Herman_Hertzberger property:gender ?h . ?h rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q16221010 Q318319
P21
Q290
USER
Or Olena Lapunova?
OR((Q318319,P21,c(Q290)), (Q16221010,P21,c(Q290)))
action filter_type
action union
action find
entity Q318319
relation P21
action find
entity Q16221010
relation P21
type Q290
{'OR': [['Q318319', 'P21', {'concept': 'Q290'}], ['Q16221010', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q16221010 property:P21 ?p } UNION { resource:Q318319 property:P21 ?p } } . ?p rdf:type ontology:Q290 }
Olena Lapunova Herman Hertzberger
action filter_type
action union
action find
entity Herman Hertzberger
relation gender
action find
entity Olena Lapunova
relation gender
type sex
{'OR': [['Herman Hertzberger', 'gender', {'concept': 'sex'}], ['Olena Lapunova', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Olena_Lapunova property:gender ?p } UNION { resource:Herman_Hertzberger property:gender ?p } } . ?p rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q318319,P21,c(Q290)), (Q16221010,P21,c(Q290)))
action filter_type
action union
action find
entity Q318319
relation P21
action find
entity Q16221010
relation P21
type Q290
[ANSWERS]
{'OR': [['Q318319', 'P21', {'concept': 'Q290'}], ['Q16221010', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q16221010 property:P21 ?p } UNION { resource:Q318319 property:P21 ?p } } . ?p rdf:type ontology:Q290 }
male female
male female
action filter_type
action union
action find
entity Herman Hertzberger
relation gender
action find
entity Olena Lapunova
relation gender
type sex
{'OR': [['Herman Hertzberger', 'gender', {'concept': 'sex'}], ['Olena Lapunova', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Olena_Lapunova property:gender ?p } UNION { resource:Herman_Hertzberger property:gender ?p } } . ?p rdf:type ontology:sex }
[]