Simple Question (Direct)
Simple Question
Q27329764
P102
Q7210356
USER
Which political organization is Évariste Ndayishimiye a member of ?
(Q27329764,P102,c(Q7210356))
action filter_type
action find
entity Q27329764
relation P102
type Q7210356
['Q27329764', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q27329764 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Évariste Ndayishimiye
action filter_type
action find
entity Évariste Ndayishimiye
relation member of political party
type political organization
['Évariste Ndayishimiye', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Évariste_Ndayishimiye property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
political organization
Q2271402
SYSTEM
National Council for the Defense of Democracy–Forces for the Defense of Democracy
Q2271402
(Q27329764,P102,c(Q7210356))
action filter_type
action find
entity Q27329764
relation P102
type Q7210356
[ANSWER] is Évariste Ndayishimiye a member of
['Q27329764', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q27329764 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
National Council for the Defense of Democracy–Forces for the Defense of Democracy
National Council for the Defense of Democracy–Forces for the Defense of Democracy is Évariste Ndayishimiye a member of
National Council for the Defense of Democracy–Forces for the Defense of Democracy
action filter_type
action find
entity Évariste Ndayishimiye
relation member of political party
type political organization
['Évariste Ndayishimiye', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Évariste_Ndayishimiye property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27329764
P19
Q13220204
USER
Which administrative country subdivision was Évariste Ndayishimiye born at ?
(Q27329764,P19,c(Q13220204))
action filter_type
action find
entity Q27329764
relation P19
type Q13220204
['Q27329764', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { resource:Q27329764 property:P19 ?v . ?v rdf:type ontology:Q13220204 }
Évariste Ndayishimiye
action filter_type
action find
entity Évariste Ndayishimiye
relation place of birth
type second-level administrative country subdivision
['Évariste Ndayishimiye', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { resource:Évariste_Ndayishimiye property:place_of_birth ?v . ?v rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q4018143
SYSTEM
Commune of Giheta
Q4018143
(Q27329764,P19,c(Q13220204))
action filter_type
action find
entity Q27329764
relation P19
type Q13220204
Which administrative country subdivision was Évariste Ndayishimiye born at
['Q27329764', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { resource:Q27329764 property:P19 ?v . ?v rdf:type ontology:Q13220204 }
Commune of Giheta
Which administrative country subdivision was Évariste Ndayishimiye born at
Commune of Giheta
action filter_type
action find
entity Évariste Ndayishimiye
relation place of birth
type second-level administrative country subdivision
['Évariste Ndayishimiye', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { resource:Évariste_Ndayishimiye property:place_of_birth ?v . ?v rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15816373
Q13220204
USER
And how about Sophie Anthamatten?
(Q15816373,P19,c(Q13220204))
action filter_type
action find
entity Q15816373
relation P19
type Q13220204
['Q15816373', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { resource:Q15816373 property:P19 ?g . ?g rdf:type ontology:Q13220204 }
Sophie Anthamatten
action filter_type
action find
entity Sophie Anthamatten
relation place of birth
type second-level administrative country subdivision
['Sophie Anthamatten', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { resource:Sophie_Anthamatten property:place_of_birth ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q70032
SYSTEM
Saas-Grund
Q70032
(Q15816373,P19,c(Q13220204))
action filter_type
action find
entity Q15816373
relation P19
type Q13220204
[ANSWER]
['Q15816373', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?g WHERE { resource:Q15816373 property:P19 ?g . ?g rdf:type ontology:Q13220204 }
Saas-Grund
Saas-Grund
action filter_type
action find
entity Sophie Anthamatten
relation place of birth
type second-level administrative country subdivision
['Sophie Anthamatten', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?g WHERE { resource:Sophie_Anthamatten property:place_of_birth ?g . ?g rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q337567 Q355304 Q13220204
USER
How many administrative country subdivisions are situated close to around 1 still waterss and watercourses ?
(c(Q13220204),P206,c(Q337567)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q13220204
type Q337567
action find_tuple_counts
relation P206
type Q13220204
type Q355304
value 1
[{'concept': 'Q13220204'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?q ) WHERE { VALUES ( ?l ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?r rdf:type ?l } GROUP BY ?t } . FILTER ( ?q = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type second-level administrative country subdivision
type still waters
action find_tuple_counts
relation located next to body of water
type second-level administrative country subdivision
type watercourse
value 1
[{'concept': 'second-level administrative country subdivision'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?q ) WHERE { VALUES ( ?l ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?r rdf:type ?l } GROUP BY ?t } . FILTER ( ?q = 1 ) }
[]
still waters watercourse second-level administrative country subdivision
SYSTEM
24
Q9938 Q48395 Q1435 Q816699 Q5128 Q208764 Q952194 Q222220 Q156825 Q1025352 Q184454 Q806486 Q2933 Q147739 Q58797 Q65268 Q322986 Q10001 Q10050 Q62823 Q10078 Q538725 Q157144 Q10052
(c(Q13220204),P206,c(Q337567)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q13220204
type Q337567
action find_tuple_counts
relation P206
type Q13220204
type Q355304
value 1
[ANSWER]
[{'concept': 'Q13220204'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?q ) WHERE { VALUES ( ?l ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?r rdf:type ?l } GROUP BY ?t } . FILTER ( ?q = 1 ) }
Hoorn Hoedekenskerke Zagreb Culemborg Woerden Katwijk Korendijk Ridderkerk Chervonohrad Cadzand Zeewolde Bangkok Noi Asunción Izmail Hattem Brienz Delfzijl Deventer Nieuwegein Barranquilla Reimerswaal Hendrik-Ido-Ambacht Vinnytsia Vianen
24
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type second-level administrative country subdivision
type still waters
action find_tuple_counts
relation located next to body of water
type second-level administrative country subdivision
type watercourse
value 1
[{'concept': 'second-level administrative country subdivision'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?q ) WHERE { VALUES ( ?l ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?r rdf:type ?l } GROUP BY ?t } . FILTER ( ?q = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27329764
P39
Q12737077
USER
What were the positions for which Évariste Ndayishimiye were appointed ?
(Q27329764,P39,c(Q12737077))
action filter_type
action find
entity Q27329764
relation P39
type Q12737077
['Q27329764', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q27329764 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Évariste Ndayishimiye
action filter_type
action find
entity Évariste Ndayishimiye
relation position held
type occupation
['Évariste Ndayishimiye', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Évariste_Ndayishimiye property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q30461 Q6501749
SYSTEM
president, General Secretary
Q30461 Q6501749
(Q27329764,P39,c(Q12737077))
action filter_type
action find
entity Q27329764
relation P39
type Q12737077
[ANSWERS]
['Q27329764', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q27329764 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
president General Secretary
President and General Secretary
president General Secretary
action filter_type
action find
entity Évariste Ndayishimiye
relation position held
type occupation
['Évariste Ndayishimiye', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Évariste_Ndayishimiye property:position_held ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8273425
Q12737077
USER
And what about Manolis Mavrommatis?
(Q8273425,P39,c(Q12737077))
action filter_type
action find
entity Q8273425
relation P39
type Q12737077
['Q8273425', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q8273425 property:P39 ?n }
Manolis Mavrommatis
action filter_type
action find
entity Manolis Mavrommatis
relation position held
type occupation
['Manolis Mavrommatis', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Manolis_Mavrommatis property:position_held ?n }
[]
occupation
Q27169
SYSTEM
member of the European Parliament
Q27169
(Q8273425,P39,c(Q12737077))
action filter_type
action find
entity Q8273425
relation P39
type Q12737077
[ANSWER]
['Q8273425', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . resource:Q8273425 property:P39 ?n }
member of the European Parliament
member of the European Parliament
action filter_type
action find
entity Manolis Mavrommatis
relation position held
type occupation
['Manolis Mavrommatis', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . resource:Manolis_Mavrommatis property:position_held ?n }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q27169 Q1129877 Q458
P1001
Q56061
USER
Does member of the European Parliament have control over the jurisdiction of Coopers Town and European Union ?
(Q27169,P1001,Q1129877) (Q27169,P1001,Q458)
action is_in
entity Q27169
action intersection
action find_reverse
entity Q1129877
relation P1001
action find_reverse
entity Q458
relation P1001
['Q27169', 'P1001', 'Q1129877'] ['Q27169', 'P1001', 'Q458']
ASK WHERE { resource:Q27169 property:P1001 resource:Q1129877 . resource:Q27169 property:P1001 resource:Q458 }
member of the European Parliament Coopers Town European Union
action is_in
entity member of the European Parliament
action intersection
action find_reverse
entity Coopers Town
relation applies to jurisdiction
action find_reverse
entity European Union
relation applies to jurisdiction
['member of the European Parliament', 'applies to jurisdiction', 'Coopers Town'] ['member of the European Parliament', 'applies to jurisdiction', 'European Union']
ASK WHERE { resource:member_of_the_European_Parliament property:applies_to_jurisdiction resource:Coopers_Town . resource:member_of_the_European_Parliament property:applies_to_jurisdiction resource:European_Union }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q27169,P1001,Q1129877) (Q27169,P1001,Q458)
action is_in
entity Q27169
action intersection
action find_reverse
entity Q1129877
relation P1001
action find_reverse
entity Q458
relation P1001
[ANSWER]
['Q27169', 'P1001', 'Q1129877'] ['Q27169', 'P1001', 'Q458']
ASK WHERE { resource:Q27169 property:P1001 resource:Q1129877 . resource:Q27169 property:P1001 resource:Q458 }
NO and YES respectively
action is_in
entity member of the European Parliament
action intersection
action find_reverse
entity Coopers Town
relation applies to jurisdiction
action find_reverse
entity European Union
relation applies to jurisdiction
['member of the European Parliament', 'applies to jurisdiction', 'Coopers Town'] ['member of the European Parliament', 'applies to jurisdiction', 'European Union']
ASK WHERE { resource:member_of_the_European_Parliament property:applies_to_jurisdiction resource:Coopers_Town . resource:member_of_the_European_Parliament property:applies_to_jurisdiction resource:European_Union }
[]