Simple Question (Direct)
Simple Question
Q3340341
P21
Q290
USER
Which sex does Nicolas Felix Vandive belong to ?
(Q3340341,P21,c(Q290))
action filter_type
action find
entity Q3340341
relation P21
type Q290
['Q3340341', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q3340341 property:P21 ?n }
Nicolas Felix Vandive
action filter_type
action find
entity Nicolas Felix Vandive
relation gender
type sex
['Nicolas Felix Vandive', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Nicolas_Felix_Vandive property:gender ?n }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3340341,P21,c(Q290))
action filter_type
action find
entity Q3340341
relation P21
type Q290
Nicolas Felix Vandive belongs to [ANSWER]
['Q3340341', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q3340341 property:P21 ?n }
male
Nicolas Felix Vandive belongs to male
male
action filter_type
action find
entity Nicolas Felix Vandive
relation gender
type sex
['Nicolas Felix Vandive', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Nicolas_Felix_Vandive property:gender ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3340341
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q6581097)
action filter_type
action find_reverse
entity Q3340341
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q6581097']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q3340341 . ?s rdf:type ontology:Q502895 }
Nicolas Felix Vandive
action filter_type
action find_reverse
entity Nicolas Felix Vandive
relation child
type common name
[{'concept': 'common name'}, 'child', 'male']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Nicolas_Felix_Vandive . ?s rdf:type ontology:common_name }
[]
common name
Q2881584
SYSTEM
Balthazar-Philippe Vandive
Q2881584
(c(Q502895),P40,Q6581097)
action filter_type
action find_reverse
entity Q3340341
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q6581097']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q3340341 . ?s rdf:type ontology:Q502895 }
Balthazar-Philippe Vandive
Balthazar-Philippe Vandive has that one as a child
Balthazar-Philippe Vandive
action filter_type
action find_reverse
entity Nicolas Felix Vandive
relation child
type common name
[{'concept': 'common name'}, 'child', 'male']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Nicolas_Felix_Vandive . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3340341
P106
Q28640 Q12737077
USER
How many professions or occupations do Nicolas Felix Vandive do for a living ?
(Q3340341,P106,c(Q28640)) (Q3340341,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q3340341
relation P106
type Q28640
action filter_type
action find
entity Q3340341
relation P106
type Q12737077
['Q3340341', 'P106', {'concept': 'Q28640'}] ['Q3340341', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q12737077 ) ( ontology:Q28640 ) } }
Nicolas Felix Vandive
action count
action union
action filter_type
action find
entity Nicolas Felix Vandive
relation occupation
type profession
action filter_type
action find
entity Nicolas Felix Vandive
relation occupation
type occupation
['Nicolas Felix Vandive', 'occupation', {'concept': 'profession'}] ['Nicolas Felix Vandive', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:occupation ) ( ontology:profession ) } }
[]
profession occupation
SYSTEM
2
Q641208 Q40348
(Q3340341,P106,c(Q28640)) (Q3340341,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q3340341
relation P106
type Q28640
action filter_type
action find
entity Q3340341
relation P106
type Q12737077
[ANSWER]
['Q3340341', 'P106', {'concept': 'Q28640'}] ['Q3340341', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:Q12737077 ) ( ontology:Q28640 ) } }
court clerk lawyer
2
action count
action union
action filter_type
action find
entity Nicolas Felix Vandive
relation occupation
type profession
action filter_type
action find
entity Nicolas Felix Vandive
relation occupation
type occupation
['Nicolas Felix Vandive', 'occupation', {'concept': 'profession'}] ['Nicolas Felix Vandive', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ?y . VALUES ( ?y ) { ( ontology:occupation ) ( ontology:profession ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3340341
P22
Q502895
USER
Which male person was the parent of Nicolas Felix Vandive ?
(Q3340341,P22,c(Q502895))
action filter_type
action find
entity Q3340341
relation P22
type Q502895
['Q3340341', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3340341 property:P22 ?a . ?a rdf:type ontology:Q502895 }
Nicolas Felix Vandive
action filter_type
action find
entity Nicolas Felix Vandive
relation father
type common name
['Nicolas Felix Vandive', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Nicolas_Felix_Vandive property:father ?a . ?a rdf:type ontology:common_name }
[]
common name
Q2881584
SYSTEM
Balthazar-Philippe Vandive
Q2881584
(Q3340341,P22,c(Q502895))
action filter_type
action find
entity Q3340341
relation P22
type Q502895
[ANSWER] was the parent of Nicolas Felix Vandive
['Q3340341', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3340341 property:P22 ?a . ?a rdf:type ontology:Q502895 }
Balthazar-Philippe Vandive
Balthazar-Philippe Vandive was the parent of Nicolas Felix Vandive
Balthazar-Philippe Vandive
action filter_type
action find
entity Nicolas Felix Vandive
relation father
type common name
['Nicolas Felix Vandive', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Nicolas_Felix_Vandive property:father ?a . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2881584 Q142 Q1070036
P27
Q15617994
USER
Is Balthazar-Philippe Vandive a citizen of France and Chengxiang District ?
(Q2881584,P27,Q142) (Q2881584,P27,Q1070036)
action is_in
entity Q2881584
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q1070036
relation P27
['Q2881584', 'P27', 'Q142'] ['Q2881584', 'P27', 'Q1070036']
ASK WHERE { resource:Q2881584 property:P27 resource:Q142 . resource:Q2881584 property:P27 resource:Q1070036 }
Balthazar-Philippe Vandive France Chengxiang District
action is_in
entity Balthazar-Philippe Vandive
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Chengxiang District
relation country of citizenship
['Balthazar-Philippe Vandive', 'country of citizenship', 'France'] ['Balthazar-Philippe Vandive', 'country of citizenship', 'Chengxiang District']
ASK WHERE { resource:Balthazar-Philippe_Vandive property:country_of_citizenship resource:France . resource:Balthazar-Philippe_Vandive property:country_of_citizenship resource:Chengxiang_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q2881584,P27,Q142) (Q2881584,P27,Q1070036)
action is_in
entity Q2881584
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q1070036
relation P27
[ANSWER]
['Q2881584', 'P27', 'Q142'] ['Q2881584', 'P27', 'Q1070036']
ASK WHERE { resource:Q2881584 property:P27 resource:Q142 . resource:Q2881584 property:P27 resource:Q1070036 }
YES and NO respectively
action is_in
entity Balthazar-Philippe Vandive
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Chengxiang District
relation country of citizenship
['Balthazar-Philippe Vandive', 'country of citizenship', 'France'] ['Balthazar-Philippe Vandive', 'country of citizenship', 'Chengxiang District']
ASK WHERE { resource:Balthazar-Philippe_Vandive property:country_of_citizenship resource:France . resource:Balthazar-Philippe_Vandive property:country_of_citizenship resource:Chengxiang_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3340341
P19
Q56061
USER
Which administrative territory is the place of birth of Nicolas Felix Vandive ?
(Q3340341,P19,c(Q56061))
action filter_type
action find
entity Q3340341
relation P19
type Q56061
['Q3340341', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3340341 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Nicolas Felix Vandive
action filter_type
action find
entity Nicolas Felix Vandive
relation place of birth
type administrative territorial entity
['Nicolas Felix Vandive', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Nicolas_Felix_Vandive property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3340341,P19,c(Q56061))
action filter_type
action find
entity Q3340341
relation P19
type Q56061
[ANSWER] is the place of birth of Nicolas Felix Vandive
['Q3340341', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3340341 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Paris
Paris is the place of birth of Nicolas Felix Vandive
Paris
action filter_type
action find
entity Nicolas Felix Vandive
relation place of birth
type administrative territorial entity
['Nicolas Felix Vandive', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Nicolas_Felix_Vandive property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3340341
P20
Q56061
USER
Where did that person die ?
(Q90,P20,c(Q56061))
action filter_type
action find
entity Q3340341
relation P20
type Q56061
['Q90', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q3340341 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Nicolas Felix Vandive
action filter_type
action find
entity Nicolas Felix Vandive
relation place of death
type administrative territorial entity
['Paris', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Nicolas_Felix_Vandive property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q90,P20,c(Q56061))
action filter_type
action find
entity Q3340341
relation P20
type Q56061
That person died in [ANSWER]
['Q90', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q3340341 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Paris
That person died in Paris
Paris
action filter_type
action find
entity Nicolas Felix Vandive
relation place of death
type administrative territorial entity
['Paris', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Nicolas_Felix_Vandive property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42308
P190
Q56061
USER
Which administrative territories are sister towns of Kharkiv ?
(Q42308,P190,c(Q56061))
action filter_type
action find
entity Q42308
relation P190
type Q56061
['Q42308', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q42308 property:P190 ?y }
Kharkiv
action filter_type
action find
entity Kharkiv
relation sister city
type administrative territorial entity
['Kharkiv', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Kharkiv property:sister_city ?y }
[]
administrative territorial entity
Q649 Q270 Q2090
SYSTEM
Moscow, Warsaw, Nuremberg
Q173338 Q26175 Q80021 Q270 Q6506 Q649 Q648 Q172415 Q1891 Q201051 Q93338 Q2090 Q3323 Q4115712 Q891
(Q42308,P190,c(Q56061))
action filter_type
action find
entity Q42308
relation P190
type Q56061
[ANSWERS] are sister towns of Kharkiv
['Q42308', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . resource:Q42308 property:P190 ?y }
Cetinje Trnava Daugavpils Warsaw Varna Moscow Lille Kutaisi Bologna Rishon LeZion Gaziantep Nuremberg Belgorod Kaunas Nizhny Novgorod
Moscow, Warsaw and Nuremberg are sister towns of Kharkiv
Moscow Warsaw Nuremberg
action filter_type
action find
entity Kharkiv
relation sister city
type administrative territorial entity
['Kharkiv', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . resource:Kharkiv property:sister_city ?y }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q42308
Q15617994
USER
And which administrative territory?
(Q42308,P190,c(Q15617994))
action filter_type
action find
entity Q42308
relation P190
type Q15617994
['Q42308', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q42308 property:P190 ?z . ?z rdf:type ontology:Q15617994 }
Kharkiv
action filter_type
action find
entity Kharkiv
relation sister city
type designation for an administrative territorial entity
['Kharkiv', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Kharkiv property:sister_city ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q158064
SYSTEM
Steglitz-Zehlendorf
Q158064
(Q42308,P190,c(Q15617994))
action filter_type
action find
entity Q42308
relation P190
type Q15617994
[ANSWER]
['Q42308', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q42308 property:P190 ?z . ?z rdf:type ontology:Q15617994 }
Steglitz-Zehlendorf
Steglitz-Zehlendorf
action filter_type
action find
entity Kharkiv
relation sister city
type designation for an administrative territorial entity
['Kharkiv', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Kharkiv property:sister_city ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are a sister city of that administrative territory ?
(c(Q56061),P190,Q158064)
action count
action filter_type
action find_reverse
entity Q158064
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q158064']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P190 resource:Q158064 . ?i rdf:type ontology:Q56061 }
action count
action filter_type
action find_reverse
entity Steglitz-Zehlendorf
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Steglitz-Zehlendorf']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:sister_city resource:Steglitz-Zehlendorf . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
6
Q152374 Q123196 Q16013 Q42308 Q2022196 Q774098
(c(Q56061),P190,Q158064)
action count
action filter_type
action find_reverse
entity Q158064
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q158064']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P190 resource:Q158064 . ?i rdf:type ontology:Q56061 }
Kiryat Bialik Sderot Königs Wusterhausen Kharkiv Sochos Kazimierz Dolny
6
action count
action filter_type
action find_reverse
entity Steglitz-Zehlendorf
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Steglitz-Zehlendorf']
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:sister_city resource:Steglitz-Zehlendorf . ?i rdf:type ontology:administrative_territorial_entity }
[]