Simple Question (Direct)
Simple Question
Q21416397
P1303
Q34379
USER
Which musical instrument is played by Imre Keéri-Szántó ?
(Q21416397,P1303,c(Q34379))
action filter_type
action find
entity Q21416397
relation P1303
type Q34379
['Q21416397', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { resource:Q21416397 property:P1303 ?d . ?d rdf:type ontology:Q34379 }
Imre Keéri-Szántó
action filter_type
action find
entity Imre Keéri-Szántó
relation instrument
type musical instrument
['Imre Keéri-Szántó', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { resource:Imre_Keéri-Szántó property:instrument ?d . ?d rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q21416397,P1303,c(Q34379))
action filter_type
action find
entity Q21416397
relation P1303
type Q34379
[ANSWER] is played by Imre Keéri-Szántó
['Q21416397', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { resource:Q21416397 property:P1303 ?d . ?d rdf:type ontology:Q34379 }
piano
Piano is played by Imre Keéri-Szántó
piano
action filter_type
action find
entity Imre Keéri-Szántó
relation instrument
type musical instrument
['Imre Keéri-Szántó', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { resource:Imre_Keéri-Szántó property:instrument ?d . ?d rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21416397
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q5994,P19,c(Q56061))
action filter_type
action find
entity Q21416397
relation P19
type Q56061
['Q5994', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q21416397 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Imre Keéri-Szántó
action filter_type
action find
entity Imre Keéri-Szántó
relation place of birth
type administrative territorial entity
['piano', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Imre_Keéri-Szántó property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q5994,P19,c(Q56061))
action filter_type
action find
entity Q21416397
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q5994', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q21416397 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Budapest
Budapest is the birthplace of that person
Budapest
action filter_type
action find
entity Imre Keéri-Szántó
relation place of birth
type administrative territorial entity
['piano', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Imre_Keéri-Szántó property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q15617994 Q486972
USER
How many administrative territories or human settlements are twin cities of that administrative territory ?
(Q1781,P190,c(Q15617994)) (Q1781,P190,c(Q486972)) (Q1781,P190,c(Q15617994)) (Q1781,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q1781
relation P190
type Q15617994
action filter_type
action find
entity Q1781
relation P190
type Q486972
['Q1781', 'P190', {'concept': 'Q15617994'}] ['Q1781', 'P190', {'concept': 'Q486972'}] ['Q1781', 'P190', {'concept': 'Q15617994'}] ['Q1781', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { resource:Q1781 property:P190 ?s . ?s rdf:type ontology:Q15617994 } UNION { ?s rdf:type ontology:Q486972 . resource:Q1781 property:P190 ?s } }
action count
action union
action filter_type
action find
entity Budapest
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Budapest
relation sister city
type human settlement
['Budapest', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Budapest', 'sister city', {'concept': 'human settlement'}] ['Budapest', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Budapest', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { resource:Budapest property:sister_city ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?s rdf:type ontology:human_settlement . resource:Budapest property:sister_city ?s } }
[]
designation for an administrative territorial entity human settlement
SYSTEM
4
Q102317 Q58719 Q31487 Q53194
(Q1781,P190,c(Q15617994)) (Q1781,P190,c(Q486972)) (Q1781,P190,c(Q15617994)) (Q1781,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q1781
relation P190
type Q15617994
action filter_type
action find
entity Q1781
relation P190
type Q486972
[ANSWER]
['Q1781', 'P190', {'concept': 'Q15617994'}] ['Q1781', 'P190', {'concept': 'Q486972'}] ['Q1781', 'P190', {'concept': 'Q15617994'}] ['Q1781', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { resource:Q1781 property:P190 ?s . ?s rdf:type ontology:Q15617994 } UNION { ?s rdf:type ontology:Q486972 . resource:Q1781 property:P190 ?s } }
Kielce Mondragone Kraków San Vito al Tagliamento
4
action count
action union
action filter_type
action find
entity Budapest
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Budapest
relation sister city
type human settlement
['Budapest', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Budapest', 'sister city', {'concept': 'human settlement'}] ['Budapest', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Budapest', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { resource:Budapest property:sister_city ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?s rdf:type ontology:human_settlement . resource:Budapest property:sister_city ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1781
P1376
Q1162835
USER
Which districts of Hungary have Budapest have their center of administration ?
(Q1781,P1376,c(Q1162835))
action filter_type
action find
entity Q1781
relation P1376
type Q1162835
['Q1781', 'P1376', {'concept': 'Q1162835'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1162835 . resource:Q1781 property:P1376 ?t }
Budapest
action filter_type
action find
entity Budapest
relation capital of
type district of Hungary
['Budapest', 'capital of', {'concept': 'district of Hungary'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:district_of_Hungary . resource:Budapest property:capital_of ?t }
[]
district of Hungary
Q1125982 Q850872 Q850912
SYSTEM
Central District, Buda District, Budakörnyék District
Q1125982 Q850872 Q850912
(Q1781,P1376,c(Q1162835))
action filter_type
action find
entity Q1781
relation P1376
type Q1162835
[ANSWERS] have Budapest have their center of administration
['Q1781', 'P1376', {'concept': 'Q1162835'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q1162835 . resource:Q1781 property:P1376 ?t }
Central District Buda District Budakörnyék District
Central District, Buda District and Budakörnyék District have Budapest have their center of administration
Central District Buda District Budakörnyék District
action filter_type
action find
entity Budapest
relation capital of
type district of Hungary
['Budapest', 'capital of', {'concept': 'district of Hungary'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:district_of_Hungary . resource:Budapest property:capital_of ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1781
P159
Q7210356
USER
Which political organizations have their head office location at Budapest ?
(c(Q7210356),P159,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q1781']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q1781 . ?j rdf:type ontology:Q7210356 }
Budapest
action filter_type
action find_reverse
entity Budapest
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Budapest']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Budapest . ?j rdf:type ontology:political_organization }
[]
political organization
Q387006 Q277879 Q633442
SYSTEM
Fidesz, Christian Democratic People's Party, Jobbik
Q897658 Q684639 Q1472406 Q387006 Q839826 Q726106 Q15402991 Q1051742 Q277879 Q589489 Q633442 Q1006287 Q200599 Q15099528 Q988305 Q13543828 Q753223 Q16412 Q7141085 Q584730 Q766275 Q54801
(c(Q7210356),P159,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P159
type Q7210356
[ANSWERS] have their head office location at Budapest
[{'concept': 'Q7210356'}, 'P159', 'Q1781']
SELECT DISTINCT ?j WHERE { ?j property:P159 resource:Q1781 . ?j rdf:type ontology:Q7210356 }
Hungarian Social Democratic Party Democratic Community of Welfare and Freedom Unity Party Fidesz Social Democratic Party Workers' Party of Hungary 2006 Modern Hungary Movement Hungarian Justice and Life Party Christian Democratic People's Party Green Left Jobbik Independent Smallholders, Agrarian Workers and Civic Party Alliance of Free Democrats Hungarian Social Democrats' Party - Szocdemek Unity Party Hungarian Solidarity Movement Hungarian Socialist Party Hungarian Socialist Workers' Party Party of Hungarian Life Hungarian Communist Workers' Party Hungarian Democratic Forum Politics Can Be Different
Fidesz, Christian Democratic People's Party and Jobbik have their head office location at Budapest
Fidesz Christian Democratic People's Party Jobbik
action filter_type
action find_reverse
entity Budapest
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Budapest']
SELECT DISTINCT ?j WHERE { ?j property:headquarters_location resource:Budapest . ?j rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1781
P36
Q1162835
USER
Which districts of Hungary have Budapest as their capital ?
(c(Q1162835),P36,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P36
type Q1162835
[{'concept': 'Q1162835'}, 'P36', 'Q1781']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1162835 . ?l property:P36 resource:Q1781 }
Budapest
action filter_type
action find_reverse
entity Budapest
relation capital
type district of Hungary
[{'concept': 'district of Hungary'}, 'capital', 'Budapest']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:district_of_Hungary . ?l property:capital resource:Budapest }
[]
district of Hungary
Q1125982 Q850872 Q850912
SYSTEM
Central District, Buda District, Budakörnyék District
Q1125982 Q850872 Q850912
(c(Q1162835),P36,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P36
type Q1162835
[ANSWERS] have Budapest as their capital
[{'concept': 'Q1162835'}, 'P36', 'Q1781']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1162835 . ?l property:P36 resource:Q1781 }
Central District Buda District Budakörnyék District
Central District, Buda District and Budakörnyék District have Budapest as their capital
Central District Buda District Budakörnyék District
action filter_type
action find_reverse
entity Budapest
relation capital
type district of Hungary
[{'concept': 'district of Hungary'}, 'capital', 'Budapest']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:district_of_Hungary . ?l property:capital resource:Budapest }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1125982 Q850872 Q850912
P1376
Q56061
USER
Which administrative territories are center of administration for those districts of Hungary ?
(c(Q56061),P1376,Q1125982) (c(Q56061),P1376,Q850872) (c(Q56061),P1376,Q850912)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q1125982'] [{'concept': 'Q56061'}, 'P1376', 'Q850872'] [{'concept': 'Q56061'}, 'P1376', 'Q850912']
SELECT DISTINCT ?s WHERE { ?s property:P1376 ?w . VALUES ( ?w ) { ( resource:Q1125982 ) ( resource:Q850872 ) ( resource:Q850912 ) } . ?s rdf:type ontology:Q56061 }
Central District Buda District Budakörnyék District
action filter_type
action find_reverse
entity prev_answer
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Central District'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Buda District'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Budakörnyék District']
SELECT DISTINCT ?s WHERE { ?s property:capital_of ?w . VALUES ( ?w ) { ( resource:Central_District ) ( resource:Buda_District ) ( resource:Budakörnyék_District ) } . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(c(Q56061),P1376,Q1125982) (c(Q56061),P1376,Q850872) (c(Q56061),P1376,Q850912)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q56061
[ANSWER] is center of administration for those districts of Hungary
[{'concept': 'Q56061'}, 'P1376', 'Q1125982'] [{'concept': 'Q56061'}, 'P1376', 'Q850872'] [{'concept': 'Q56061'}, 'P1376', 'Q850912']
SELECT DISTINCT ?s WHERE { ?s property:P1376 ?w . VALUES ( ?w ) { ( resource:Q1125982 ) ( resource:Q850872 ) ( resource:Q850912 ) } . ?s rdf:type ontology:Q56061 }
Budapest
Budapest is center of administration for those districts of Hungary
Budapest
action filter_type
action find_reverse
entity prev_answer
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Central District'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Buda District'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Budakörnyék District']
SELECT DISTINCT ?s WHERE { ?s property:capital_of ?w . VALUES ( ?w ) { ( resource:Central_District ) ( resource:Buda_District ) ( resource:Budakörnyék_District ) } . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1781
P1427
Q22348500
USER
Which cycling race class has its origin at that administrative territory ?
(c(Q22348500),P1427,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P1427
type Q22348500
[{'concept': 'Q22348500'}, 'P1427', 'Q1781']
SELECT DISTINCT ?i WHERE { ?i property:P1427 resource:Q1781 . ?i rdf:type ontology:Q22348500 }
Budapest
action filter_type
action find_reverse
entity Budapest
relation start point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Budapest']
SELECT DISTINCT ?i WHERE { ?i property:start_point resource:Budapest . ?i rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
Q26208898
SYSTEM
2016 Visegrad 4 Kerékpárverseny
Q26208898
(c(Q22348500),P1427,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P1427
type Q22348500
[ANSWER] has its origin at that administrative territory
[{'concept': 'Q22348500'}, 'P1427', 'Q1781']
SELECT DISTINCT ?i WHERE { ?i property:P1427 resource:Q1781 . ?i rdf:type ontology:Q22348500 }
2016 Visegrad 4 Kerékpárverseny
2016 Visegrad 4 Kerékpárverseny has its origin at that administrative territory
2016 Visegrad 4 Kerékpárverseny
action filter_type
action find_reverse
entity Budapest
relation start point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'start point', 'Budapest']
SELECT DISTINCT ?i WHERE { ?i property:start_point resource:Budapest . ?i rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26208898
P1346
Q502895
USER
Which people were the winner of that cycling race class ?
(Q26208898,P1346,c(Q502895))
action filter_type
action find
entity Q26208898
relation P1346
type Q502895
['Q26208898', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q26208898 property:P1346 ?x . ?x rdf:type ontology:Q502895 }
2016 Visegrad 4 Kerékpárverseny
action filter_type
action find
entity 2016 Visegrad 4 Kerékpárverseny
relation winner
type common name
['2016 Visegrad 4 Kerékpárverseny', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:2016_Visegrad_4_Kerékpárverseny property:winner ?x . ?x rdf:type ontology:common_name }
[]
common name
Q1687750 Q1166024 Q3881585
SYSTEM
Marek Čanecký, Dariusz Batek, Oleksandr Polivoda
Q1687750 Q1166024 Q3881585
(Q26208898,P1346,c(Q502895))
action filter_type
action find
entity Q26208898
relation P1346
type Q502895
[ANSWERS] were the winner of that cycling race class
['Q26208898', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q26208898 property:P1346 ?x . ?x rdf:type ontology:Q502895 }
Marek Čanecký Dariusz Batek Oleksandr Polivoda
Marek Čanecký, Dariusz Batek and Oleksandr Polivoda were the winner of that cycling race class
Marek Čanecký Dariusz Batek Oleksandr Polivoda
action filter_type
action find
entity 2016 Visegrad 4 Kerékpárverseny
relation winner
type common name
['2016 Visegrad 4 Kerékpárverseny', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:2016_Visegrad_4_Kerékpárverseny property:winner ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1781
P840
Q15850590
USER
Which theatrical genre has its narrative set in Budapest ?
(c(Q15850590),P840,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P840
type Q15850590
[{'concept': 'Q15850590'}, 'P840', 'Q1781']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15850590 . ?u property:P840 resource:Q1781 }
Budapest
action filter_type
action find_reverse
entity Budapest
relation narrative location
type theatrical genre
[{'concept': 'theatrical genre'}, 'narrative location', 'Budapest']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:theatrical_genre . ?u property:narrative_location resource:Budapest }
[]
theatrical genre
Q470631
SYSTEM
A padlás
Q470631
(c(Q15850590),P840,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P840
type Q15850590
[ANSWER] has its narrative set in Budapest
[{'concept': 'Q15850590'}, 'P840', 'Q1781']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15850590 . ?u property:P840 resource:Q1781 }
A padlás
A padlás has its narrative set in Budapest
A padlás
action filter_type
action find_reverse
entity Budapest
relation narrative location
type theatrical genre
[{'concept': 'theatrical genre'}, 'narrative location', 'Budapest']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:theatrical_genre . ?u property:narrative_location resource:Budapest }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q470631
P676
Q502895
USER
Who penned the lyrics for that theatrical genre ?
(Q470631,P676,c(Q502895))
action filter_type
action find
entity Q470631
relation P676
type Q502895
['Q470631', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q470631 property:P676 ?s . ?s rdf:type ontology:Q502895 }
A padlás
action filter_type
action find
entity A padlás
relation lyrics by
type common name
['A padlás', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:A_padlás property:lyrics_by ?s . ?s rdf:type ontology:common_name }
[]
common name
Q1300225
SYSTEM
Dusán Sztevanovity
Q1300225
(Q470631,P676,c(Q502895))
action filter_type
action find
entity Q470631
relation P676
type Q502895
[ANSWER] penned the lyrics for that theatrical genre
['Q470631', 'P676', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q470631 property:P676 ?s . ?s rdf:type ontology:Q502895 }
Dusán Sztevanovity
Dusán Sztevanovity penned the lyrics for that theatrical genre
Dusán Sztevanovity
action filter_type
action find
entity A padlás
relation lyrics by
type common name
['A padlás', 'lyrics by', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:A_padlás property:lyrics_by ?s . ?s rdf:type ontology:common_name }
[]