Simple Question (Direct)
Simple Question
Q3744910
P937
Q56061
USER
What is the location where Filadelfio Caroniti worked ?
(Q3744910,P937,c(Q56061))
action filter_type
action find
entity Q3744910
relation P937
type Q56061
['Q3744910', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3744910 property:P937 ?h . ?h rdf:type ontology:Q56061 }
Filadelfio Caroniti
action filter_type
action find
entity Filadelfio Caroniti
relation work location
type administrative territorial entity
['Filadelfio Caroniti', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Filadelfio_Caroniti property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3744910,P937,c(Q56061))
action filter_type
action find
entity Q3744910
relation P937
type Q56061
The location Filadelfio Caroniti worked is in [ANSWER]
['Q3744910', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q3744910 property:P937 ?h . ?h rdf:type ontology:Q56061 }
Rome
The location Filadelfio Caroniti worked is in Rome
Rome
action filter_type
action find
entity Filadelfio Caroniti
relation work location
type administrative territorial entity
['Filadelfio Caroniti', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Filadelfio_Caroniti property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3744910
P1412
Q34770
USER
Which language can Filadelfio Caroniti read ?
(Q3744910,P1412,c(Q34770))
action filter_type
action find
entity Q3744910
relation P1412
type Q34770
['Q3744910', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q3744910 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Filadelfio Caroniti
action filter_type
action find
entity Filadelfio Caroniti
relation languages spoken, written or signed
type language
['Filadelfio Caroniti', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Filadelfio_Caroniti property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3744910,P1412,c(Q34770))
action filter_type
action find
entity Q3744910
relation P1412
type Q34770
Filadelfio Caroniti can read in [ANSWER]
['Q3744910', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q3744910 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Italian
Filadelfio Caroniti can read in Italian
Italian
action filter_type
action find
entity Filadelfio Caroniti
relation languages spoken, written or signed
type language
['Filadelfio Caroniti', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Filadelfio_Caroniti property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3744910
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q652,P102,c(Q7210356))
action filter_type
action find
entity Q3744910
relation P102
type Q7210356
['Q652', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q3744910 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Filadelfio Caroniti
action filter_type
action find
entity Filadelfio Caroniti
relation member of political party
type political organization
['Italian', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Filadelfio_Caroniti property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q815348
SYSTEM
Christian Democracy
Q815348
(Q652,P102,c(Q7210356))
action filter_type
action find
entity Q3744910
relation P102
type Q7210356
[ANSWER] is that person a member of
['Q652', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q3744910 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Christian Democracy
Christian Democracy is that person a member of
Christian Democracy
action filter_type
action find
entity Filadelfio Caroniti
relation member of political party
type political organization
['Italian', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Filadelfio_Caroniti property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3744910
P27
Q15617994
USER
How many administrative territories are Filadelfio Caroniti an inhabitant of ?
(Q3744910,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3744910
relation P27
type Q15617994
['Q3744910', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q3744910 property:P27 ?m }
Filadelfio Caroniti
action count
action filter_type
action find
entity Filadelfio Caroniti
relation country of citizenship
type designation for an administrative territorial entity
['Filadelfio Caroniti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Filadelfio_Caroniti property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q3744910,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3744910
relation P27
type Q15617994
[ANSWER]
['Q3744910', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ontology:Q15617994 . resource:Q3744910 property:P27 ?m }
Italy
1
action count
action filter_type
action find
entity Filadelfio Caroniti
relation country of citizenship
type designation for an administrative territorial entity
['Filadelfio Caroniti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Filadelfio_Caroniti property:country_of_citizenship ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q15066985
P27
Q15617994
USER
And also tell me about Irada Zeynalova?
(Q15066985,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15066985
relation P27
type Q15617994
['Q15066985', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Q15066985 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Irada Zeynalova
action count
action filter_type
action find
entity Irada Zeynalova
relation country of citizenship
type designation for an administrative territorial entity
['Irada Zeynalova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Irada_Zeynalova property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q159
(Q15066985,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15066985
relation P27
type Q15617994
[ANSWER]
['Q15066985', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Q15066985 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Russia
1
action count
action filter_type
action find
entity Irada Zeynalova
relation country of citizenship
type designation for an administrative territorial entity
['Irada Zeynalova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Irada_Zeynalova property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q10528893
Q15617994
USER
And what about K. Depan Sakwati?
(Q10528893,P27,c(Q15617994))
action count
action filter_type
action find
entity Q10528893
relation P27
type Q15617994
['Q10528893', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q10528893 property:P27 ?b }
K. Depan Sakwati
action count
action filter_type
action find
entity K. Depan Sakwati
relation country of citizenship
type designation for an administrative territorial entity
['K. Depan Sakwati', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:K._Depan_Sakwati property:country_of_citizenship ?b }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q10528893,P27,c(Q15617994))
action count
action filter_type
action find
entity Q10528893
relation P27
type Q15617994
[ANSWER]
['Q10528893', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ontology:Q15617994 . resource:Q10528893 property:P27 ?b }
1
action count
action filter_type
action find
entity K. Depan Sakwati
relation country of citizenship
type designation for an administrative territorial entity
['K. Depan Sakwati', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:K._Depan_Sakwati property:country_of_citizenship ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10528893
P735
Q82799
USER
Which name is that person known by ?
action filter_type
action find
entity Q10528893
relation P735
type Q82799
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q10528893 property:P735 ?c }
K. Depan Sakwati
action filter_type
action find
entity K. Depan Sakwati
relation given name
type name
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:K._Depan_Sakwati property:given_name ?c }
[]
name
Q19803508
SYSTEM
K.
Q19803508
action filter_type
action find
entity Q10528893
relation P735
type Q82799
That person is known as [ANSWER]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q10528893 property:P735 ?c }
K.
That person is known as K.
K.
action filter_type
action find
entity K. Depan Sakwati
relation given name
type name
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:K._Depan_Sakwati property:given_name ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3744910
P19
Q15617994
USER
Which administrative territory was Filadelfio Caroniti born at ?
(Q3744910,P19,c(Q15617994))
action filter_type
action find
entity Q3744910
relation P19
type Q15617994
['Q3744910', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3744910 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Filadelfio Caroniti
action filter_type
action find
entity Filadelfio Caroniti
relation place of birth
type designation for an administrative territorial entity
['Filadelfio Caroniti', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Filadelfio_Caroniti property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q491851
SYSTEM
San Fratello
Q491851
(Q3744910,P19,c(Q15617994))
action filter_type
action find
entity Q3744910
relation P19
type Q15617994
Filadelfio Caroniti was born in [ANSWER]
['Q3744910', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3744910 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
San Fratello
Filadelfio Caroniti was born in San Fratello
San Fratello
action filter_type
action find
entity Filadelfio Caroniti
relation place of birth
type designation for an administrative territorial entity
['Filadelfio Caroniti', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Filadelfio_Caroniti property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3744910
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q491851,P39,c(Q12737077))
action filter_type
action find
entity Q3744910
relation P39
type Q12737077
['Q491851', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3744910 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Filadelfio Caroniti
action filter_type
action find
entity Filadelfio Caroniti
relation position held
type occupation
['San Fratello', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Filadelfio_Caroniti property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q18558478
SYSTEM
member of the Chamber of Deputies of the Italian Republic
Q18558478
(Q491851,P39,c(Q12737077))
action filter_type
action find
entity Q3744910
relation P39
type Q12737077
[ANSWER]
['Q491851', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3744910 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
member of the Chamber of Deputies of the Italian Republic
Member of the Chamber of Deputies of the Italian Republic
member of the Chamber of Deputies of the Italian Republic
action filter_type
action find
entity Filadelfio Caroniti
relation position held
type occupation
['San Fratello', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Filadelfio_Caroniti property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saints of max number of occupations ?
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?e ) { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:P417 ?x . ?t rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q502895 } GROUP BY ?x } } . { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:P417 ?k . ?k rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?k } . FILTER ( ?b = ?e ) }
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?e ) { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:patron_saint ?x . ?t rdf:type ontology:occupation . ?x rdf:type ontology:common_name } GROUP BY ?x } } . { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:patron_saint ?k . ?k rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?k } . FILTER ( ?b = ?e ) }
[]
common name occupation
Q179718
SYSTEM
Catherine of Alexandria
Q179718
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWER] is the patron saints of max number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?e ) { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:P417 ?x . ?t rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q502895 } GROUP BY ?x } } . { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:P417 ?k . ?k rdf:type ontology:Q502895 . ?y rdf:type ontology:Q12737077 } GROUP BY ?k } . FILTER ( ?b = ?e ) }
Catherine of Alexandria
Catherine of Alexandria is the patron saints of max number of occupations
Catherine of Alexandria
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?e ) { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:patron_saint ?x . ?t rdf:type ontology:occupation . ?x rdf:type ontology:common_name } GROUP BY ?x } } . { SELECT DISTINCT ?k ( COUNT ( ?y ) AS ?b ) WHERE { ?y property:patron_saint ?k . ?k rdf:type ontology:common_name . ?y rdf:type ontology:occupation } GROUP BY ?k } . FILTER ( ?b = ?e ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q179718 Q5329792 Q7099759
P27
Q15617994
USER
Is that person a citizen of Eastampton Township School District and Orange Unified School District ?
(Q179718,P27,Q5329792) (Q179718,P27,Q7099759)
action is_in
entity Q179718
action intersection
action find_reverse
entity Q5329792
relation P27
action find_reverse
entity Q7099759
relation P27
['Q179718', 'P27', 'Q5329792'] ['Q179718', 'P27', 'Q7099759']
ASK WHERE { resource:Q179718 property:P27 resource:Q5329792 . resource:Q179718 property:P27 resource:Q7099759 }
Catherine of Alexandria Eastampton Township School District Orange Unified School District
action is_in
entity Catherine of Alexandria
action intersection
action find_reverse
entity Eastampton Township School District
relation country of citizenship
action find_reverse
entity Orange Unified School District
relation country of citizenship
['Catherine of Alexandria', 'country of citizenship', 'Eastampton Township School District'] ['Catherine of Alexandria', 'country of citizenship', 'Orange Unified School District']
ASK WHERE { resource:Catherine_of_Alexandria property:country_of_citizenship resource:Eastampton_Township_School_District . resource:Catherine_of_Alexandria property:country_of_citizenship resource:Orange_Unified_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q179718,P27,Q5329792) (Q179718,P27,Q7099759)
action is_in
entity Q179718
action intersection
action find_reverse
entity Q5329792
relation P27
action find_reverse
entity Q7099759
relation P27
[ANSWER]
['Q179718', 'P27', 'Q5329792'] ['Q179718', 'P27', 'Q7099759']
ASK WHERE { resource:Q179718 property:P27 resource:Q5329792 . resource:Q179718 property:P27 resource:Q7099759 }
No
action is_in
entity Catherine of Alexandria
action intersection
action find_reverse
entity Eastampton Township School District
relation country of citizenship
action find_reverse
entity Orange Unified School District
relation country of citizenship
['Catherine of Alexandria', 'country of citizenship', 'Eastampton Township School District'] ['Catherine of Alexandria', 'country of citizenship', 'Orange Unified School District']
ASK WHERE { resource:Catherine_of_Alexandria property:country_of_citizenship resource:Eastampton_Township_School_District . resource:Catherine_of_Alexandria property:country_of_citizenship resource:Orange_Unified_School_District }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q815348 Q161129 Q38
P17
Q15617994
USER
Is Christian Democracy present in Neumarkt-Sankt Veit and Italy ?
(Q815348,P17,Q161129) (Q815348,P17,Q38)
action is_in
entity Q815348
action intersection
action find_reverse
entity Q161129
relation P17
action find_reverse
entity Q38
relation P17
['Q815348', 'P17', 'Q161129'] ['Q815348', 'P17', 'Q38']
ASK WHERE { resource:Q815348 property:P17 resource:Q161129 . resource:Q815348 property:P17 resource:Q38 }
Christian Democracy Neumarkt-Sankt Veit Italy
action is_in
entity Christian Democracy
action intersection
action find_reverse
entity Neumarkt-Sankt Veit
relation country
action find_reverse
entity Italy
relation country
['Christian Democracy', 'country', 'Neumarkt-Sankt Veit'] ['Christian Democracy', 'country', 'Italy']
ASK WHERE { resource:Christian_Democracy property:country resource:Neumarkt-Sankt_Veit . resource:Christian_Democracy property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q815348,P17,Q161129) (Q815348,P17,Q38)
action is_in
entity Q815348
action intersection
action find_reverse
entity Q161129
relation P17
action find_reverse
entity Q38
relation P17
[ANSWER]
['Q815348', 'P17', 'Q161129'] ['Q815348', 'P17', 'Q38']
ASK WHERE { resource:Q815348 property:P17 resource:Q161129 . resource:Q815348 property:P17 resource:Q38 }
NO and YES respectively
action is_in
entity Christian Democracy
action intersection
action find_reverse
entity Neumarkt-Sankt Veit
relation country
action find_reverse
entity Italy
relation country
['Christian Democracy', 'country', 'Neumarkt-Sankt Veit'] ['Christian Democracy', 'country', 'Italy']
ASK WHERE { resource:Christian_Democracy property:country resource:Neumarkt-Sankt_Veit . resource:Christian_Democracy property:country resource:Italy }
[]