Simple Question (Direct)
Simple Question
Q1876278
P69
Q3918
USER
What is the university where Luigi Sincero was educated ?
(Q1876278,P69,c(Q3918))
action filter_type
action find
entity Q1876278
relation P69
type Q3918
['Q1876278', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q1876278 property:P69 ?t . ?t rdf:type ontology:Q3918 }
Luigi Sincero
action filter_type
action find
entity Luigi Sincero
relation educated at
type university
['Luigi Sincero', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Luigi_Sincero property:educated_at ?t . ?t rdf:type ontology:university }
[]
university
Q467025
SYSTEM
Pontifical Gregorian University
Q467025
(Q1876278,P69,c(Q3918))
action filter_type
action find
entity Q1876278
relation P69
type Q3918
The university Luigi Sincero was educated is the [ANSWER]
['Q1876278', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?t WHERE { resource:Q1876278 property:P69 ?t . ?t rdf:type ontology:Q3918 }
Pontifical Gregorian University
The university Luigi Sincero was educated is the Pontifical Gregorian University
Pontifical Gregorian University
action filter_type
action find
entity Luigi Sincero
relation educated at
type university
['Luigi Sincero', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?t WHERE { resource:Luigi_Sincero property:educated_at ?t . ?t rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1876278
P19
Q15617994
USER
Where was that person born ?
(Q467025,P19,c(Q15617994))
action filter_type
action find
entity Q1876278
relation P19
type Q15617994
['Q467025', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1876278 property:P19 ?l . ?l rdf:type ontology:Q15617994 }
Luigi Sincero
action filter_type
action find
entity Luigi Sincero
relation place of birth
type designation for an administrative territorial entity
['Pontifical Gregorian University', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Luigi_Sincero property:place_of_birth ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q467025,P19,c(Q15617994))
action filter_type
action find
entity Q1876278
relation P19
type Q15617994
That person was born in [ANSWER]
['Q467025', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1876278 property:P19 ?l . ?l rdf:type ontology:Q15617994 }
Italy
That person was born in Italy
Italy
action filter_type
action find
entity Luigi Sincero
relation place of birth
type designation for an administrative territorial entity
['Pontifical Gregorian University', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Luigi_Sincero property:place_of_birth ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q467025
P17
Q15617994
USER
Which administrative territory is Pontifical Gregorian University a part of ?
(Q467025,P17,c(Q15617994))
action filter_type
action find
entity Q467025
relation P17
type Q15617994
['Q467025', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q467025 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Pontifical Gregorian University
action filter_type
action find
entity Pontifical Gregorian University
relation country
type designation for an administrative territorial entity
['Pontifical Gregorian University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Pontifical_Gregorian_University property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q467025,P17,c(Q15617994))
action filter_type
action find
entity Q467025
relation P17
type Q15617994
[ANSWER] is Pontifical Gregorian University a part of
['Q467025', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q467025 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Italy
Italy is Pontifical Gregorian University a part of
Italy
action filter_type
action find
entity Pontifical Gregorian University
relation country
type designation for an administrative territorial entity
['Pontifical Gregorian University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Pontifical_Gregorian_University property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q38 Q1801972 Q183
P530
Q1048835
USER
Does that administrative territory have diplomatic associations with Campo do Brito and Germany ?
(Q38,P530,Q1801972) (Q38,P530,Q183)
action is_in
entity Q38
action intersection
action find_reverse
entity Q1801972
relation P530
action find_reverse
entity Q183
relation P530
['Q38', 'P530', 'Q1801972'] ['Q38', 'P530', 'Q183']
ASK WHERE { resource:Q38 property:P530 resource:Q183 . resource:Q38 property:P530 resource:Q1801972 }
Italy Campo do Brito Germany
action is_in
entity Italy
action intersection
action find_reverse
entity Campo do Brito
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Italy', 'diplomatic relation', 'Campo do Brito'] ['Italy', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Germany . resource:Italy property:diplomatic_relation resource:Campo_do_Brito }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q38,P530,Q1801972) (Q38,P530,Q183)
action is_in
entity Q38
action intersection
action find_reverse
entity Q1801972
relation P530
action find_reverse
entity Q183
relation P530
[ANSWER]
['Q38', 'P530', 'Q1801972'] ['Q38', 'P530', 'Q183']
ASK WHERE { resource:Q38 property:P530 resource:Q183 . resource:Q38 property:P530 resource:Q1801972 }
NO and YES respectively
action is_in
entity Italy
action intersection
action find_reverse
entity Campo do Brito
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Italy', 'diplomatic relation', 'Campo do Brito'] ['Italy', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Germany . resource:Italy property:diplomatic_relation resource:Campo_do_Brito }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q1907989
P361
Q2221906
USER
How many geographic locations are Italy or Distribution transformer a component of ?
(Q38,P361,c(Q2221906)) (Q1907989,P361,c(Q2221906))
action count
action union
action filter_type
action find
entity Q38
relation P361
type Q2221906
action filter_type
action find
entity Q1907989
relation P361
type Q2221906
['Q38', 'P361', {'concept': 'Q2221906'}] ['Q1907989', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { VALUES ( ?y ) { ( resource:Q38 ) ( resource:Q1907989 ) } . ?y property:P361 ?n }
Italy Distribution transformer
action count
action union
action filter_type
action find
entity Italy
relation part of
type geographic location
action filter_type
action find
entity Distribution transformer
relation part of
type geographic location
['Italy', 'part of', {'concept': 'geographic location'}] ['Distribution transformer', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { VALUES ( ?y ) { ( resource:Italy ) ( resource:Distribution_transformer ) } . ?y property:part_of ?n }
[]
geographic location
SYSTEM
2
Q914711 Q27449
(Q38,P361,c(Q2221906)) (Q1907989,P361,c(Q2221906))
action count
action union
action filter_type
action find
entity Q38
relation P361
type Q2221906
action filter_type
action find
entity Q1907989
relation P361
type Q2221906
[ANSWER]
['Q38', 'P361', {'concept': 'Q2221906'}] ['Q1907989', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { VALUES ( ?y ) { ( resource:Q38 ) ( resource:Q1907989 ) } . ?y property:P361 ?n }
transmission tower Southern Europe
2
action count
action union
action filter_type
action find
entity Italy
relation part of
type geographic location
action filter_type
action find
entity Distribution transformer
relation part of
type geographic location
['Italy', 'part of', {'concept': 'geographic location'}] ['Distribution transformer', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { VALUES ( ?y ) { ( resource:Italy ) ( resource:Distribution_transformer ) } . ?y property:part_of ?n }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q191
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have diplomatic relationships with more number of political territories and administrative territories than Estonia ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q191
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?r WHERE { { ?b property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } UNION { ?b property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P530 resource:Q191 . { { ?k rdf:type ontology:Q1048835 } UNION { ?k rdf:type ontology:Q15617994 } } } } . FILTER ( ?z > ?a ) }
Estonia
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Estonia
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?r WHERE { { ?b property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } UNION { ?b property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:diplomatic_relation resource:Estonia . { { ?k rdf:type ontology:political_territorial_entity } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?z > ?a ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q27 Q1049 Q843 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q191
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relationships with more number of political territories and administrative territories than Estonia
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?r WHERE { { ?b property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } UNION { ?b property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P530 resource:Q191 . { { ?k rdf:type ontology:Q1048835 } UNION { ?k rdf:type ontology:Q15617994 } } } } . FILTER ( ?z > ?a ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Ireland Sudan Pakistan Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relationships with more number of political territories and administrative territories than Estonia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Estonia
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) ?r WHERE { { ?b property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } UNION { ?b property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:diplomatic_relation resource:Estonia . { { ?k rdf:type ontology:political_territorial_entity } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?z > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q924
P530
Q15617994 Q1048835 Q15617994
USER
And what about Tanzania?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q924
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P530 resource:Q924 . { { ?i rdf:type ontology:Q1048835 } UNION { ?i rdf:type ontology:Q15617994 } } } } . FILTER ( ?x > ?u ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?x ) WHERE { { ?c rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?c property:P530 ?o } UNION { ?c property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } } GROUP BY ?o } }
Tanzania
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Tanzania
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:diplomatic_relation resource:Tanzania . { { ?i rdf:type ontology:political_territorial_entity } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?x > ?u ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?x ) WHERE { { ?c rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?o } UNION { ?c property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q843 Q1029 Q227 Q224 Q222 Q229 Q347 Q17 Q1033 Q1030 Q298 Q115 Q114 Q212 Q213 Q215 Q916 Q79 Q77 Q878 Q810 Q1016 Q1011 Q29 Q953
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q924
relation P530
type Q1048835
type Q15617994
[ANSWERS]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P530 resource:Q924 . { { ?i rdf:type ontology:Q1048835 } UNION { ?i rdf:type ontology:Q15617994 } } } } . FILTER ( ?x > ?u ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?x ) WHERE { { ?c rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?c property:P530 ?o } UNION { ?c property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } } GROUP BY ?o } }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Pakistan Mozambique Azerbaijan Croatia Albania Cyprus Liechtenstein Japan Nigeria Namibia Chile Ethiopia Kenya Ukraine Czech Republic Slovenia Angola Egypt Uruguay United Arab Emirates Jordan Libya Cape Verde Spain Zambia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_multi_types
action find_reverse
entity Tanzania
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:diplomatic_relation resource:Tanzania . { { ?i rdf:type ontology:political_territorial_entity } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?x > ?u ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?x ) WHERE { { ?c rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?o } UNION { ?c property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q7725634 Q15416
USER
Which administrative territories did less number of literary works or television programs originate than that administrative territory ?
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'literary work'}, {'concept': 'television program'}], '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:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
designation for an administrative territorial entity literary work television program
Comparative|More/Less|Mult. entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
Did you mean Italy ?
Italy
[[{'concept': 'literary work'}, {'concept': 'television program'}], '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:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
USER
No, I meant United States of America. Could you tell me the answer for that?
(c(Q7725634)|c(Q15416),P495,c(Q15617994))
Q30
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'literary work'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
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(Q7725634)|c(Q15416),P495,c(Q15617994))
[ANSWERS] less number of literary works or television programs originated than that administrative territory
[[{'concept': 'Q7725634'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q7725634 . ?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
Italy, Brazil and Georgia less number of literary works or television programs originated than that administrative territory
Italy Brazil Georgia
[[{'concept': 'literary work'}, {'concept': 'television program'}], '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:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q230
P35
Q502895
USER
Which people have the highest formal authority in those administrative territories ?
(Q38,P35,c(Q502895)) (Q155,P35,c(Q502895)) (Q230,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
['Q38', 'P35', {'concept': 'Q502895'}] ['Q155', 'P35', {'concept': 'Q502895'}] ['Q230', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?i ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . ?x rdf:type ontology:Q502895 . ?i property:P35 ?x }
Italy Brazil Georgia
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}] ['Brazil', 'head of state', {'concept': 'common name'}] ['Georgia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?i ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . ?x rdf:type ontology:common_name . ?i property:head_of_state ?x }
[]
common name
Q1224 Q3956186 Q230578
SYSTEM
Carlo Azeglio Ciampi, Sergio Mattarella, Fernando Henrique Cardoso
Q1233 Q1245 Q3956186 Q1241 Q1240 Q1242 Q1238 Q153832 Q1228 Q1230 Q1224 Q1235 Q1220 Q236503 Q230578 Q463533 Q40722 Q37181 Q485946 Q218435 Q13107337 Q151929 Q43330 Q229493
(Q38,P35,c(Q502895)) (Q155,P35,c(Q502895)) (Q230,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
[ANSWERS] have the highest formal authority in those administrative territories
['Q38', 'P35', {'concept': 'Q502895'}] ['Q155', 'P35', {'concept': 'Q502895'}] ['Q230', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?i ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . ?x rdf:type ontology:Q502895 . ?i property:P35 ?x }
Sandro Pertini Enrico De Nicola Sergio Mattarella Giovanni Gronchi Antonio Segni Luigi Einaudi Giuseppe Saragat Alcide De Gasperi Oscar Luigi Scalfaro Francesco Cossiga Carlo Azeglio Ciampi Giovanni Leone Giorgio Napolitano Fernando Collor de Mello Fernando Henrique Cardoso Michel Temer Dilma Rousseff Luiz Inácio Lula da Silva Itamar Franco Zviad Gamsakhurdia Giorgi Margvelashvili Eduard Shevardnadze Mikhail Saakashvili Nino Burjanadze
Carlo Azeglio Ciampi, Sergio Mattarella and Fernando Henrique Cardoso have the highest formal authority in those administrative territories
Carlo Azeglio Ciampi Sergio Mattarella Fernando Henrique Cardoso
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}] ['Brazil', 'head of state', {'concept': 'common name'}] ['Georgia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?i ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . ?x rdf:type ontology:common_name . ?i property:head_of_state ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P915
Q838948
USER
Which works of art were filmed at Brazil ?
(c(Q838948),P915,Q155)
action filter_type
action find_reverse
entity Q155
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q155']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q838948 . ?a property:P915 resource:Q155 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Brazil']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:work_of_art . ?a property:filming_location resource:Brazil }
[]
work of art
Q840495 Q302490 Q1338470
SYSTEM
Miami Vice, The Mission, Emmanuelle 4
Q840495 Q12123479 Q1338470 Q7073341 Q7755932 Q1609621 Q16736285 Q302490 Q18389073
(c(Q838948),P915,Q155)
action filter_type
action find_reverse
entity Q155
relation P915
type Q838948
[ANSWERS] were filmed at Brazil
[{'concept': 'Q838948'}, 'P915', 'Q155']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q838948 . ?a property:P915 resource:Q155 }
Miami Vice Fuck for Forest Emmanuelle 4 O Terceiro Travesseiro The Palace of Angels BirdWatchers The Salt of the Earth The Mission Macumba Love
Miami Vice, The Mission and Emmanuelle 4 were filmed at Brazil
Miami Vice The Mission Emmanuelle 4
action filter_type
action find_reverse
entity Brazil
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Brazil']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:work_of_art . ?a property:filming_location resource:Brazil }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q840495 Q302490 Q1338470
P161
Q502895
USER
Who starred in Miami Vice, The Mission and Emmanuelle 4 ?
(Q840495,P161,c(Q502895)) (Q302490,P161,c(Q502895)) (Q1338470,P161,c(Q502895))
action union
action filter_type
action find
entity Q840495
relation P161
type Q502895
action filter_type
action find
entity Q302490
relation P161
type Q502895
action filter_type
action find
entity Q1338470
relation P161
type Q502895
['Q840495', 'P161', {'concept': 'Q502895'}] ['Q302490', 'P161', {'concept': 'Q502895'}] ['Q1338470', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?c property:P161 ?d . VALUES ( ?c ) { ( resource:Q840495 ) ( resource:Q302490 ) } }
Miami Vice The Mission Emmanuelle 4
action union
action filter_type
action find
entity Miami Vice
relation cast member
type common name
action filter_type
action find
entity The Mission
relation cast member
type common name
action filter_type
action find
entity Emmanuelle 4
relation cast member
type common name
['Miami Vice', 'cast member', {'concept': 'common name'}] ['The Mission', 'cast member', {'concept': 'common name'}] ['Emmanuelle 4', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?c property:cast_member ?d . VALUES ( ?c ) { ( resource:Miami_Vice ) ( resource:The_Mission ) } }
[]
common name
Q36949 Q58444 Q171905
SYSTEM
Robert De Niro, Liam Neeson, Jamie Foxx
Q156586 Q809099 Q930148 Q172035 Q210094 Q314892 Q316596 Q171905 Q150903 Q714669 Q1530604 Q403902 Q171745 Q58444 Q443174 Q36949 Q1081030 Q620118 Q308792 Q2925592 Q463841 Q3307852 Q2942206 Q207592
(Q840495,P161,c(Q502895)) (Q302490,P161,c(Q502895)) (Q1338470,P161,c(Q502895))
action union
action filter_type
action find
entity Q840495
relation P161
type Q502895
action filter_type
action find
entity Q302490
relation P161
type Q502895
action filter_type
action find
entity Q1338470
relation P161
type Q502895
[ANSWERS] starred in Miami Vice, The Mission and Emmanuelle 4
['Q840495', 'P161', {'concept': 'Q502895'}] ['Q302490', 'P161', {'concept': 'Q502895'}] ['Q1338470', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?c property:P161 ?d . VALUES ( ?c ) { ( resource:Q840495 ) ( resource:Q302490 ) } }
Naomie Harris Barry Shabaka Henley Luis Tosar Colin Farrell John Ortiz Ciarán Hinds Justin Theroux Jamie Foxx Gong Li Oleg Taktarov Ray McAnally Aidan Quinn Jeremy Irons Liam Neeson Cherie Lunghi Robert De Niro Christian Marquand Fabrice Luchini Patrick Bauchau Brinke Stevens Marilyn Jess Mia Nygren Cathy Ménard Sylvia Kristel
Robert De Niro, Liam Neeson and Jamie Foxx starred in Miami Vice, The Mission and Emmanuelle 4
Robert De Niro Liam Neeson Jamie Foxx
action union
action filter_type
action find
entity Miami Vice
relation cast member
type common name
action filter_type
action find
entity The Mission
relation cast member
type common name
action filter_type
action find
entity Emmanuelle 4
relation cast member
type common name
['Miami Vice', 'cast member', {'concept': 'common name'}] ['The Mission', 'cast member', {'concept': 'common name'}] ['Emmanuelle 4', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?c property:cast_member ?d . VALUES ( ?c ) { ( resource:Miami_Vice ) ( resource:The_Mission ) } }
[]