Simple Question (Direct)
Simple Question
Q42533
P17
Q15617994
USER
Which administrative territory is Primaluna a part of ?
(Q42533,P17,c(Q15617994))
action filter_type
action find
entity Q42533
relation P17
type Q15617994
['Q42533', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q42533 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Primaluna
action filter_type
action find
entity Primaluna
relation country
type designation for an administrative territorial entity
['Primaluna', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Primaluna property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q42533,P17,c(Q15617994))
action filter_type
action find
entity Q42533
relation P17
type Q15617994
Which administrative territory is Primaluna a part of
['Q42533', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q42533 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Italy
Which administrative territory is Primaluna a part of
Italy
action filter_type
action find
entity Primaluna
relation country
type designation for an administrative territorial entity
['Primaluna', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Primaluna property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42533
P47
Q15617994
USER
Which administrative territories are bordered by Primaluna ?
(Q42533,P47,c(Q15617994))
action filter_type
action find
entity Q42533
relation P47
type Q15617994
['Q42533', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q42533 property:P47 ?q . ?q rdf:type ontology:Q15617994 }
Primaluna
action filter_type
action find
entity Primaluna
relation shares border with
type designation for an administrative territorial entity
['Primaluna', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Primaluna property:shares_border_with ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43049 Q42449 Q42568
SYSTEM
Esino Lario, Casargo, Premana
Q42856 Q43049 Q42467 Q42447 Q42449 Q42568 Q42214
(Q42533,P47,c(Q15617994))
action filter_type
action find
entity Q42533
relation P47
type Q15617994
[ANSWERS] are bordered by Primaluna
['Q42533', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q42533 property:P47 ?q . ?q rdf:type ontology:Q15617994 }
Introbio Esino Lario Cortenova Crandola Valsassina Casargo Premana Pasturo
Esino Lario, Casargo and Premana are bordered by Primaluna
Esino Lario Casargo Premana
action filter_type
action find
entity Primaluna
relation shares border with
type designation for an administrative territorial entity
['Primaluna', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Primaluna property:shares_border_with ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q42533
P47
Q15617994
USER
Does Primaluna share border with those ones ?
(Q42533,P47,Q43049) (Q42533,P47,Q42449) (Q42533,P47,Q42568)
action is_in
entity prev_answer
action find
entity Q42533
relation P47
['Q42533', 'P47', 'Q43049'] ['Q42533', 'P47', 'Q42449'] ['Q42533', 'P47', 'Q42568']
ASK WHERE { resource:Q42533 property:P47 ?h . VALUES ( ?h ) { ( resource:Q42856 ) ( resource:Q43049 ) ( resource:Q42467 ) } }
Primaluna
action is_in
entity prev_answer
action find
entity Primaluna
relation shares border with
['Primaluna', 'shares border with', 'Esino Lario'] ['Primaluna', 'shares border with', 'Casargo'] ['Primaluna', 'shares border with', 'Premana']
ASK WHERE { resource:Primaluna property:shares_border_with ?h . VALUES ( ?h ) { ( resource:Introbio ) ( resource:Esino_Lario ) ( resource:Cortenova ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q42533,P47,Q43049) (Q42533,P47,Q42449) (Q42533,P47,Q42568)
action is_in
entity prev_answer
action find
entity Q42533
relation P47
[ANSWER]
['Q42533', 'P47', 'Q43049'] ['Q42533', 'P47', 'Q42449'] ['Q42533', 'P47', 'Q42568']
ASK WHERE { resource:Q42533 property:P47 ?h . VALUES ( ?h ) { ( resource:Q42856 ) ( resource:Q43049 ) ( resource:Q42467 ) } }
Yes
action is_in
entity prev_answer
action find
entity Primaluna
relation shares border with
['Primaluna', 'shares border with', 'Esino Lario'] ['Primaluna', 'shares border with', 'Casargo'] ['Primaluna', 'shares border with', 'Premana']
ASK WHERE { resource:Primaluna property:shares_border_with ?h . VALUES ( ?h ) { ( resource:Introbio ) ( resource:Esino_Lario ) ( resource:Cortenova ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with atleast 61 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 61
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?e ) WHERE { ?w property:P530 ?x . ?w rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?e >= 61 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 61
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?e ) WHERE { ?w property:diplomatic_relation ?x . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?e >= 61 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q230
SYSTEM
Italy, Georgia
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 61
[ANSWERS] have diplomatic relations with atleast 61 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?e ) WHERE { ?w property:P530 ?x . ?w rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?e >= 61 ) }
Italy Georgia
Italy and Georgia have diplomatic relations with atleast 61 administrative territories
Italy Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 61
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?e ) WHERE { ?w property:diplomatic_relation ?x . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?e >= 61 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4429632
P530
Q1048835
USER
Do Sosnivka have diplomatic relations with those administrative territories ?
(Q4429632,P530,Q38) (Q4429632,P530,Q230)
action is_in
entity prev_answer
action find
entity Q4429632
relation P530
['Q4429632', 'P530', 'Q38'] ['Q4429632', 'P530', 'Q230']
ASK WHERE { resource:Q4429632 property:P530 ?b . VALUES ( ?b ) { ( resource:Q38 ) ( resource:Q230 ) } }
Sosnivka
action is_in
entity prev_answer
action find
entity Sosnivka
relation diplomatic relation
['Sosnivka', 'diplomatic relation', 'Italy'] ['Sosnivka', 'diplomatic relation', 'Georgia']
ASK WHERE { resource:Sosnivka property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Italy ) ( resource:Georgia ) } }
[]
political territorial entity
SYSTEM
NO
(Q4429632,P530,Q38) (Q4429632,P530,Q230)
action is_in
entity prev_answer
action find
entity Q4429632
relation P530
[ANSWER]
['Q4429632', 'P530', 'Q38'] ['Q4429632', 'P530', 'Q230']
ASK WHERE { resource:Q4429632 property:P530 ?b . VALUES ( ?b ) { ( resource:Q38 ) ( resource:Q230 ) } }
No
action is_in
entity prev_answer
action find
entity Sosnivka
relation diplomatic relation
['Sosnivka', 'diplomatic relation', 'Italy'] ['Sosnivka', 'diplomatic relation', 'Georgia']
ASK WHERE { resource:Sosnivka property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Italy ) ( resource:Georgia ) } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q660062 Q230
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Georgia and are not Tailwind Airlines present in ?
AND((Q230,P530,c(Q15617994)), NOT((Q660062,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q230
relation P530
action find
entity Q660062
relation P17
type Q15617994
{'AND': [['Q230', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q660062', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?k WHERE { resource:Q230 property:P530 ?k . MINUS { resource:Q660062 property:P17 ?k } . ?k rdf:type ontology:Q15617994 }
Tailwind Airlines Georgia
action filter_type
action difference
action find
entity Georgia
relation diplomatic relation
action find
entity Tailwind Airlines
relation country
type designation for an administrative territorial entity
{'AND': [['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Tailwind Airlines', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?k WHERE { resource:Georgia property:diplomatic_relation ?k . MINUS { resource:Tailwind_Airlines property:country ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q1007 Q965 Q30 Q801 Q228 Q219 Q1016 Q424 Q974
SYSTEM
Some of them are Japan, Guinea-Bissau, Burkina Faso, United States of America, Israel, Andorra, Bulgaria, Libya, Cambodia, Democratic Republic of the Congo
Q986 Q805 Q1007 Q399 Q801 Q800 Q184 Q974 Q971 Q970 Q241 Q736 Q786 Q668 Q347 Q414 Q1006 Q227 Q225 Q29 Q686 Q222 Q1005 Q145 Q262 Q189 Q784 Q874 Q229 Q228 Q1016 Q32 Q17 Q30 Q37 Q79 Q31 Q1011 Q38 Q902 Q1009 Q878 Q739 Q774 Q423 Q710 Q810 Q983 Q1013 Q191 Q965 Q851 Q967 Q734 Q963 Q424 Q115 Q114 Q117 Q398 Q822 Q750 Q252 Q211 Q1008 Q155 Q792 Q219 Q796 Q794 Q954 Q889 Q27 Q921 Q819 Q884 Q953 Q881 Q916
AND((Q230,P530,c(Q15617994)), NOT((Q660062,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q230
relation P530
action find
entity Q660062
relation P17
type Q15617994
[ANSWERS] have a diplomatic relationship with Georgia and are not Tailwind Airlines present in
{'AND': [['Q230', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q660062', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?k WHERE { resource:Q230 property:P530 ?k . MINUS { resource:Q660062 property:P17 ?k } . ?k rdf:type ontology:Q15617994 }
Eritrea Yemen Guinea-Bissau Armenia Israel Costa Rica Belarus Democratic Republic of the Congo Republic of the Congo Comoros Cuba Ecuador Dominican Republic India Liechtenstein Argentina Guinea Azerbaijan Bosnia and Herzegovina Spain Vanuatu Albania Gambia United Kingdom Algeria Iceland Dominica Turkmenistan Cyprus Andorra Libya Luxembourg Japan United States of America Lithuania Egypt Belgium Cape Verde Italy Bangladesh Cameroon United Arab Emirates Colombia Guatemala North Korea Kiribati Jordan Equatorial Guinea Lesotho Estonia Burkina Faso Saudi Arabia Burundi Guyana Botswana Cambodia Ethiopia Kenya Ghana Bahrain Lebanon Bolivia Indonesia Latvia Côte d'Ivoire Brazil El Salvador Bulgaria Iraq Iran Zimbabwe Afghanistan Ireland Brunei Laos South Korea Zambia Vietnam Angola
Japan, Guinea-Bissau, Burkina Faso, United States of America, Israel, Andorra, Bulgaria, Libya, Cambodia and Democratic Republic of the Congo have a diplomatic relationship with Georgia and are not Tailwind Airlines present in
Japan Guinea-Bissau Burkina Faso United States of America Israel Andorra Bulgaria Libya Cambodia Democratic Republic of the Congo
action filter_type
action difference
action find
entity Georgia
relation diplomatic relation
action find
entity Tailwind Airlines
relation country
type designation for an administrative territorial entity
{'AND': [['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Tailwind Airlines', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?k WHERE { resource:Georgia property:diplomatic_relation ?k . MINUS { resource:Tailwind_Airlines property:country ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q230
P530
Q15617994
USER
Do Georgia have diplomatic relations with those ones ?
(Q230,P530,Q17) (Q230,P530,Q1007) (Q230,P530,Q965) (Q230,P530,Q30) (Q230,P530,Q801) (Q230,P530,Q228) (Q230,P530,Q219) (Q230,P530,Q1016) (Q230,P530,Q424) (Q230,P530,Q974)
action is_in
entity prev_answer
action find
entity Q230
relation P530
['Q230', 'P530', 'Q17'] ['Q230', 'P530', 'Q1007'] ['Q230', 'P530', 'Q965'] ['Q230', 'P530', 'Q30'] ['Q230', 'P530', 'Q801'] ['Q230', 'P530', 'Q228'] ['Q230', 'P530', 'Q219'] ['Q230', 'P530', 'Q1016'] ['Q230', 'P530', 'Q424'] ['Q230', 'P530', 'Q974']
ASK WHERE { resource:Q230 property:P530 ?z . VALUES ( ?z ) { ( resource:Q986 ) ( resource:Q805 ) ( resource:Q1007 ) } }
Georgia
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Japan'] ['Georgia', 'diplomatic relation', 'Guinea-Bissau'] ['Georgia', 'diplomatic relation', 'Burkina Faso'] ['Georgia', 'diplomatic relation', 'United States of America'] ['Georgia', 'diplomatic relation', 'Israel'] ['Georgia', 'diplomatic relation', 'Andorra'] ['Georgia', 'diplomatic relation', 'Bulgaria'] ['Georgia', 'diplomatic relation', 'Libya'] ['Georgia', 'diplomatic relation', 'Cambodia'] ['Georgia', 'diplomatic relation', 'Democratic Republic of the Congo']
ASK WHERE { resource:Georgia property:diplomatic_relation ?z . VALUES ( ?z ) { ( resource:Eritrea ) ( resource:Yemen ) ( resource:Guinea-Bissau ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P530,Q17) (Q230,P530,Q1007) (Q230,P530,Q965) (Q230,P530,Q30) (Q230,P530,Q801) (Q230,P530,Q228) (Q230,P530,Q219) (Q230,P530,Q1016) (Q230,P530,Q424) (Q230,P530,Q974)
action is_in
entity prev_answer
action find
entity Q230
relation P530
[ANSWER]
['Q230', 'P530', 'Q17'] ['Q230', 'P530', 'Q1007'] ['Q230', 'P530', 'Q965'] ['Q230', 'P530', 'Q30'] ['Q230', 'P530', 'Q801'] ['Q230', 'P530', 'Q228'] ['Q230', 'P530', 'Q219'] ['Q230', 'P530', 'Q1016'] ['Q230', 'P530', 'Q424'] ['Q230', 'P530', 'Q974']
ASK WHERE { resource:Q230 property:P530 ?z . VALUES ( ?z ) { ( resource:Q986 ) ( resource:Q805 ) ( resource:Q1007 ) } }
Yes
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Japan'] ['Georgia', 'diplomatic relation', 'Guinea-Bissau'] ['Georgia', 'diplomatic relation', 'Burkina Faso'] ['Georgia', 'diplomatic relation', 'United States of America'] ['Georgia', 'diplomatic relation', 'Israel'] ['Georgia', 'diplomatic relation', 'Andorra'] ['Georgia', 'diplomatic relation', 'Bulgaria'] ['Georgia', 'diplomatic relation', 'Libya'] ['Georgia', 'diplomatic relation', 'Cambodia'] ['Georgia', 'diplomatic relation', 'Democratic Republic of the Congo']
ASK WHERE { resource:Georgia property:diplomatic_relation ?z . VALUES ( ?z ) { ( resource:Eritrea ) ( resource:Yemen ) ( resource:Guinea-Bissau ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q94754 Q228
P47
Q15617994
USER
Which administrative territories share the border with Andorra or Castel Guelfo di Bologna ?
OR((Q228,P47,c(Q15617994)), (Q94754,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q228
relation P47
action find
entity Q94754
relation P47
type Q15617994
{'OR': [['Q228', 'P47', {'concept': 'Q15617994'}], ['Q94754', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?u ) { ( resource:Q228 ) ( resource:Q94754 ) } . ?u property:P47 ?x } . ?x rdf:type ontology:Q15617994 }
Castel Guelfo di Bologna Andorra
action filter_type
action union
action find
entity Andorra
relation shares border with
action find
entity Castel Guelfo di Bologna
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Andorra', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Castel Guelfo di Bologna', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?u ) { ( resource:Andorra ) ( resource:Castel_Guelfo_di_Bologna ) } . ?u property:shares_border_with ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q94856 Q50195 Q94944 Q29 Q94779
SYSTEM
France, Dozza, Imola, Medicina, Spain, Castel San Pietro Terme
Q142 Q94856 Q50195 Q94944 Q29 Q94779
OR((Q228,P47,c(Q15617994)), (Q94754,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q228
relation P47
action find
entity Q94754
relation P47
type Q15617994
[ANSWERS] share the border with Andorra or Castel Guelfo di Bologna
{'OR': [['Q228', 'P47', {'concept': 'Q15617994'}], ['Q94754', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?u ) { ( resource:Q228 ) ( resource:Q94754 ) } . ?u property:P47 ?x } . ?x rdf:type ontology:Q15617994 }
France Dozza Imola Medicina Spain Castel San Pietro Terme
France, Dozza, Imola, Medicina, Spain and Castel San Pietro Terme share the border with Andorra or Castel Guelfo di Bologna
France Dozza Imola Medicina Spain Castel San Pietro Terme
action filter_type
action union
action find
entity Andorra
relation shares border with
action find
entity Castel Guelfo di Bologna
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Andorra', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Castel Guelfo di Bologna', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?u ) { ( resource:Andorra ) ( resource:Castel_Guelfo_di_Bologna ) } . ?u property:shares_border_with ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q7725634
USER
Which administrative territories are the countries of origin of greater number of works of art and literary works than that administrative territory ?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
[[{'concept': 'work of art'}, {'concept': 'literary work'}], '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:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
designation for an administrative territorial entity work of art literary work
Comparative|More/Less|Mult. entity type|Clarification
Q94944
SYSTEM
Did you mean Medicina ?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Did you mean Medicina ?
Medicina
[[{'concept': 'work of art'}, {'concept': 'literary work'}], '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:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (All)
USER
No, I meant France. Could you tell me the answer for that?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
Q142
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q668 Q145 Q30
SYSTEM
India, United Kingdom, United States of America
Q668 Q145 Q30
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
[ANSWERS] are the countries of origin of greater number of works of art and literary works than that administrative territory
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
India United Kingdom United States of America
India, United Kingdom and United States of America are the countries of origin of greater number of works of art and literary works than that administrative territory
India United Kingdom United States of America
[[{'concept': 'work of art'}, {'concept': 'literary work'}], '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:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Do Italy have diplomatic relations with those ones ?
(Q38,P530,Q668) (Q38,P530,Q145) (Q38,P530,Q30)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q668'] ['Q38', 'P530', 'Q145'] ['Q38', 'P530', 'Q30']
ASK WHERE { VALUES ( ?u ) { ( resource:Q668 ) ( resource:Q145 ) ( resource:Q30 ) } . resource:Q38 property:P530 ?u }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'India'] ['Italy', 'diplomatic relation', 'United Kingdom'] ['Italy', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?u ) { ( resource:India ) ( resource:United_Kingdom ) ( resource:United_States_of_America ) } . resource:Italy property:diplomatic_relation ?u }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q668) (Q38,P530,Q145) (Q38,P530,Q30)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q668'] ['Q38', 'P530', 'Q145'] ['Q38', 'P530', 'Q30']
ASK WHERE { VALUES ( ?u ) { ( resource:Q668 ) ( resource:Q145 ) ( resource:Q30 ) } . resource:Q38 property:P530 ?u }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'India'] ['Italy', 'diplomatic relation', 'United Kingdom'] ['Italy', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?u ) { ( resource:India ) ( resource:United_Kingdom ) ( resource:United_States_of_America ) } . resource:Italy property:diplomatic_relation ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20458
P190
Q15617994
USER
Which administrative territories are sister town of Gubbio ?
(c(Q15617994),P190,Q20458)
action filter_type
action find
entity Q20458
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q20458']
SELECT DISTINCT ?w WHERE { resource:Q20458 property:P190 ?w . ?w rdf:type ontology:Q15617994 }
Gubbio
action filter_type
action find
entity Gubbio
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Gubbio']
SELECT DISTINCT ?w WHERE { resource:Gubbio property:sister_city ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q13395 Q72288
SYSTEM
Viterbo, Nola
Q13395 Q72288
(c(Q15617994),P190,Q20458)
action filter_type
action find
entity Q20458
relation P190
type Q15617994
[ANSWERS] are sister town of Gubbio
[{'concept': 'Q15617994'}, 'P190', 'Q20458']
SELECT DISTINCT ?w WHERE { resource:Q20458 property:P190 ?w . ?w rdf:type ontology:Q15617994 }
Viterbo Nola
Viterbo and Nola are sister town of Gubbio
Viterbo Nola
action filter_type
action find
entity Gubbio
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Gubbio']
SELECT DISTINCT ?w WHERE { resource:Gubbio property:sister_city ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]