Simple Question (Direct)
Simple Question
Q22626
P417
Q502895
USER
What is the name of the patron saint of Sillavengo ?
(Q22626,P417,c(Q502895))
action filter_type
action find
entity Q22626
relation P417
type Q502895
['Q22626', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q22626 property:P417 ?m }
Sillavengo
action filter_type
action find
entity Sillavengo
relation patron saint
type common name
['Sillavengo', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Sillavengo property:patron_saint ?m }
[]
common name
Q442516
SYSTEM
Germanus of Auxerre
Q442516
(Q22626,P417,c(Q502895))
action filter_type
action find
entity Q22626
relation P417
type Q502895
The name of the patron saint of Sillavengo is [ANSWER]
['Q22626', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q22626 property:P417 ?m }
Germanus of Auxerre
The name of the patron saint of Sillavengo is Germanus of Auxerre
Germanus of Auxerre
action filter_type
action find
entity Sillavengo
relation patron saint
type common name
['Sillavengo', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Sillavengo property:patron_saint ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22626
P47
Q15617994
USER
Which administrative territories share border with that one ?
(Q442516,P47,c(Q15617994))
action filter_type
action find
entity Q22626
relation P47
type Q15617994
['Q442516', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q22626 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Sillavengo
action filter_type
action find
entity Sillavengo
relation shares border with
type designation for an administrative territorial entity
['Germanus of Auxerre', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Sillavengo property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q22120 Q24854 Q22135
SYSTEM
Briona, Arborio, Carpignano Sesia
Q22158 Q22120 Q22135 Q24854 Q22475 Q22487 Q25084
(Q442516,P47,c(Q15617994))
action filter_type
action find
entity Q22626
relation P47
type Q15617994
[ANSWERS] share border with that one
['Q442516', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q22626 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Castellazzo Novarese Briona Carpignano Sesia Arborio Landiona Mandello Vitta Ghislarengo
Briona, Arborio and Carpignano Sesia share border with that one
Briona Arborio Carpignano Sesia
action filter_type
action find
entity Sillavengo
relation shares border with
type designation for an administrative territorial entity
['Germanus of Auxerre', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Sillavengo property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with around 113 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 113
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?q ) WHERE { ?u property:P530 ?g . ?u rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?q = 113 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 113
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?q ) WHERE { ?u property:diplomatic_relation ?g . ?u rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?q = 113 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 113
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?q ) WHERE { ?u property:P530 ?g . ?u rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?q = 113 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 113
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?q ) WHERE { ?u property:diplomatic_relation ?g . ?u rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?q = 113 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q710
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with less number of administrative territories than Kiribati ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q710
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?g ) WHERE { ?o property:P530 ?f . ?o rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P530 resource:Q710 . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?g < ?q ) }
Kiribati
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Kiribati
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?g ) WHERE { ?o property:diplomatic_relation ?f . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:diplomatic_relation resource:Kiribati . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g < ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
25
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q710
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?g ) WHERE { ?o property:P530 ?f . ?o rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P530 resource:Q710 . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?g < ?q ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
25
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Kiribati
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?g ) WHERE { ?o property:diplomatic_relation ?f . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:diplomatic_relation resource:Kiribati . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g < ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q77
P530
Q15617994 Q15617994
USER
And what about Uruguay?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q77
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?o ) WHERE { ?d rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 . ?s property:P530 ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q77 property:P530 ?x } } . FILTER ( ?o < ?g ) }
Uruguay
action count
action less
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_type
action find
entity Uruguay
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?o ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Uruguay property:diplomatic_relation ?x } } . FILTER ( ?o < ?g ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q77
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?o ) WHERE { ?d rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 . ?s property:P530 ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q77 property:P530 ?x } } . FILTER ( ?o < ?g ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
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_type
action find
entity Uruguay
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?o ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Uruguay property:diplomatic_relation ?x } } . FILTER ( ?o < ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22626
P17
Q15617994
USER
Which administrative territory is Sillavengo situated in ?
(Q22626,P17,c(Q15617994))
action filter_type
action find
entity Q22626
relation P17
type Q15617994
['Q22626', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q22626 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Sillavengo
action filter_type
action find
entity Sillavengo
relation country
type designation for an administrative territorial entity
['Sillavengo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Sillavengo property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q22626,P17,c(Q15617994))
action filter_type
action find
entity Q22626
relation P17
type Q15617994
Sillavengo is situated in [ANSWER]
['Q22626', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q22626 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Italy
Sillavengo is situated in Italy
Italy
action filter_type
action find
entity Sillavengo
relation country
type designation for an administrative territorial entity
['Sillavengo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Sillavengo property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P36
Q56061
USER
Which administrative territory is associated to that administrative territory as the capital ?
(Q38,P36,c(Q56061))
action filter_type
action find
entity Q38
relation P36
type Q56061
['Q38', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q38 property:P36 ?v . ?v rdf:type ontology:Q56061 }
Italy
action filter_type
action find
entity Italy
relation capital
type administrative territorial entity
['Italy', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Italy property:capital ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q38,P36,c(Q56061))
action filter_type
action find
entity Q38
relation P36
type Q56061
[ANSWER] is associated to that administrative territory as the capital
['Q38', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q38 property:P36 ?v . ?v rdf:type ontology:Q56061 }
Rome
Rome is associated to that administrative territory as the capital
Rome
action filter_type
action find
entity Italy
relation capital
type administrative territorial entity
['Italy', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Italy property:capital ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q220 Q7958998 Q51420
P17
Q15617994
USER
Is that administrative territory situated in Waddingworth and Atri, Abruzzo ?
(Q220,P17,Q7958998) (Q220,P17,Q51420)
action is_in
entity Q220
action intersection
action find_reverse
entity Q7958998
relation P17
action find_reverse
entity Q51420
relation P17
['Q220', 'P17', 'Q7958998'] ['Q220', 'P17', 'Q51420']
ASK WHERE { resource:Q220 property:P17 resource:Q7958998 . resource:Q220 property:P17 resource:Q51420 }
Rome Waddingworth Atri, Abruzzo
action is_in
entity Rome
action intersection
action find_reverse
entity Waddingworth
relation country
action find_reverse
entity Atri, Abruzzo
relation country
['Rome', 'country', 'Waddingworth'] ['Rome', 'country', 'Atri, Abruzzo']
ASK WHERE { resource:Rome property:country resource:Waddingworth . resource:Rome property:country resource:Atri,_Abruzzo }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q220,P17,Q7958998) (Q220,P17,Q51420)
action is_in
entity Q220
action intersection
action find_reverse
entity Q7958998
relation P17
action find_reverse
entity Q51420
relation P17
[ANSWER]
['Q220', 'P17', 'Q7958998'] ['Q220', 'P17', 'Q51420']
ASK WHERE { resource:Q220 property:P17 resource:Q7958998 . resource:Q220 property:P17 resource:Q51420 }
No
action is_in
entity Rome
action intersection
action find_reverse
entity Waddingworth
relation country
action find_reverse
entity Atri, Abruzzo
relation country
['Rome', 'country', 'Waddingworth'] ['Rome', 'country', 'Atri, Abruzzo']
ASK WHERE { resource:Rome property:country resource:Waddingworth . resource:Rome property:country resource:Atri,_Abruzzo }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q22120 Q22125 Q562399
P47
Q15617994
USER
Is Briona bordered by Caltignaga and Börfink ?
(Q22120,P47,Q22125) (Q22120,P47,Q562399)
action is_in
entity Q22120
action intersection
action find_reverse
entity Q22125
relation P47
action find_reverse
entity Q562399
relation P47
['Q22120', 'P47', 'Q22125'] ['Q22120', 'P47', 'Q562399']
ASK WHERE { resource:Q22120 property:P47 resource:Q22125 . resource:Q22120 property:P47 resource:Q562399 }
Briona Caltignaga Börfink
action is_in
entity Briona
action intersection
action find_reverse
entity Caltignaga
relation shares border with
action find_reverse
entity Börfink
relation shares border with
['Briona', 'shares border with', 'Caltignaga'] ['Briona', 'shares border with', 'Börfink']
ASK WHERE { resource:Briona property:shares_border_with resource:Caltignaga . resource:Briona property:shares_border_with resource:Börfink }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q22120,P47,Q22125) (Q22120,P47,Q562399)
action is_in
entity Q22120
action intersection
action find_reverse
entity Q22125
relation P47
action find_reverse
entity Q562399
relation P47
[ANSWER]
['Q22120', 'P47', 'Q22125'] ['Q22120', 'P47', 'Q562399']
ASK WHERE { resource:Q22120 property:P47 resource:Q22125 . resource:Q22120 property:P47 resource:Q562399 }
YES and NO respectively
action is_in
entity Briona
action intersection
action find_reverse
entity Caltignaga
relation shares border with
action find_reverse
entity Börfink
relation shares border with
['Briona', 'shares border with', 'Caltignaga'] ['Briona', 'shares border with', 'Börfink']
ASK WHERE { resource:Briona property:shares_border_with resource:Caltignaga . resource:Briona property:shares_border_with resource:Börfink }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P931
Q62447
USER
Which aerodromes serve the place named Rome ?
(c(Q62447),P931,Q220)
action filter_type
action find_reverse
entity Q220
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q220']
SELECT DISTINCT ?d WHERE { ?d property:P931 resource:Q220 . ?d rdf:type ontology:Q62447 }
Rome
action filter_type
action find_reverse
entity Rome
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Rome']
SELECT DISTINCT ?d WHERE { ?d property:place_served_by_airport resource:Rome . ?d rdf:type ontology:aerodrome }
[]
aerodrome
Q1729854 Q19101
SYSTEM
Rome Viterbo Airport, Leonardo da Vinci–Fiumicino Airport
Q1729854 Q19101
(c(Q62447),P931,Q220)
action filter_type
action find_reverse
entity Q220
relation P931
type Q62447
[ANSWERS] serve the place named Rome
[{'concept': 'Q62447'}, 'P931', 'Q220']
SELECT DISTINCT ?d WHERE { ?d property:P931 resource:Q220 . ?d rdf:type ontology:Q62447 }
Rome Viterbo Airport Leonardo da Vinci–Fiumicino Airport
Rome Viterbo Airport and Leonardo da Vinci–Fiumicino Airport serve the place named Rome
Rome Viterbo Airport Leonardo da Vinci–Fiumicino Airport
action filter_type
action find_reverse
entity Rome
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Rome']
SELECT DISTINCT ?d WHERE { ?d property:place_served_by_airport resource:Rome . ?d rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1729854 Q19101
P17
Q15617994
USER
Which administrative territories are those aerodromes present in ?
(Q1729854,P17,c(Q15617994)) (Q19101,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q1729854', 'P17', {'concept': 'Q15617994'}] ['Q19101', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?b property:P17 ?m . VALUES ( ?b ) { ( resource:Q1729854 ) ( resource:Q19101 ) } . ?m rdf:type ontology:Q15617994 }
Rome Viterbo Airport Leonardo da Vinci–Fiumicino Airport
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Rome Viterbo Airport', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Leonardo da Vinci–Fiumicino Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?b property:country ?m . VALUES ( ?b ) { ( resource:Rome_Viterbo_Airport ) ( resource:Leonardo_da_Vinci–Fiumicino_Airport ) } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q38
SYSTEM
Italy
Q38 Q38
(Q1729854,P17,c(Q15617994)) (Q19101,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those aerodromes are in [ANSWER] and [ANSWER]
['Q1729854', 'P17', {'concept': 'Q15617994'}] ['Q19101', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?b property:P17 ?m . VALUES ( ?b ) { ( resource:Q1729854 ) ( resource:Q19101 ) } . ?m rdf:type ontology:Q15617994 }
Italy Italy
Those aerodromes are in Italy and Italy
Italy Italy
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Rome Viterbo Airport', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Leonardo da Vinci–Fiumicino Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?b property:country ?m . VALUES ( ?b ) { ( resource:Rome_Viterbo_Airport ) ( resource:Leonardo_da_Vinci–Fiumicino_Airport ) } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P162
Q838948
USER
Which work of art has been produced by Italy ?
(c(Q838948),P162,Q38)
action filter_type
action find_reverse
entity Q38
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q38']
SELECT DISTINCT ?j WHERE { ?j property:P162 resource:Q38 . ?j rdf:type ontology:Q838948 }
Italy
action filter_type
action find_reverse
entity Italy
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Italy']
SELECT DISTINCT ?j WHERE { ?j property:producer resource:Italy . ?j rdf:type ontology:work_of_art }
[]
work of art
Q2933446
SYSTEM
Calabuch
Q2933446
(c(Q838948),P162,Q38)
action filter_type
action find_reverse
entity Q38
relation P162
type Q838948
[ANSWER] has been produced by Italy
[{'concept': 'Q838948'}, 'P162', 'Q38']
SELECT DISTINCT ?j WHERE { ?j property:P162 resource:Q38 . ?j rdf:type ontology:Q838948 }
Calabuch
Calabuch has been produced by Italy
Calabuch
action filter_type
action find_reverse
entity Italy
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Italy']
SELECT DISTINCT ?j WHERE { ?j property:producer resource:Italy . ?j rdf:type ontology:work_of_art }
[]