Simple Question (Direct)
Simple Question
Q380374
P21
Q290
USER
Which sex does Adélai͏̈de Hautval possess ?
(Q380374,P21,c(Q290))
action filter_type
action find
entity Q380374
relation P21
type Q290
['Q380374', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q380374 property:P21 ?i . ?i rdf:type ontology:Q290 }
Adélai͏̈de Hautval
action filter_type
action find
entity Adélai͏̈de Hautval
relation gender
type sex
['Adélai͏̈de Hautval', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Adélai͏̈de_Hautval property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q380374,P21,c(Q290))
action filter_type
action find
entity Q380374
relation P21
type Q290
Adélai͏̈de Hautval possesses a [ANSWER]
['Q380374', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q380374 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
Adélai͏̈de Hautval possesses a female
female
action filter_type
action find
entity Adélai͏̈de Hautval
relation gender
type sex
['Adélai͏̈de Hautval', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Adélai͏̈de_Hautval property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q380374
P19
Q20667921
USER
Where was Adélai͏̈de Hautval born ?
(Q380374,P19,c(Q20667921))
action filter_type
action find
entity Q380374
relation P19
type Q20667921
['Q380374', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q380374 property:P19 ?j . ?j rdf:type ontology:Q20667921 }
Adélai͏̈de Hautval
action filter_type
action find
entity Adélai͏̈de Hautval
relation place of birth
type type of french administrative division
['Adélai͏̈de Hautval', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Adélai͏̈de_Hautval property:place_of_birth ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q22893
SYSTEM
Le Hohwald
Q22893
(Q380374,P19,c(Q20667921))
action filter_type
action find
entity Q380374
relation P19
type Q20667921
Adélai͏̈de Hautval was born in [ANSWER]
['Q380374', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q380374 property:P19 ?j . ?j rdf:type ontology:Q20667921 }
Le Hohwald
Adélai͏̈de Hautval was born in Le Hohwald
Le Hohwald
action filter_type
action find
entity Adélai͏̈de Hautval
relation place of birth
type type of french administrative division
['Adélai͏̈de Hautval', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Adélai͏̈de_Hautval property:place_of_birth ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22810068
Q20667921
USER
And what about Alfred Pierre Blanche?
(Q22810068,P19,c(Q20667921))
action filter_type
action find
entity Q22810068
relation P19
type Q20667921
['Q22810068', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q20667921 . resource:Q22810068 property:P19 ?f }
Alfred Pierre Blanche
action filter_type
action find
entity Alfred Pierre Blanche
relation place of birth
type type of french administrative division
['Alfred Pierre Blanche', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:type_of_french_administrative_division . resource:Alfred_Pierre_Blanche property:place_of_birth ?f }
[]
type of french administrative division
Q30974
SYSTEM
Rouen
Q30974
(Q22810068,P19,c(Q20667921))
action filter_type
action find
entity Q22810068
relation P19
type Q20667921
[ANSWER]
['Q22810068', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q20667921 . resource:Q22810068 property:P19 ?f }
Rouen
Rouen
action filter_type
action find
entity Alfred Pierre Blanche
relation place of birth
type type of french administrative division
['Alfred Pierre Blanche', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:type_of_french_administrative_division . resource:Alfred_Pierre_Blanche property:place_of_birth ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30974 Q20925900
P19
Q502895
USER
Does Boris Stern have birthplace at that french administrative division ?
(Q20925900,P19,Q30974)
action is_in
entity Q20925900
action find
entity Q30974
relation P19
['Q20925900', 'P19', 'Q30974']
ASK WHERE { resource:Q30974 property:P19 resource:Q20925900 }
Rouen Boris Stern
action is_in
entity Boris Stern
action find
entity Rouen
relation place of birth
['Boris Stern', 'place of birth', 'Rouen']
ASK WHERE { resource:Rouen property:place_of_birth resource:Boris_Stern }
[]
common name
SYSTEM
NO
(Q20925900,P19,Q30974)
action is_in
entity Q20925900
action find
entity Q30974
relation P19
[ANSWER]
['Q20925900', 'P19', 'Q30974']
ASK WHERE { resource:Q30974 property:P19 resource:Q20925900 }
No
action is_in
entity Boris Stern
action find
entity Rouen
relation place of birth
['Boris Stern', 'place of birth', 'Rouen']
ASK WHERE { resource:Rouen property:place_of_birth resource:Boris_Stern }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30974
P1376
Q19953632
USER
Which former administrative territory has that french administrative division as its capital ?
action filter_type
action find
entity Q30974
relation P1376
type Q19953632
SELECT DISTINCT ?z WHERE { resource:Q30974 property:P1376 ?z . ?z rdf:type ontology:Q19953632 }
Rouen
action filter_type
action find
entity Rouen
relation capital of
type former administrative territorial entity
SELECT DISTINCT ?z WHERE { resource:Rouen property:capital_of ?z . ?z rdf:type ontology:former_administrative_territorial_entity }
[]
former administrative territorial entity
Q16961
SYSTEM
Upper Normandy
Q16961
action filter_type
action find
entity Q30974
relation P1376
type Q19953632
[ANSWER] has that french administrative division as its capital
SELECT DISTINCT ?z WHERE { resource:Q30974 property:P1376 ?z . ?z rdf:type ontology:Q19953632 }
Upper Normandy
Upper Normandy has that french administrative division as its capital
Upper Normandy
action filter_type
action find
entity Rouen
relation capital of
type former administrative territorial entity
SELECT DISTINCT ?z WHERE { resource:Rouen property:capital_of ?z . ?z rdf:type ontology:former_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4083754 Q380374
P512
Q3412758
USER
Which qualifications degree or diploma were awarded to Adélai͏̈de Hautval or Nikolay Benediktov ?
OR((Q380374,P512,c(Q3412758)), (Q4083754,P512,c(Q3412758)))
action filter_type
action union
action find
entity Q380374
relation P512
action find
entity Q4083754
relation P512
type Q3412758
{'OR': [['Q380374', 'P512', {'concept': 'Q3412758'}], ['Q4083754', 'P512', {'concept': 'Q3412758'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q380374 property:P512 ?x } UNION { resource:Q4083754 property:P512 ?x } } . ?x rdf:type ontology:Q3412758 }
Nikolay Benediktov Adélai͏̈de Hautval
action filter_type
action union
action find
entity Adélai͏̈de Hautval
relation academic degree
action find
entity Nikolay Benediktov
relation academic degree
type qualification
{'OR': [['Adélai͏̈de Hautval', 'academic degree', {'concept': 'qualification'}], ['Nikolay Benediktov', 'academic degree', {'concept': 'qualification'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Adélai͏̈de_Hautval property:academic_degree ?x } UNION { resource:Nikolay_Benediktov property:academic_degree ?x } } . ?x rdf:type ontology:qualification }
[]
qualification
Q17281084 Q849697
SYSTEM
Doktor Nauk in Philosophy, doctoral degree
Q17281084 Q849697
OR((Q380374,P512,c(Q3412758)), (Q4083754,P512,c(Q3412758)))
action filter_type
action union
action find
entity Q380374
relation P512
action find
entity Q4083754
relation P512
type Q3412758
[ANSWERS] were awarded to Adélai͏̈de Hautval or Nikolay Benediktov
{'OR': [['Q380374', 'P512', {'concept': 'Q3412758'}], ['Q4083754', 'P512', {'concept': 'Q3412758'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q380374 property:P512 ?x } UNION { resource:Q4083754 property:P512 ?x } } . ?x rdf:type ontology:Q3412758 }
Doktor Nauk in Philosophy doctoral degree
Doktor Nauk in Philosophy and doctoral degree were awarded to Adélai͏̈de Hautval or Nikolay Benediktov
Doktor Nauk in Philosophy doctoral degree
action filter_type
action union
action find
entity Adélai͏̈de Hautval
relation academic degree
action find
entity Nikolay Benediktov
relation academic degree
type qualification
{'OR': [['Adélai͏̈de Hautval', 'academic degree', {'concept': 'qualification'}], ['Nikolay Benediktov', 'academic degree', {'concept': 'qualification'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Adélai͏̈de_Hautval property:academic_degree ?x } UNION { resource:Nikolay_Benediktov property:academic_degree ?x } } . ?x rdf:type ontology:qualification }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4083754
P937
Q56061
USER
How many administrative territories are the work locations of Nikolay Benediktov ?
(Q4083754,P937,c(Q56061))
action count
action filter_type
action find
entity Q4083754
relation P937
type Q56061
['Q4083754', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q4083754 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Nikolay Benediktov
action count
action filter_type
action find
entity Nikolay Benediktov
relation work location
type administrative territorial entity
['Nikolay Benediktov', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Nikolay_Benediktov property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q649
(Q4083754,P937,c(Q56061))
action count
action filter_type
action find
entity Q4083754
relation P937
type Q56061
[ANSWER]
['Q4083754', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Q4083754 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Moscow
1
action count
action filter_type
action find
entity Nikolay Benediktov
relation work location
type administrative territorial entity
['Nikolay Benediktov', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { resource:Nikolay_Benediktov property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15992898
P1412
Q34770
USER
Which language can Nathan Dean read ?
(Q15992898,P1412,c(Q34770))
action filter_type
action find
entity Q15992898
relation P1412
type Q34770
['Q15992898', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q15992898 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Nathan Dean
action filter_type
action find
entity Nathan Dean
relation languages spoken, written or signed
type language
['Nathan Dean', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Nathan_Dean property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q15992898,P1412,c(Q34770))
action filter_type
action find
entity Q15992898
relation P1412
type Q34770
Nathan Dean can read [ANSWER]
['Q15992898', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q15992898 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
English
Nathan Dean can read English
English
action filter_type
action find
entity Nathan Dean
relation languages spoken, written or signed
type language
['Nathan Dean', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Nathan_Dean property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1712361
Q34770
USER
And how about Julio Galán?
(Q1712361,P1412,c(Q34770))
action filter_type
action find
entity Q1712361
relation P1412
type Q34770
['Q1712361', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q1712361 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Julio Galán
action filter_type
action find
entity Julio Galán
relation languages spoken, written or signed
type language
['Julio Galán', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Julio_Galán property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1712361,P1412,c(Q34770))
action filter_type
action find
entity Q1712361
relation P1412
type Q34770
[ANSWER]
['Q1712361', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q1712361 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action find
entity Julio Galán
relation languages spoken, written or signed
type language
['Julio Galán', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Julio_Galán property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1712361
P1196
Q1190554
USER
What manner did that person die ?
(Q1321,P1196,c(Q1190554))
action filter_type
action find
entity Q1712361
relation P1196
type Q1190554
['Q1321', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { resource:Q1712361 property:P1196 ?t . ?t rdf:type ontology:Q1190554 }
Julio Galán
action filter_type
action find
entity Julio Galán
relation manner of death
type event
['Spanish', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { resource:Julio_Galán property:manner_of_death ?t . ?t rdf:type ontology:event }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q1321,P1196,c(Q1190554))
action filter_type
action find
entity Q1712361
relation P1196
type Q1190554
That person died an [ANSWER]
['Q1321', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { resource:Q1712361 property:P1196 ?t . ?t rdf:type ontology:Q1190554 }
accident
That person died an accident
accident
action filter_type
action find
entity Julio Galán
relation manner of death
type event
['Spanish', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { resource:Julio_Galán property:manner_of_death ?t . ?t rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1712361
P20
Q486972
USER
Where did the demise of that person occur ?
(Q171558,P20,c(Q486972))
action filter_type
action find
entity Q1712361
relation P20
type Q486972
['Q171558', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q1712361 property:P20 ?n . ?n rdf:type ontology:Q486972 }
Julio Galán
action filter_type
action find
entity Julio Galán
relation place of death
type human settlement
['accident', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Julio_Galán property:place_of_death ?n . ?n rdf:type ontology:human_settlement }
[]
human settlement
Q139242
SYSTEM
Zacatecas
Q139242
(Q171558,P20,c(Q486972))
action filter_type
action find
entity Q1712361
relation P20
type Q486972
The demise of that person occurred in [ANSWER]
['Q171558', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { resource:Q1712361 property:P20 ?n . ?n rdf:type ontology:Q486972 }
Zacatecas
The demise of that person occurred in Zacatecas
Zacatecas
action filter_type
action find
entity Julio Galán
relation place of death
type human settlement
['accident', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { resource:Julio_Galán property:place_of_death ?n . ?n rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3791 Q30974
P190
Q515
USER
Which cities are twin towns of Rouen or Ratingen ?
OR((Q30974,P190,c(Q515)), (Q3791,P190,c(Q515)))
action filter_type
action union
action find
entity Q30974
relation P190
action find
entity Q3791
relation P190
type Q515
{'OR': [['Q30974', 'P190', {'concept': 'Q515'}], ['Q3791', 'P190', {'concept': 'Q515'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q515 . { ?e property:P190 ?z . VALUES ( ?e ) { ( resource:Q30974 ) ( resource:Q3791 ) } } }
Ratingen Rouen
action filter_type
action union
action find
entity Rouen
relation sister city
action find
entity Ratingen
relation sister city
type city
{'OR': [['Rouen', 'sister city', {'concept': 'city'}], ['Ratingen', 'sister city', {'concept': 'city'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:city . { ?e property:sister_city ?z . VALUES ( ?e ) { ( resource:Rouen ) ( resource:Ratingen ) } } }
[]
city
Q3104 Q42651
SYSTEM
Koblenz, Wuxi
Q3104 Q42651
OR((Q30974,P190,c(Q515)), (Q3791,P190,c(Q515)))
action filter_type
action union
action find
entity Q30974
relation P190
action find
entity Q3791
relation P190
type Q515
[ANSWERS] are twin towns of Rouen or Ratingen
{'OR': [['Q30974', 'P190', {'concept': 'Q515'}], ['Q3791', 'P190', {'concept': 'Q515'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q515 . { ?e property:P190 ?z . VALUES ( ?e ) { ( resource:Q30974 ) ( resource:Q3791 ) } } }
Koblenz Wuxi
Koblenz and Wuxi are twin towns of Rouen or Ratingen
Koblenz Wuxi
action filter_type
action union
action find
entity Rouen
relation sister city
action find
entity Ratingen
relation sister city
type city
{'OR': [['Rouen', 'sister city', {'concept': 'city'}], ['Ratingen', 'sister city', {'concept': 'city'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:city . { ?e property:sister_city ?z . VALUES ( ?e ) { ( resource:Rouen ) ( resource:Ratingen ) } } }
[]