Simple Question (Direct)
Simple Question
Q18117379
P20
Q20667921
USER
Which french administrative division is the place of death of André Maurice Marcel Zivy ?
(Q18117379,P20,c(Q20667921))
action filter_type
action find
entity Q18117379
relation P20
type Q20667921
['Q18117379', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q18117379 property:P20 ?c . ?c rdf:type ontology:Q20667921 }
André Maurice Marcel Zivy
action filter_type
action find
entity André Maurice Marcel Zivy
relation place of death
type type of french administrative division
['André Maurice Marcel Zivy', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:André_Maurice_Marcel_Zivy property:place_of_death ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q544505
SYSTEM
Souain-Perthes-lès-Hurlus
Q544505
(Q18117379,P20,c(Q20667921))
action filter_type
action find
entity Q18117379
relation P20
type Q20667921
[ANSWER] is the place of death of André Maurice Marcel Zivy
['Q18117379', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q18117379 property:P20 ?c . ?c rdf:type ontology:Q20667921 }
Souain-Perthes-lès-Hurlus
Souain-Perthes-lès-Hurlus is the place of death of André Maurice Marcel Zivy
Souain-Perthes-lès-Hurlus
action filter_type
action find
entity André Maurice Marcel Zivy
relation place of death
type type of french administrative division
['André Maurice Marcel Zivy', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:André_Maurice_Marcel_Zivy property:place_of_death ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18117379
P40
Q502895
USER
Whose child is that one ?
(c(Q502895),P40,Q544505)
action filter_type
action find_reverse
entity Q18117379
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q544505']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q18117379 . ?s rdf:type ontology:Q502895 }
André Maurice Marcel Zivy
action filter_type
action find_reverse
entity André Maurice Marcel Zivy
relation child
type common name
[{'concept': 'common name'}, 'child', 'Souain-Perthes-lès-Hurlus']
SELECT DISTINCT ?s WHERE { ?s property:child resource:André_Maurice_Marcel_Zivy . ?s rdf:type ontology:common_name }
[]
common name
Q18117378
SYSTEM
Gabriel Zivy
Q18117378
(c(Q502895),P40,Q544505)
action filter_type
action find_reverse
entity Q18117379
relation P40
type Q502895
[ANSWER] is that one
[{'concept': 'Q502895'}, 'P40', 'Q544505']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q18117379 . ?s rdf:type ontology:Q502895 }
Gabriel Zivy
Gabriel Zivy is that one
Gabriel Zivy
action filter_type
action find_reverse
entity André Maurice Marcel Zivy
relation child
type common name
[{'concept': 'common name'}, 'child', 'Souain-Perthes-lès-Hurlus']
SELECT DISTINCT ?s WHERE { ?s property:child resource:André_Maurice_Marcel_Zivy . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q18117378 Q669427
P27
Q15617994
USER
Is that person a civilian of Mülverstedt ?
(Q18117378,P27,Q669427)
action is_in
entity Q669427
action find
entity Q18117378
relation P27
['Q18117378', 'P27', 'Q669427']
ASK WHERE { resource:Q18117378 property:P27 resource:Q669427 }
Gabriel Zivy Mülverstedt
action is_in
entity Mülverstedt
action find
entity Gabriel Zivy
relation country of citizenship
['Gabriel Zivy', 'country of citizenship', 'Mülverstedt']
ASK WHERE { resource:Gabriel_Zivy property:country_of_citizenship resource:Mülverstedt }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q18117378,P27,Q669427)
action is_in
entity Q669427
action find
entity Q18117378
relation P27
[ANSWER]
['Q18117378', 'P27', 'Q669427']
ASK WHERE { resource:Q18117378 property:P27 resource:Q669427 }
No
action is_in
entity Mülverstedt
action find
entity Gabriel Zivy
relation country of citizenship
['Gabriel Zivy', 'country of citizenship', 'Mülverstedt']
ASK WHERE { resource:Gabriel_Zivy property:country_of_citizenship resource:Mülverstedt }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18117378
P22
Q502895
USER
Which person has Gabriel Zivy as father ?
(c(Q502895),P22,Q18117378)
action filter_type
action find_reverse
entity Q18117378
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q18117378']
SELECT DISTINCT ?l WHERE { ?l property:P22 resource:Q18117378 . ?l rdf:type ontology:Q502895 }
Gabriel Zivy
action filter_type
action find_reverse
entity Gabriel Zivy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Gabriel Zivy']
SELECT DISTINCT ?l WHERE { ?l property:father resource:Gabriel_Zivy . ?l rdf:type ontology:common_name }
[]
common name
Q18117379
SYSTEM
André Maurice Marcel Zivy
Q18117379
(c(Q502895),P22,Q18117378)
action filter_type
action find_reverse
entity Q18117378
relation P22
type Q502895
[ANSWER] has Gabriel Zivy as father
[{'concept': 'Q502895'}, 'P22', 'Q18117378']
SELECT DISTINCT ?l WHERE { ?l property:P22 resource:Q18117378 . ?l rdf:type ontology:Q502895 }
André Maurice Marcel Zivy
André Maurice Marcel Zivy has Gabriel Zivy as father
André Maurice Marcel Zivy
action filter_type
action find_reverse
entity Gabriel Zivy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Gabriel Zivy']
SELECT DISTINCT ?l WHERE { ?l property:father resource:Gabriel_Zivy . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18117379
P119
Q39614
USER
Which cemetery is the tomb of that person ?
(Q18117379,P119,c(Q39614))
action filter_type
action find
entity Q18117379
relation P119
type Q39614
['Q18117379', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?o WHERE { resource:Q18117379 property:P119 ?o . ?o rdf:type ontology:Q39614 }
André Maurice Marcel Zivy
action filter_type
action find
entity André Maurice Marcel Zivy
relation place of burial
type cemetery
['André Maurice Marcel Zivy', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?o WHERE { resource:André_Maurice_Marcel_Zivy property:place_of_burial ?o . ?o rdf:type ontology:cemetery }
[]
cemetery
Q311
SYSTEM
Père Lachaise Cemetery
Q311
(Q18117379,P119,c(Q39614))
action filter_type
action find
entity Q18117379
relation P119
type Q39614
The tomb of that person is at [ANSWER]
['Q18117379', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?o WHERE { resource:Q18117379 property:P119 ?o . ?o rdf:type ontology:Q39614 }
Père Lachaise Cemetery
The tomb of that person is at Père Lachaise Cemetery
Père Lachaise Cemetery
action filter_type
action find
entity André Maurice Marcel Zivy
relation place of burial
type cemetery
['André Maurice Marcel Zivy', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?o WHERE { resource:André_Maurice_Marcel_Zivy property:place_of_burial ?o . ?o rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18117379
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q311,P19,c(Q56061))
action filter_type
action find
entity Q18117379
relation P19
type Q56061
['Q311', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q18117379 property:P19 ?w . ?w rdf:type ontology:Q56061 }
André Maurice Marcel Zivy
action filter_type
action find
entity André Maurice Marcel Zivy
relation place of birth
type administrative territorial entity
['Père Lachaise Cemetery', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:André_Maurice_Marcel_Zivy property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q311,P19,c(Q56061))
action filter_type
action find
entity Q18117379
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q311', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q18117379 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Paris
Paris is the place of birth of that person
Paris
action filter_type
action find
entity André Maurice Marcel Zivy
relation place of birth
type administrative territorial entity
['Père Lachaise Cemetery', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:André_Maurice_Marcel_Zivy property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q90 Q15121441
P19
Q502895
USER
Does Otto Schmidtgen have location of birth at that administrative territory ?
(Q15121441,P19,Q90)
action is_in
entity Q15121441
action find
entity Q90
relation P19
['Q15121441', 'P19', 'Q90']
ASK WHERE { resource:Q90 property:P19 resource:Q15121441 }
Paris Otto Schmidtgen
action is_in
entity Otto Schmidtgen
action find
entity Paris
relation place of birth
['Otto Schmidtgen', 'place of birth', 'Paris']
ASK WHERE { resource:Paris property:place_of_birth resource:Otto_Schmidtgen }
[]
common name
SYSTEM
NO
(Q15121441,P19,Q90)
action is_in
entity Q15121441
action find
entity Q90
relation P19
[ANSWER]
['Q15121441', 'P19', 'Q90']
ASK WHERE { resource:Q90 property:P19 resource:Q15121441 }
No
action is_in
entity Otto Schmidtgen
action find
entity Paris
relation place of birth
['Otto Schmidtgen', 'place of birth', 'Paris']
ASK WHERE { resource:Paris property:place_of_birth resource:Otto_Schmidtgen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18117379 Q142
P27
Q15617994
USER
Is France the country of citizenship of André Maurice Marcel Zivy ?
(Q18117379,P27,Q142)
action is_in
entity Q142
action find
entity Q18117379
relation P27
['Q18117379', 'P27', 'Q142']
ASK WHERE { resource:Q18117379 property:P27 resource:Q142 }
André Maurice Marcel Zivy France
action is_in
entity France
action find
entity André Maurice Marcel Zivy
relation country of citizenship
['André Maurice Marcel Zivy', 'country of citizenship', 'France']
ASK WHERE { resource:André_Maurice_Marcel_Zivy property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q18117379,P27,Q142)
action is_in
entity Q142
action find
entity Q18117379
relation P27
[ANSWER]
['Q18117379', 'P27', 'Q142']
ASK WHERE { resource:Q18117379 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity André Maurice Marcel Zivy
relation country of citizenship
['André Maurice Marcel Zivy', 'country of citizenship', 'France']
ASK WHERE { resource:André_Maurice_Marcel_Zivy property:country_of_citizenship resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P825
Q502895 Q7725634 Q16970
USER
How many people are exactly 1 literary works and churches dedicated to ?
(c(Q7725634)|c(Q16970),P825,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q16970
value 1
[[{'concept': 'Q7725634'}, {'concept': 'Q16970'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?k WHERE { VALUES ( ?h ) { ( ontology:Q7725634 ) ( ontology:Q16970 ) } . ?n rdf:type ?h } GROUP BY ?k } . FILTER ( ?m = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type church
value 1
[[{'concept': 'literary work'}, {'concept': 'church'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?k WHERE { VALUES ( ?h ) { ( ontology:literary_work ) ( ontology:church ) } . ?n rdf:type ?h } GROUP BY ?k } . FILTER ( ?m = 1 ) }
[]
common name literary work church
SYSTEM
33
Q392 Q183126 Q457903 Q48438 Q9200 Q2959955 Q244380 Q460876 Q181715 Q212850 Q8023 Q170726 Q269867 Q454840 Q378656 Q174044 Q2361972 Q20757530 Q165479 Q2360522 Q354519 Q457433 Q44015 Q318974 Q1293541 Q328804 Q163366 Q31966 Q503886 Q965463 Q284323 Q331697 Q234689
(c(Q7725634)|c(Q16970),P825,c(Q502895))
action count
action equal
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P825
type Q502895
type Q16970
value 1
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q16970'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?k WHERE { VALUES ( ?h ) { ( ontology:Q7725634 ) ( ontology:Q16970 ) } . ?n rdf:type ?h } GROUP BY ?k } . FILTER ( ?m = 1 ) }
Bob Dylan Ramakrishna Saint Bavo Saint George Paul Charles Panzéra Saint Denis Lenny Bruce Thérèse of Lisieux Vitus Nelson Mandela Enrico Caruso Odile of Alsace William Cullen Bryant Saint Pantaleon Alexander Nevsky Winwaloe Madame Autard de Bragard Saint Patrick Anna Petrovna Kern Charley Patton Sara Dylan John the Apostle Vincent of Saragossa Saint Quentin John the Evangelist Ezra Pound Mark the Evangelist Sterling Morrison Rumbold of Mechelen Eulalia of Mérida Saint David Monica of Hippo
33
action count
action equal
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
action find_reverse_tuple_counts
relation dedicated to
type common name
type church
value 1
[[{'concept': 'literary work'}, {'concept': 'church'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) ?k WHERE { VALUES ( ?h ) { ( ontology:literary_work ) ( ontology:church ) } . ?n rdf:type ?h } GROUP BY ?k } . FILTER ( ?m = 1 ) }
[]