Simple Question (Direct)
Simple Question
Q10441079
P19
Q56061
USER
Which administrative territory is the birthplace of John Kay ?
(Q10441079,P19,c(Q56061))
action filter_type
action find
entity Q10441079
relation P19
type Q56061
['Q10441079', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q10441079 property:P19 ?x . ?x rdf:type ontology:Q56061 }
John Kay
action filter_type
action find
entity John Kay
relation place of birth
type administrative territorial entity
['John Kay', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:John_Kay property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q751587
SYSTEM
Great Lumley
Q751587
(Q10441079,P19,c(Q56061))
action filter_type
action find
entity Q10441079
relation P19
type Q56061
[ANSWER] is the birthplace of John Kay
['Q10441079', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q10441079 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Great Lumley
Great Lumley is the birthplace of John Kay
Great Lumley
action filter_type
action find
entity John Kay
relation place of birth
type administrative territorial entity
['John Kay', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:John_Kay property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10441079
P106
Q12737077
USER
What is the profession of that person ?
(Q751587,P106,c(Q12737077))
action filter_type
action find
entity Q10441079
relation P106
type Q12737077
['Q751587', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q10441079 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
John Kay
action filter_type
action find
entity John Kay
relation occupation
type occupation
['Great Lumley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:John_Kay property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q751587,P106,c(Q12737077))
action filter_type
action find
entity Q10441079
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q751587', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q10441079 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity John Kay
relation occupation
type occupation
['Great Lumley', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:John_Kay property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q937857 Q16996906 Q2736
P425
Q349
USER
Does Indoor American football and association football belong to Q937857 ?
(Q937857,P425,Q16996906) (Q937857,P425,Q2736)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q16996906
relation P425
action find_reverse
entity Q2736
relation P425
['Q937857', 'P425', 'Q16996906'] ['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q16996906 . resource:Q937857 property:P425 resource:Q2736 }
association football player Indoor American football association football
action is_in
entity association football player
action intersection
action find_reverse
entity Indoor American football
relation field of this occupation
action find_reverse
entity association football
relation field of this occupation
['association football player', 'field of this occupation', 'Indoor American football'] ['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Indoor_American_football . resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
sport
SYSTEM
NO and YES respectively
(Q937857,P425,Q16996906) (Q937857,P425,Q2736)
action is_in
entity Q937857
action intersection
action find_reverse
entity Q16996906
relation P425
action find_reverse
entity Q2736
relation P425
[ANSWER]
['Q937857', 'P425', 'Q16996906'] ['Q937857', 'P425', 'Q2736']
ASK WHERE { resource:Q937857 property:P425 resource:Q16996906 . resource:Q937857 property:P425 resource:Q2736 }
NO and YES respectively
action is_in
entity association football player
action intersection
action find_reverse
entity Indoor American football
relation field of this occupation
action find_reverse
entity association football
relation field of this occupation
['association football player', 'field of this occupation', 'Indoor American football'] ['association football player', 'field of this occupation', 'association football']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:Indoor_American_football . resource:association_football_player property:field_of_this_occupation resource:association_football }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q10441079 Q11752620
P641
Q31629
USER
How many types of sport did John Kay or Lahden Hiihtoseura participate in ?
(Q10441079,P641,c(Q31629)) (Q11752620,P641,c(Q31629))
action count
action union
action filter_type
action find
entity Q10441079
relation P641
type Q31629
action filter_type
action find
entity Q11752620
relation P641
type Q31629
['Q10441079', 'P641', {'concept': 'Q31629'}] ['Q11752620', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { resource:Q10441079 property:P641 ?z . ?z rdf:type ontology:Q31629 } UNION { resource:Q11752620 property:P641 ?z . ?z rdf:type ontology:Q31629 } }
John Kay Lahden Hiihtoseura
action count
action union
action filter_type
action find
entity John Kay
relation sport
type type of sport
action filter_type
action find
entity Lahden Hiihtoseura
relation sport
type type of sport
['John Kay', 'sport', {'concept': 'type of sport'}] ['Lahden Hiihtoseura', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { resource:John_Kay property:sport ?z . ?z rdf:type ontology:type_of_sport } UNION { resource:Lahden_Hiihtoseura property:sport ?z . ?z rdf:type ontology:type_of_sport } }
[]
type of sport
SYSTEM
4
Q179687 Q166788 Q189472 Q178131
(Q10441079,P641,c(Q31629)) (Q11752620,P641,c(Q31629))
action count
action union
action filter_type
action find
entity Q10441079
relation P641
type Q31629
action filter_type
action find
entity Q11752620
relation P641
type Q31629
[ANSWER]
['Q10441079', 'P641', {'concept': 'Q31629'}] ['Q11752620', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { resource:Q10441079 property:P641 ?z . ?z rdf:type ontology:Q31629 } UNION { resource:Q11752620 property:P641 ?z . ?z rdf:type ontology:Q31629 } }
cross-country skiing biathlon freestyle skiing snowboarding
4
action count
action union
action filter_type
action find
entity John Kay
relation sport
type type of sport
action filter_type
action find
entity Lahden Hiihtoseura
relation sport
type type of sport
['John Kay', 'sport', {'concept': 'type of sport'}] ['Lahden Hiihtoseura', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { resource:John_Kay property:sport ?z . ?z rdf:type ontology:type_of_sport } UNION { resource:Lahden_Hiihtoseura property:sport ?z . ?z rdf:type ontology:type_of_sport } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5699207 Q10441079
P641
Q349
USER
Which sports were John Kay or Antonio Nuñez Abreu a part of ?
OR((Q10441079,P641,c(Q349)), (Q5699207,P641,c(Q349)))
action filter_type
action union
action find
entity Q10441079
relation P641
action find
entity Q5699207
relation P641
type Q349
{'OR': [['Q10441079', 'P641', {'concept': 'Q349'}], ['Q5699207', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . { { resource:Q10441079 property:P641 ?i } UNION { resource:Q5699207 property:P641 ?i } } }
Antonio Nuñez Abreu John Kay
action filter_type
action union
action find
entity John Kay
relation sport
action find
entity Antonio Nuñez Abreu
relation sport
type sport
{'OR': [['John Kay', 'sport', {'concept': 'sport'}], ['Antonio Nuñez Abreu', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . { { resource:John_Kay property:sport ?i } UNION { resource:Antonio_Nuñez_Abreu property:sport ?i } } }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q10441079,P641,c(Q349)), (Q5699207,P641,c(Q349)))
action filter_type
action union
action find
entity Q10441079
relation P641
action find
entity Q5699207
relation P641
type Q349
The [ANSWER] was John Kay or Antonio Nuñez Abreu a part of
{'OR': [['Q10441079', 'P641', {'concept': 'Q349'}], ['Q5699207', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q349 . { { resource:Q10441079 property:P641 ?i } UNION { resource:Q5699207 property:P641 ?i } } }
association football
The association football was John Kay or Antonio Nuñez Abreu a part of
association football
action filter_type
action union
action find
entity John Kay
relation sport
action find
entity Antonio Nuñez Abreu
relation sport
type sport
{'OR': [['John Kay', 'sport', {'concept': 'sport'}], ['Antonio Nuñez Abreu', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sport . { { resource:John_Kay property:sport ?i } UNION { resource:Antonio_Nuñez_Abreu property:sport ?i } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5699207
P1412
Q34770
USER
Which language is Antonio Nuñez Abreu capable of writing?
(Q2736,P1412,c(Q34770))
action filter_type
action find
entity Q5699207
relation P1412
type Q34770
['Q2736', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q5699207 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Antonio Nuñez Abreu
action filter_type
action find
entity Antonio Nuñez Abreu
relation languages spoken, written or signed
type language
['association football', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Antonio_Nuñez_Abreu property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2736,P1412,c(Q34770))
action filter_type
action find
entity Q5699207
relation P1412
type Q34770
[ANSWER] is Antonio Nuñez Abreu capable of writing
['Q2736', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q5699207 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Spanish
Spanish is Antonio Nuñez Abreu capable of writing
Spanish
action filter_type
action find
entity Antonio Nuñez Abreu
relation languages spoken, written or signed
type language
['association football', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Antonio_Nuñez_Abreu property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q786
P37
Q34770 Q15617994
USER
How many administrative territories are known to have less number of languages as their official language than Dominican Republic ?
(c(Q15617994),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q786
relation P37
type Q34770
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?e ) WHERE { ?o property:P37 ?y . ?o rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q34770 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Q786 property:P37 ?l . ?l rdf:type ontology:Q34770 } } . FILTER ( ?e < ?r ) }
Dominican Republic
action count
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Dominican Republic
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?e ) WHERE { ?o property:official_language ?y . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:language } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Dominican_Republic property:official_language ?l . ?l rdf:type ontology:language } } . FILTER ( ?e < ?r ) }
[]
language designation for an administrative territorial entity
SYSTEM
132
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q34 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q20 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q786
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?e ) WHERE { ?o property:P37 ?y . ?o rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q34770 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Q786 property:P37 ?l . ?l rdf:type ontology:Q34770 } } . FILTER ( ?e < ?r ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Sweden Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Norway Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
132
action count
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Dominican Republic
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?e ) WHERE { ?o property:official_language ?y . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:language } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Dominican_Republic property:official_language ?l . ?l rdf:type ontology:language } } . FILTER ( ?e < ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q795587
P37
Q34770 Q15617994
USER
And also tell me about Escuintla?
(c(Q15617994),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q795587
relation P37
type Q34770
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?z ) WHERE { ?y property:P37 ?j . ?y rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q34770 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q795587 property:P37 ?p . ?p rdf:type ontology:Q34770 } } . FILTER ( ?z < ?g ) }
Escuintla
action count
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Escuintla
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?z ) WHERE { ?y property:official_language ?j . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:language } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Escuintla property:official_language ?p . ?p rdf:type ontology:language } } . FILTER ( ?z < ?g ) }
[]
language designation for an administrative territorial entity
SYSTEM
132
Q805 Q801 Q473259 Q398 Q142 Q1039 Q21671144 Q32 Q12536 Q262 Q148 Q265 Q30 Q37 Q16006 Q711 Q837 Q252 Q2068764 Q21850324 Q403 Q657 Q45 Q159 Q43 Q41 Q155 Q673813 Q790 Q4628 Q796 Q794 Q669945 Q884 Q881 Q503181 Q219 Q826 Q247613 Q603392 Q33 Q921 Q31 Q36 Q34 Q929 Q165934 Q423 Q889 Q851 Q29999 Q854 Q819 Q253445 Q424 Q730 Q236 Q230 Q232 Q20 Q1045 Q1041 Q28 Q21853467 Q189 Q842 Q184 Q1029 Q1028 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q17 Q10957559 Q902 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q115 Q59118 Q212 Q211 Q217 Q214 Q215 Q218 Q160307 Q1483510 Q912 Q917 Q916 Q1007 Q1006 Q977 Q1008 Q971 Q970 Q836 Q574 Q637451 Q874 Q3365904 Q79 Q858 Q199688 Q878 Q948 Q817 Q810 Q770 Q813 Q1016 Q1011 Q945 Q8575586 Q21848848 Q176 Q61698 Q822 Q863 Q869 Q1230929
(c(Q15617994),P37,c(Q34770))
action count
action less
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q795587
relation P37
type Q34770
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?z ) WHERE { ?y property:P37 ?j . ?y rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q34770 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Q795587 property:P37 ?p . ?p rdf:type ontology:Q34770 } } . FILTER ( ?z < ?g ) }
Yemen Israel Ammerthal Bahrain France Sao Tomé and Príncipe Mezhetchina Luxembourg Abbasid caliphate Algeria People's Republic of China Uzbekistan United States of America Lithuania Goch Mongolia Nepal Indonesia Archa Darugha Gireyevo Serbia Chad Portugal Russia Turkey Greece Brazil Euratsfeld Haiti Faroe Islands Iraq Iran Vorau South Korea Vietnam Herzberg am Harz Bulgaria Maldives Bernese Jura Schönwalde Finland Brunei Belgium Poland Sweden Central African Republic Bokensdorf North Korea Afghanistan Saudi Arabia Kingdom of the Netherlands Sri Lanka Laos Kolbermoor Cambodia Suriname Montenegro Georgia Kazakhstan Norway Somalia Senegal Hungary Romanovo Iceland Oman Belarus Mozambique Morocco Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Japan Moldavia Bangladesh Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Ethiopia Aappilattoq Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Principality of Wales Mali Bhutan Angola Guinea-Bissau Guinea Djibouti Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Rohrbach Turkmenistan Saint-Léonard Parish, New Brunswick Egypt Syria Almohad United Arab Emirates Tunisia Kuwait Jordan Friesland Kyrgyzstan Libya Cape Verde Togo Umayyad Caliphate Lyskovo Quebec Büsingen Lebanon Tajikistan Thailand Kesklinn
132
action count
action less
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Escuintla
relation official language
type language
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?z ) WHERE { ?y property:official_language ?j . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:language } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { resource:Escuintla property:official_language ?p . ?p rdf:type ontology:language } } . FILTER ( ?z < ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5699207
P19
Q56061
USER
How many administrative territories are the places of birth of Antonio Nuñez Abreu ?
(Q5699207,P19,c(Q56061))
action count
action filter_type
action find
entity Q5699207
relation P19
type Q56061
['Q5699207', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Q5699207 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Antonio Nuñez Abreu
action count
action filter_type
action find
entity Antonio Nuñez Abreu
relation place of birth
type administrative territorial entity
['Antonio Nuñez Abreu', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Antonio_Nuñez_Abreu property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q14328
(Q5699207,P19,c(Q56061))
action count
action filter_type
action find
entity Q5699207
relation P19
type Q56061
[ANSWER]
['Q5699207', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Q5699207 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Santa Cruz de Tenerife
1
action count
action filter_type
action find
entity Antonio Nuñez Abreu
relation place of birth
type administrative territorial entity
['Antonio Nuñez Abreu', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Antonio_Nuñez_Abreu property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5699207
P21
Q290
USER
Which sex does that person have ?
action filter_type
action find
entity Q5699207
relation P21
type Q290
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q5699207 property:P21 ?b }
Antonio Nuñez Abreu
action filter_type
action find
entity Antonio Nuñez Abreu
relation gender
type sex
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Antonio_Nuñez_Abreu property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q5699207
relation P21
type Q290
That person has a [ANSWER]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q5699207 property:P21 ?b }
male
That person has a male
male
action filter_type
action find
entity Antonio Nuñez Abreu
relation gender
type sex
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Antonio_Nuñez_Abreu property:gender ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5393131
Q290
USER
And how about Ernest Glenn Munn?
(Q5393131,P21,c(Q290))
action filter_type
action find
entity Q5393131
relation P21
type Q290
['Q5393131', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q5393131 property:P21 ?s . ?s rdf:type ontology:Q290 }
Ernest Glenn Munn
action filter_type
action find
entity Ernest Glenn Munn
relation gender
type sex
['Ernest Glenn Munn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Ernest_Glenn_Munn property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5393131,P21,c(Q290))
action filter_type
action find
entity Q5393131
relation P21
type Q290
[ANSWER]
['Q5393131', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q5393131 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Ernest Glenn Munn
relation gender
type sex
['Ernest Glenn Munn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Ernest_Glenn_Munn property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5393131
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q5393131
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5393131 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Ernest Glenn Munn
action filter_type
action find
entity Ernest Glenn Munn
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ernest_Glenn_Munn property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q5393131
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q5393131 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
United States of America
The United States of America is the country of citizenship of that person
United States of America
action filter_type
action find
entity Ernest Glenn Munn
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ernest_Glenn_Munn property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]