Simple Question (Direct)
Simple Question
Q94990
P47
Q15617994
USER
Who share the border with San Giovanni in Persiceto ?
(Q94990,P47,c(Q15617994))
action filter_type
action find
entity Q94990
relation P47
type Q15617994
['Q94990', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q94990 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
San Giovanni in Persiceto
action filter_type
action find
entity San Giovanni in Persiceto
relation shares border with
type designation for an administrative territorial entity
['San Giovanni in Persiceto', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:San_Giovanni_in_Persiceto property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q95094 Q100043 Q94493
SYSTEM
Cento, Castelfranco Emilia, Anzola dell'Emilia
Q94493 Q100043 Q95094 Q94801 Q94996 Q94985 Q94782
(Q94990,P47,c(Q15617994))
action filter_type
action find
entity Q94990
relation P47
type Q15617994
[ANSWERS]
['Q94990', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q94990 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Anzola dell'Emilia Castelfranco Emilia Cento Crevalcore Sant'Agata Bolognese Sala Bolognese Castello d'Argile
Cento Castelfranco Emilia Anzola dell'Emilia
action filter_type
action find
entity San Giovanni in Persiceto
relation shares border with
type designation for an administrative territorial entity
['San Giovanni in Persiceto', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:San_Giovanni_in_Persiceto property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q95094 Q100043 Q94493
P47
Q15617994
USER
Which administrative territories do Cento, Castelfranco Emilia and Anzola dell'Emilia share a border with ?
(c(Q15617994),P47,Q95094) (c(Q15617994),P47,Q100043) (c(Q15617994),P47,Q94493)
action union
action filter_type
action find
entity Q95094
relation P47
type Q15617994
action filter_type
action find
entity Q100043
relation P47
type Q15617994
action filter_type
action find
entity Q94493
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q95094'] [{'concept': 'Q15617994'}, 'P47', 'Q100043'] [{'concept': 'Q15617994'}, 'P47', 'Q94493']
SELECT DISTINCT ?u WHERE { ?r property:P47 ?u . VALUES ( ?r ) { ( resource:Q95094 ) ( resource:Q100043 ) } }
Cento Castelfranco Emilia Anzola dell'Emilia
action union
action filter_type
action find
entity Cento
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Castelfranco Emilia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Anzola dell'Emilia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cento'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Castelfranco Emilia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', "Anzola dell'Emilia"]
SELECT DISTINCT ?u WHERE { ?r property:shares_border_with ?u . VALUES ( ?r ) { ( resource:Cento ) ( resource:Castelfranco_Emilia ) } }
[]
designation for an administrative territorial entity
Q100050 Q100043 Q94493
SYSTEM
Finale Emilia, Castelfranco Emilia, Anzola dell'Emilia
Q94990 Q94801 Q94981 Q95139 Q100050 Q94782 Q94548 Q94493 Q94990 Q94996 Q94795 Q100080 Q100092 Q94990 Q94985 Q94627 Q100043 Q94795
(c(Q15617994),P47,Q95094) (c(Q15617994),P47,Q100043) (c(Q15617994),P47,Q94493)
action union
action filter_type
action find
entity Q95094
relation P47
type Q15617994
action filter_type
action find
entity Q100043
relation P47
type Q15617994
action filter_type
action find
entity Q94493
relation P47
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P47', 'Q95094'] [{'concept': 'Q15617994'}, 'P47', 'Q100043'] [{'concept': 'Q15617994'}, 'P47', 'Q94493']
SELECT DISTINCT ?u WHERE { ?r property:P47 ?u . VALUES ( ?r ) { ( resource:Q95094 ) ( resource:Q100043 ) } }
San Giovanni in Persiceto Crevalcore Pieve di Cento Sant'Agostino Finale Emilia Castello d'Argile Bazzano Anzola dell'Emilia San Giovanni in Persiceto Sant'Agata Bolognese Crespellano Nonantola San Cesario sul Panaro San Giovanni in Persiceto Sala Bolognese Calderara di Reno Castelfranco Emilia Crespellano
Finale Emilia Castelfranco Emilia Anzola dell'Emilia
action union
action filter_type
action find
entity Cento
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Castelfranco Emilia
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Anzola dell'Emilia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Cento'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Castelfranco Emilia'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', "Anzola dell'Emilia"]
SELECT DISTINCT ?u WHERE { ?r property:shares_border_with ?u . VALUES ( ?r ) { ( resource:Cento ) ( resource:Castelfranco_Emilia ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q100050 Q100043 Q94493
P190
Q15617994
USER
Which administrative territories are twin town of those ones ?
(c(Q15617994),P190,Q100050) (c(Q15617994),P190,Q100043) (c(Q15617994),P190,Q94493)
action filter_type
action find
entity prev_answer
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q100050'] [{'concept': 'Q15617994'}, 'P190', 'Q100043'] [{'concept': 'Q15617994'}, 'P190', 'Q94493']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . VALUES ( ?i ) { ( resource:Q94990 ) ( resource:Q94801 ) ( resource:Q94981 ) } . ?i property:P190 ?w }
Finale Emilia Castelfranco Emilia Anzola dell'Emilia
action filter_type
action find
entity prev_answer
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Finale Emilia'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Castelfranco Emilia'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', "Anzola dell'Emilia"]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?i ) { ( resource:San_Giovanni_in_Persiceto ) ( resource:Crevalcore ) ( resource:Pieve_di_Cento ) } . ?i property:sister_city ?w }
[]
designation for an administrative territorial entity
Q100055 Q54637 Q50166
SYSTEM
Formigine, Polistena, Villa Sant'Angelo
Q100055 Q50166 Q508231 Q54637
(c(Q15617994),P190,Q100050) (c(Q15617994),P190,Q100043) (c(Q15617994),P190,Q94493)
action filter_type
action find
entity prev_answer
relation P190
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P190', 'Q100050'] [{'concept': 'Q15617994'}, 'P190', 'Q100043'] [{'concept': 'Q15617994'}, 'P190', 'Q94493']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . VALUES ( ?i ) { ( resource:Q94990 ) ( resource:Q94801 ) ( resource:Q94981 ) } . ?i property:P190 ?w }
Formigine Villa Sant'Angelo Marktredwitz Polistena
Formigine Polistena Villa Sant'Angelo
action filter_type
action find
entity prev_answer
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Finale Emilia'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Castelfranco Emilia'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', "Anzola dell'Emilia"]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?i ) { ( resource:San_Giovanni_in_Persiceto ) ( resource:Crevalcore ) ( resource:Pieve_di_Cento ) } . ?i property:sister_city ?w }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q100055 Q54637 Q50166
P47
Q15617994
USER
Which administrative territories share border with those ones ?
(Q100055,P47,c(Q15617994)) (Q54637,P47,c(Q15617994)) (Q50166,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q100055', 'P47', {'concept': 'Q15617994'}] ['Q54637', 'P47', {'concept': 'Q15617994'}] ['Q50166', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?o ) { ( resource:Q100055 ) ( resource:Q50166 ) ( resource:Q508231 ) } . ?g rdf:type ontology:Q15617994 . ?o property:P47 ?g }
Formigine Polistena Villa Sant'Angelo
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Formigine', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Polistena', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ["Villa Sant'Angelo", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?o ) { ( resource:Formigine ) ( resource:Villa_Sant'Angelo ) ( resource:Marktredwitz ) } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:shares_border_with ?g }
[]
designation for an administrative territorial entity
Q54603 Q100045 Q111150
SYSTEM
Cittanova, Castelvetro di Modena, Casalgrande
Q100045 Q111150 Q100044 Q111275 Q8598 Q100060 Q54624 Q54647 Q54559 Q54602 Q54603 Q50141
(Q100055,P47,c(Q15617994)) (Q54637,P47,c(Q15617994)) (Q50166,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS]
['Q100055', 'P47', {'concept': 'Q15617994'}] ['Q54637', 'P47', {'concept': 'Q15617994'}] ['Q50166', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?o ) { ( resource:Q100055 ) ( resource:Q50166 ) ( resource:Q508231 ) } . ?g rdf:type ontology:Q15617994 . ?o property:P47 ?g }
Castelvetro di Modena Casalgrande Castelnuovo Rangone Rubiera Sassuolo Maranello Melicucco San Giorgio Morgeto Anoia, Calabria Cinquefrondi Cittanova San Demetrio ne' Vestini
Cittanova Castelvetro di Modena Casalgrande
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Formigine', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Polistena', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ["Villa Sant'Angelo", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { VALUES ( ?o ) { ( resource:Formigine ) ( resource:Villa_Sant'Angelo ) ( resource:Marktredwitz ) } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:shares_border_with ?g }
[]
Clarification
Simple Question|Single Entity|Indirect
Q111150
P20
Q502895
USER
Which person has that administrative territory as place of death ?
(c(Q502895),P20,Q111150)
action filter_type
action find_reverse
entity Q111150
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q111150']
SELECT DISTINCT ?j WHERE { ?j property:P20 resource:Q111150 . ?j rdf:type ontology:Q502895 }
Casalgrande
action filter_type
action find_reverse
entity Casalgrande
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Casalgrande']
SELECT DISTINCT ?j WHERE { ?j property:place_of_death resource:Casalgrande . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q54603
SYSTEM
Did you mean Cittanova ?
Q54603 Q100045 Q111150
(c(Q502895),P20,Q54603) (c(Q502895),P20,Q100045) (c(Q502895),P20,Q111150)
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q54603'] [{'concept': 'Q502895'}, 'P20', 'Q100045'] [{'concept': 'Q502895'}, 'P20', 'Q111150']
SELECT DISTINCT ?j WHERE { ?j property:P20 resource:Q111150 . ?j rdf:type ontology:Q502895 }
Cittanova Castelvetro di Modena Casalgrande
Did you mean Cittanova ?
Cittanova
[{'concept': 'common name'}, 'place of death', 'Cittanova'] [{'concept': 'common name'}, 'place of death', 'Castelvetro di Modena'] [{'concept': 'common name'}, 'place of death', 'Casalgrande']
SELECT DISTINCT ?j WHERE { ?j property:place_of_death resource:Casalgrande . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Casalgrande. Could you tell me the answer for that?
(c(Q502895),P20,Q111150)
Q111150
[{'concept': 'Q502895'}, 'P20', 'Q111150']
[{'concept': 'common name'}, 'place of death', 'Casalgrande']
[]
Q3903785
SYSTEM
Pietro Chiodini
Q3903785
(c(Q502895),P20,Q111150)
action filter_type
action find_reverse
entity Q111150
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q111150']
SELECT DISTINCT ?j WHERE { ?j property:P20 resource:Q111150 . ?j rdf:type ontology:Q502895 }
Pietro Chiodini
Pietro Chiodini
action filter_type
action find_reverse
entity Casalgrande
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Casalgrande']
SELECT DISTINCT ?j WHERE { ?j property:place_of_death resource:Casalgrande . ?j rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q34
P840
Q15617994 Q15416 Q838948
USER
How many administrative territories are the narrative locations of approximately the same number of television programs and works of art as Sweden ?
(c(Q15416)|c(Q838948),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q34
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?e ) WHERE { { ?b property:P840 ?w . ?w rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15416 } UNION { ?b property:P840 ?w . ?b rdf:type ontology:Q838948 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?w } . FILTER ( ?e = ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:P840 resource:Q34 . { { ?o rdf:type ontology:Q838948 } UNION { ?o rdf:type ontology:Q15416 } } } } }
Sweden
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Sweden
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?e ) WHERE { { ?b property:narrative_location ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:television_program } UNION { ?b property:narrative_location ?w . ?b rdf:type ontology:work_of_art . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?w } . FILTER ( ?e = ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:narrative_location resource:Sweden . { { ?o rdf:type ontology:work_of_art } UNION { ?o rdf:type ontology:television_program } } } } }
[]
designation for an administrative territorial entity television program work of art
SYSTEM
143
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q15416)|c(Q838948),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q34
relation P840
type Q15416
type Q838948
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?e ) WHERE { { ?b property:P840 ?w . ?w rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15416 } UNION { ?b property:P840 ?w . ?b rdf:type ontology:Q838948 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?w } . FILTER ( ?e = ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:P840 resource:Q34 . { { ?o rdf:type ontology:Q838948 } UNION { ?o rdf:type ontology:Q15416 } } } } }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
143
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Sweden
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?e ) WHERE { { ?b property:narrative_location ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:television_program } UNION { ?b property:narrative_location ?w . ?b rdf:type ontology:work_of_art . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?w } . FILTER ( ?e = ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:narrative_location resource:Sweden . { { ?o rdf:type ontology:work_of_art } UNION { ?o rdf:type ontology:television_program } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q227
P840
Q15617994 Q15416 Q838948
USER
And also tell me about Azerbaijan?
(c(Q15416)|c(Q838948),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q227
relation P840
type Q15416
type Q838948
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { FILTER ( ?e = ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P840 resource:Q227 . { VALUES ( ?s ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?d rdf:type ?s } } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?a WHERE { { ?c property:P840 ?a . ?a rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q838948 } UNION { ?c property:P840 ?a . ?a rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15416 } } GROUP BY ?a } }
Azerbaijan
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Azerbaijan
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { FILTER ( ?e = ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:narrative_location resource:Azerbaijan . { VALUES ( ?s ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?d rdf:type ?s } } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?a WHERE { { ?c property:narrative_location ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:work_of_art } UNION { ?c property:narrative_location ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:television_program } } GROUP BY ?a } }
[]
designation for an administrative territorial entity television program work of art
SYSTEM
141
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q15416)|c(Q838948),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q227
relation P840
type Q15416
type Q838948
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { FILTER ( ?e = ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:P840 resource:Q227 . { VALUES ( ?s ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?d rdf:type ?s } } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?a WHERE { { ?c property:P840 ?a . ?a rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q838948 } UNION { ?c property:P840 ?a . ?a rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15416 } } GROUP BY ?a } }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
141
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Azerbaijan
relation narrative location
type television program
type work of art
[[{'concept': 'television program'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { FILTER ( ?e = ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { ?d property:narrative_location resource:Azerbaijan . { VALUES ( ?s ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?d rdf:type ?s } } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) ?a WHERE { { ?c property:narrative_location ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:work_of_art } UNION { ?c property:narrative_location ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:television_program } } GROUP BY ?a } }
[]