Simple Question (Direct)
Simple Question
Q986204
P27
Q15617994
USER
Which administrative territory is Christian Araboni a civilian of ?
(Q986204,P27,c(Q15617994))
action filter_type
action find
entity Q986204
relation P27
type Q15617994
['Q986204', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q986204 property:P27 ?j }
Christian Araboni
action filter_type
action find
entity Christian Araboni
relation country of citizenship
type designation for an administrative territorial entity
['Christian Araboni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Christian_Araboni property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q986204,P27,c(Q15617994))
action filter_type
action find
entity Q986204
relation P27
type Q15617994
[ANSWER] is Christian Araboni a civilian of
['Q986204', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q986204 property:P27 ?j }
Italy
Italy is Christian Araboni a civilian of
Italy
action filter_type
action find
entity Christian Araboni
relation country of citizenship
type designation for an administrative territorial entity
['Christian Araboni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Christian_Araboni property:country_of_citizenship ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q986204
P19
Q15617994
USER
Which administrative territory is the place of birth of that person ?
(Q38,P19,c(Q15617994))
action filter_type
action find
entity Q986204
relation P19
type Q15617994
['Q38', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q986204 property:P19 ?f . ?f rdf:type ontology:Q15617994 }
Christian Araboni
action filter_type
action find
entity Christian Araboni
relation place of birth
type designation for an administrative territorial entity
['Italy', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Christian_Araboni property:place_of_birth ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53302
SYSTEM
Palmanova
Q53302
(Q38,P19,c(Q15617994))
action filter_type
action find
entity Q986204
relation P19
type Q15617994
[ANSWER] is the place of birth of that person
['Q38', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q986204 property:P19 ?f . ?f rdf:type ontology:Q15617994 }
Palmanova
Palmanova is the place of birth of that person
Palmanova
action filter_type
action find
entity Christian Araboni
relation place of birth
type designation for an administrative territorial entity
['Italy', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Christian_Araboni property:place_of_birth ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12765
P138
Q502895 Q355304 Q15617994
USER
How many administrative territories are named after approximately the same number of people or watercourses as Deux-Sèvres ?
(c(Q15617994),P138,c(Q502895)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q502895
action find_tuple_counts
relation P138
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q12765
relation P138
type Q502895
type Q355304
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Q12765 property:P138 ?h . { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q355304 ) } } } } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?t WHERE { { ?t property:P138 ?u . ?t rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q502895 } UNION { ?t property:P138 ?u . ?t rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q355304 } } GROUP BY ?t } }
Deux-Sèvres
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Deux-Sèvres
relation named after
type common name
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'common name'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Deux-Sèvres property:named_after ?h . { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:watercourse ) } } } } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?t WHERE { { ?t property:named_after ?u . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:common_name } UNION { ?t property:named_after ?u . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:watercourse } } GROUP BY ?t } }
[]
common name watercourse designation for an administrative territorial entity
SYSTEM
18
Q12779 Q12556 Q12753 Q3377 Q979470 Q541095 Q1338277 Q282355 Q12584 Q12578 Q12736 Q12765 Q3509886 Q12549 Q12626 Q4066675 Q2236821 Q12564
(c(Q15617994),P138,c(Q502895)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q502895
action find_tuple_counts
relation P138
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q12765
relation P138
type Q502895
type Q355304
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Q12765 property:P138 ?h . { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q355304 ) } } } } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?t WHERE { { ?t property:P138 ?u . ?t rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q502895 } UNION { ?t property:P138 ?u . ?t rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q355304 } } GROUP BY ?t } }
Tarn-et-Garonne Indre-et-Loire Seine-et-Marne Eure-et-Loir Seine-et-Oise Rhin-et-Moselle Sambre-et-Meuse Nesse-Apfelstädt Maine-et-Loire Lot-et-Garonne Saône-et-Loire Deux-Sèvres Sègre-Ter Ille-et-Vilaine Meurthe-et-Moselle Annino Rhône-et-Loire Loir-et-Cher
18
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Deux-Sèvres
relation named after
type common name
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'common name'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Deux-Sèvres property:named_after ?h . { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:watercourse ) } } } } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?t WHERE { { ?t property:named_after ?u . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:common_name } UNION { ?t property:named_after ?u . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:watercourse } } GROUP BY ?t } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1030
P138
Q502895 Q355304 Q15617994
USER
And what about Namibia?
(c(Q15617994),P138,c(Q502895)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q502895
action find_tuple_counts
relation P138
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q1030
relation P138
type Q502895
type Q355304
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Q1030 property:P138 ?n . { { ?n rdf:type ontology:Q502895 } UNION { ?n rdf:type ontology:Q355304 } } } } . FILTER ( ?s = ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?k WHERE { VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q355304 ) } . ?l rdf:type ?c } GROUP BY ?k } }
Namibia
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Namibia
relation named after
type common name
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'common name'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Namibia property:named_after ?n . { { ?n rdf:type ontology:common_name } UNION { ?n rdf:type ontology:watercourse } } } } . FILTER ( ?s = ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?k WHERE { VALUES ( ?c ) { ( ontology:common_name ) ( ontology:watercourse ) } . ?l rdf:type ?c } GROUP BY ?k } }
[]
common name watercourse designation for an administrative territorial entity
SYSTEM
144
Q701 Q158876 Q705 Q707 Q1087137 Q1027 Q14697553 Q12563 Q142 Q33 Q685048 Q801 Q1093 Q189 Q12820 Q1090684 Q657 Q1098820 Q3349 Q378004 Q568751 Q2316529 Q2803031 Q711 Q1979 Q625403 Q691368 Q199974 Q2998020 Q1028 Q691890 Q3249 Q3164 Q1465069 Q554491 Q159 Q686924 Q598193 Q12526 Q12689 Q155 Q1232680 Q231168 Q12589 Q1965 Q1508919 Q3259 Q10903 Q786 Q5015782 Q12694 Q12745 Q451448 Q32 Q31 Q30 Q924 Q36 Q39 Q2514636 Q1452646 Q986 Q219 Q736 Q1508927 Q11140 Q236 Q230 Q221 Q232 Q233 Q2304605 Q1914678 Q566032 Q12661 Q20 Q475659 Q691265 Q28 Q12580 Q1025 Q1020 Q843 Q12709 Q184 Q1029 Q3336 Q3334 Q707950 Q3131 Q1904 Q27495866 Q3139 Q12782 Q3342 Q558771 Q12700 Q12703 Q1101 Q347 Q71090 Q21915715 Q902 Q3120 Q967 Q962 Q963 Q694 Q3125 Q114 Q117 Q1788988 Q754 Q752 Q20095245 Q217 Q12642 Q2295479 Q2115819 Q912 Q2136219 Q977 Q1019 Q1008 Q20310 Q1030 Q784 Q79 Q775 Q776 Q770 Q1393469 Q27 Q1011 Q1013 Q480103 Q4149 Q3105 Q1558632 Q12751 Q1952 Q2528268 Q1231 Q13401101
(c(Q15617994),P138,c(Q502895)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q15617994
type Q502895
action find_tuple_counts
relation P138
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q1030
relation P138
type Q502895
type Q355304
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Q1030 property:P138 ?n . { { ?n rdf:type ontology:Q502895 } UNION { ?n rdf:type ontology:Q355304 } } } } . FILTER ( ?s = ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?k WHERE { VALUES ( ?c ) { ( ontology:Q502895 ) ( ontology:Q355304 ) } . ?l rdf:type ?c } GROUP BY ?k } }
North Holland Reinickendorf Zeeland Flevoland Rockaway, New Jersey Mauritius Neetzow-Liepen Landes France Finland Simplon Israel Limburg Iceland Yvelines Montserrat Chad Gênes Côtes-d'Armor Forêts Mont-Tonnerre Noordpolderzijl Pasop Mongolia Prince Edward Island Schwielowsee Léman Hürtgenwald Corse Morocco Corcyre Calvados Ardennes Frise Banan District Russia Mer-Égée Apennins Gironde Pas-de-Calais Brazil Ithaque Zuyderzée Manche New Brunswick Marengo Cantal Finnentrop Dominican Republic Cabot Public Schools Puy-de-Dôme Savoie Am Salzhaff Luxembourg Belgium United States of America Tanzania Poland Switzerland Vogtei Montenotte Eritrea Bulgaria Ecuador Méditerranée Möhnesee Montenegro Georgia Republic of Macedonia Kazakhstan Malta Spitsbergen Vlagtwedder-Veldhuis Rheinbreitbach Nord Norway Sassenburg Mont-Terrible Hungary Lozère Mauritania Malawi Pakistan Pyrénées-Orientales Belarus Mozambique Corse-du-Sud Haute-Corse Muldestausee Alpes-de-Haute-Provence Ontario Corse Alpes-Maritimes Territoire de Belfort Côte-d'Or Wedendorfersee Hautes-Pyrénées Pyrénées-Atlantiques North Brabant Liechtenstein Augustusburg Kloster Tempzin Bangladesh Jura Burundi Benin Botswana South Holland Hautes-Alpes Kenya Ghana Trasimène Trinidad and Tobago Groningen Sept-Saints Republic of Moldova Morbihan Zandberg, Zeeland Klein-Ulsda Mali Amsterdam, Saskatchewan Djibouti Madagascar Côte d'Ivoire Kuckssee Namibia Dominica Egypt Gelderland Utrecht Friesland Jemmapes Ireland Cape Verde Lesotho Amt Volmarstein Neustadt an der Weinstraße Vosges Rome Haute-Savoie Nova Scotia Mont-Blanc Kosovo Region Brandon Valley School District
144
action count
action approx
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Namibia
relation named after
type common name
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'common name'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { resource:Namibia property:named_after ?n . { { ?n rdf:type ontology:common_name } UNION { ?n rdf:type ontology:watercourse } } } } . FILTER ( ?s = ?v ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) ?k WHERE { VALUES ( ?c ) { ( ontology:common_name ) ( ontology:watercourse ) } . ?l rdf:type ?c } GROUP BY ?k } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with atmost 7 political territories or administrative territories ?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action atmost
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 7
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?w ) WHERE { VALUES ( ?h ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?p rdf:type ?h } GROUP BY ?b } . FILTER ( ?w <= 7 ) }
action atmost
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?w ) WHERE { VALUES ( ?h ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?p rdf:type ?h } GROUP BY ?b } . FILTER ( ?w <= 7 ) }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q32
SYSTEM
Netherlands, Poland, Luxembourg
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q265 Q37 Q712 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action atmost
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 7
[ANSWERS] have diplomatic associations with atmost 7 political territories or administrative territories
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?w ) WHERE { VALUES ( ?h ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?p rdf:type ?h } GROUP BY ?b } . FILTER ( ?w <= 7 ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and Luxembourg have diplomatic associations with atmost 7 political territories or administrative territories
Netherlands Poland Luxembourg
action atmost
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 7
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?w ) WHERE { VALUES ( ?h ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?p rdf:type ?h } GROUP BY ?b } . FILTER ( ?w <= 7 ) }
[]
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,Q55) (Q38,P530,Q36) (Q38,P530,Q32)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q55'] ['Q38', 'P530', 'Q36'] ['Q38', 'P530', 'Q32']
ASK WHERE { VALUES ( ?v ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q38 property:P530 ?v }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Netherlands'] ['Italy', 'diplomatic relation', 'Poland'] ['Italy', 'diplomatic relation', 'Luxembourg']
ASK WHERE { VALUES ( ?v ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Italy property:diplomatic_relation ?v }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q55) (Q38,P530,Q36) (Q38,P530,Q32)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q55'] ['Q38', 'P530', 'Q36'] ['Q38', 'P530', 'Q32']
ASK WHERE { VALUES ( ?v ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q38 property:P530 ?v }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Netherlands'] ['Italy', 'diplomatic relation', 'Poland'] ['Italy', 'diplomatic relation', 'Luxembourg']
ASK WHERE { VALUES ( ?v ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Italy property:diplomatic_relation ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45
P840
Q838948
USER
Which work of art has its setting located at Portugal ?
(c(Q838948),P840,Q45)
action filter_type
action find_reverse
entity Q45
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q45']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P840 resource:Q45 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Portugal']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:narrative_location resource:Portugal }
[]
work of art
Q692367
SYSTEM
The State of Things
Q692367
(c(Q838948),P840,Q45)
action filter_type
action find_reverse
entity Q45
relation P840
type Q838948
[ANSWER] has its setting located at Portugal
[{'concept': 'Q838948'}, 'P840', 'Q45']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P840 resource:Q45 }
The State of Things
The State of Things has its setting located at Portugal
The State of Things
action filter_type
action find_reverse
entity Portugal
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Portugal']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:narrative_location resource:Portugal }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q692367
P344
Q502895
USER
Who are the director of photography for that work of art ?
(Q692367,P344,c(Q502895))
action filter_type
action find
entity Q692367
relation P344
type Q502895
['Q692367', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q692367 property:P344 ?i . ?i rdf:type ontology:Q502895 }
The State of Things
action filter_type
action find
entity The State of Things
relation director of photography
type common name
['The State of Things', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:The_State_of_Things property:director_of_photography ?i . ?i rdf:type ontology:common_name }
[]
common name
Q958139 Q1905022 Q1003717
SYSTEM
Henri Alekan, Martin Schäfer, Fred Murphy
Q958139 Q1905022 Q1003717
(Q692367,P344,c(Q502895))
action filter_type
action find
entity Q692367
relation P344
type Q502895
The director of photography for that work of art are [ANSWERS]
['Q692367', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q692367 property:P344 ?i . ?i rdf:type ontology:Q502895 }
Henri Alekan Martin Schäfer Fred Murphy
The director of photography for that work of art are Henri Alekan, Martin Schäfer and Fred Murphy
Henri Alekan Martin Schäfer Fred Murphy
action filter_type
action find
entity The State of Things
relation director of photography
type common name
['The State of Things', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:The_State_of_Things property:director_of_photography ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q958139 Q1905022 Q1003717
P344
Q838948
USER
Which works of art are those people the cinematographer of ?
(c(Q838948),P344,Q958139) (c(Q838948),P344,Q1905022) (c(Q838948),P344,Q1003717)
action filter_type
action find_reverse
entity prev_answer
relation P344
type Q838948
[{'concept': 'Q838948'}, 'P344', 'Q958139'] [{'concept': 'Q838948'}, 'P344', 'Q1905022'] [{'concept': 'Q838948'}, 'P344', 'Q1003717']
SELECT DISTINCT ?n WHERE { ?n property:P344 ?q . VALUES ( ?q ) { ( resource:Q958139 ) ( resource:Q1905022 ) ( resource:Q1003717 ) } . ?n rdf:type ontology:Q838948 }
Henri Alekan Martin Schäfer Fred Murphy
action filter_type
action find_reverse
entity prev_answer
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Henri Alekan'] [{'concept': 'work of art'}, 'director of photography', 'Martin Schäfer'] [{'concept': 'work of art'}, 'director of photography', 'Fred Murphy']
SELECT DISTINCT ?n WHERE { ?n property:director_of_photography ?q . VALUES ( ?q ) { ( resource:Henri_Alekan ) ( resource:Martin_Schäfer ) ( resource:Fred_Murphy ) } . ?n rdf:type ontology:work_of_art }
[]
work of art
Q156911 Q1056538 Q2567849
SYSTEM
Wings of Desire, Frou-Frou, Austerlitz
Q508219 Q1961894 Q892965 Q939692 Q3110132 Q2567849 Q466900 Q452790 Q1516287 Q3234045 Q201293 Q1914469 Q3214249 Q1218143 Q927048 Q669498 Q3549780 Q2790720 Q3222987 Q181850 Q1753964 Q3796585 Q1306377 Q692367 Q4922044 Q3564164 Q3233304 Q476225 Q3233764 Q3210552 Q7768513 Q2395108 Q1962088 Q3234569 Q32790 Q156911 Q1056538 Q2888386 Q3211938 Q706444 Q22690237 Q7686560 Q1215728 Q692367 Q1213774 Q19309745 Q2690780 Q1141420 Q1402558 Q465732 Q7062275 Q5508112 Q923343 Q1425483 Q472165 Q1148134 Q615291 Q975358 Q625488 Q7733394 Q7757039 Q1214896 Q1858277 Q1547395 Q2521361 Q687600 Q2986071 Q5564531 Q638835 Q5509347 Q965859 Q692367 Q7033318 Q604980 Q591953 Q784211 Q1755355 Q1154802 Q2525635 Q693721 Q1401821 Q300401
(c(Q838948),P344,Q958139) (c(Q838948),P344,Q1905022) (c(Q838948),P344,Q1003717)
action filter_type
action find_reverse
entity prev_answer
relation P344
type Q838948
[ANSWERS] are those people the cinematographer of
[{'concept': 'Q838948'}, 'P344', 'Q958139'] [{'concept': 'Q838948'}, 'P344', 'Q1905022'] [{'concept': 'Q838948'}, 'P344', 'Q1003717']
SELECT DISTINCT ?n WHERE { ?n property:P344 ?q . VALUES ( ?q ) { ( resource:Q958139 ) ( resource:Q1905022 ) ( resource:Q1003717 ) } . ?n rdf:type ontology:Q838948 }
Anna Karenina Figures in a Landscape The Christmas Tree La Reine Margot Golem, the Ghost of Exile Austerlitz Triple Cross Sex Pot Topkapi Les Musiciens du ciel Roman Holiday Mayerling Life Belongs to Us Five Miles to Midnight Beauty and the Beast The Blue Villa Une si jolie petite plage Paris Is Always Paris Forbidden Fruit The Battle of the Rails Juliette, or Key of Dreams Imbarco a mezzanotte The Trout The State of Things Black Tights Vénus aveugle Les Impures Heroes and Sinners The Damned La Marie du port The Territory La Belle captive Lady L Les Petites du quai aux fleurs Red Sun Wings of Desire Frou-Frou On Top of the Whale La Princesse de Clèves Kings of the Road The Microscope Tarot Trip to Vienna The State of Things The Cat Closed Circuit Anamorph October Sky Heartland Q Not a Pretty Picture Full Moon in Blue Water RV Five Corners Secret Window Jack the Bear Auto Focus Stir of Echoes Dreamer The Fantasticks The Pickle The Mothman Prophecies Metro Ghost Town The Trip to Bountiful The Dead Fresh Horses Girlfriends Best Seller Funny About Love Freddy vs. Jason The State of Things Night Game Drillbit Taylor Dance with Me Hoosiers Faithful Murder in the First Soul Survivors Scenes from a Mall Enemies, a Love Story A Family Thing
Wings of Desire, Frou-Frou and Austerlitz are those people the cinematographer of
Wings of Desire Frou-Frou Austerlitz
action filter_type
action find_reverse
entity prev_answer
relation director of photography
type work of art
[{'concept': 'work of art'}, 'director of photography', 'Henri Alekan'] [{'concept': 'work of art'}, 'director of photography', 'Martin Schäfer'] [{'concept': 'work of art'}, 'director of photography', 'Fred Murphy']
SELECT DISTINCT ?n WHERE { ?n property:director_of_photography ?q . VALUES ( ?q ) { ( resource:Henri_Alekan ) ( resource:Martin_Schäfer ) ( resource:Fred_Murphy ) } . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q156911 Q1056538 Q2567849
P161
Q502895
USER
Which people are in Wings of Desire, Frou-Frou and Austerlitz ?
(Q156911,P161,c(Q502895)) (Q1056538,P161,c(Q502895)) (Q2567849,P161,c(Q502895))
action union
action filter_type
action find
entity Q156911
relation P161
type Q502895
action filter_type
action find
entity Q1056538
relation P161
type Q502895
action filter_type
action find
entity Q2567849
relation P161
type Q502895
['Q156911', 'P161', {'concept': 'Q502895'}] ['Q1056538', 'P161', {'concept': 'Q502895'}] ['Q2567849', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q502895 . resource:Q156911 property:P161 ?i } UNION { ?i rdf:type ontology:Q502895 . resource:Q1056538 property:P161 ?i } }
Wings of Desire Frou-Frou Austerlitz
action union
action filter_type
action find
entity Wings of Desire
relation cast member
type common name
action filter_type
action find
entity Frou-Frou
relation cast member
type common name
action filter_type
action find
entity Austerlitz
relation cast member
type common name
['Wings of Desire', 'cast member', {'concept': 'common name'}] ['Frou-Frou', 'cast member', {'concept': 'common name'}] ['Austerlitz', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:common_name . resource:Wings_of_Desire property:cast_member ?i } UNION { ?i rdf:type ontology:common_name . resource:Frou-Frou property:cast_member ?i } }
[]
common name
Q24829 Q106204 Q484881
SYSTEM
Orson Welles, Jean-Louis Trintignant, Peter Falk
Q436978 Q192668 Q316528 Q3196368 Q166565 Q1717257 Q1346919 Q1700360 Q2963378 Q1120300 Q22687781 Q1535172 Q68468 Q566209 Q3219443 Q118066 Q1210548 Q1362555 Q66479 Q1581206 Q2897859 Q5669843 Q3484216 Q932665 Q123206 Q1710828 Q1354460 Q3440299 Q484881 Q2039654 Q1577922 Q813257 Q3265269 Q3292776 Q3118452 Q2958498 Q599249 Q663802 Q554301 Q3289156 Q3564384 Q3179106 Q3155011 Q4003436 Q704975 Q3275588 Q3370684 Q3103730 Q279382 Q3414963 Q3579712 Q2737 Q2929411 Q239868 Q3271129 Q3084291 Q3849268 Q3170677 Q3484619 Q3090249 Q2026118 Q1375447 Q3270709 Q3023019 Q3172585 Q66380 Q3154671 Q3371031 Q955901 Q3166157 Q3265384 Q2465528 Q2087651 Q561288 Q256466 Q3341039 Q1873439 Q2853654 Q3102585 Q168359 Q3171618 Q2729701 Q24829 Q722421 Q193653 Q1096563 Q528421 Q107006 Q3170702 Q3121730 Q53004 Q939781 Q230023 Q1867601 Q3069144 Q275337 Q507482 Q2366168 Q1040798 Q3165876 Q1911453 Q455082 Q124112 Q235105 Q3130888 Q3386554 Q3265684 Q2848380 Q455878 Q2847462 Q3130398 Q2131240 Q241222 Q738944 Q3173490 Q3167336 Q106204
(Q156911,P161,c(Q502895)) (Q1056538,P161,c(Q502895)) (Q2567849,P161,c(Q502895))
action union
action filter_type
action find
entity Q156911
relation P161
type Q502895
action filter_type
action find
entity Q1056538
relation P161
type Q502895
action filter_type
action find
entity Q2567849
relation P161
type Q502895
[ANSWERS] are in Wings of Desire, Frou-Frou and Austerlitz
['Q156911', 'P161', {'concept': 'Q502895'}] ['Q1056538', 'P161', {'concept': 'Q502895'}] ['Q2567849', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q502895 . resource:Q156911 property:P161 ?i } UNION { ?i rdf:type ontology:Q502895 . resource:Q1056538 property:P161 ?i } }
Solveig Dommartin Nick Cave Blixa Bargeld Kid Congo Powers Mick Harvey Jürgen Heinrich Epic Soundtracks Margita Haberland Chick Ortega Lajos Kovács Johanna Penski Ulrike Schirm Otto Sander Annelinde Gerstl Laurent Petitgand Thomas Wydler Didier Flamand Rowland S. Howard Curt Bois Hans Marquardt Bernard Eisenschitz Harry Howard Simon Bonney Thierry Noir Bruno Ganz Teresa Harder Erika Rabau Roland Wolf Peter Falk Otto Kuhnle Hans-Martin Stier Beatrice Manowski Lucie Dolène Marie Sabouret Grégoire Gromoff Charles Bayard Bernard Blier Daniel Ceccaldi Gino Cervi Marcel Loche Véronique Zuber Jimmy Perrys Isabelle Pia Umberto Melnati Robert Thomas Madeleine Barbulée Paul Bonifas Georgette Anys Dany Robin René-Jean Chauffard Édouard Adam Louis de Funès Béatrice Arnac Mylène Demongeot Léon Larive Jean Wall Mariolina Bovo Jean Bellanger Simone Sylvestre Frédéric Valmain Jean Droze Mischa Auer Léon Bary Denise Carvenne Jean Hébey Ivan Desny Irène Tunc Paul Demange Jacques Duby Jean-Jacques Lucien Blondeau Daniel Emilfork Philippe Lemaire Michel Subor Capucine Nicole Fabrice Lucienne Legrand Antoine Baud Georges Demas Jean Marais Jean Degrave Jean-Louis Richard Orson Welles Georges Marchal Jack Palance Claude Carliez Nelly Kaplan Claudia Cardinale Jean Berger Guy Delorme Vittorio De Sica Ettore Manni Leslie Caron Dominique Zardi Fernand Fabre Daniela Rocca Jacques Castelot Pierre Tabard Rossano Brazzi Jean-François Rémi Maurice Teynac Anna Maria Ferrero Michel Simon Anna Moffo Henri Cote Pierre Peloux Lucien Raimbourg André Oumansky Elvira Popescu André Certes Henri-Jacques Huet Raoul Billerey Martine Carol Pierre Mondy Jean Mercure Jean-Marc Bory Jean-Louis Trintignant
Orson Welles, Jean-Louis Trintignant and Peter Falk are in Wings of Desire, Frou-Frou and Austerlitz
Orson Welles Jean-Louis Trintignant Peter Falk
action union
action filter_type
action find
entity Wings of Desire
relation cast member
type common name
action filter_type
action find
entity Frou-Frou
relation cast member
type common name
action filter_type
action find
entity Austerlitz
relation cast member
type common name
['Wings of Desire', 'cast member', {'concept': 'common name'}] ['Frou-Frou', 'cast member', {'concept': 'common name'}] ['Austerlitz', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:common_name . resource:Wings_of_Desire property:cast_member ?i } UNION { ?i rdf:type ontology:common_name . resource:Frou-Frou property:cast_member ?i } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q692367
P162
Q502895
USER
Which person produced The State of Things ?
(Q692367,P162,c(Q502895))
action filter_type
action find
entity Q692367
relation P162
type Q502895
['Q692367', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q692367 property:P162 ?g . ?g rdf:type ontology:Q502895 }
The State of Things
action filter_type
action find
entity The State of Things
relation producer
type common name
['The State of Things', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_State_of_Things property:producer ?g . ?g rdf:type ontology:common_name }
[]
common name
Q259593
SYSTEM
Paulo Branco
Q259593
(Q692367,P162,c(Q502895))
action filter_type
action find
entity Q692367
relation P162
type Q502895
[ANSWER] produced The State of Things
['Q692367', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q692367 property:P162 ?g . ?g rdf:type ontology:Q502895 }
Paulo Branco
Paulo Branco produced The State of Things
Paulo Branco
action filter_type
action find
entity The State of Things
relation producer
type common name
['The State of Things', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:The_State_of_Things property:producer ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7935273
Q502895
USER
And also tell me about Virunnukari?
(Q7935273,P162,c(Q502895))
action filter_type
action find
entity Q7935273
relation P162
type Q502895
['Q7935273', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q7935273 property:P162 ?v . ?v rdf:type ontology:Q502895 }
Virunnukari
action filter_type
action find
entity Virunnukari
relation producer
type common name
['Virunnukari', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Virunnukari property:producer ?v . ?v rdf:type ontology:common_name }
[]
common name
Q17402758
SYSTEM
P. Venu
Q17402758
(Q7935273,P162,c(Q502895))
action filter_type
action find
entity Q7935273
relation P162
type Q502895
[ANSWER]
['Q7935273', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q7935273 property:P162 ?v . ?v rdf:type ontology:Q502895 }
P. Venu
P. Venu
action filter_type
action find
entity Virunnukari
relation producer
type common name
['Virunnukari', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Virunnukari property:producer ?v . ?v rdf:type ontology:common_name }
[]