Simple Question (Direct)
Simple Question
Q34434
P47
Q15617994
USER
Which administrative territories are adjacent to Montegrotto Terme ?
(Q34434,P47,c(Q15617994))
action filter_type
action find
entity Q34434
relation P47
type Q15617994
['Q34434', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q34434 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Montegrotto Terme
action filter_type
action find
entity Montegrotto Terme
relation shares border with
type designation for an administrative territorial entity
['Montegrotto Terme', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Montegrotto_Terme property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34603 Q34447 Q34684
SYSTEM
Abano Terme, Galzignano Terme, Battaglia Terme
Q34684 Q34557 Q34447 Q34703 Q34603
(Q34434,P47,c(Q15617994))
action filter_type
action find
entity Q34434
relation P47
type Q15617994
Terme [ANSWERS] are adjacent to Montegrotto Terme
['Q34434', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q34434 property:P47 ?d . ?d rdf:type ontology:Q15617994 }
Battaglia Terme Due Carrare Galzignano Terme Torreglia Abano Terme
Terme Abano Terme, Galzignano Terme and Battaglia Terme are adjacent to Montegrotto Terme
Abano Terme Galzignano Terme Battaglia Terme
action filter_type
action find
entity Montegrotto Terme
relation shares border with
type designation for an administrative territorial entity
['Montegrotto Terme', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Montegrotto_Terme property:shares_border_with ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q34603 Q34447 Q34684
P47
Q15617994
USER
Which administrative territories are adjacent to Abano Terme, Galzignano Terme and Battaglia Terme ?
(Q34603,P47,c(Q15617994)) (Q34447,P47,c(Q15617994)) (Q34684,P47,c(Q15617994))
action union
action filter_type
action find
entity Q34603
relation P47
type Q15617994
action filter_type
action find
entity Q34447
relation P47
type Q15617994
action filter_type
action find
entity Q34684
relation P47
type Q15617994
['Q34603', 'P47', {'concept': 'Q15617994'}] ['Q34447', 'P47', {'concept': 'Q15617994'}] ['Q34684', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?j ) { ( resource:Q34447 ) ( resource:Q34603 ) } . ?j property:P47 ?i }
Abano Terme Galzignano Terme Battaglia Terme
action union
action filter_type
action find
entity Abano Terme
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Galzignano Terme
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Battaglia Terme
relation shares border with
type designation for an administrative territorial entity
['Abano Terme', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Galzignano Terme', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Battaglia Terme', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?j ) { ( resource:Galzignano_Terme ) ( resource:Abano_Terme ) } . ?j property:shares_border_with ?i }
[]
designation for an administrative territorial entity
Q34602 Q34602 Q34434
SYSTEM
Montegrotto Terme for 3rd, Monselice for 1st, 2nd
Q34519 Q34703 Q34434 Q34455 Q34596 Q34588 Q34557 Q34684 Q34703 Q34421 Q34434 Q34455 Q34545 Q34638 Q34466 Q34602 Q34297 Q34557 Q34434 Q34447 Q34602
(Q34603,P47,c(Q15617994)) (Q34447,P47,c(Q15617994)) (Q34684,P47,c(Q15617994))
action union
action filter_type
action find
entity Q34603
relation P47
type Q15617994
action filter_type
action find
entity Q34447
relation P47
type Q15617994
action filter_type
action find
entity Q34684
relation P47
type Q15617994
[ANSWERS]
['Q34603', 'P47', {'concept': 'Q15617994'}] ['Q34447', 'P47', {'concept': 'Q15617994'}] ['Q34684', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?j ) { ( resource:Q34447 ) ( resource:Q34603 ) } . ?j property:P47 ?i }
Maserà di Padova Torreglia Montegrotto Terme Teolo Albignasego Selvazzano Dentro Due Carrare Battaglia Terme Torreglia Baone Montegrotto Terme Teolo Vò Arquà Petrarca Cinto Euganeo Monselice Pernumia Due Carrare Montegrotto Terme Galzignano Terme Monselice
Monselice, Monselice and Montegrotto Terme are adjacent to Abano Terme, Galzignano Terme and Battaglia Terme
Monselice Monselice Montegrotto Terme
action union
action filter_type
action find
entity Abano Terme
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Galzignano Terme
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Battaglia Terme
relation shares border with
type designation for an administrative territorial entity
['Abano Terme', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Galzignano Terme', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Battaglia Terme', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?j ) { ( resource:Galzignano_Terme ) ( resource:Abano_Terme ) } . ?j property:shares_border_with ?i }
[]
Clarification
Simple Question|Single Entity|Indirect
Q34602
P19
Q502895
USER
Which people have place of birth as that administrative territory ?
(c(Q502895),P19,Q34602)
action filter_type
action find_reverse
entity Q34602
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q34602']
SELECT DISTINCT ?e WHERE { ?e property:P19 resource:Q34602 . ?e rdf:type ontology:Q502895 }
Monselice
action filter_type
action find_reverse
entity Monselice
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Monselice']
SELECT DISTINCT ?e WHERE { ?e property:place_of_birth resource:Monselice . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q34602
SYSTEM
Did you mean Monselice ?
Q34602 Q34602 Q34434
(c(Q502895),P19,Q34602) (c(Q502895),P19,Q34602) (c(Q502895),P19,Q34434)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q34602'] [{'concept': 'Q502895'}, 'P19', 'Q34602'] [{'concept': 'Q502895'}, 'P19', 'Q34434']
SELECT DISTINCT ?e WHERE { ?e property:P19 resource:Q34602 . ?e rdf:type ontology:Q502895 }
Monselice Monselice Montegrotto Terme
Did you mean Monselice ?
Monselice
[{'concept': 'common name'}, 'place of birth', 'Monselice'] [{'concept': 'common name'}, 'place of birth', 'Monselice'] [{'concept': 'common name'}, 'place of birth', 'Montegrotto Terme']
SELECT DISTINCT ?e WHERE { ?e property:place_of_birth resource:Monselice . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P19,Q34602)
[{'concept': 'Q502895'}, 'P19', 'Q34602']
[{'concept': 'common name'}, 'place of birth', 'Monselice']
[]
Q18223491 Q16268390 Q6789673
SYSTEM
Antonio Gemo, Roberto Furlan, Matteo Deinite
Q304621 Q3617341 Q18814725 Q3771550 Q3767256 Q16268390 Q3617044 Q3852845 Q3903382 Q20933321 Q3680507 Q3703546 Q3737822 Q16573537 Q15642832 Q960760 Q1772184 Q16232401 Q6789673 Q3932826 Q3770558 Q15479502 Q6781852 Q18223491 Q23819615
(c(Q502895),P19,Q34602)
action filter_type
action find_reverse
entity Q34602
relation P19
type Q502895
[ANSWERS] have place of birth as that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q34602']
SELECT DISTINCT ?e WHERE { ?e property:P19 resource:Q34602 . ?e rdf:type ontology:Q502895 }
Conte Arrigoni degli Oddi Angiola Baggi Michael B Giuseppe Tresoldi Giovanni Fortin Roberto Furlan Angelo Legrenzi Mauro Lucchiari Piero Urati Bruno Bussolin Cleofe Borromeo Gabrielli Davide Ferrario Fabio Rossato Lorenzo Marini Carlo Monticelli Ettore Campogalliani Simone Paltineri Guendalina Sartori Matteo Deinite Renato Zanardo Giuseppe Fioravanzo Roberto Loreggian Marzia Gazzetta Antonio Gemo Giovanni Brunacci
Antonio Gemo, Roberto Furlan and Matteo Deinite have place of birth as that administrative territory
Antonio Gemo Roberto Furlan Matteo Deinite
action filter_type
action find_reverse
entity Monselice
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Monselice']
SELECT DISTINCT ?e WHERE { ?e property:place_of_birth resource:Monselice . ?e rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q967
P495
Q15617994 Q2088357 Q15416
USER
Which administrative territories are the origins of greater number of musical ensembles and television programs than Burundi ?
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q967
relation P495
type Q2088357
type Q15416
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?f ) WHERE { { ?m rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q2088357 . ?n property:P495 ?m } UNION { ?n property:P495 ?m . ?n rdf:type ontology:Q15416 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P495 resource:Q967 . { VALUES ( ?d ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } . ?s rdf:type ?d } } } . FILTER ( ?f > ?q ) }
Burundi
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Burundi
relation country of origin
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?f ) WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:musical_ensemble . ?n property:country_of_origin ?m } UNION { ?n property:country_of_origin ?m . ?n rdf:type ontology:television_program . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:country_of_origin resource:Burundi . { VALUES ( ?d ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } . ?s rdf:type ?d } } } . FILTER ( ?f > ?q ) }
[]
designation for an administrative territorial entity musical ensemble television program
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q4628 Q794 Q889 Q884 Q881 Q826 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q29999 Q854 Q424 Q236 Q230 Q232 Q233 Q20 Q1041 Q27 Q28 Q921 Q1027 Q1020 Q189 Q843 Q184 Q1028 Q736 Q786 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1037 Q974 Q1032 Q1033 Q191 Q963 Q298 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q916 Q1005 Q833 Q1008 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q29 Q176 Q869 Q953
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q967
relation P495
type Q2088357
type Q15416
[ANSWERS] are the origins of greater number of musical ensembles and television programs than Burundi
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?f ) WHERE { { ?m rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q2088357 . ?n property:P495 ?m } UNION { ?n property:P495 ?m . ?n rdf:type ontology:Q15416 . ?m rdf:type ontology:Q15617994 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P495 resource:Q967 . { VALUES ( ?d ) { ( ontology:Q2088357 ) ( ontology:Q15416 ) } . ?s rdf:type ?d } } } . FILTER ( ?f > ?q ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Faroe Islands Iran Afghanistan South Korea Vietnam Maldives Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia Kingdom of the Netherlands Sri Lanka Cambodia Montenegro Georgia Kazakhstan Malta Norway Senegal Ireland Hungary Brunei Mauritius Malawi Iceland Pakistan Belarus Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Botswana Chile Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Angola Gambia Malaysia Côte d'Ivoire Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Spain Quebec Thailand Zambia
Italy, Brazil and United States of America are the origins of greater number of musical ensembles and television programs than Burundi
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Burundi
relation country of origin
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?f ) WHERE { { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:musical_ensemble . ?n property:country_of_origin ?m } UNION { ?n property:country_of_origin ?m . ?n rdf:type ontology:television_program . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:country_of_origin resource:Burundi . { VALUES ( ?d ) { ( ontology:musical_ensemble ) ( ontology:television_program ) } . ?s rdf:type ?d } } } . FILTER ( ?f > ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q954
P495
Q15617994 Q2088357 Q15416
USER
And also tell me about Zimbabwe?
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q954
relation P495
type Q2088357
type Q15416
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?f WHERE { { ?o property:P495 ?f . ?f rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q2088357 } UNION { ?o property:P495 ?f . ?f rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15416 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { { ?n rdf:type ontology:Q15416 } UNION { ?n rdf:type ontology:Q2088357 } } . ?n property:P495 resource:Q954 } } . FILTER ( ?h > ?g ) }
Zimbabwe
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Zimbabwe
relation country of origin
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?f WHERE { { ?o property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:musical_ensemble } UNION { ?o property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:television_program } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { { ?n rdf:type ontology:television_program } UNION { ?n rdf:type ontology:musical_ensemble } } . ?n property:country_of_origin resource:Zimbabwe } } . FILTER ( ?h > ?g ) }
[]
designation for an administrative territorial entity musical ensemble television program
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q4628 Q794 Q889 Q884 Q881 Q826 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q29999 Q854 Q424 Q236 Q230 Q232 Q233 Q20 Q1041 Q27 Q28 Q921 Q1027 Q1020 Q189 Q843 Q184 Q1028 Q736 Q786 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1037 Q974 Q1032 Q1033 Q191 Q963 Q298 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q916 Q1005 Q833 Q1008 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q29 Q176 Q869 Q953
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q954
relation P495
type Q2088357
type Q15416
[ANSWERS]
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?f WHERE { { ?o property:P495 ?f . ?f rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q2088357 } UNION { ?o property:P495 ?f . ?f rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15416 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { { ?n rdf:type ontology:Q15416 } UNION { ?n rdf:type ontology:Q2088357 } } . ?n property:P495 resource:Q954 } } . FILTER ( ?h > ?g ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Faroe Islands Iran Afghanistan South Korea Vietnam Maldives Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia Kingdom of the Netherlands Sri Lanka Cambodia Montenegro Georgia Kazakhstan Malta Norway Senegal Ireland Hungary Brunei Mauritius Malawi Iceland Pakistan Belarus Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Botswana Chile Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Angola Gambia Malaysia Côte d'Ivoire Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Spain Quebec Thailand Zambia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Zimbabwe
relation country of origin
type musical ensemble
type television program
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?f WHERE { { ?o property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:musical_ensemble } UNION { ?o property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:television_program } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?g ) WHERE { { { ?n rdf:type ontology:television_program } UNION { ?n rdf:type ontology:musical_ensemble } } . ?n property:country_of_origin resource:Zimbabwe } } . FILTER ( ?h > ?g ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have tactful political relations with those ones ?
(Q184,P530,Q38) (Q184,P530,Q155) (Q184,P530,Q30)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q38'] ['Q184', 'P530', 'Q155'] ['Q184', 'P530', 'Q30']
ASK WHERE { resource:Q184 property:P530 ?i . VALUES ( ?i ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Italy'] ['Belarus', 'diplomatic relation', 'Brazil'] ['Belarus', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Belarus property:diplomatic_relation ?i . VALUES ( ?i ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q38) (Q184,P530,Q155) (Q184,P530,Q30)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q38'] ['Q184', 'P530', 'Q155'] ['Q184', 'P530', 'Q30']
ASK WHERE { resource:Q184 property:P530 ?i . VALUES ( ?i ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Italy'] ['Belarus', 'diplomatic relation', 'Brazil'] ['Belarus', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Belarus property:diplomatic_relation ?i . VALUES ( ?i ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q34602 Q585484 Q16977940
P47
Q15617994
USER
Does Monselice share border with Lietzen and Ira Independent School District ?
(Q34602,P47,Q585484) (Q34602,P47,Q16977940)
action is_in
entity Q34602
action intersection
action find_reverse
entity Q585484
relation P47
action find_reverse
entity Q16977940
relation P47
['Q34602', 'P47', 'Q585484'] ['Q34602', 'P47', 'Q16977940']
ASK WHERE { resource:Q34602 property:P47 resource:Q585484 . resource:Q34602 property:P47 resource:Q16977940 }
Monselice Lietzen Ira Independent School District
action is_in
entity Monselice
action intersection
action find_reverse
entity Lietzen
relation shares border with
action find_reverse
entity Ira Independent School District
relation shares border with
['Monselice', 'shares border with', 'Lietzen'] ['Monselice', 'shares border with', 'Ira Independent School District']
ASK WHERE { resource:Monselice property:shares_border_with resource:Lietzen . resource:Monselice property:shares_border_with resource:Ira_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q34602,P47,Q585484) (Q34602,P47,Q16977940)
action is_in
entity Q34602
action intersection
action find_reverse
entity Q585484
relation P47
action find_reverse
entity Q16977940
relation P47
[ANSWER]
['Q34602', 'P47', 'Q585484'] ['Q34602', 'P47', 'Q16977940']
ASK WHERE { resource:Q34602 property:P47 resource:Q585484 . resource:Q34602 property:P47 resource:Q16977940 }
No
action is_in
entity Monselice
action intersection
action find_reverse
entity Lietzen
relation shares border with
action find_reverse
entity Ira Independent School District
relation shares border with
['Monselice', 'shares border with', 'Lietzen'] ['Monselice', 'shares border with', 'Ira Independent School District']
ASK WHERE { resource:Monselice property:shares_border_with resource:Lietzen . resource:Monselice property:shares_border_with resource:Ira_Independent_School_District }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q34447 Q566942 Q52323
P17
Q15617994
USER
Is Galzignano Terme situated in Harthausen and Nova Siri ?
(Q34447,P17,Q566942) (Q34447,P17,Q52323)
action is_in
entity Q34447
action intersection
action find_reverse
entity Q566942
relation P17
action find_reverse
entity Q52323
relation P17
['Q34447', 'P17', 'Q566942'] ['Q34447', 'P17', 'Q52323']
ASK WHERE { resource:Q34447 property:P17 resource:Q566942 . resource:Q34447 property:P17 resource:Q52323 }
Galzignano Terme Harthausen Nova Siri
action is_in
entity Galzignano Terme
action intersection
action find_reverse
entity Harthausen
relation country
action find_reverse
entity Nova Siri
relation country
['Galzignano Terme', 'country', 'Harthausen'] ['Galzignano Terme', 'country', 'Nova Siri']
ASK WHERE { resource:Galzignano_Terme property:country resource:Harthausen . resource:Galzignano_Terme property:country resource:Nova_Siri }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q34447,P17,Q566942) (Q34447,P17,Q52323)
action is_in
entity Q34447
action intersection
action find_reverse
entity Q566942
relation P17
action find_reverse
entity Q52323
relation P17
[ANSWER]
['Q34447', 'P17', 'Q566942'] ['Q34447', 'P17', 'Q52323']
ASK WHERE { resource:Q34447 property:P17 resource:Q566942 . resource:Q34447 property:P17 resource:Q52323 }
No
action is_in
entity Galzignano Terme
action intersection
action find_reverse
entity Harthausen
relation country
action find_reverse
entity Nova Siri
relation country
['Galzignano Terme', 'country', 'Harthausen'] ['Galzignano Terme', 'country', 'Nova Siri']
ASK WHERE { resource:Galzignano_Terme property:country resource:Harthausen . resource:Galzignano_Terme property:country resource:Nova_Siri }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P463
Q43229
USER
What were United States of America a member of ?
(Q30,P463,c(Q43229))
action filter_type
action find
entity Q30
relation P463
type Q43229
['Q30', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q30 property:P463 ?u . ?u rdf:type ontology:Q43229 }
United States of America
action filter_type
action find
entity United States of America
relation member of
type organization
['United States of America', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:United_States_of_America property:member_of ?u . ?u rdf:type ontology:organization }
[]
organization
Q7825 Q41550 Q191384
SYSTEM
World Trade Organization, Organisation for Economic Co-operation and Development, International Bank for Reconstruction and Development
Q340195 Q191384 Q899770 Q41550 Q656801 Q7825 Q170481 Q827525
(Q30,P463,c(Q43229))
action filter_type
action find
entity Q30
relation P463
type Q43229
United States of America were a member of the [ANSWERS]
['Q30', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { resource:Q30 property:P463 ?u . ?u rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association
United States of America were a member of the World Trade Organization, Organisation for Economic Co-operation and Development and International Bank for Reconstruction and Development
World Trade Organization Organisation for Economic Co-operation and Development International Bank for Reconstruction and Development
action filter_type
action find
entity United States of America
relation member of
type organization
['United States of America', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { resource:United_States_of_America property:member_of ?u . ?u rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q30
Q484652
USER
And which international organization?
(Q30,P463,c(Q484652))
action filter_type
action find
entity Q30
relation P463
type Q484652
['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?f WHERE { resource:Q30 property:P463 ?f . ?f rdf:type ontology:Q484652 }
United States of America
action filter_type
action find
entity United States of America
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?f WHERE { resource:United_States_of_America property:member_of ?f . ?f rdf:type ontology:international_organization }
[]
international organization
Q81299 Q19771 Q1065
SYSTEM
Organization for Security and Co-operation in Europe, G20, United Nations
Q81299 Q1043527 Q1065 Q37143 Q188822 Q674182 Q842490 Q19771 Q7184
(Q30,P463,c(Q484652))
action filter_type
action find
entity Q30
relation P463
type Q484652
[ANSWERS]
['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?f WHERE { resource:Q30 property:P463 ?f . ?f rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe Multilateral Investment Guarantee Agency United Nations G8 Asian Development Bank Arctic Council Organisation for the Prohibition of Chemical Weapons G20 North Atlantic Treaty Organisation
Organization for Security and Co-operation in Europe G20 United Nations
action filter_type
action find
entity United States of America
relation member of
type international organization
['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?f WHERE { resource:United_States_of_America property:member_of ?f . ?f rdf:type ontology:international_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q159
P463
Q15617994
USER
Are Russia members of those international organizations ?
(Q159,P463,Q81299) (Q159,P463,Q19771) (Q159,P463,Q1065)
action is_in
entity prev_answer
action find
entity Q159
relation P463
['Q159', 'P463', 'Q81299'] ['Q159', 'P463', 'Q19771'] ['Q159', 'P463', 'Q1065']
ASK WHERE { VALUES ( ?i ) { ( resource:Q81299 ) ( resource:Q1043527 ) ( resource:Q1065 ) } . resource:Q159 property:P463 ?i }
Russia
action is_in
entity prev_answer
action find
entity Russia
relation member of
['Russia', 'member of', 'Organization for Security and Co-operation in Europe'] ['Russia', 'member of', 'G20'] ['Russia', 'member of', 'United Nations']
ASK WHERE { VALUES ( ?i ) { ( resource:Organization_for_Security_and_Co-operation_in_Europe ) ( resource:Multilateral_Investment_Guarantee_Agency ) ( resource:United_Nations ) } . resource:Russia property:member_of ?i }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q159,P463,Q81299) (Q159,P463,Q19771) (Q159,P463,Q1065)
action is_in
entity prev_answer
action find
entity Q159
relation P463
[ANSWER]
['Q159', 'P463', 'Q81299'] ['Q159', 'P463', 'Q19771'] ['Q159', 'P463', 'Q1065']
ASK WHERE { VALUES ( ?i ) { ( resource:Q81299 ) ( resource:Q1043527 ) ( resource:Q1065 ) } . resource:Q159 property:P463 ?i }
Yes
action is_in
entity prev_answer
action find
entity Russia
relation member of
['Russia', 'member of', 'Organization for Security and Co-operation in Europe'] ['Russia', 'member of', 'G20'] ['Russia', 'member of', 'United Nations']
ASK WHERE { VALUES ( ?i ) { ( resource:Organization_for_Security_and_Co-operation_in_Europe ) ( resource:Multilateral_Investment_Guarantee_Agency ) ( resource:United_Nations ) } . resource:Russia property:member_of ?i }
[]