Simple Question (Direct)
Simple Question
Q3820611
P54
Q12973014
USER
What is LaTonya Johnson a member of ?
(Q3820611,P54,c(Q12973014))
action filter_type
action find
entity Q3820611
relation P54
type Q12973014
['Q3820611', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { resource:Q3820611 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
LaTonya Johnson
action filter_type
action find
entity LaTonya Johnson
relation member of sports team
type sports team
['LaTonya Johnson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { resource:LaTonya_Johnson property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
sports team
Q6815890
SYSTEM
Memphis Tigers women's basketball
Q6815890
(Q3820611,P54,c(Q12973014))
action filter_type
action find
entity Q3820611
relation P54
type Q12973014
LaTonya Johnson a member of is the [ANSWER]
['Q3820611', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { resource:Q3820611 property:P54 ?r . ?r rdf:type ontology:Q12973014 }
Memphis Tigers women's basketball
LaTonya Johnson a member of is the Memphis Tigers women's basketball
Memphis Tigers women's basketball
action filter_type
action find
entity LaTonya Johnson
relation member of sports team
type sports team
['LaTonya Johnson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { resource:LaTonya_Johnson property:member_of_sports_team ?r . ?r rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3820611
P734
Q82799
USER
Who has the surname that person ?
(Q6815890,P734,c(Q82799))
action filter_type
action find
entity Q3820611
relation P734
type Q82799
['Q6815890', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q3820611 property:P734 ?a . ?a rdf:type ontology:Q82799 }
LaTonya Johnson
action filter_type
action find
entity LaTonya Johnson
relation family name
type name
["Memphis Tigers women's basketball", 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:LaTonya_Johnson property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q1158485
SYSTEM
Johnson
Q1158485
(Q6815890,P734,c(Q82799))
action filter_type
action find
entity Q3820611
relation P734
type Q82799
[ANSWER] has the surname that person
['Q6815890', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q3820611 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Johnson
Johnson has the surname that person
Johnson
action filter_type
action find
entity LaTonya Johnson
relation family name
type name
["Memphis Tigers women's basketball", 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:LaTonya_Johnson property:family_name ?a . ?a rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3820611
P19
Q56061
USER
Which administrative territory was LaTonya Johnson born in ?
(Q3820611,P19,c(Q56061))
action filter_type
action find
entity Q3820611
relation P19
type Q56061
['Q3820611', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3820611 property:P19 ?k . ?k rdf:type ontology:Q56061 }
LaTonya Johnson
action filter_type
action find
entity LaTonya Johnson
relation place of birth
type administrative territorial entity
['LaTonya Johnson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:LaTonya_Johnson property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2012613
SYSTEM
Winchester
Q2012613
(Q3820611,P19,c(Q56061))
action filter_type
action find
entity Q3820611
relation P19
type Q56061
LaTonya Johnson was born in [ANSWER]
['Q3820611', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q3820611 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Winchester
LaTonya Johnson was born in Winchester
Winchester
action filter_type
action find
entity LaTonya Johnson
relation place of birth
type administrative territorial entity
['LaTonya Johnson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:LaTonya_Johnson property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3956291
Q56061
USER
And how about Sergio Solli?
(Q3956291,P19,c(Q56061))
action filter_type
action find
entity Q3956291
relation P19
type Q56061
['Q3956291', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3956291 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Sergio Solli
action filter_type
action find
entity Sergio Solli
relation place of birth
type administrative territorial entity
['Sergio Solli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Sergio_Solli property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2634
SYSTEM
Naples
Q2634
(Q3956291,P19,c(Q56061))
action filter_type
action find
entity Q3956291
relation P19
type Q56061
[ANSWER]
['Q3956291', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3956291 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Naples
Naples
action filter_type
action find
entity Sergio Solli
relation place of birth
type administrative territorial entity
['Sergio Solli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Sergio_Solli property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2634 Q6503942
P190
Q56061
USER
Is Yücekapı twin town of that one ?
(Q2634,P190,Q6503942)
action is_in
entity Q6503942
action find
entity Q2634
relation P190
['Q2634', 'P190', 'Q6503942']
ASK WHERE { resource:Q2634 property:P190 resource:Q6503942 }
Naples Yücekapı
action is_in
entity Yücekapı
action find
entity Naples
relation sister city
['Naples', 'sister city', 'Yücekapı']
ASK WHERE { resource:Naples property:sister_city resource:Yücekapı }
[]
administrative territorial entity
SYSTEM
NO
(Q2634,P190,Q6503942)
action is_in
entity Q6503942
action find
entity Q2634
relation P190
[ANSWER]
['Q2634', 'P190', 'Q6503942']
ASK WHERE { resource:Q2634 property:P190 resource:Q6503942 }
No
action is_in
entity Yücekapı
action find
entity Naples
relation sister city
['Naples', 'sister city', 'Yücekapı']
ASK WHERE { resource:Naples property:sister_city resource:Yücekapı }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19858267 Q1158485
P407
Q34770
USER
Which languages are the languages of work for Johnson or Naukrigulf ?
OR((Q1158485,P407,c(Q34770)), (Q19858267,P407,c(Q34770)))
action filter_type
action union
action find
entity Q1158485
relation P407
action find
entity Q19858267
relation P407
type Q34770
{'OR': [['Q1158485', 'P407', {'concept': 'Q34770'}], ['Q19858267', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?s ) { ( resource:Q1158485 ) ( resource:Q19858267 ) } . ?s property:P407 ?l } . ?l rdf:type ontology:Q34770 }
Naukrigulf Johnson
action filter_type
action union
action find
entity Johnson
relation language of work or name
action find
entity Naukrigulf
relation language of work or name
type language
{'OR': [['Johnson', 'language of work or name', {'concept': 'language'}], ['Naukrigulf', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?s ) { ( resource:Johnson ) ( resource:Naukrigulf ) } . ?s property:language_of_work_or_name ?l } . ?l rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q1158485,P407,c(Q34770)), (Q19858267,P407,c(Q34770)))
action filter_type
action union
action find
entity Q1158485
relation P407
action find
entity Q19858267
relation P407
type Q34770
The languages of work for Johnson or Naukrigulf are [ANSWER]
{'OR': [['Q1158485', 'P407', {'concept': 'Q34770'}], ['Q19858267', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?s ) { ( resource:Q1158485 ) ( resource:Q19858267 ) } . ?s property:P407 ?l } . ?l rdf:type ontology:Q34770 }
English
The languages of work for Johnson or Naukrigulf are English
English
action filter_type
action union
action find
entity Johnson
relation language of work or name
action find
entity Naukrigulf
relation language of work or name
type language
{'OR': [['Johnson', 'language of work or name', {'concept': 'language'}], ['Naukrigulf', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?s ) { ( resource:Johnson ) ( resource:Naukrigulf ) } . ?s property:language_of_work_or_name ?l } . ?l rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q128499
P37
Q34770 Q56061
USER
Which administrative territories have their official language as more number of languages than Yalta ?
(c(Q56061),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q128499
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b rdf:type ontology:Q56061 . resource:Q128499 property:P37 ?b } } . FILTER ( ?o > ?i ) . { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?o ) WHERE { ?u rdf:type ontology:Q56061 . ?a rdf:type ontology:Q34770 . ?u property:P37 ?a } GROUP BY ?u } }
Yalta
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Yalta
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Yalta property:official_language ?b } } . FILTER ( ?o > ?i ) . { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?o ) WHERE { ?u rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:language . ?u property:official_language ?a } GROUP BY ?u } }
[]
language administrative territorial entity
Q458 Q334 Q11959
SYSTEM
European Union, Singapore, Alicante
Q2414585 Q5813 Q68449 Q668625 Q277708 Q660999 Q6029 Q16644 Q16641 Q11703 Q1014671 Q25528 Q2604700 Q2395382 Q123709 Q2214906 Q237 Q334 Q26 Q2532285 Q11935 Q1353 Q14452 Q677935 Q458 Q26180 Q16635 Q4264 Q25230 Q49192 Q67986 Q623277 Q1183 Q2499687 Q69041 Q3947670 Q668239 Q58337 Q334577 Q2217474 Q660974 Q64044 Q11959 Q1025278 Q179313 Q2215147 Q7024 Q7122288 Q67130 Q244207 Q1026296 Q2215401
(c(Q56061),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q128499
relation P37
type Q56061
[ANSWERS] have their official language as more number of languages than Yalta
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b rdf:type ontology:Q56061 . resource:Q128499 property:P37 ?b } } . FILTER ( ?o > ?i ) . { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?o ) WHERE { ?u rdf:type ontology:Q56061 . ?a rdf:type ontology:Q34770 . ?u property:P37 ?a } GROUP BY ?u } }
Agarak Canary Islands Arogno Palagnedra Ozhukarai Malvaglia Acquasparta Northern Mariana Islands American Samoa United States Virgin Islands Wiwilí de Jinotega Saba San Rafael del Norte La Concordia Dundee El Cuá Vatican City Singapore Northern Ireland New Cumberland Locarno Delhi Easter Island Veii European Union Sint Eustatius Guam Mercosur Guernsey Middletown Rovio Aquila Puerto Rico Yatton Mendrisio San Mauro Mare Borgnone Banff Quetzaltenango Santa María de Pantasma Ludiano Bellinzona Alicante Painavu Alderney San José de Bocay Lugano Pacific Alliance Riva San Vitale Campione d'Italia Jinotega San Sebastián de Yalí
European Union, Singapore and Alicante have their official language as more number of languages than Yalta
European Union Singapore Alicante
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Yalta
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Yalta property:official_language ?b } } . FILTER ( ?o > ?i ) . { SELECT DISTINCT ?u ( COUNT ( ?a ) AS ?o ) WHERE { ?u rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:language . ?u property:official_language ?a } GROUP BY ?u } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q57110
P37
Q34770 Q56061
USER
And also tell me about Corsier-sur-Vevey?
(c(Q56061),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q57110
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?d ) WHERE { ?s property:P37 ?a . ?s rdf:type ontology:Q56061 . ?a rdf:type ontology:Q34770 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q57110 property:P37 ?v . ?v rdf:type ontology:Q56061 } } . FILTER ( ?d > ?j ) }
Corsier-sur-Vevey
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Corsier-sur-Vevey
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?d ) WHERE { ?s property:official_language ?a . ?s rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:language } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Corsier-sur-Vevey property:official_language ?v . ?v rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?d > ?j ) }
[]
language administrative territorial entity
Q458 Q334 Q11959
SYSTEM
European Union, Singapore, Alicante
Q2414585 Q5813 Q68449 Q668625 Q277708 Q660999 Q6029 Q16644 Q16641 Q11703 Q1014671 Q25528 Q2604700 Q2395382 Q123709 Q2214906 Q237 Q334 Q26 Q2532285 Q11935 Q1353 Q14452 Q677935 Q458 Q26180 Q16635 Q4264 Q25230 Q49192 Q67986 Q623277 Q1183 Q2499687 Q69041 Q3947670 Q668239 Q58337 Q334577 Q2217474 Q660974 Q64044 Q11959 Q1025278 Q179313 Q2215147 Q7024 Q7122288 Q67130 Q244207 Q1026296 Q2215401
(c(Q56061),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q57110
relation P37
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?d ) WHERE { ?s property:P37 ?a . ?s rdf:type ontology:Q56061 . ?a rdf:type ontology:Q34770 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q57110 property:P37 ?v . ?v rdf:type ontology:Q56061 } } . FILTER ( ?d > ?j ) }
Agarak Canary Islands Arogno Palagnedra Ozhukarai Malvaglia Acquasparta Northern Mariana Islands American Samoa United States Virgin Islands Wiwilí de Jinotega Saba San Rafael del Norte La Concordia Dundee El Cuá Vatican City Singapore Northern Ireland New Cumberland Locarno Delhi Easter Island Veii European Union Sint Eustatius Guam Mercosur Guernsey Middletown Rovio Aquila Puerto Rico Yatton Mendrisio San Mauro Mare Borgnone Banff Quetzaltenango Santa María de Pantasma Ludiano Bellinzona Alicante Painavu Alderney San José de Bocay Lugano Pacific Alliance Riva San Vitale Campione d'Italia Jinotega San Sebastián de Yalí
European Union Singapore Alicante
action greater
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity Corsier-sur-Vevey
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?a ) AS ?d ) WHERE { ?s property:official_language ?a . ?s rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:language } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Corsier-sur-Vevey property:official_language ?v . ?v rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?d > ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9286001 Q3820611
P27
Q15617994
USER
Which administrative territories are LaTonya Johnson or Hanna Leks an inhabitant of ?
OR((Q3820611,P27,c(Q15617994)), (Q9286001,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3820611
relation P27
action find
entity Q9286001
relation P27
type Q15617994
{'OR': [['Q3820611', 'P27', {'concept': 'Q15617994'}], ['Q9286001', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . { { resource:Q3820611 property:P27 ?z } UNION { resource:Q9286001 property:P27 ?z } } }
Hanna Leks LaTonya Johnson
action filter_type
action union
action find
entity LaTonya Johnson
relation country of citizenship
action find
entity Hanna Leks
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['LaTonya Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hanna Leks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:LaTonya_Johnson property:country_of_citizenship ?z } UNION { resource:Hanna_Leks property:country_of_citizenship ?z } } }
[]
designation for an administrative territorial entity
Q30 Q36
SYSTEM
United States of America, Poland
Q30 Q36
OR((Q3820611,P27,c(Q15617994)), (Q9286001,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3820611
relation P27
action find
entity Q9286001
relation P27
type Q15617994
[ANSWERS] are LaTonya Johnson or Hanna Leks an inhabitant of
{'OR': [['Q3820611', 'P27', {'concept': 'Q15617994'}], ['Q9286001', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . { { resource:Q3820611 property:P27 ?z } UNION { resource:Q9286001 property:P27 ?z } } }
United States of America Poland
United States of America and Poland are LaTonya Johnson or Hanna Leks an inhabitant of
United States of America Poland
action filter_type
action union
action find
entity LaTonya Johnson
relation country of citizenship
action find
entity Hanna Leks
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['LaTonya Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Hanna Leks', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:LaTonya_Johnson property:country_of_citizenship ?z } UNION { resource:Hanna_Leks property:country_of_citizenship ?z } } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the countries of origin of greater number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|More/Less|Single entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean United States of America ?
United States of America
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Poland. Could you tell me the answer for that?
(c(Q2031291),P495,c(Q15617994))
Q36
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q30 Q159
SYSTEM
Italy, United States of America, Russia
Q668 Q142 Q55 Q145 Q148 Q159 Q43 Q884 Q33 Q31 Q30 Q34 Q38 Q843 Q17 Q902 Q29
(c(Q2031291),P495,c(Q15617994))
[ANSWERS] are the countries of origin of greater number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
India France Netherlands United Kingdom People's Republic of China Russia Turkey South Korea Finland Belgium United States of America Sweden Italy Pakistan Japan Bangladesh Spain
Italy, United States of America and Russia are the countries of origin of greater number of releases than that administrative territory
Italy United States of America Russia
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q838948
USER
Which administrative territories are the origin of around the same number of musical ensembles and works of art as that administrative territory ?
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?c ) { ( ?z ) ( ?x ) } . ?c property:P495 ?y } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?c ) { ( ?z ) ( ?x ) } . ?c property:country_of_origin ?y } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
designation for an administrative territorial entity musical ensemble work of art
Comparative|More/Less|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?c ) { ( ?z ) ( ?x ) } . ?c property:P495 ?y } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
Did you mean United States of America ?
United States of America
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?c ) { ( ?z ) ( ?x ) } . ?c property:country_of_origin ?y } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
USER
No, I meant Italy. Could you tell me the answer for that?
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
Q38
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q142 Q145
SYSTEM
Italy, France, United Kingdom
Q142 Q145 Q38 Q17
(c(Q2088357)|c(Q838948),P495,c(Q15617994))
[ANSWERS] are the origin of around the same number of musical ensembles and works of art as that administrative territory
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q838948 }
France United Kingdom Italy Japan
Italy, France and United Kingdom are the origin of around the same number of musical ensembles and works of art as that administrative territory
Italy France United Kingdom
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q14487804
P495
Q838948
USER
Did A River Changes Course originate in those administrative territories ?
(Q14487804,P495,Q38) (Q14487804,P495,Q142) (Q14487804,P495,Q145)
action is_in
entity prev_answer
action find
entity Q14487804
relation P495
['Q14487804', 'P495', 'Q38'] ['Q14487804', 'P495', 'Q142'] ['Q14487804', 'P495', 'Q145']
ASK WHERE { VALUES ( ?i ) { ( resource:Q142 ) ( resource:Q145 ) ( resource:Q38 ) } . resource:Q14487804 property:P495 ?i }
A River Changes Course
action is_in
entity prev_answer
action find
entity A River Changes Course
relation country of origin
['A River Changes Course', 'country of origin', 'Italy'] ['A River Changes Course', 'country of origin', 'France'] ['A River Changes Course', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?i ) { ( resource:France ) ( resource:United_Kingdom ) ( resource:Italy ) } . resource:A_River_Changes_Course property:country_of_origin ?i }
[]
work of art
SYSTEM
NO
(Q14487804,P495,Q38) (Q14487804,P495,Q142) (Q14487804,P495,Q145)
action is_in
entity prev_answer
action find
entity Q14487804
relation P495
[ANSWER]
['Q14487804', 'P495', 'Q38'] ['Q14487804', 'P495', 'Q142'] ['Q14487804', 'P495', 'Q145']
ASK WHERE { VALUES ( ?i ) { ( resource:Q142 ) ( resource:Q145 ) ( resource:Q38 ) } . resource:Q14487804 property:P495 ?i }
No
action is_in
entity prev_answer
action find
entity A River Changes Course
relation country of origin
['A River Changes Course', 'country of origin', 'Italy'] ['A River Changes Course', 'country of origin', 'France'] ['A River Changes Course', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?i ) { ( resource:France ) ( resource:United_Kingdom ) ( resource:Italy ) } . resource:A_River_Changes_Course property:country_of_origin ?i }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q334 Q5785 Q4142492
P530
Q1048835
USER
Does Singapore have tactful political relations with Cayman Islands and Holubivka ?
(Q334,P530,Q5785) (Q334,P530,Q4142492)
action is_in
entity Q334
action intersection
action find_reverse
entity Q5785
relation P530
action find_reverse
entity Q4142492
relation P530
['Q334', 'P530', 'Q5785'] ['Q334', 'P530', 'Q4142492']
ASK WHERE { resource:Q334 property:P530 resource:Q5785 . resource:Q334 property:P530 resource:Q4142492 }
Singapore Cayman Islands Holubivka
action is_in
entity Singapore
action intersection
action find_reverse
entity Cayman Islands
relation diplomatic relation
action find_reverse
entity Holubivka
relation diplomatic relation
['Singapore', 'diplomatic relation', 'Cayman Islands'] ['Singapore', 'diplomatic relation', 'Holubivka']
ASK WHERE { resource:Singapore property:diplomatic_relation resource:Cayman_Islands . resource:Singapore property:diplomatic_relation resource:Holubivka }
[]
political territorial entity
SYSTEM
NO
(Q334,P530,Q5785) (Q334,P530,Q4142492)
action is_in
entity Q334
action intersection
action find_reverse
entity Q5785
relation P530
action find_reverse
entity Q4142492
relation P530
[ANSWER]
['Q334', 'P530', 'Q5785'] ['Q334', 'P530', 'Q4142492']
ASK WHERE { resource:Q334 property:P530 resource:Q5785 . resource:Q334 property:P530 resource:Q4142492 }
No
action is_in
entity Singapore
action intersection
action find_reverse
entity Cayman Islands
relation diplomatic relation
action find_reverse
entity Holubivka
relation diplomatic relation
['Singapore', 'diplomatic relation', 'Cayman Islands'] ['Singapore', 'diplomatic relation', 'Holubivka']
ASK WHERE { resource:Singapore property:diplomatic_relation resource:Cayman_Islands . resource:Singapore property:diplomatic_relation resource:Holubivka }
[]