Simple Question (Direct)
Simple Question
Q15950550
P641
Q349
USER
Which sport was Manuel Pucciarelli a part of ?
(Q15950550,P641,c(Q349))
action filter_type
action find
entity Q15950550
relation P641
type Q349
['Q15950550', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q15950550 property:P641 ?i . ?i rdf:type ontology:Q349 }
Manuel Pucciarelli
action filter_type
action find
entity Manuel Pucciarelli
relation sport
type sport
['Manuel Pucciarelli', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Manuel_Pucciarelli property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q15950550,P641,c(Q349))
action filter_type
action find
entity Q15950550
relation P641
type Q349
Which sport was Manuel Pucciarelli a part of
['Q15950550', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q15950550 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
Which sport was Manuel Pucciarelli a part of
association football
action filter_type
action find
entity Manuel Pucciarelli
relation sport
type sport
['Manuel Pucciarelli', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Manuel_Pucciarelli property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15950550
P19
Q56061
USER
Which administrative territory is the place of birth of Manuel Pucciarelli ?
(Q15950550,P19,c(Q56061))
action filter_type
action find
entity Q15950550
relation P19
type Q56061
['Q15950550', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q15950550 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Manuel Pucciarelli
action filter_type
action find
entity Manuel Pucciarelli
relation place of birth
type administrative territorial entity
['Manuel Pucciarelli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Manuel_Pucciarelli property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13377
SYSTEM
Prato
Q13377
(Q15950550,P19,c(Q56061))
action filter_type
action find
entity Q15950550
relation P19
type Q56061
[ANSWER] is the place of birth of Manuel Pucciarelli
['Q15950550', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q15950550 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Prato
Prato is the place of birth of Manuel Pucciarelli
Prato
action filter_type
action find
entity Manuel Pucciarelli
relation place of birth
type administrative territorial entity
['Manuel Pucciarelli', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Manuel_Pucciarelli property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15950550
P21
Q290
USER
What is the sex of that person ?
(Q13377,P21,c(Q290))
action filter_type
action find
entity Q15950550
relation P21
type Q290
['Q13377', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q15950550 property:P21 ?o . ?o rdf:type ontology:Q290 }
Manuel Pucciarelli
action filter_type
action find
entity Manuel Pucciarelli
relation gender
type sex
['Prato', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Manuel_Pucciarelli property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q13377,P21,c(Q290))
action filter_type
action find
entity Q15950550
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q13377', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q15950550 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Manuel Pucciarelli
relation gender
type sex
['Prato', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Manuel_Pucciarelli property:gender ?o . ?o rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q13377 Q4822751
P19
Q502895
USER
How many people were born at Prato or Aush ?
(c(Q502895),P19,Q13377) (c(Q502895),P19,Q4822751)
action count
action union
action filter_type
action find_reverse
entity Q13377
relation P19
type Q502895
action filter_type
action find_reverse
entity Q4822751
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q13377'] [{'concept': 'Q502895'}, 'P19', 'Q4822751']
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P19 ?k . VALUES ( ?k ) { ( resource:Q4822751 ) ( resource:Q13377 ) } }
Prato Aush
action count
action union
action filter_type
action find_reverse
entity Prato
relation place of birth
type common name
action filter_type
action find_reverse
entity Aush
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Prato'] [{'concept': 'common name'}, 'place of birth', 'Aush']
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:place_of_birth ?k . VALUES ( ?k ) { ( resource:Aush ) ( resource:Prato ) } }
[]
common name
SYSTEM
185
Q3742577 Q595338 Q3701272 Q23857355 Q23042165 Q3645629 Q3615816 Q20088868 Q3769013 Q6947473 Q204955 Q1671578 Q3955727 Q4124716 Q3851313 Q16581867 Q3771581 Q16039280 Q13419095 Q3697491 Q780021 Q3764635 Q2846325 Q11927346 Q3684958 Q16536834 Q16561232 Q3827018 Q15123552 Q3903250 Q1089038 Q3759364 Q2288167 Q17453271 Q590906 Q1631480 Q1246106 Q4008858 Q16268448 Q3939971 Q3081052 Q3108090 Q17651578 Q3763481 Q15921866 Q552843 Q3618922 Q3902867 Q3725612 Q323386 Q16525722 Q312637 Q4020012 Q3619759 Q387816 Q3839462 Q3027975 Q3956178 Q16575684 Q3617595 Q3951065 Q3769233 Q15403370 Q767973 Q2513437 Q3617356 Q26857611 Q1637061 Q3051065 Q3892865 Q3768485 Q15120189 Q3964757 Q3659524 Q1168587 Q3293404 Q3732086 Q3525113 Q21190652 Q17453094 Q16573861 Q1010696 Q16487862 Q3665445 Q3960641 Q2926583 Q3846012 Q211048 Q21030410 Q178628 Q16527403 Q3770082 Q5659206 Q10364344 Q16292810 Q3954955 Q946948 Q3768431 Q450043 Q21328784 Q21207293 Q3838531 Q16577109 Q15950550 Q2832785 Q3848402 Q3766819 Q3615457 Q1537497 Q13427195 Q3907307 Q1533066 Q3107921 Q3846018 Q3830418 Q20005898 Q386491 Q3615799 Q3846420 Q3885543 Q5479308 Q3592734 Q2553411 Q3942495 Q3950328 Q3766041 Q19513369 Q1872762 Q17453061 Q3610054 Q598838 Q3337706 Q17284975 Q3938680 Q3903203 Q12884138 Q3810106 Q3618960 Q970069 Q3615990 Q26085429 Q3805925 Q21055390 Q296265 Q7469652 Q17562142 Q3852657 Q16066084 Q1490984 Q1357559 Q3119453 Q1320010 Q3851135 Q3852245 Q3938691 Q16555676 Q18287992 Q16268416 Q1056790 Q3804631 Q18534371 Q3770849 Q3770279 Q20140224 Q3832597 Q725993 Q3725624 Q574420 Q3939587 Q3617705 Q4008536 Q14855815 Q3776031 Q15622393 Q3608205 Q977281 Q3903275 Q3839967 Q16616236 Q2258886 Q16576433 Q15055577 Q3894200 Q134923 Q3938819
(c(Q502895),P19,Q13377) (c(Q502895),P19,Q4822751)
action count
action union
action filter_type
action find_reverse
entity Q13377
relation P19
type Q502895
action filter_type
action find_reverse
entity Q4822751
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q13377'] [{'concept': 'Q502895'}, 'P19', 'Q4822751']
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P19 ?k . VALUES ( ?k ) { ( resource:Q4822751 ) ( resource:Q13377 ) } }
Ferdinando Castagnoli Lorenzo Branchetti Damiano Moscardi Andrea Martinelli Carlo Guasti Bruno Banchini Andrea Lulli Guido Bisori Girolamo di Pace Riccardo Berti Convenevole da Prato Sem Benelli Serafino Moreno Volpini Massimo Logli Nello Corti Giuseppe Valentini Riccardo Mazzoni Dino Saccenti Cristina Arnone Antonio Martini Gino Gori Andrea Fedi Jaume Queralt Compagnetto da Prato Carlo Bocchineri Gloria Nuti Lapo Mazzei Lamberto Nazzareno Gestri Piero Gambacciani Giulio de' Medici Geminiano Inghirami Simone Scatizzi Fabrizio Mattei Giovacchino Limberti Enrico Coveri Sandro Veronesi Vasco Dugini Niki Hendriks Ridolfo Livi Francesco Pieri Giuseppe Mazzoni Priscilla Del Prete Gianni Cristiani Giovanni Francesco Buonamici Luca Calvani Antonella Fattori Pier Francesco Riccio Enrico Befani Giacomo Alberti Alvaro Ciabatti Curzio Malaparte William Frullani Antonio Livi Duccio Innocenti Luigi Catani Diletta Sestini Sergio Masieri Marcello Tofani Anita Todesco Saverio Seracini Giulia Bartolini Emilia Goggi Francesco Nuti Roberto Vieri Angiolo Badiani Rachele Risaliti Roberto Castellani Elisa Cella Pamela Camassa Giovanni di Gherardo da Prato Luigi Gallo Sonia Carlo Livi Paolo Dagomari di Prato Mario Cipriani Ermolao Rubieri Pamela Villoresi Amara Roberto Giovannini Luca Marrone Giovanni Veronesi Ardelio Allori Cesare Guasti Silvano Gelli Brunero Gherardini Marco Ciatti Alessandro Diamanti Lorenzo Dalla Porta Paolo Rossi Antonio Bonamici Giuseppe Becherini Giovacchino Carradori Ronaldo Bonacchi Adriana Biagiotti Selvaggio Morelli Mario Bertini Giovanni da Prato Clara Calamai Armando Meoni Giovanni Benini Luciano Bettarini Matteo Biffoni Manuel Pucciarelli Alessandro Franchi Mario Cappelli Giovanni Bertini Andrea Abati Dino Canestri Luca Avagliano Polifonte Puccianti Moreno Cambi Giulio Bresci Marco Cocci Leonardo Pettinari Mauro Vannucchi Claudio Morganti Andrea Lastrucci Marco Romagnoli Oreste Chilleri Francesco Coppini Évariste Gherardi Stefano Tempesti Ruggero Balli Sarah Ferrati Giovambattista Casotti Letizia Paoli Sara Colzi Giorgio Vestri Alessandro Goti Eugenio Gestri Nedo Logli Mirko Gerbi Roberto Cenni Piero Cironi Ranieri di Prato Jorio Borchi Antonello Giacomelli Francesco di Marco Datini Andrea Righi Adriano Cecchi Jacopo Polverini Chiara Tabani Filippino Lippi Giovanni Livi Alighiero Ceri Maurizio Merluzzo Antonio Marini di Prato Gaetano Corsani Piero De Bernardi Guido Nincheri Andrea Bellini Massimo Bertacci Matteo da Prato Roberto Ciardi Ferdinando Carlesi Marco Calvani Domenico Giunti Cesare Ciardi Iva Pacetti Costantino Pittei Giuseppe Macrì Giuseppe Castellano Lorenzo Bruni Linda Collini Jury Chechi Enrico Bertini Nicolò Albertini Rocco Montana Anna Gabriella Ceccatelli Vanessa Benelli Mosell Stefano Borchi Graziano Mazzoni Davide Lufrano Chaves Alberto Casella Amilcare Fantoli Piero Lenzi Luigi Pagliuca Tommaso di Piero Trombetto Ighli Vannucchi Mario Marini Alessandra Bocchineri Paolo Magelli Domenico Zipoli Roberto Gabbiani
185
action count
action union
action filter_type
action find_reverse
entity Prato
relation place of birth
type common name
action filter_type
action find_reverse
entity Aush
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Prato'] [{'concept': 'common name'}, 'place of birth', 'Aush']
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:place_of_birth ?k . VALUES ( ?k ) { ( resource:Aush ) ( resource:Prato ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q337567 Q15324 Q56061
USER
Which administrative territories are situated close to max number of still waterss and bodies of water ?
(c(Q56061),P206,c(Q337567)|c(Q15324))
action argmax
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q15324
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?v ) { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?i ) WHERE { { ?e property:P206 ?p . ?e rdf:type ontology:Q56061 . ?p rdf:type ontology:Q337567 } UNION { ?e property:P206 ?p . ?p rdf:type ontology:Q15324 . ?e rdf:type ontology:Q56061 } } GROUP BY ?e } } . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?a ) WHERE { { ?f property:P206 ?x . ?f rdf:type ontology:Q56061 . ?x rdf:type ontology:Q337567 } UNION { ?f property:P206 ?x . ?f rdf:type ontology:Q56061 . ?x rdf:type ontology:Q15324 } } GROUP BY ?f } . FILTER ( ?a = ?v ) }
action argmax
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?v ) { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?i ) WHERE { { ?e property:located_next_to_body_of_water ?p . ?e rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:still_waters } UNION { ?e property:located_next_to_body_of_water ?p . ?p rdf:type ontology:body_of_water . ?e rdf:type ontology:administrative_territorial_entity } } GROUP BY ?e } } . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?a ) WHERE { { ?f property:located_next_to_body_of_water ?x . ?f rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:still_waters } UNION { ?f property:located_next_to_body_of_water ?x . ?f rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:body_of_water } } GROUP BY ?f } . FILTER ( ?a = ?v ) }
[]
still waters body of water administrative territorial entity
Q1709
SYSTEM
Schwerin
Q1709
(c(Q56061),P206,c(Q337567)|c(Q15324))
action argmax
action union
action find_tuple_counts
relation P206
type Q56061
type Q337567
action find_tuple_counts
relation P206
type Q56061
type Q15324
[ANSWER] is situated close to max number of still waterss and bodies of water
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?v ) { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?i ) WHERE { { ?e property:P206 ?p . ?e rdf:type ontology:Q56061 . ?p rdf:type ontology:Q337567 } UNION { ?e property:P206 ?p . ?p rdf:type ontology:Q15324 . ?e rdf:type ontology:Q56061 } } GROUP BY ?e } } . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?a ) WHERE { { ?f property:P206 ?x . ?f rdf:type ontology:Q56061 . ?x rdf:type ontology:Q337567 } UNION { ?f property:P206 ?x . ?f rdf:type ontology:Q56061 . ?x rdf:type ontology:Q15324 } } GROUP BY ?f } . FILTER ( ?a = ?v ) }
Schwerin
Schwerin is situated close to max number of still waterss and bodies of water
Schwerin
action argmax
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?v ) { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?i ) WHERE { { ?e property:located_next_to_body_of_water ?p . ?e rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:still_waters } UNION { ?e property:located_next_to_body_of_water ?p . ?p rdf:type ontology:body_of_water . ?e rdf:type ontology:administrative_territorial_entity } } GROUP BY ?e } } . { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?a ) WHERE { { ?f property:located_next_to_body_of_water ?x . ?f rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:still_waters } UNION { ?f property:located_next_to_body_of_water ?x . ?f rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:body_of_water } } GROUP BY ?f } . FILTER ( ?a = ?v ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1709
P551
Q502895
USER
Which person lives in that administrative territory ?
(c(Q502895),P551,Q1709)
action filter_type
action find_reverse
entity Q1709
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1709']
SELECT DISTINCT ?m WHERE { ?m property:P551 resource:Q1709 . ?m rdf:type ontology:Q502895 }
Schwerin
action filter_type
action find_reverse
entity Schwerin
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Schwerin']
SELECT DISTINCT ?m WHERE { ?m property:residence resource:Schwerin . ?m rdf:type ontology:common_name }
[]
common name
Q100494
SYSTEM
Wilhelm Friedrich Loeper
Q100494
(c(Q502895),P551,Q1709)
action filter_type
action find_reverse
entity Q1709
relation P551
type Q502895
[ANSWER] lives in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q1709']
SELECT DISTINCT ?m WHERE { ?m property:P551 resource:Q1709 . ?m rdf:type ontology:Q502895 }
Wilhelm Friedrich Loeper
Wilhelm Friedrich Loeper lives in that administrative territory
Wilhelm Friedrich Loeper
action filter_type
action find_reverse
entity Schwerin
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Schwerin']
SELECT DISTINCT ?m WHERE { ?m property:residence resource:Schwerin . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1709
P17
Q1048835
USER
Which political territory does Schwerin belong to ?
(Q1709,P17,c(Q1048835))
action filter_type
action find
entity Q1709
relation P17
type Q1048835
['Q1709', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q1709 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Schwerin
action filter_type
action find
entity Schwerin
relation country
type political territorial entity
['Schwerin', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Schwerin property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1709,P17,c(Q1048835))
action filter_type
action find
entity Q1709
relation P17
type Q1048835
Schwerin belongs to [ANSWER]
['Q1709', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q1709 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Germany
Schwerin belongs to Germany
Germany
action filter_type
action find
entity Schwerin
relation country
type political territorial entity
['Schwerin', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Schwerin property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q504311
Q1048835
USER
And what about Heigenbrücken?
(Q504311,P17,c(Q1048835))
action filter_type
action find
entity Q504311
relation P17
type Q1048835
['Q504311', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q504311 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
Heigenbrücken
action filter_type
action find
entity Heigenbrücken
relation country
type political territorial entity
['Heigenbrücken', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Heigenbrücken property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q504311,P17,c(Q1048835))
action filter_type
action find
entity Q504311
relation P17
type Q1048835
[ANSWER]
['Q504311', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q504311 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Heigenbrücken
relation country
type political territorial entity
['Heigenbrücken', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Heigenbrücken property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P495
Q1048835 Q838948 Q201658
USER
Which political territories are the origin of min number of works of art and film genres ?
(c(Q838948)|c(Q201658),P495,c(Q1048835))
action argmin
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?m WHERE { { ?i property:P495 ?m . ?m rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q201658 } UNION { ?i property:P495 ?m . ?m rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q838948 } } GROUP BY ?m } . FILTER ( ?k = ?o ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?x WHERE { { ?e property:P495 ?x . ?e rdf:type ontology:Q201658 . ?x rdf:type ontology:Q1048835 } UNION { ?e property:P495 ?x . ?x rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q838948 } } GROUP BY ?x } } }
action argmin
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?m WHERE { { ?i property:country_of_origin ?m . ?m rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:film_genre } UNION { ?i property:country_of_origin ?m . ?m rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:work_of_art } } GROUP BY ?m } . FILTER ( ?k = ?o ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?x WHERE { { ?e property:country_of_origin ?x . ?e rdf:type ontology:film_genre . ?x rdf:type ontology:political_territorial_entity } UNION { ?e property:country_of_origin ?x . ?x rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:work_of_art } } GROUP BY ?x } } }
[]
political territorial entity work of art film genre
Q5705 Q691 Q763
SYSTEM
Catalonia, Papua New Guinea, Saint Kitts and Nevis
Q1747689 Q763 Q13353 Q781 Q5705 Q1823 Q691 Q234 Q2991382 Q9337 Q23635 Q31747
(c(Q838948)|c(Q201658),P495,c(Q1048835))
action argmin
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q201658
[ANSWERS] are the origin of min number of works of art and film genres
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?m WHERE { { ?i property:P495 ?m . ?m rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q201658 } UNION { ?i property:P495 ?m . ?m rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q838948 } } GROUP BY ?m } . FILTER ( ?k = ?o ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?x WHERE { { ?e property:P495 ?x . ?e rdf:type ontology:Q201658 . ?x rdf:type ontology:Q1048835 } UNION { ?e property:P495 ?x . ?x rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q838948 } } GROUP BY ?x } } }
Ancient Rome Saint Kitts and Nevis Montserrat Antigua and Barbuda Catalonia Aceh Papua New Guinea Flemish Region County of Provence Flemish Region Bermuda Irish Free State
Catalonia, Papua New Guinea and Saint Kitts and Nevis are the origin of min number of works of art and film genres
Catalonia Papua New Guinea Saint Kitts and Nevis
action argmin
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type film genre
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) ?m WHERE { { ?i property:country_of_origin ?m . ?m rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:film_genre } UNION { ?i property:country_of_origin ?m . ?m rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:work_of_art } } GROUP BY ?m } . FILTER ( ?k = ?o ) . { SELECT DISTINCT ( MIN ( ?h ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?x WHERE { { ?e property:country_of_origin ?x . ?e rdf:type ontology:film_genre . ?x rdf:type ontology:political_territorial_entity } UNION { ?e property:country_of_origin ?x . ?x rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:work_of_art } } GROUP BY ?x } } }
[]