Simple Question (Direct)
Simple Question
Q709585
P19
Q13220204
USER
Which administrative country subdivision was Jan Åge Fjørtoft born in ?
(Q709585,P19,c(Q13220204))
action filter_type
action find
entity Q709585
relation P19
type Q13220204
['Q709585', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?t WHERE { resource:Q709585 property:P19 ?t . ?t rdf:type ontology:Q13220204 }
Jan Åge Fjørtoft
action filter_type
action find
entity Jan Åge Fjørtoft
relation place of birth
type second-level administrative country subdivision
['Jan Åge Fjørtoft', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?t WHERE { resource:Jan_Åge_Fjørtoft property:place_of_birth ?t . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q62266
SYSTEM
Ålesund
Q62266
(Q709585,P19,c(Q13220204))
action filter_type
action find
entity Q709585
relation P19
type Q13220204
Jan Åge Fjørtoft was born in [ANSWER]
['Q709585', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?t WHERE { resource:Q709585 property:P19 ?t . ?t rdf:type ontology:Q13220204 }
Ålesund
Jan Åge Fjørtoft was born in Ålesund
Ålesund
action filter_type
action find
entity Jan Åge Fjørtoft
relation place of birth
type second-level administrative country subdivision
['Jan Åge Fjørtoft', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?t WHERE { resource:Jan_Åge_Fjørtoft property:place_of_birth ?t . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q62266
P190
Q56061
USER
Which administrative territories are twin cities of that administrative country subdivision ?
(Q62266,P190,c(Q56061))
action filter_type
action find
entity Q62266
relation P190
type Q56061
['Q62266', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q62266 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Ålesund
action filter_type
action find
entity Ålesund
relation sister city
type administrative territorial entity
['Ålesund', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Ålesund property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q28911 Q29042
SYSTEM
Lahti, Akureyri
Q28911 Q29042
(Q62266,P190,c(Q56061))
action filter_type
action find
entity Q62266
relation P190
type Q56061
[ANSWERS] are twin cities of that administrative country subdivision
['Q62266', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q62266 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Lahti Akureyri
Lahti and Akureyri are twin cities of that administrative country subdivision
Lahti Akureyri
action filter_type
action find
entity Ålesund
relation sister city
type administrative territorial entity
['Ålesund', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Ålesund property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q28911
P6
Q502895
USER
Which person is the head of government of that administrative territory ?
(Q28911,P6,c(Q502895))
action filter_type
action find
entity Q28911
relation P6
type Q502895
['Q28911', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q28911 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Lahti
action filter_type
action find
entity Lahti
relation head of government
type common name
['Lahti', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Lahti property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q29042
SYSTEM
Did you mean Akureyri ?
Q28911 Q29042
(Q28911,P6,c(Q502895)) (Q29042,P6,c(Q502895))
[ANSWER]
['Q28911', 'P6', {'concept': 'Q502895'}] ['Q29042', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q28911 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Lahti Akureyri
Did you mean Akureyri ?
Akureyri
['Lahti', 'head of government', {'concept': 'common name'}] ['Akureyri', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Lahti property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Lahti. Could you tell me the answer for that?
(Q28911,P6,c(Q502895))
Q28911
['Q28911', 'P6', {'concept': 'Q502895'}]
['Lahti', 'head of government', {'concept': 'common name'}]
[]
Q11868223
SYSTEM
Jyrki Myllyvirta
Q11868223
(Q28911,P6,c(Q502895))
action filter_type
action find
entity Q28911
relation P6
type Q502895
[ANSWER] is the head of government of that administrative territory
['Q28911', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q28911 property:P6 ?a . ?a rdf:type ontology:Q502895 }
Jyrki Myllyvirta
Jyrki Myllyvirta is the head of government of that administrative territory
Jyrki Myllyvirta
action filter_type
action find
entity Lahti
relation head of government
type common name
['Lahti', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Lahti property:head_of_government ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films had their voice dubbing done by exactly 15 people ?
(c(Q11424),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 15
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?q ) WHERE { ?i property:P725 ?d . ?i rdf:type ontology:Q11424 . ?d rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?q = 15 ) }
action equal
action find_tuple_counts
relation voice actor
type film
type common name
value 15
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?q ) WHERE { ?i property:voice_actor ?d . ?i rdf:type ontology:film . ?d rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?q = 15 ) }
[]
common name film
Q6929072 Q578595 Q40302
SYSTEM
Mr. Peabody & Sherman, Paprika, The Fox and the Hound
Q6929072 Q578595 Q40302
(c(Q11424),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 15
[ANSWERS] had their voice dubbing done by exactly 15 people
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?q ) WHERE { ?i property:P725 ?d . ?i rdf:type ontology:Q11424 . ?d rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?q = 15 ) }
Mr. Peabody & Sherman Paprika The Fox and the Hound
Mr. Peabody & Sherman, Paprika and The Fox and the Hound had their voice dubbing done by exactly 15 people
Mr. Peabody & Sherman Paprika The Fox and the Hound
action equal
action find_tuple_counts
relation voice actor
type film
type common name
value 15
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?q ) WHERE { ?i property:voice_actor ?d . ?i rdf:type ontology:film . ?d rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?q = 15 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q28911 Q5208780
P17
Q15617994
USER
How many administrative territories do Lahti or Daharki Taluka belong to ?
(Q28911,P17,c(Q15617994)) (Q5208780,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q28911
relation P17
type Q15617994
action filter_type
action find
entity Q5208780
relation P17
type Q15617994
['Q28911', 'P17', {'concept': 'Q15617994'}] ['Q5208780', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { resource:Q28911 property:P17 ?h . ?h rdf:type ontology:Q15617994 } UNION { ?h rdf:type ontology:Q15617994 . resource:Q5208780 property:P17 ?h } }
Lahti Daharki Taluka
action count
action union
action filter_type
action find
entity Lahti
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Daharki Taluka
relation country
type designation for an administrative territorial entity
['Lahti', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Daharki Taluka', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { resource:Lahti property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Daharki_Taluka property:country ?h } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q33 Q843
(Q28911,P17,c(Q15617994)) (Q5208780,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q28911
relation P17
type Q15617994
action filter_type
action find
entity Q5208780
relation P17
type Q15617994
[ANSWER]
['Q28911', 'P17', {'concept': 'Q15617994'}] ['Q5208780', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { resource:Q28911 property:P17 ?h . ?h rdf:type ontology:Q15617994 } UNION { ?h rdf:type ontology:Q15617994 . resource:Q5208780 property:P17 ?h } }
Finland Pakistan
2
action count
action union
action filter_type
action find
entity Lahti
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Daharki Taluka
relation country
type designation for an administrative territorial entity
['Lahti', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Daharki Taluka', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { resource:Lahti property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Daharki_Taluka property:country ?h } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8037144 Q5208780
P17
Q15617994
USER
Which administrative territories are Daharki Taluka or Wortendyke-Demund House located in ?
OR((Q5208780,P17,c(Q15617994)), (Q8037144,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5208780
relation P17
action find
entity Q8037144
relation P17
type Q15617994
{'OR': [['Q5208780', 'P17', {'concept': 'Q15617994'}], ['Q8037144', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q8037144 property:P17 ?k } UNION { resource:Q5208780 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Wortendyke-Demund House Daharki Taluka
action filter_type
action union
action find
entity Daharki Taluka
relation country
action find
entity Wortendyke-Demund House
relation country
type designation for an administrative territorial entity
{'OR': [['Daharki Taluka', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Wortendyke-Demund House', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Wortendyke-Demund_House property:country ?k } UNION { resource:Daharki_Taluka property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q843 Q30
SYSTEM
Pakistan, United States of America
Q843 Q30
OR((Q5208780,P17,c(Q15617994)), (Q8037144,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5208780
relation P17
action find
entity Q8037144
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q5208780', 'P17', {'concept': 'Q15617994'}], ['Q8037144', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q8037144 property:P17 ?k } UNION { resource:Q5208780 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Pakistan United States of America
Which administrative territories are Daharki Taluka or Wortendyke-Demund House located in
Pakistan United States of America
action filter_type
action union
action find
entity Daharki Taluka
relation country
action find
entity Wortendyke-Demund House
relation country
type designation for an administrative territorial entity
{'OR': [['Daharki Taluka', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Wortendyke-Demund House', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Wortendyke-Demund_House property:country ?k } UNION { resource:Daharki_Taluka property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q15416
USER
How many administrative territories did lesser number of releases and television programs originate than that administrative territory ?
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
designation for an administrative territorial entity release television program
Comparative|Count over More/Less|Mult. entity type|Clarification
Q843
SYSTEM
Did you mean Pakistan ?
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
Did you mean Pakistan ?
Pakistan
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant United States of America. Could you tell me the answer for that?
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
Q30
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
[[{'concept': 'release'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]