Simple Question (Direct)
Simple Question
Q2899444
P19
Q56061
USER
Which administrative territory was Bertrand Auerbach born at ?
(Q2899444,P19,c(Q56061))
action filter_type
action find
entity Q2899444
relation P19
type Q56061
['Q2899444', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2899444 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Bertrand Auerbach
action filter_type
action find
entity Bertrand Auerbach
relation place of birth
type administrative territorial entity
['Bertrand Auerbach', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Bertrand_Auerbach property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2899444,P19,c(Q56061))
action filter_type
action find
entity Q2899444
relation P19
type Q56061
Bertrand Auerbach was born [ANSWER]
['Q2899444', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q2899444 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Paris
Bertrand Auerbach was born Paris
Paris
action filter_type
action find
entity Bertrand Auerbach
relation place of birth
type administrative territorial entity
['Bertrand Auerbach', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Bertrand_Auerbach property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P194
Q11204
USER
Which legislature is the representative body for that administrative territory ?
(Q90,P194,c(Q11204))
action filter_type
action find
entity Q90
relation P194
type Q11204
['Q90', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?f WHERE { resource:Q90 property:P194 ?f . ?f rdf:type ontology:Q11204 }
Paris
action filter_type
action find
entity Paris
relation legislative body
type legislature
['Paris', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?f WHERE { resource:Paris property:legislative_body ?f . ?f rdf:type ontology:legislature }
[]
legislature
Q775994
SYSTEM
Council of Paris
Q775994
(Q90,P194,c(Q11204))
action filter_type
action find
entity Q90
relation P194
type Q11204
[ANSWER] is the representative body for that administrative territory
['Q90', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?f WHERE { resource:Q90 property:P194 ?f . ?f rdf:type ontology:Q11204 }
Council of Paris
Council of Paris is the representative body for that administrative territory
Council of Paris
action filter_type
action find
entity Paris
relation legislative body
type legislature
['Paris', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?f WHERE { resource:Paris property:legislative_body ?f . ?f rdf:type ontology:legislature }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q775994
P39
Q502895
USER
Who was responsible for occupying the position of that legislature ?
(c(Q502895),P39,Q775994)
action filter_type
action find_reverse
entity Q775994
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q775994']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P39 resource:Q775994 }
Council of Paris
action filter_type
action find_reverse
entity Council of Paris
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Council of Paris']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:position_held resource:Council_of_Paris }
[]
common name
Q20857507
SYSTEM
Danielle Simonnet
Q20857507
(c(Q502895),P39,Q775994)
action filter_type
action find_reverse
entity Q775994
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of that legislature
[{'concept': 'Q502895'}, 'P39', 'Q775994']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P39 resource:Q775994 }
Danielle Simonnet
Danielle Simonnet was responsible for occupying the position of that legislature
Danielle Simonnet
action filter_type
action find_reverse
entity Council of Paris
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Council of Paris']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:position_held resource:Council_of_Paris }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20857507
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q20857507,P102,c(Q7210356))
action filter_type
action find
entity Q20857507
relation P102
type Q7210356
['Q20857507', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q20857507 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Danielle Simonnet
action filter_type
action find
entity Danielle Simonnet
relation member of political party
type political organization
['Danielle Simonnet', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Danielle_Simonnet property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q922707
SYSTEM
Left Party
Q922707
(Q20857507,P102,c(Q7210356))
action filter_type
action find
entity Q20857507
relation P102
type Q7210356
The [ANSWER] is that person a member of
['Q20857507', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q20857507 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Left Party
The Left Party is that person a member of
Left Party
action filter_type
action find
entity Danielle Simonnet
relation member of political party
type political organization
['Danielle Simonnet', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Danielle_Simonnet property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q13497600 Q20857507
P102
Q7210356
USER
Or Cornelis Adrianus Kammeraad?
OR((Q20857507,P102,c(Q7210356)), (Q13497600,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q20857507
relation P102
action find
entity Q13497600
relation P102
type Q7210356
{'OR': [['Q20857507', 'P102', {'concept': 'Q7210356'}], ['Q13497600', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?l WHERE { { ?y property:P102 ?l . VALUES ( ?y ) { ( resource:Q20857507 ) ( resource:Q13497600 ) } } . ?l rdf:type ontology:Q7210356 }
Cornelis Adrianus Kammeraad Danielle Simonnet
action filter_type
action union
action find
entity Danielle Simonnet
relation member of political party
action find
entity Cornelis Adrianus Kammeraad
relation member of political party
type political organization
{'OR': [['Danielle Simonnet', 'member of political party', {'concept': 'political organization'}], ['Cornelis Adrianus Kammeraad', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?l WHERE { { ?y property:member_of_political_party ?l . VALUES ( ?y ) { ( resource:Danielle_Simonnet ) ( resource:Cornelis_Adrianus_Kammeraad ) } } . ?l rdf:type ontology:political_organization }
[]
political organization
Q922707 Q239333
SYSTEM
Left Party, People's Party for Freedom and Democracy
Q922707 Q239333
OR((Q20857507,P102,c(Q7210356)), (Q13497600,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q20857507
relation P102
action find
entity Q13497600
relation P102
type Q7210356
[ANSWERS]
{'OR': [['Q20857507', 'P102', {'concept': 'Q7210356'}], ['Q13497600', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?l WHERE { { ?y property:P102 ?l . VALUES ( ?y ) { ( resource:Q20857507 ) ( resource:Q13497600 ) } } . ?l rdf:type ontology:Q7210356 }
Left Party People's Party for Freedom and Democracy
Left Party People's Party for Freedom and Democracy
action filter_type
action union
action find
entity Danielle Simonnet
relation member of political party
action find
entity Cornelis Adrianus Kammeraad
relation member of political party
type political organization
{'OR': [['Danielle Simonnet', 'member of political party', {'concept': 'political organization'}], ['Cornelis Adrianus Kammeraad', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?l WHERE { { ?y property:member_of_political_party ?l . VALUES ( ?y ) { ( resource:Danielle_Simonnet ) ( resource:Cornelis_Adrianus_Kammeraad ) } } . ?l rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q56061
USER
How many administrative territories have adopted atleast 2 holidays or people as their patron saint ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action atleast
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 2
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?r ) WHERE { { ?z property:P417 ?l . ?l rdf:type ontology:Q1445650 . ?z rdf:type ontology:Q56061 } UNION { ?z rdf:type ontology:Q56061 . ?l rdf:type ontology:Q502895 . ?z property:P417 ?l } } GROUP BY ?z } . FILTER ( ?r >= 2 ) }
action count
action atleast
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 2
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?r ) WHERE { { ?z property:patron_saint ?l . ?l rdf:type ontology:holiday . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:common_name . ?z property:patron_saint ?l } } GROUP BY ?z } . FILTER ( ?r >= 2 ) }
[]
holiday common name administrative territorial entity
SYSTEM
2
Q39519 Q220
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action atleast
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 2
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?r ) WHERE { { ?z property:P417 ?l . ?l rdf:type ontology:Q1445650 . ?z rdf:type ontology:Q56061 } UNION { ?z rdf:type ontology:Q56061 . ?l rdf:type ontology:Q502895 . ?z property:P417 ?l } } GROUP BY ?z } . FILTER ( ?r >= 2 ) }
Brinzio Rome
2
action count
action atleast
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 2
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?r ) WHERE { { ?z property:patron_saint ?l . ?l rdf:type ontology:holiday . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:common_name . ?z property:patron_saint ?l } } GROUP BY ?z } . FILTER ( ?r >= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20857507
P21
Q290
USER
Which sex does Danielle Simonnet have ?
(Q20857507,P21,c(Q290))
action filter_type
action find
entity Q20857507
relation P21
type Q290
['Q20857507', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q20857507 property:P21 ?l . ?l rdf:type ontology:Q290 }
Danielle Simonnet
action filter_type
action find
entity Danielle Simonnet
relation gender
type sex
['Danielle Simonnet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Danielle_Simonnet property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q20857507,P21,c(Q290))
action filter_type
action find
entity Q20857507
relation P21
type Q290
Danielle Simonnet has a [ANSWER]
['Q20857507', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q20857507 property:P21 ?l . ?l rdf:type ontology:Q290 }
female
Danielle Simonnet has a female
female
action filter_type
action find
entity Danielle Simonnet
relation gender
type sex
['Danielle Simonnet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Danielle_Simonnet property:gender ?l . ?l rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3524285 Q90
P47 P19
Q20667921
USER
Which french administrative divisions share border with Paris and were Thierry Godard born at ?
AND((Q90,P47,c(Q20667921)), (Q3524285,P19,c(Q20667921)))
action filter_type
action intersection
action find
entity Q90
relation P47
action find
entity Q3524285
relation P19
type Q20667921
{'AND': [['Q90', 'P47', {'concept': 'Q20667921'}], ['Q3524285', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?o WHERE { resource:Q90 property:P47 ?o . resource:Q3524285 property:P19 ?o . ?o rdf:type ontology:Q20667921 }
Thierry Godard Paris
action filter_type
action intersection
action find
entity Paris
relation shares border with
action find
entity Thierry Godard
relation place of birth
type type of french administrative division
{'AND': [['Paris', 'shares border with', {'concept': 'type of french administrative division'}], ['Thierry Godard', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?o WHERE { resource:Paris property:shares_border_with ?o . resource:Thierry_Godard property:place_of_birth ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q135265
SYSTEM
Issy-les-Moulineaux
Q135265
AND((Q90,P47,c(Q20667921)), (Q3524285,P19,c(Q20667921)))
action filter_type
action intersection
action find
entity Q90
relation P47
action find
entity Q3524285
relation P19
type Q20667921
[ANSWER] share border with Paris and were Thierry Godard born at
{'AND': [['Q90', 'P47', {'concept': 'Q20667921'}], ['Q3524285', 'P19', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?o WHERE { resource:Q90 property:P47 ?o . resource:Q3524285 property:P19 ?o . ?o rdf:type ontology:Q20667921 }
Issy-les-Moulineaux
Issy-les-Moulineaux share border with Paris and were Thierry Godard born at
Issy-les-Moulineaux
action filter_type
action intersection
action find
entity Paris
relation shares border with
action find
entity Thierry Godard
relation place of birth
type type of french administrative division
{'AND': [['Paris', 'shares border with', {'concept': 'type of french administrative division'}], ['Thierry Godard', 'place of birth', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?o WHERE { resource:Paris property:shares_border_with ?o . resource:Thierry_Godard property:place_of_birth ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q135265 Q234735
P47
Q20667921
USER
Is Meudon bordered by Issy-les-Moulineaux ?
(Q135265,P47,Q234735)
action is_in
entity Q234735
action find
entity Q135265
relation P47
['Q135265', 'P47', 'Q234735']
ASK WHERE { resource:Q135265 property:P47 resource:Q234735 }
Issy-les-Moulineaux Meudon
action is_in
entity Meudon
action find
entity Issy-les-Moulineaux
relation shares border with
['Issy-les-Moulineaux', 'shares border with', 'Meudon']
ASK WHERE { resource:Issy-les-Moulineaux property:shares_border_with resource:Meudon }
[]
type of french administrative division
SYSTEM
YES
(Q135265,P47,Q234735)
action is_in
entity Q234735
action find
entity Q135265
relation P47
[ANSWER]
['Q135265', 'P47', 'Q234735']
ASK WHERE { resource:Q135265 property:P47 resource:Q234735 }
Yes
action is_in
entity Meudon
action find
entity Issy-les-Moulineaux
relation shares border with
['Issy-les-Moulineaux', 'shares border with', 'Meudon']
ASK WHERE { resource:Issy-les-Moulineaux property:shares_border_with resource:Meudon }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q20857507 Q682857 Q693030
P27
Q15617994
USER
Is Danielle Simonnet a civilian of Ney and Leimbach ?
(Q20857507,P27,Q682857) (Q20857507,P27,Q693030)
action is_in
entity Q20857507
action intersection
action find_reverse
entity Q682857
relation P27
action find_reverse
entity Q693030
relation P27
['Q20857507', 'P27', 'Q682857'] ['Q20857507', 'P27', 'Q693030']
ASK WHERE { resource:Q20857507 property:P27 resource:Q682857 . resource:Q20857507 property:P27 resource:Q693030 }
Danielle Simonnet Ney Leimbach
action is_in
entity Danielle Simonnet
action intersection
action find_reverse
entity Ney
relation country of citizenship
action find_reverse
entity Leimbach
relation country of citizenship
['Danielle Simonnet', 'country of citizenship', 'Ney'] ['Danielle Simonnet', 'country of citizenship', 'Leimbach']
ASK WHERE { resource:Danielle_Simonnet property:country_of_citizenship resource:Ney . resource:Danielle_Simonnet property:country_of_citizenship resource:Leimbach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q20857507,P27,Q682857) (Q20857507,P27,Q693030)
action is_in
entity Q20857507
action intersection
action find_reverse
entity Q682857
relation P27
action find_reverse
entity Q693030
relation P27
[ANSWER]
['Q20857507', 'P27', 'Q682857'] ['Q20857507', 'P27', 'Q693030']
ASK WHERE { resource:Q20857507 property:P27 resource:Q682857 . resource:Q20857507 property:P27 resource:Q693030 }
No
action is_in
entity Danielle Simonnet
action intersection
action find_reverse
entity Ney
relation country of citizenship
action find_reverse
entity Leimbach
relation country of citizenship
['Danielle Simonnet', 'country of citizenship', 'Ney'] ['Danielle Simonnet', 'country of citizenship', 'Leimbach']
ASK WHERE { resource:Danielle_Simonnet property:country_of_citizenship resource:Ney . resource:Danielle_Simonnet property:country_of_citizenship resource:Leimbach }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q135265 Q1070010
P17
Q15617994
USER
Is Issy-les-Moulineaux located in Chengqu, Jincheng ?
(Q135265,P17,Q1070010)
action is_in
entity Q1070010
action find
entity Q135265
relation P17
['Q135265', 'P17', 'Q1070010']
ASK WHERE { resource:Q135265 property:P17 resource:Q1070010 }
Issy-les-Moulineaux Chengqu, Jincheng
action is_in
entity Chengqu, Jincheng
action find
entity Issy-les-Moulineaux
relation country
['Issy-les-Moulineaux', 'country', 'Chengqu, Jincheng']
ASK WHERE { resource:Issy-les-Moulineaux property:country resource:Chengqu,_Jincheng }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q135265,P17,Q1070010)
action is_in
entity Q1070010
action find
entity Q135265
relation P17
[ANSWER]
['Q135265', 'P17', 'Q1070010']
ASK WHERE { resource:Q135265 property:P17 resource:Q1070010 }
No
action is_in
entity Chengqu, Jincheng
action find
entity Issy-les-Moulineaux
relation country
['Issy-les-Moulineaux', 'country', 'Chengqu, Jincheng']
ASK WHERE { resource:Issy-les-Moulineaux property:country resource:Chengqu,_Jincheng }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q20857507 Q4102451 Q7073519
P27
Q15617994
USER
Is Danielle Simonnet a civilian of Vayda-Guba and Oak Grove School District ?
(Q20857507,P27,Q4102451) (Q20857507,P27,Q7073519)
action is_in
entity Q20857507
action intersection
action find_reverse
entity Q4102451
relation P27
action find_reverse
entity Q7073519
relation P27
['Q20857507', 'P27', 'Q4102451'] ['Q20857507', 'P27', 'Q7073519']
ASK WHERE { resource:Q20857507 property:P27 resource:Q4102451 . resource:Q20857507 property:P27 resource:Q7073519 }
Danielle Simonnet Vayda-Guba Oak Grove School District
action is_in
entity Danielle Simonnet
action intersection
action find_reverse
entity Vayda-Guba
relation country of citizenship
action find_reverse
entity Oak Grove School District
relation country of citizenship
['Danielle Simonnet', 'country of citizenship', 'Vayda-Guba'] ['Danielle Simonnet', 'country of citizenship', 'Oak Grove School District']
ASK WHERE { resource:Danielle_Simonnet property:country_of_citizenship resource:Vayda-Guba . resource:Danielle_Simonnet property:country_of_citizenship resource:Oak_Grove_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q20857507,P27,Q4102451) (Q20857507,P27,Q7073519)
action is_in
entity Q20857507
action intersection
action find_reverse
entity Q4102451
relation P27
action find_reverse
entity Q7073519
relation P27
[ANSWER]
['Q20857507', 'P27', 'Q4102451'] ['Q20857507', 'P27', 'Q7073519']
ASK WHERE { resource:Q20857507 property:P27 resource:Q4102451 . resource:Q20857507 property:P27 resource:Q7073519 }
No
action is_in
entity Danielle Simonnet
action intersection
action find_reverse
entity Vayda-Guba
relation country of citizenship
action find_reverse
entity Oak Grove School District
relation country of citizenship
['Danielle Simonnet', 'country of citizenship', 'Vayda-Guba'] ['Danielle Simonnet', 'country of citizenship', 'Oak Grove School District']
ASK WHERE { resource:Danielle_Simonnet property:country_of_citizenship resource:Vayda-Guba . resource:Danielle_Simonnet property:country_of_citizenship resource:Oak_Grove_School_District }
[]