Simple Question (Direct)
Simple Question
Q1118146
P106
Q12737077
USER
What is the job of Zsuzsa Koncz ?
(Q1118146,P106,c(Q12737077))
action filter_type
action find
entity Q1118146
relation P106
type Q12737077
['Q1118146', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1118146 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Zsuzsa Koncz
action filter_type
action find
entity Zsuzsa Koncz
relation occupation
type occupation
['Zsuzsa Koncz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Zsuzsa_Koncz property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q33231
SYSTEM
photographer
Q33231
(Q1118146,P106,c(Q12737077))
action filter_type
action find
entity Q1118146
relation P106
type Q12737077
The job of Zsuzsa Koncz is a [ANSWER]
['Q1118146', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1118146 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
photographer
The job of Zsuzsa Koncz is a photographer
photographer
action filter_type
action find
entity Zsuzsa Koncz
relation occupation
type occupation
['Zsuzsa Koncz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Zsuzsa_Koncz property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1118146
P19
Q56061
USER
Which administrative territory is the place of birth of Zsuzsa Koncz ?
(Q1118146,P19,c(Q56061))
action filter_type
action find
entity Q1118146
relation P19
type Q56061
['Q1118146', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1118146 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Zsuzsa Koncz
action filter_type
action find
entity Zsuzsa Koncz
relation place of birth
type administrative territorial entity
['Zsuzsa Koncz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Zsuzsa_Koncz property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q1118146,P19,c(Q56061))
action filter_type
action find
entity Q1118146
relation P19
type Q56061
[ANSWER] is the place of birth of Zsuzsa Koncz
['Q1118146', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1118146 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Budapest
Budapest is the place of birth of Zsuzsa Koncz
Budapest
action filter_type
action find
entity Zsuzsa Koncz
relation place of birth
type administrative territorial entity
['Zsuzsa Koncz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Zsuzsa_Koncz property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1118146
P21
Q290
USER
What is the sex of that person ?
(Q1781,P21,c(Q290))
action filter_type
action find
entity Q1118146
relation P21
type Q290
['Q1781', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q1118146 property:P21 ?l . ?l rdf:type ontology:Q290 }
Zsuzsa Koncz
action filter_type
action find
entity Zsuzsa Koncz
relation gender
type sex
['Budapest', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Zsuzsa_Koncz property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1781,P21,c(Q290))
action filter_type
action find
entity Q1118146
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q1781', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q1118146 property:P21 ?l . ?l rdf:type ontology:Q290 }
female
The sex of that person is the female
female
action filter_type
action find
entity Zsuzsa Koncz
relation gender
type sex
['Budapest', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Zsuzsa_Koncz property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1118146
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q6581072,P27,c(Q15617994))
action filter_type
action find
entity Q1118146
relation P27
type Q15617994
['Q6581072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1118146 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Zsuzsa Koncz
action filter_type
action find
entity Zsuzsa Koncz
relation country of citizenship
type designation for an administrative territorial entity
['female', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Zsuzsa_Koncz property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q6581072,P27,c(Q15617994))
action filter_type
action find
entity Q1118146
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q6581072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1118146 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Hungary
The Hungary is that person an inhabitant of
Hungary
action filter_type
action find
entity Zsuzsa Koncz
relation country of citizenship
type designation for an administrative territorial entity
['female', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Zsuzsa_Koncz property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q134318
P138
Q1190554 Q82799 Q56061
USER
Which administrative territories come from more number of events and names than Gagarin ?
(c(Q56061),P138,c(Q1190554)|c(Q82799))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action find_tuple_counts
relation P138
type Q56061
type Q82799
action count
action filter_multi_types
action find
entity Q134318
relation P138
type Q1190554
type Q82799
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?w WHERE { ?l rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1190554 ) ( ontology:Q82799 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q134318 property:P138 ?c . { { ?c rdf:type ontology:Q82799 } UNION { ?c rdf:type ontology:Q1190554 } } } } . FILTER ( ?z > ?j ) }
Gagarin
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action find_tuple_counts
relation named after
type administrative territorial entity
type name
action count
action filter_multi_types
action find
entity Gagarin
relation named after
type event
type name
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'name'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?w WHERE { ?l rdf:type ?n . VALUES ( ?n ) { ( ontology:event ) ( ontology:name ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Gagarin property:named_after ?c . { { ?c rdf:type ontology:name } UNION { ?c rdf:type ontology:event } } } } . FILTER ( ?z > ?j ) }
[]
event name administrative territorial entity
Q167895 Q639408 Q7974195
SYSTEM
Kalamata, Waterloo, Waterloo
Q639408 Q167895 Q7974195 Q1620075 Q3947651
(c(Q56061),P138,c(Q1190554)|c(Q82799))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action find_tuple_counts
relation P138
type Q56061
type Q82799
action count
action filter_multi_types
action find
entity Q134318
relation P138
type Q1190554
type Q82799
[ANSWERS] come from more number of events and names than Gagarin
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?w WHERE { ?l rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1190554 ) ( ontology:Q82799 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q134318 property:P138 ?c . { { ?c rdf:type ontology:Q82799 } UNION { ?c rdf:type ontology:Q1190554 } } } } . FILTER ( ?z > ?j ) }
Waterloo Kalamata Waterloo Hippos San Martino della Battaglia
Kalamata, Waterloo and Waterloo come from more number of events and names than Gagarin
Kalamata Waterloo Waterloo
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action find_tuple_counts
relation named after
type administrative territorial entity
type name
action count
action filter_multi_types
action find
entity Gagarin
relation named after
type event
type name
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'name'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?w WHERE { ?l rdf:type ?n . VALUES ( ?n ) { ( ontology:event ) ( ontology:name ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Gagarin property:named_after ?c . { { ?c rdf:type ontology:name } UNION { ?c rdf:type ontology:event } } } } . FILTER ( ?z > ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q970482
P138
Q1190554 Q82799 Q56061
USER
And what about Nacogdoches?
(c(Q56061),P138,c(Q1190554)|c(Q82799))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action find_tuple_counts
relation P138
type Q56061
type Q82799
action count
action filter_multi_types
action find
entity Q970482
relation P138
type Q1190554
type Q82799
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?r WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1190554 ) ( ontology:Q82799 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { resource:Q970482 property:P138 ?q . { { ?q rdf:type ontology:Q1190554 } UNION { ?q rdf:type ontology:Q82799 } } } } . FILTER ( ?d > ?j ) }
Nacogdoches
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action find_tuple_counts
relation named after
type administrative territorial entity
type name
action count
action filter_multi_types
action find
entity Nacogdoches
relation named after
type event
type name
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'name'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?r WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:event ) ( ontology:name ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { resource:Nacogdoches property:named_after ?q . { { ?q rdf:type ontology:event } UNION { ?q rdf:type ontology:name } } } } . FILTER ( ?d > ?j ) }
[]
event name administrative territorial entity
Q167895 Q639408 Q7974195
SYSTEM
Kalamata, Waterloo, Waterloo
Q639408 Q167895 Q7974195 Q1620075 Q3947651
(c(Q56061),P138,c(Q1190554)|c(Q82799))
action greater
action union
action find_tuple_counts
relation P138
type Q56061
type Q1190554
action find_tuple_counts
relation P138
type Q56061
type Q82799
action count
action filter_multi_types
action find
entity Q970482
relation P138
type Q1190554
type Q82799
[ANSWERS]
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?r WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1190554 ) ( ontology:Q82799 ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { resource:Q970482 property:P138 ?q . { { ?q rdf:type ontology:Q1190554 } UNION { ?q rdf:type ontology:Q82799 } } } } . FILTER ( ?d > ?j ) }
Waterloo Kalamata Waterloo Hippos San Martino della Battaglia
Kalamata Waterloo Waterloo
action greater
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type event
action find_tuple_counts
relation named after
type administrative territorial entity
type name
action count
action filter_multi_types
action find
entity Nacogdoches
relation named after
type event
type name
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'name'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?r WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:event ) ( ontology:name ) } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?j ) WHERE { resource:Nacogdoches property:named_after ?q . { { ?q rdf:type ontology:event } UNION { ?q rdf:type ontology:name } } } } . FILTER ( ?d > ?j ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q167895 Q639408 Q7974195
P19
Q502895
USER
Who were born at Kalamata, Waterloo and Waterloo ?
(c(Q502895),P19,Q167895) (c(Q502895),P19,Q639408) (c(Q502895),P19,Q7974195)
action union
action filter_type
action find_reverse
entity Q167895
relation P19
type Q502895
action filter_type
action find_reverse
entity Q639408
relation P19
type Q502895
action filter_type
action find_reverse
entity Q7974195
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q167895'] [{'concept': 'Q502895'}, 'P19', 'Q639408'] [{'concept': 'Q502895'}, 'P19', 'Q7974195']
SELECT DISTINCT ?c WHERE { { ?c property:P19 resource:Q167895 . ?c rdf:type ontology:Q502895 } UNION { ?c property:P19 resource:Q639408 . ?c rdf:type ontology:Q502895 } }
Kalamata Waterloo Waterloo
action union
action filter_type
action find_reverse
entity Kalamata
relation place of birth
type common name
action filter_type
action find_reverse
entity Waterloo
relation place of birth
type common name
action filter_type
action find_reverse
entity Waterloo
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kalamata'] [{'concept': 'common name'}, 'place of birth', 'Waterloo'] [{'concept': 'common name'}, 'place of birth', 'Waterloo']
SELECT DISTINCT ?c WHERE { { ?c property:place_of_birth resource:Kalamata . ?c rdf:type ontology:common_name } UNION { ?c property:place_of_birth resource:Waterloo . ?c rdf:type ontology:common_name } }
[]
common name
Q192923 Q223312 Q16512517
SYSTEM
Sokratis Papastathopoulos, Georgios Fotakis, Stavros Kostopoulos
Q234716 Q192923 Q7155964 Q1750520 Q3559918 Q13518215 Q7131554 Q7129829 Q7129832 Q3341831 Q16512517 Q14158533 Q451156 Q7710139 Q12881557 Q1820531 Q3563281 Q12873921 Q12879656 Q223312 Q16236483 Q3562118 Q15407958 Q6825101 Q1367117 Q4755363 Q655289 Q16194919 Q3876966 Q4763011 Q16512510 Q3407316 Q1389713 Q3108226 Q18019556 Q16329257 Q6430202 Q1651424 Q2903065 Q12875299 Q973712 Q21402244 Q898135 Q1700410 Q2543724 Q5241000 Q24804710 Q6375967 Q7172806 Q4735828 Q6270681 Q1262701 Q1338577 Q862132 Q3856221 Q1494730 Q4355739 Q3484474 Q977162 Q3928564 Q324631 Q16221629 Q402683 Q7422563 Q1374153 Q6859128 Q1650511 Q5180805 Q7816513
(c(Q502895),P19,Q167895) (c(Q502895),P19,Q639408) (c(Q502895),P19,Q7974195)
action union
action filter_type
action find_reverse
entity Q167895
relation P19
type Q502895
action filter_type
action find_reverse
entity Q639408
relation P19
type Q502895
action filter_type
action find_reverse
entity Q7974195
relation P19
type Q502895
And [ANSWERS] were born at Kalamata, Waterloo and Waterloo
[{'concept': 'Q502895'}, 'P19', 'Q167895'] [{'concept': 'Q502895'}, 'P19', 'Q639408'] [{'concept': 'Q502895'}, 'P19', 'Q7974195']
SELECT DISTINCT ?c WHERE { { ?c property:P19 resource:Q167895 . ?c rdf:type ontology:Q502895 } UNION { ?c property:P19 resource:Q639408 . ?c rdf:type ontology:Q502895 } }
Yanni Sokratis Papastathopoulos Pavlos Kouroupis Vassilis Photopoulos Aris Galanopoulos Yannis Livadas Panos Mihalopoulos Panagiotis Bachramis Panagiotis Benakis Nikos Economopoulos Stavros Kostopoulos Giannis Christopoulos William II of Villehardouin Thanasis Sentementes Nikos Moulatsiotis Nikolaos Georgeas Mihalis Papagiannakis Apostolos Georgiadis Konstantinos Koumoundouros Georgios Fotakis Spyros Risvanis Christos Kalantzis Yorgos Moutsios Metropolitan Gerasimos (Michaleas) of San Francisco Kenny Stamatopoulos Andreas Apostolopoulos John Iliopoulos Dimitrios Stefanakos Nikolaos Papanikolopoulos Angelos Skafidas Andreas Skias Prokopis Pavlopoulos Nikos Chatzis Giórgos Petréas Nikolaos Otoneos Miltos Paschalidis Konstantinos Ventiris Nikolaos Doxaras Aris San Youlika Skafida Maria Polydouri Kyle Sonnenburg Brandon Dietrich John Hecimovic Walter Bowman David Wharnsby Logan Stanley Katerina Cizek Peter Besler Alson Weber Jon Evans Duanne Moeser Norbert Mueller Bill Goldsworthy Michael McDonald Paul Ballantyne Christina Schmidt Simon Watson Geoff Ward Rachel Thevenard Bobby Bauer John Sullivan Ahren Spylo Sarah Manninen Todd Brooker Miller Fisher John Mitchell Craig Cardiff Tom Kruse
And Sokratis Papastathopoulos, Georgios Fotakis and Stavros Kostopoulos were born at Kalamata, Waterloo and Waterloo
Sokratis Papastathopoulos Georgios Fotakis Stavros Kostopoulos
action union
action filter_type
action find_reverse
entity Kalamata
relation place of birth
type common name
action filter_type
action find_reverse
entity Waterloo
relation place of birth
type common name
action filter_type
action find_reverse
entity Waterloo
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kalamata'] [{'concept': 'common name'}, 'place of birth', 'Waterloo'] [{'concept': 'common name'}, 'place of birth', 'Waterloo']
SELECT DISTINCT ?c WHERE { { ?c property:place_of_birth resource:Kalamata . ?c rdf:type ontology:common_name } UNION { ?c property:place_of_birth resource:Waterloo . ?c rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q192923 Q223312 Q16512517
P106
Q12737077
USER
Which occupations are the professions of those people ?
(Q192923,P106,c(Q12737077)) (Q223312,P106,c(Q12737077)) (Q16512517,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q192923', 'P106', {'concept': 'Q12737077'}] ['Q223312', 'P106', {'concept': 'Q12737077'}] ['Q16512517', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?u ) { ( resource:Q234716 ) ( resource:Q192923 ) ( resource:Q7155964 ) } . ?h rdf:type ontology:Q12737077 . ?u property:P106 ?h }
Sokratis Papastathopoulos Georgios Fotakis Stavros Kostopoulos
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Sokratis Papastathopoulos', 'occupation', {'concept': 'occupation'}] ['Georgios Fotakis', 'occupation', {'concept': 'occupation'}] ['Stavros Kostopoulos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?u ) { ( resource:Yanni ) ( resource:Sokratis_Papastathopoulos ) ( resource:Pavlos_Kouroupis ) } . ?h rdf:type ontology:occupation . ?u property:occupation ?h }
[]
occupation
Q937857 Q937857 Q806798
SYSTEM
banker for 3rd, association football player for 1st, 2nd
Q937857 Q937857 Q806798 Q82955
(Q192923,P106,c(Q12737077)) (Q223312,P106,c(Q12737077)) (Q16512517,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q192923', 'P106', {'concept': 'Q12737077'}] ['Q223312', 'P106', {'concept': 'Q12737077'}] ['Q16512517', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?u ) { ( resource:Q234716 ) ( resource:Q192923 ) ( resource:Q7155964 ) } . ?h rdf:type ontology:Q12737077 . ?u property:P106 ?h }
association football player association football player banker politician
The professions of those people are association football player, association football player and banker
association football player association football player banker
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Sokratis Papastathopoulos', 'occupation', {'concept': 'occupation'}] ['Georgios Fotakis', 'occupation', {'concept': 'occupation'}] ['Stavros Kostopoulos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?u ) { ( resource:Yanni ) ( resource:Sokratis_Papastathopoulos ) ( resource:Pavlos_Kouroupis ) } . ?h rdf:type ontology:occupation . ?u property:occupation ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P47
Q15617994
USER
Which administrative territories are adjacent to Hungary ?
(Q28,P47,c(Q15617994))
action filter_type
action find
entity Q28
relation P47
type Q15617994
['Q28', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q28 property:P47 ?q }
Hungary
action filter_type
action find
entity Hungary
relation shares border with
type designation for an administrative territorial entity
['Hungary', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hungary property:shares_border_with ?q }
[]
designation for an administrative territorial entity
Q218 Q212 Q214
SYSTEM
Romania, Ukraine, Slovakia
Q212 Q224 Q214 Q215 Q218 Q403
(Q28,P47,c(Q15617994))
action filter_type
action find
entity Q28
relation P47
type Q15617994
[ANSWERS] are adjacent to Hungary
['Q28', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q28 property:P47 ?q }
Ukraine Croatia Slovakia Slovenia Romania Serbia
Romania, Ukraine and Slovakia are adjacent to Hungary
Romania Ukraine Slovakia
action filter_type
action find
entity Hungary
relation shares border with
type designation for an administrative territorial entity
['Hungary', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hungary property:shares_border_with ?q }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q218 Q212 Q214
P17
Q1076486
USER
Which sports venues are located in Romania, Ukraine and Slovakia ?
(c(Q1076486),P17,Q218) (c(Q1076486),P17,Q212) (c(Q1076486),P17,Q214)
action union
action filter_type
action find_reverse
entity Q218
relation P17
type Q1076486
action filter_type
action find_reverse
entity Q212
relation P17
type Q1076486
action filter_type
action find_reverse
entity Q214
relation P17
type Q1076486
[{'concept': 'Q1076486'}, 'P17', 'Q218'] [{'concept': 'Q1076486'}, 'P17', 'Q212'] [{'concept': 'Q1076486'}, 'P17', 'Q214']
SELECT DISTINCT ?q WHERE { { ?q property:P17 resource:Q212 . ?q rdf:type ontology:Q1076486 } UNION { ?q property:P17 resource:Q218 . ?q rdf:type ontology:Q1076486 } }
Romania Ukraine Slovakia
action union
action filter_type
action find_reverse
entity Romania
relation country
type sports venue
action filter_type
action find_reverse
entity Ukraine
relation country
type sports venue
action filter_type
action find_reverse
entity Slovakia
relation country
type sports venue
[{'concept': 'sports venue'}, 'country', 'Romania'] [{'concept': 'sports venue'}, 'country', 'Ukraine'] [{'concept': 'sports venue'}, 'country', 'Slovakia']
SELECT DISTINCT ?q WHERE { { ?q property:country resource:Ukraine . ?q rdf:type ontology:sports_venue } UNION { ?q property:country resource:Romania . ?q rdf:type ontology:sports_venue } }
[]
sports venue
Q183529 Q2387920 Q669347
SYSTEM
Olimpiyskiy National Sports Complex, Sports Ground, Valeriy Lobanovskyi Dynamo Stadium
Q3495521 Q23894984 Q3496040 Q2262973 Q22667774 Q7596399 Q21977813 Q549018 Q3544993 Q6271260 Q2437251 Q7596363 Q20430189 Q7596441 Q7596446 Q7596459 Q7596461 Q7596406 Q7596424 Q7596428 Q7596436 Q7596415 Q5195610 Q12741248 Q12741247 Q12741258 Q3331098 Q7596404 Q7596401 Q7596403 Q16632728 Q7596362 Q7596430 Q2576588 Q5319126 Q1083434 Q7227046 Q2507146 Q4411902 Q4255295 Q4987032 Q16850406 Q2347283 Q283507 Q2058895 Q215399 Q190796 Q190797 Q2296961 Q21994302 Q2993138 Q2507017 Q675410 Q2068565 Q194572 Q2068577 Q2387920 Q2036094 Q9341111 Q2040668 Q4055343 Q2040184 Q3585 Q967887 Q27092933 Q12075801 Q4221880 Q4265832 Q1747436 Q2390029 Q7579344 Q1658859 Q1233005 Q2069150 Q2094801 Q4439087 Q2034376 Q2025714 Q183529 Q2042146 Q8061301 Q5014150 Q2041782 Q12118361 Q1984498 Q19800500 Q4439108 Q1003394 Q180479 Q6398755 Q2659939 Q12135865 Q2499385 Q4291572 Q669347 Q1970138 Q5425020 Q389699 Q203932 Q7227337 Q203921 Q7596486 Q7596480 Q7596489 Q5837445 Q3078794 Q6379120 Q7670493
(c(Q1076486),P17,Q218) (c(Q1076486),P17,Q212) (c(Q1076486),P17,Q214)
action union
action filter_type
action find_reverse
entity Q218
relation P17
type Q1076486
action filter_type
action find_reverse
entity Q212
relation P17
type Q1076486
action filter_type
action find_reverse
entity Q214
relation P17
type Q1076486
[ANSWERS] are located in Romania, Ukraine and Slovakia
[{'concept': 'Q1076486'}, 'P17', 'Q218'] [{'concept': 'Q1076486'}, 'P17', 'Q212'] [{'concept': 'Q1076486'}, 'P17', 'Q214']
SELECT DISTINCT ?q WHERE { { ?q property:P17 resource:Q212 . ?q rdf:type ontology:Q1076486 } UNION { ?q property:P17 resource:Q218 . ?q rdf:type ontology:Q1076486 } }
Stadionul Arcul de Triumf Stadionul Șoimii Stadionul Republicii Stadionul Emil Alexandrescu Viitorul Stadium Stadionul Francisc von Neumann Stadionul Unirea  Stadionul Municipal Stadionul Tudor Vladimirescu Stadionul Municipal Stadionul Farul Stadionul Areni Stadionul Ștrand Stadionul Nicolae Rainea Stadionul Prefab Stadionul Victoria Stadionul Viorel Mateianu Stadionul Jiul Stadionul Municipal Stadionul Municipal Stadionul Nicolae Dobrin Stadionul Mircea Chivu Stadionul Dacia Stadionul Delta Stadionul CFR Stadionul Orășenesc (Ovidiu) Stadionul Municipal Stadionul Iuliu Bodola Stadionul Ilie Oană Stadionul Iftimie Ilisei Ion Țiriac Sports Complex Stadionul 1 Mai Stadionul Municipal Stadionul Cotroceni Dynamo Training Center RSC Olimpiyskiy Polytechnic Stadium Yuvileiny Stadium Sevastopol Sports Complex Lafort Arena Bukovyna Stadium Sonyachny Training Center CSC Nika Stadium Avanhard Stadium Dynamo Stadium Arena Lviv Shakhtar Stadium Chornomorets Stadium Ukraina Stadium Avanhard Stadium Stadium Meteor Tsentralnyi Stadion (Cherkasy) Metalurh Stadium MCS Rukh City Stadium Stal Stadium Sports Ground Spartak Stadium Central Stadium (Zhytomyr) Zirka Stadium Avanhard Stadium Bannikov Stadium Metalist Stadium Kolos Stadium Sports Complex Nyva Avanhard Stadium Kirsha Training Centre Tsentralnyi Stadion (Vinnytsya) Slavutych-Arena Avanhard Stadium Sport Complex Podillya Illichivets Stadium Dnipro Arena Naftovyk Stadium Lokomotiv Republican Sports Complex JSC ZAZ Stadium Fiolent Stadium Army Sports Club Stadium Olimpiyskiy National Sports Complex Obolon Arena Yunist Stadium CSK ZSU Stadium Zakhidnyi Stadium Lokomotiv Stadium Tsentralnyi Stadion Mashynobudivnyk Stadium Yuri Gagarin Stadium Bukovel Donbass Arena KhTZ Stadium Metalurh Stadium Olimpik Sports Complex Avanhard Stadium Metalurh Stadium Valeriy Lobanovskyi Dynamo Stadium Oleksiy Butovskyi Vorskla Stadium FC Kremin Stadium Zvolen Ice Stadium Ondrej Nepela Arena Pomlé Stadium Poprad Ice Stadium Stadium Kolkáreň Stadium FC Petržalka 1898 Stadium MUDr. Ivan Chodák Stadium Myjava Trenčín Zimny Arena Zemplin Stadium TJ Baník Stadium
Olimpiyskiy National Sports Complex, Sports Ground and Valeriy Lobanovskyi Dynamo Stadium are located in Romania, Ukraine and Slovakia
Olimpiyskiy National Sports Complex Sports Ground Valeriy Lobanovskyi Dynamo Stadium
action union
action filter_type
action find_reverse
entity Romania
relation country
type sports venue
action filter_type
action find_reverse
entity Ukraine
relation country
type sports venue
action filter_type
action find_reverse
entity Slovakia
relation country
type sports venue
[{'concept': 'sports venue'}, 'country', 'Romania'] [{'concept': 'sports venue'}, 'country', 'Ukraine'] [{'concept': 'sports venue'}, 'country', 'Slovakia']
SELECT DISTINCT ?q WHERE { { ?q property:country resource:Ukraine . ?q rdf:type ontology:sports_venue } UNION { ?q property:country resource:Romania . ?q rdf:type ontology:sports_venue } }
[]