Simple Question (Direct)
Simple Question
Q276999
P21
Q290
USER
What is the sex of Kamil Biliński ?
(Q276999,P21,c(Q290))
action filter_type
action find
entity Q276999
relation P21
type Q290
['Q276999', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q276999 property:P21 ?o . ?o rdf:type ontology:Q290 }
Kamil Biliński
action filter_type
action find
entity Kamil Biliński
relation gender
type sex
['Kamil Biliński', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Kamil_Biliński property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q276999,P21,c(Q290))
action filter_type
action find
entity Q276999
relation P21
type Q290
The sex of Kamil Biliński is the [ANSWER]
['Q276999', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q276999 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of Kamil Biliński is the male
male
action filter_type
action find
entity Kamil Biliński
relation gender
type sex
['Kamil Biliński', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Kamil_Biliński property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q276999
P54
Q618123
USER
What sports team is Kamil Biliński a member of ?
(Q276999,P54,c(Q618123))
action filter_type
action find
entity Q276999
relation P54
type Q618123
['Q276999', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q618123 . resource:Q276999 property:P54 ?w }
Kamil Biliński
action filter_type
action find
entity Kamil Biliński
relation member of sports team
type geographical object
['Kamil Biliński', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:geographical_object . resource:Kamil_Biliński property:member_of_sports_team ?w }
[]
geographical object
Q328655
SYSTEM
Śląsk Wrocław
Q328655
(Q276999,P54,c(Q618123))
action filter_type
action find
entity Q276999
relation P54
type Q618123
[ANSWER] is Kamil Biliński a member of
['Q276999', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q618123 . resource:Q276999 property:P54 ?w }
Śląsk Wrocław
Śląsk Wrocław is Kamil Biliński a member of
Śląsk Wrocław
action filter_type
action find
entity Kamil Biliński
relation member of sports team
type geographical object
['Kamil Biliński', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:geographical_object . resource:Kamil_Biliński property:member_of_sports_team ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q276999
P19
Q486972
USER
Which human settlement was Kamil Biliński born at ?
(Q276999,P19,c(Q486972))
action filter_type
action find
entity Q276999
relation P19
type Q486972
['Q276999', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { resource:Q276999 property:P19 ?i . ?i rdf:type ontology:Q486972 }
Kamil Biliński
action filter_type
action find
entity Kamil Biliński
relation place of birth
type human settlement
['Kamil Biliński', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { resource:Kamil_Biliński property:place_of_birth ?i . ?i rdf:type ontology:human_settlement }
[]
human settlement
Q1799
SYSTEM
Wrocław
Q1799
(Q276999,P19,c(Q486972))
action filter_type
action find
entity Q276999
relation P19
type Q486972
Which human settlement was Kamil Biliński born at
['Q276999', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?i WHERE { resource:Q276999 property:P19 ?i . ?i rdf:type ontology:Q486972 }
Wrocław
Which human settlement was Kamil Biliński born at
Wrocław
action filter_type
action find
entity Kamil Biliński
relation place of birth
type human settlement
['Kamil Biliński', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?i WHERE { resource:Kamil_Biliński property:place_of_birth ?i . ?i rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6260966
Q486972
USER
And how about John Tojeiro?
(Q6260966,P19,c(Q486972))
action filter_type
action find
entity Q6260966
relation P19
type Q486972
['Q6260966', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { resource:Q6260966 property:P19 ?b . ?b rdf:type ontology:Q486972 }
John Tojeiro
action filter_type
action find
entity John Tojeiro
relation place of birth
type human settlement
['John Tojeiro', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { resource:John_Tojeiro property:place_of_birth ?b . ?b rdf:type ontology:human_settlement }
[]
human settlement
Q193305
SYSTEM
Estoril
Q193305
(Q6260966,P19,c(Q486972))
action filter_type
action find
entity Q6260966
relation P19
type Q486972
[ANSWER]
['Q6260966', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?b WHERE { resource:Q6260966 property:P19 ?b . ?b rdf:type ontology:Q486972 }
Estoril
Estoril
action filter_type
action find
entity John Tojeiro
relation place of birth
type human settlement
['John Tojeiro', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?b WHERE { resource:John_Tojeiro property:place_of_birth ?b . ?b rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q193305
P20
Q502895
USER
Who died in that human settlement ?
(c(Q502895),P20,Q193305)
action filter_type
action find_reverse
entity Q193305
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q193305']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P20 resource:Q193305 }
Estoril
action filter_type
action find_reverse
entity Estoril
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Estoril']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:place_of_death resource:Estoril }
[]
common name
Q131374 Q117144 Q235168
SYSTEM
Alexander Alekhine, Miklós Horthy, Giovanna of Italy
Q436763 Q7147519 Q131374 Q15407270 Q835405 Q6150021 Q2492949 Q704310 Q117144 Q434493 Q1496091 Q898955 Q580523 Q235168 Q212897
(c(Q502895),P20,Q193305)
action filter_type
action find_reverse
entity Q193305
relation P20
type Q502895
[ANSWERS] died in that human settlement
[{'concept': 'Q502895'}, 'P20', 'Q193305']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P20 resource:Q193305 }
José Sanjurjo Patrick Ramsay Alexander Alekhine Luisa-María Linares Magdolna Purgly Jan Szembek Valerian Trifa Infante Alfonso of Spain Miklós Horthy Magda Lupescu Henry de Buys Roessingh Miklós Horthy João Pinheiro Chagas Giovanna of Italy Carol II of Romania
Alexander Alekhine, Miklós Horthy and Giovanna of Italy died in that human settlement
Alexander Alekhine Miklós Horthy Giovanna of Italy
action filter_type
action find_reverse
entity Estoril
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Estoril']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:place_of_death resource:Estoril }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q131374 Q117144 Q235168
P26
Q502895
USER
Which people are the spouses of those ones ?
(Q131374,P26,c(Q502895)) (Q117144,P26,c(Q502895)) (Q235168,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
['Q131374', 'P26', {'concept': 'Q502895'}] ['Q117144', 'P26', {'concept': 'Q502895'}] ['Q235168', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?b property:P26 ?y . VALUES ( ?b ) { ( resource:Q436763 ) ( resource:Q7147519 ) ( resource:Q131374 ) } . ?y rdf:type ontology:Q502895 }
Alexander Alekhine Miklós Horthy Giovanna of Italy
action filter_type
action find
entity prev_answer
relation spouse
type common name
['Alexander Alekhine', 'spouse', {'concept': 'common name'}] ['Miklós Horthy', 'spouse', {'concept': 'common name'}] ['Giovanna of Italy', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?b property:spouse ?y . VALUES ( ?b ) { ( resource:José_Sanjurjo ) ( resource:Patrick_Ramsay ) ( resource:Alexander_Alekhine ) } . ?y rdf:type ontology:common_name }
[]
common name
Q5590969 Q835405 Q159585
SYSTEM
Grace Alekhine, Magdolna Purgly, Boris III of Bulgaria
Q5590969 Q835405 Q159585
(Q131374,P26,c(Q502895)) (Q117144,P26,c(Q502895)) (Q235168,P26,c(Q502895))
action filter_type
action find
entity prev_answer
relation P26
type Q502895
[ANSWERS] are the spouses of those ones
['Q131374', 'P26', {'concept': 'Q502895'}] ['Q117144', 'P26', {'concept': 'Q502895'}] ['Q235168', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?b property:P26 ?y . VALUES ( ?b ) { ( resource:Q436763 ) ( resource:Q7147519 ) ( resource:Q131374 ) } . ?y rdf:type ontology:Q502895 }
Grace Alekhine Magdolna Purgly Boris III of Bulgaria
Grace Alekhine, Magdolna Purgly and Boris III of Bulgaria are the spouses of those ones
Grace Alekhine Magdolna Purgly Boris III of Bulgaria
action filter_type
action find
entity prev_answer
relation spouse
type common name
['Alexander Alekhine', 'spouse', {'concept': 'common name'}] ['Miklós Horthy', 'spouse', {'concept': 'common name'}] ['Giovanna of Italy', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?b property:spouse ?y . VALUES ( ?b ) { ( resource:José_Sanjurjo ) ( resource:Patrick_Ramsay ) ( resource:Alexander_Alekhine ) } . ?y rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q835405
P27
Q3024240
USER
Which former country is that person an inhabitant of ?
(Q835405,P27,c(Q3024240))
action filter_type
action find
entity Q835405
relation P27
type Q3024240
['Q835405', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?l WHERE { resource:Q835405 property:P27 ?l . ?l rdf:type ontology:Q3024240 }
Magdolna Purgly
action filter_type
action find
entity Magdolna Purgly
relation country of citizenship
type former country
['Magdolna Purgly', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?l WHERE { resource:Magdolna_Purgly property:country_of_citizenship ?l . ?l rdf:type ontology:former_country }
[]
former country
Clarification for simple ques.
Q159585
SYSTEM
Did you mean Boris III of Bulgaria ?
Q5590969 Q835405 Q159585
(Q5590969,P27,c(Q3024240)) (Q835405,P27,c(Q3024240)) (Q159585,P27,c(Q3024240))
[ANSWER]
['Q5590969', 'P27', {'concept': 'Q3024240'}] ['Q835405', 'P27', {'concept': 'Q3024240'}] ['Q159585', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?l WHERE { resource:Q835405 property:P27 ?l . ?l rdf:type ontology:Q3024240 }
Grace Alekhine Magdolna Purgly Boris III of Bulgaria
Did you mean Boris III of Bulgaria ?
Boris III of Bulgaria
['Grace Alekhine', 'country of citizenship', {'concept': 'former country'}] ['Magdolna Purgly', 'country of citizenship', {'concept': 'former country'}] ['Boris III of Bulgaria', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?l WHERE { resource:Magdolna_Purgly property:country_of_citizenship ?l . ?l rdf:type ontology:former_country }
[]
Simple Question (Coreferenced)
USER
No, I meant Magdolna Purgly. Could you tell me the answer for that?
(Q835405,P27,c(Q3024240))
Q835405
['Q835405', 'P27', {'concept': 'Q3024240'}]
['Magdolna Purgly', 'country of citizenship', {'concept': 'former country'}]
[]
Q28513
SYSTEM
Austria-Hungary
Q28513
(Q835405,P27,c(Q3024240))
action filter_type
action find
entity Q835405
relation P27
type Q3024240
The [ANSWER] is that person an inhabitant of
['Q835405', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?l WHERE { resource:Q835405 property:P27 ?l . ?l rdf:type ontology:Q3024240 }
Austria-Hungary
The Austria-Hungary is that person an inhabitant of
Austria-Hungary
action filter_type
action find
entity Magdolna Purgly
relation country of citizenship
type former country
['Magdolna Purgly', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?l WHERE { resource:Magdolna_Purgly property:country_of_citizenship ?l . ?l rdf:type ontology:former_country }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q28513 Q961872
P27
Q502895
USER
Is Nathalie Zajde a native of that former country ?
(Q961872,P27,Q28513)
action is_in
entity Q961872
action find
entity Q28513
relation P27
['Q961872', 'P27', 'Q28513']
ASK WHERE { resource:Q28513 property:P27 resource:Q961872 }
Austria-Hungary Nathalie Zajde
action is_in
entity Nathalie Zajde
action find
entity Austria-Hungary
relation country of citizenship
['Nathalie Zajde', 'country of citizenship', 'Austria-Hungary']
ASK WHERE { resource:Austria-Hungary property:country_of_citizenship resource:Nathalie_Zajde }
[]
common name
SYSTEM
NO
(Q961872,P27,Q28513)
action is_in
entity Q961872
action find
entity Q28513
relation P27
[ANSWER]
['Q961872', 'P27', 'Q28513']
ASK WHERE { resource:Q28513 property:P27 resource:Q961872 }
No
action is_in
entity Nathalie Zajde
action find
entity Austria-Hungary
relation country of citizenship
['Nathalie Zajde', 'country of citizenship', 'Austria-Hungary']
ASK WHERE { resource:Austria-Hungary property:country_of_citizenship resource:Nathalie_Zajde }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q235168 Q219
P27
Q15617994
USER
Is Bulgaria the country of citizenship of Giovanna of Italy ?
(Q235168,P27,Q219)
action is_in
entity Q219
action find
entity Q235168
relation P27
['Q235168', 'P27', 'Q219']
ASK WHERE { resource:Q235168 property:P27 resource:Q219 }
Giovanna of Italy Bulgaria
action is_in
entity Bulgaria
action find
entity Giovanna of Italy
relation country of citizenship
['Giovanna of Italy', 'country of citizenship', 'Bulgaria']
ASK WHERE { resource:Giovanna_of_Italy property:country_of_citizenship resource:Bulgaria }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q235168,P27,Q219)
action is_in
entity Q219
action find
entity Q235168
relation P27
[ANSWER]
['Q235168', 'P27', 'Q219']
ASK WHERE { resource:Q235168 property:P27 resource:Q219 }
Yes
action is_in
entity Bulgaria
action find
entity Giovanna of Italy
relation country of citizenship
['Giovanna of Italy', 'country of citizenship', 'Bulgaria']
ASK WHERE { resource:Giovanna_of_Italy property:country_of_citizenship resource:Bulgaria }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q835405 Q3167 Q850982
P19
Q515
USER
Does Magdolna Purgly have location of birth at Siegen and Curtici ?
(Q835405,P19,Q3167) (Q835405,P19,Q850982)
action is_in
entity Q835405
action intersection
action find_reverse
entity Q3167
relation P19
action find_reverse
entity Q850982
relation P19
['Q835405', 'P19', 'Q3167'] ['Q835405', 'P19', 'Q850982']
ASK WHERE { resource:Q835405 property:P19 resource:Q3167 . resource:Q835405 property:P19 resource:Q850982 }
Magdolna Purgly Siegen Curtici
action is_in
entity Magdolna Purgly
action intersection
action find_reverse
entity Siegen
relation place of birth
action find_reverse
entity Curtici
relation place of birth
['Magdolna Purgly', 'place of birth', 'Siegen'] ['Magdolna Purgly', 'place of birth', 'Curtici']
ASK WHERE { resource:Magdolna_Purgly property:place_of_birth resource:Siegen . resource:Magdolna_Purgly property:place_of_birth resource:Curtici }
[]
city
SYSTEM
NO and YES respectively
(Q835405,P19,Q3167) (Q835405,P19,Q850982)
action is_in
entity Q835405
action intersection
action find_reverse
entity Q3167
relation P19
action find_reverse
entity Q850982
relation P19
[ANSWER]
['Q835405', 'P19', 'Q3167'] ['Q835405', 'P19', 'Q850982']
ASK WHERE { resource:Q835405 property:P19 resource:Q3167 . resource:Q835405 property:P19 resource:Q850982 }
NO and YES respectively
action is_in
entity Magdolna Purgly
action intersection
action find_reverse
entity Siegen
relation place of birth
action find_reverse
entity Curtici
relation place of birth
['Magdolna Purgly', 'place of birth', 'Siegen'] ['Magdolna Purgly', 'place of birth', 'Curtici']
ASK WHERE { resource:Magdolna_Purgly property:place_of_birth resource:Siegen . resource:Magdolna_Purgly property:place_of_birth resource:Curtici }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5590969 Q131374
P26
Q502895
USER
Is Alexander Alekhine the life partner of Grace Alekhine ?
(Q5590969,P26,Q131374)
action is_in
entity Q131374
action find
entity Q5590969
relation P26
['Q5590969', 'P26', 'Q131374']
ASK WHERE { resource:Q5590969 property:P26 resource:Q131374 }
Grace Alekhine Alexander Alekhine
action is_in
entity Alexander Alekhine
action find
entity Grace Alekhine
relation spouse
['Grace Alekhine', 'spouse', 'Alexander Alekhine']
ASK WHERE { resource:Grace_Alekhine property:spouse resource:Alexander_Alekhine }
[]
common name
SYSTEM
YES
(Q5590969,P26,Q131374)
action is_in
entity Q131374
action find
entity Q5590969
relation P26
[ANSWER]
['Q5590969', 'P26', 'Q131374']
ASK WHERE { resource:Q5590969 property:P26 resource:Q131374 }
Yes
action is_in
entity Alexander Alekhine
action find
entity Grace Alekhine
relation spouse
['Grace Alekhine', 'spouse', 'Alexander Alekhine']
ASK WHERE { resource:Grace_Alekhine property:spouse resource:Alexander_Alekhine }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P122
Q22676587 Q3024240
USER
How many monarchic systems are the types of government for atleast 1 former country ?
(c(Q3024240),P122,c(Q22676587))
action count
action atleast
action find_reverse_tuple_counts
relation P122
type Q22676587
type Q3024240
value 1
[{'concept': 'Q3024240'}, 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { FILTER ( ?v >= 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P122 ?s . ?s rdf:type ontology:Q22676587 . ?w rdf:type ontology:Q3024240 } GROUP BY ?s } }
action count
action atleast
action find_reverse_tuple_counts
relation basic form of government
type monarchic system
type former country
value 1
[{'concept': 'former country'}, 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { FILTER ( ?v >= 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:basic_form_of_government ?s . ?s rdf:type ontology:monarchic_system . ?w rdf:type ontology:former_country } GROUP BY ?s } }
[]
monarchic system former country
SYSTEM
2
Q3208952 Q2994894
(c(Q3024240),P122,c(Q22676587))
action count
action atleast
action find_reverse_tuple_counts
relation P122
type Q22676587
type Q3024240
value 1
[ANSWER]
[{'concept': 'Q3024240'}, 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { FILTER ( ?v >= 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:P122 ?s . ?s rdf:type ontology:Q22676587 . ?w rdf:type ontology:Q3024240 } GROUP BY ?s } }
federal monarchy dual monarchy
2
action count
action atleast
action find_reverse_tuple_counts
relation basic form of government
type monarchic system
type former country
value 1
[{'concept': 'former country'}, 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { FILTER ( ?v >= 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?v ) WHERE { ?w property:basic_form_of_government ?s . ?s rdf:type ontology:monarchic_system . ?w rdf:type ontology:former_country } GROUP BY ?s } }
[]