Simple Question (Direct)
Simple Question
Q11914122
P1412
Q34770
USER
Which language can Climent Forner i Escobet understand ?
(Q11914122,P1412,c(Q34770))
action filter_type
action find
entity Q11914122
relation P1412
type Q34770
['Q11914122', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q11914122 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Climent Forner i Escobet
action filter_type
action find
entity Climent Forner i Escobet
relation languages spoken, written or signed
type language
['Climent Forner i Escobet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Climent_Forner_i_Escobet property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q11914122,P1412,c(Q34770))
action filter_type
action find
entity Q11914122
relation P1412
type Q34770
Climent Forner i Escobet can understand the [ANSWER]
['Q11914122', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q11914122 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Spanish
Climent Forner i Escobet can understand the Spanish
Spanish
action filter_type
action find
entity Climent Forner i Escobet
relation languages spoken, written or signed
type language
['Climent Forner i Escobet', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Climent_Forner_i_Escobet property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11914122
P21
Q290
USER
What is the sex of Climent Forner i Escobet ?
(Q11914122,P21,c(Q290))
action filter_type
action find
entity Q11914122
relation P21
type Q290
['Q11914122', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q11914122 property:P21 ?x . ?x rdf:type ontology:Q290 }
Climent Forner i Escobet
action filter_type
action find
entity Climent Forner i Escobet
relation gender
type sex
['Climent Forner i Escobet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Climent_Forner_i_Escobet property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11914122,P21,c(Q290))
action filter_type
action find
entity Q11914122
relation P21
type Q290
The sex of Climent Forner i Escobet is the [ANSWER]
['Q11914122', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q11914122 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
The sex of Climent Forner i Escobet is the male
male
action filter_type
action find
entity Climent Forner i Escobet
relation gender
type sex
['Climent Forner i Escobet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Climent_Forner_i_Escobet property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q329223
Q290
USER
And how about Kenny Drew, Jr.?
(Q329223,P21,c(Q290))
action filter_type
action find
entity Q329223
relation P21
type Q290
['Q329223', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q329223 property:P21 ?d . ?d rdf:type ontology:Q290 }
Kenny Drew, Jr.
action filter_type
action find
entity Kenny Drew, Jr.
relation gender
type sex
['Kenny Drew, Jr.', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Kenny_Drew,_Jr. property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q329223,P21,c(Q290))
action filter_type
action find
entity Q329223
relation P21
type Q290
[ANSWER]
['Q329223', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q329223 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Kenny Drew, Jr.
relation gender
type sex
['Kenny Drew, Jr.', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Kenny_Drew,_Jr. property:gender ?d . ?d rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P37
Q34770 Q7275 Q15617994
USER
Which languages are considered to be the official language of min number of states or administrative territories ?
(c(Q7275)|c(Q15617994),P37,c(Q34770))
action argmin
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?a WHERE { VALUES ( ?c ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?y rdf:type ?c } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?f WHERE { { ?e property:P37 ?f . ?e rdf:type ontology:Q7275 . ?f rdf:type ontology:Q34770 } UNION { ?e property:P37 ?f . ?f rdf:type ontology:Q34770 . ?e rdf:type ontology:Q15617994 } } GROUP BY ?f } . FILTER ( ?b = ?g ) }
action argmin
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?a WHERE { VALUES ( ?c ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?y rdf:type ?c } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?f WHERE { { ?e property:official_language ?f . ?e rdf:type ontology:state . ?f rdf:type ontology:language } UNION { ?e property:official_language ?f . ?f rdf:type ontology:language . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?f } . FILTER ( ?b = ?g ) }
[]
language state designation for an administrative territorial entity
Q33251 Q35499 Q35726
SYSTEM
Church Slavonic, Old Church Slavonic, Etruscan
Q33251 Q3110592 Q36206 Q35499 Q35726 Q25164
(c(Q7275)|c(Q15617994),P37,c(Q34770))
action argmin
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
[ANSWERS] are considered to be the official language of min number of states or administrative territories
[[{'concept': 'Q7275'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?a WHERE { VALUES ( ?c ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?y rdf:type ?c } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?f WHERE { { ?e property:P37 ?f . ?e rdf:type ontology:Q7275 . ?f rdf:type ontology:Q34770 } UNION { ?e property:P37 ?f . ?f rdf:type ontology:Q34770 . ?e rdf:type ontology:Q15617994 } } GROUP BY ?f } . FILTER ( ?b = ?g ) }
Church Slavonic written Chinese Lak Old Church Slavonic Etruscan Nynorsk
Church Slavonic, Old Church Slavonic and Etruscan are considered to be the official language of min number of states or administrative territories
Church Slavonic Old Church Slavonic Etruscan
action argmin
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
[[{'concept': 'state'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?a WHERE { VALUES ( ?c ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?y rdf:type ?c } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) ?f WHERE { { ?e property:official_language ?f . ?e rdf:type ontology:state . ?f rdf:type ontology:language } UNION { ?e property:official_language ?f . ?f rdf:type ontology:language . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?f } . FILTER ( ?b = ?g ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P282
Q9779 Q8192 Q34770
USER
Which languages adopt approximately the same number of alphabets or writing systems as the writing system as that language ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q8192 ?y } UNION { ?z property:Q8192 ?x } } . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q9779 . ?x rdf:type ontology:Q8192 }
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:writing_system ?y } UNION { ?z property:writing_system ?x } } . ?z rdf:type ontology:language . ?y rdf:type ontology:alphabet . ?x rdf:type ontology:writing_system }
[]
alphabet writing system language
Comparative|More/Less|Mult. entity type|Clarification
Q35499
SYSTEM
Did you mean Old Church Slavonic ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q8192 ?y } UNION { ?z property:Q8192 ?x } } . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q9779 . ?x rdf:type ontology:Q8192 }
Did you mean Old Church Slavonic ?
Old Church Slavonic
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:writing_system ?y } UNION { ?z property:writing_system ?x } } . ?z rdf:type ontology:language . ?y rdf:type ontology:alphabet . ?x rdf:type ontology:writing_system }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q34770),P282,c(Q9779)|c(Q8192))
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
[]
SYSTEM
49
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q8192 ?y } UNION { ?z property:Q8192 ?x } } . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q9779 . ?x rdf:type ontology:Q8192 }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
49
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:writing_system ?y } UNION { ?z property:writing_system ?x } } . ?z rdf:type ontology:language . ?y rdf:type ontology:alphabet . ?x rdf:type ontology:writing_system }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q1048835
USER
How many political territories have their official language as exactly 2 languages ?
(c(Q1048835),P37,c(Q34770))
action count
action equal
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 2
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?y ) WHERE { ?p property:P37 ?r . ?p rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q34770 } GROUP BY ?p } . FILTER ( ?y = 2 ) }
action count
action equal
action find_tuple_counts
relation official language
type political territorial entity
type language
value 2
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?y ) WHERE { ?p property:official_language ?r . ?p rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:language } GROUP BY ?p } . FILTER ( ?y = 2 ) }
[]
language political territorial entity
SYSTEM
1
Q757
(c(Q1048835),P37,c(Q34770))
action count
action equal
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 2
[ANSWER]
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?y ) WHERE { ?p property:P37 ?r . ?p rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q34770 } GROUP BY ?p } . FILTER ( ?y = 2 ) }
Saint Vincent and the Grenadines
1
action count
action equal
action find_tuple_counts
relation official language
type political territorial entity
type language
value 2
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?y ) WHERE { ?p property:official_language ?r . ?p rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:language } GROUP BY ?p } . FILTER ( ?y = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q56061
USER
How many administrative territories designates exactly 2 languages as their official language ?
(c(Q56061),P37,c(Q34770))
action count
action equal
action find_tuple_counts
relation P37
type Q56061
type Q34770
value 2
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?b ) WHERE { ?c rdf:type ontology:Q56061 . ?n rdf:type ontology:Q34770 . ?c property:P37 ?n } GROUP BY ?c } . FILTER ( ?b = 2 ) }
action count
action equal
action find_tuple_counts
relation official language
type administrative territorial entity
type language
value 2
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?b ) WHERE { ?c rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:language . ?c property:official_language ?n } GROUP BY ?c } . FILTER ( ?b = 2 ) }
[]
language administrative territorial entity
SYSTEM
2
Q237 Q1183
(c(Q56061),P37,c(Q34770))
action count
action equal
action find_tuple_counts
relation P37
type Q56061
type Q34770
value 2
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?b ) WHERE { ?c rdf:type ontology:Q56061 . ?n rdf:type ontology:Q34770 . ?c property:P37 ?n } GROUP BY ?c } . FILTER ( ?b = 2 ) }
Vatican City Puerto Rico
2
action count
action equal
action find_tuple_counts
relation official language
type administrative territorial entity
type language
value 2
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?b ) WHERE { ?c rdf:type ontology:administrative_territorial_entity . ?n rdf:type ontology:language . ?c property:official_language ?n } GROUP BY ?c } . FILTER ( ?b = 2 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q4325072
P37
Q34770 Q1048835
USER
Which political territories designates greater number of languages as their official language than Zoriane ?
(c(Q1048835),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q4325072
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?g ) WHERE { ?d property:P37 ?u . ?d rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q34770 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q4325072 property:P37 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?g > ?b ) }
Zoriane
action greater
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Zoriane
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?g ) WHERE { ?d property:official_language ?u . ?d rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:language } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Zoriane property:official_language ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?g > ?b ) }
[]
language political territorial entity
Q408 Q16 Q5705
SYSTEM
Australia, Canada, Catalonia
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q757 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q4325072
relation P37
type Q1048835
[ANSWERS] designate greater number of languages as their official language than Zoriane
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?g ) WHERE { ?d property:P37 ?u . ?d rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q34770 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q4325072 property:P37 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?g > ?b ) }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Saint Vincent and the Grenadines Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
Australia, Canada and Catalonia designate greater number of languages as their official language than Zoriane
Australia Canada Catalonia
action greater
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Zoriane
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?u ) AS ?g ) WHERE { ?d property:official_language ?u . ?d rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:language } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Zoriane property:official_language ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?g > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q4540
P37
Q34770 Q1048835
USER
And how about Eschen?
(c(Q1048835),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q4540
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?z ) WHERE { ?l property:P37 ?r . ?l rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q34770 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q4540 property:P37 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?z > ?g ) }
Eschen
action greater
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Eschen
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?z ) WHERE { ?l property:official_language ?r . ?l rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:language } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Eschen property:official_language ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?z > ?g ) }
[]
language political territorial entity
Q408 Q16 Q5705
SYSTEM
Australia, Canada, Catalonia
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q757 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q4540
relation P37
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?z ) WHERE { ?l property:P37 ?r . ?l rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q34770 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Q4540 property:P37 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?z > ?g ) }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Saint Vincent and the Grenadines Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
Australia Canada Catalonia
action greater
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Eschen
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?r ) AS ?z ) WHERE { ?l property:official_language ?r . ?l rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:language } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { resource:Eschen property:official_language ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?z > ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P1001
Q12737077
USER
Which occupations have control over the jurisdiction of Sweden ?
(c(Q12737077),P1001,Q34)
action filter_type
action find_reverse
entity Q34
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q34']
SELECT DISTINCT ?h WHERE { ?h property:P1001 resource:Q34 . ?h rdf:type ontology:Q12737077 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Sweden']
SELECT DISTINCT ?h WHERE { ?h property:applies_to_jurisdiction resource:Sweden . ?h rdf:type ontology:occupation }
[]
occupation
Q3315958 Q687075 Q1749063
SYSTEM
Minister for Justice, Prime Minister of Sweden, Minister for Foreign Affairs of Sweden
Q3315958 Q10655178 Q1749063 Q4806239 Q6865835 Q1268572 Q10686038 Q1850749 Q4346906 Q10686216 Q4189744 Q6865858 Q6508565 Q920108 Q10686263 Q687075 Q10686247
(c(Q12737077),P1001,Q34)
action filter_type
action find_reverse
entity Q34
relation P1001
type Q12737077
The [ANSWERS] have control over the jurisdiction of Sweden
[{'concept': 'Q12737077'}, 'P1001', 'Q34']
SELECT DISTINCT ?h WHERE { ?h property:P1001 resource:Q34 . ?h rdf:type ontology:Q12737077 }
Minister for Justice Member of the Riksdag Minister for Foreign Affairs of Sweden Minister for Nordic Cooperation Minister for Finance monarch of Sweden Minister for International Development Cooperation Speaker of the Parliament of Sweden Lord High Constable of Sweden Minister for the Environment Deputy Prime Minister of Sweden Minister for Gender Equality Affairs Leader of the Opposition Minister for Defence Minister for Education and Science Prime Minister of Sweden Minister for Health and Social Affairs
The Minister for Justice, Prime Minister of Sweden and Minister for Foreign Affairs of Sweden have control over the jurisdiction of Sweden
Minister for Justice Prime Minister of Sweden Minister for Foreign Affairs of Sweden
action filter_type
action find_reverse
entity Sweden
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Sweden']
SELECT DISTINCT ?h WHERE { ?h property:applies_to_jurisdiction resource:Sweden . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q687075
P748
Q12737077
USER
Who was appointed by Prime Minister of Sweden ?
(c(Q12737077),P748,Q687075)
action filter_type
action find_reverse
entity Q687075
relation P748
type Q12737077
[{'concept': 'Q12737077'}, 'P748', 'Q687075']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . ?q property:P748 resource:Q687075 }
Prime Minister of Sweden
action filter_type
action find_reverse
entity Prime Minister of Sweden
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Prime Minister of Sweden']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . ?q property:appointed_by resource:Prime_Minister_of_Sweden }
[]
occupation
Q1749063
SYSTEM
Minister for Foreign Affairs of Sweden
Q1749063
(c(Q12737077),P748,Q687075)
action filter_type
action find_reverse
entity Q687075
relation P748
type Q12737077
The [ANSWER] was appointed by Prime Minister of Sweden
[{'concept': 'Q12737077'}, 'P748', 'Q687075']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . ?q property:P748 resource:Q687075 }
Minister for Foreign Affairs of Sweden
The Minister for Foreign Affairs of Sweden was appointed by Prime Minister of Sweden
Minister for Foreign Affairs of Sweden
action filter_type
action find_reverse
entity Prime Minister of Sweden
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Prime Minister of Sweden']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . ?q property:appointed_by resource:Prime_Minister_of_Sweden }
[]