Simple Question (Direct)
Simple Question
Q1040310
P1412
Q34770
USER
Which language does Carl Rowan speak in ?
(Q1040310,P1412,c(Q34770))
action filter_type
action find
entity Q1040310
relation P1412
type Q34770
['Q1040310', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q1040310 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Carl Rowan
action filter_type
action find
entity Carl Rowan
relation languages spoken, written or signed
type language
['Carl Rowan', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Carl_Rowan property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1040310,P1412,c(Q34770))
action filter_type
action find
entity Q1040310
relation P1412
type Q34770
Carl Rowan speaks the [ANSWER]
['Q1040310', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q1040310 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
English
Carl Rowan speaks the English
English
action filter_type
action find
entity Carl Rowan
relation languages spoken, written or signed
type language
['Carl Rowan', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Carl_Rowan property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1040310
P69
Q852446
USER
Which US administrative territory was that person educated at ?
(Q1860,P69,c(Q852446))
action filter_type
action find
entity Q1040310
relation P69
type Q852446
['Q1860', 'P69', {'concept': 'Q852446'}]
SELECT DISTINCT ?f WHERE { resource:Q1040310 property:P69 ?f . ?f rdf:type ontology:Q852446 }
Carl Rowan
action filter_type
action find
entity Carl Rowan
relation educated at
type administrative territorial entity of the United States
['English', 'educated at', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?f WHERE { resource:Carl_Rowan property:educated_at ?f . ?f rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1782948
SYSTEM
Tennessee State University
Q1782948
(Q1860,P69,c(Q852446))
action filter_type
action find
entity Q1040310
relation P69
type Q852446
Which US administrative territory was that person educated at
['Q1860', 'P69', {'concept': 'Q852446'}]
SELECT DISTINCT ?f WHERE { resource:Q1040310 property:P69 ?f . ?f rdf:type ontology:Q852446 }
Tennessee State University
Which US administrative territory was that person educated at
Tennessee State University
action filter_type
action find
entity Carl Rowan
relation educated at
type administrative territorial entity of the United States
['English', 'educated at', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?f WHERE { resource:Carl_Rowan property:educated_at ?f . ?f rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q23074103
P194
Q701632 Q852446
USER
Which municipal councils govern around the same number of US administrative territories as Mikisew Cree First Nation ?
(c(Q852446),P194,c(Q701632))
action approx
action find_reverse_tuple_counts
relation P194
type Q701632
type Q852446
action count
action filter_type
action find
entity Q23074103
relation P194
type Q701632
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q701632'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?d ) WHERE { ?w rdf:type ontology:Q701632 . ?b rdf:type ontology:Q852446 . ?b property:P194 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:Q701632 . resource:Q23074103 property:P194 ?p } } . FILTER ( ?d = ?u ) }
Mikisew Cree First Nation
action approx
action find_reverse_tuple_counts
relation legislative body
type municipal council
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Mikisew Cree First Nation
relation legislative body
type municipal council
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'municipal council'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?d ) WHERE { ?w rdf:type ontology:municipal_council . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?b property:legislative_body ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:municipal_council . resource:Mikisew_Cree_First_Nation property:legislative_body ?p } } . FILTER ( ?d = ?u ) }
[]
municipal council administrative territorial entity of the United States
Q19961118 Q27664348 Q27655510
SYSTEM
Båstad Municipal Council, Atikamekw d'Opitciwan, Conseil des Atikamekw de Wemotaci
Q4813169 Q27664348 Q27655424 Q20198781 Q27655510 Q27671513 Q27691912 Q27671767 Q19961118 Q4721499 Q6528155 Q4718854 Q27691982 Q4804754 Q23074103 Q27691927 Q27691835 Q27666941
(c(Q852446),P194,c(Q701632))
action approx
action find_reverse_tuple_counts
relation P194
type Q701632
type Q852446
action count
action filter_type
action find
entity Q23074103
relation P194
type Q701632
[ANSWERS] govern around the same number of US administrative territories as Mikisew Cree First Nation
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q701632'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?d ) WHERE { ?w rdf:type ontology:Q701632 . ?b rdf:type ontology:Q852446 . ?b property:P194 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:Q701632 . resource:Q23074103 property:P194 ?p } } . FILTER ( ?d = ?u ) }
Athabasca Chipewyan First Nation Atikamekw d'Opitciwan Oujé-Bougoumou Cree Nation Eagle Village First Nation - Kipawa Conseil des Atikamekw de Wemotaci Mohawks of Kahnawá:ke nation innu Matimekush-Lac John Mohawks of Kanesatake Båstad Municipal Council Alexis Nakota Sioux First Nation Luxembourg communal council Alexander Montagnais du Lac St-Jean Ashcroft First Nation Mikisew Cree First Nation Innus de Ekuanitshit Cree Nation of Chisasibi Atikamekw de Manawan
Båstad Municipal Council, Atikamekw d'Opitciwan and Conseil des Atikamekw de Wemotaci govern around the same number of US administrative territories as Mikisew Cree First Nation
Båstad Municipal Council Atikamekw d'Opitciwan Conseil des Atikamekw de Wemotaci
action approx
action find_reverse_tuple_counts
relation legislative body
type municipal council
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Mikisew Cree First Nation
relation legislative body
type municipal council
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'municipal council'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?d ) WHERE { ?w rdf:type ontology:municipal_council . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?b property:legislative_body ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { ?p rdf:type ontology:municipal_council . resource:Mikisew_Cree_First_Nation property:legislative_body ?p } } . FILTER ( ?d = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q27655424
P194
Q701632 Q852446
USER
And how about Oujé-Bougoumou Cree Nation?
(c(Q852446),P194,c(Q701632))
action approx
action find_reverse_tuple_counts
relation P194
type Q701632
type Q852446
action count
action filter_type
action find
entity Q27655424
relation P194
type Q701632
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q701632'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P194 ?t . ?v rdf:type ontology:Q852446 . ?t rdf:type ontology:Q701632 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q27655424 property:P194 ?r . ?r rdf:type ontology:Q701632 } } . FILTER ( ?y = ?q ) }
Oujé-Bougoumou Cree Nation
action approx
action find_reverse_tuple_counts
relation legislative body
type municipal council
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Oujé-Bougoumou Cree Nation
relation legislative body
type municipal council
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'municipal council'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:legislative_body ?t . ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?t rdf:type ontology:municipal_council } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Oujé-Bougoumou_Cree_Nation property:legislative_body ?r . ?r rdf:type ontology:municipal_council } } . FILTER ( ?y = ?q ) }
[]
municipal council administrative territorial entity of the United States
Q19961118 Q27664348 Q27655510
SYSTEM
Båstad Municipal Council, Atikamekw d'Opitciwan, Conseil des Atikamekw de Wemotaci
Q4813169 Q27664348 Q27655424 Q20198781 Q27655510 Q27671513 Q27691912 Q27671767 Q19961118 Q4721499 Q6528155 Q4718854 Q27691982 Q4804754 Q23074103 Q27691927 Q27691835 Q27666941
(c(Q852446),P194,c(Q701632))
action approx
action find_reverse_tuple_counts
relation P194
type Q701632
type Q852446
action count
action filter_type
action find
entity Q27655424
relation P194
type Q701632
[ANSWERS]
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q701632'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:P194 ?t . ?v rdf:type ontology:Q852446 . ?t rdf:type ontology:Q701632 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q27655424 property:P194 ?r . ?r rdf:type ontology:Q701632 } } . FILTER ( ?y = ?q ) }
Athabasca Chipewyan First Nation Atikamekw d'Opitciwan Oujé-Bougoumou Cree Nation Eagle Village First Nation - Kipawa Conseil des Atikamekw de Wemotaci Mohawks of Kahnawá:ke nation innu Matimekush-Lac John Mohawks of Kanesatake Båstad Municipal Council Alexis Nakota Sioux First Nation Luxembourg communal council Alexander Montagnais du Lac St-Jean Ashcroft First Nation Mikisew Cree First Nation Innus de Ekuanitshit Cree Nation of Chisasibi Atikamekw de Manawan
Båstad Municipal Council Atikamekw d'Opitciwan Conseil des Atikamekw de Wemotaci
action approx
action find_reverse_tuple_counts
relation legislative body
type municipal council
type administrative territorial entity of the United States
action count
action filter_type
action find
entity Oujé-Bougoumou Cree Nation
relation legislative body
type municipal council
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'municipal council'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?y ) WHERE { ?v property:legislative_body ?t . ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?t rdf:type ontology:municipal_council } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Oujé-Bougoumou_Cree_Nation property:legislative_body ?r . ?r rdf:type ontology:municipal_council } } . FILTER ( ?y = ?q ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27655510
P17
Q1048835
USER
Which political territory is that municipal council present in ?
(Q27655510,P17,c(Q1048835))
action filter_type
action find
entity Q27655510
relation P17
type Q1048835
['Q27655510', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . resource:Q27655510 property:P17 ?o }
Conseil des Atikamekw de Wemotaci
action filter_type
action find
entity Conseil des Atikamekw de Wemotaci
relation country
type political territorial entity
['Conseil des Atikamekw de Wemotaci', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Conseil_des_Atikamekw_de_Wemotaci property:country ?o }
[]
political territorial entity
Clarification for simple ques.
Q19961118
SYSTEM
Did you mean Båstad Municipal Council ?
Q19961118 Q27664348 Q27655510
(Q19961118,P17,c(Q1048835)) (Q27664348,P17,c(Q1048835)) (Q27655510,P17,c(Q1048835))
[ANSWER]
['Q19961118', 'P17', {'concept': 'Q1048835'}] ['Q27664348', 'P17', {'concept': 'Q1048835'}] ['Q27655510', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . resource:Q27655510 property:P17 ?o }
Båstad Municipal Council Atikamekw d'Opitciwan Conseil des Atikamekw de Wemotaci
Did you mean Båstad Municipal Council ?
Båstad Municipal Council
['Båstad Municipal Council', 'country', {'concept': 'political territorial entity'}] ["Atikamekw d'Opitciwan", 'country', {'concept': 'political territorial entity'}] ['Conseil des Atikamekw de Wemotaci', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Conseil_des_Atikamekw_de_Wemotaci property:country ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant Conseil des Atikamekw de Wemotaci. Could you tell me the answer for that?
(Q27655510,P17,c(Q1048835))
Q27655510
['Q27655510', 'P17', {'concept': 'Q1048835'}]
['Conseil des Atikamekw de Wemotaci', 'country', {'concept': 'political territorial entity'}]
[]
Q16
SYSTEM
Canada
Q16
(Q27655510,P17,c(Q1048835))
action filter_type
action find
entity Q27655510
relation P17
type Q1048835
That municipal council is of [ANSWER]
['Q27655510', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . resource:Q27655510 property:P17 ?o }
Canada
That municipal council is of Canada
Canada
action filter_type
action find
entity Conseil des Atikamekw de Wemotaci
relation country
type political territorial entity
['Conseil des Atikamekw de Wemotaci', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Conseil_des_Atikamekw_de_Wemotaci property:country ?o }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16 Q35 Q664
P530
Q1048835
USER
Does that political territory have ambassadorial relations with Denmark and New Zealand ?
(Q16,P530,Q35) (Q16,P530,Q664)
action is_in
entity Q16
action intersection
action find_reverse
entity Q35
relation P530
action find_reverse
entity Q664
relation P530
['Q16', 'P530', 'Q35'] ['Q16', 'P530', 'Q664']
ASK WHERE { resource:Q16 property:P530 resource:Q35 . resource:Q16 property:P530 resource:Q664 }
Canada Denmark New Zealand
action is_in
entity Canada
action intersection
action find_reverse
entity Denmark
relation diplomatic relation
action find_reverse
entity New Zealand
relation diplomatic relation
['Canada', 'diplomatic relation', 'Denmark'] ['Canada', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Denmark . resource:Canada property:diplomatic_relation resource:New_Zealand }
[]
political territorial entity
SYSTEM
YES
(Q16,P530,Q35) (Q16,P530,Q664)
action is_in
entity Q16
action intersection
action find_reverse
entity Q35
relation P530
action find_reverse
entity Q664
relation P530
[ANSWER]
['Q16', 'P530', 'Q35'] ['Q16', 'P530', 'Q664']
ASK WHERE { resource:Q16 property:P530 resource:Q35 . resource:Q16 property:P530 resource:Q664 }
Yes
action is_in
entity Canada
action intersection
action find_reverse
entity Denmark
relation diplomatic relation
action find_reverse
entity New Zealand
relation diplomatic relation
['Canada', 'diplomatic relation', 'Denmark'] ['Canada', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Denmark . resource:Canada property:diplomatic_relation resource:New_Zealand }
[]