Simple Question (Direct)
Simple Question
Q7150619
P19
Q56061
USER
Where was Paul Ferris born ?
(Q7150619,P19,c(Q56061))
action filter_type
action find
entity Q7150619
relation P19
type Q56061
['Q7150619', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q7150619 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Paul Ferris
action filter_type
action find
entity Paul Ferris
relation place of birth
type administrative territorial entity
['Paul Ferris', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Ferris property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1828035
SYSTEM
Lisburn
Q1828035
(Q7150619,P19,c(Q56061))
action filter_type
action find
entity Q7150619
relation P19
type Q56061
Paul Ferris was born in [ANSWER]
['Q7150619', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q7150619 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Lisburn
Paul Ferris was born in Lisburn
Lisburn
action filter_type
action find
entity Paul Ferris
relation place of birth
type administrative territorial entity
['Paul Ferris', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Ferris property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7150619
P106
Q12737077
USER
Which occupation has Paul Ferris as his/her 's career ?
(Q7150619,P106,c(Q12737077))
action filter_type
action find
entity Q7150619
relation P106
type Q12737077
['Q7150619', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q7150619 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Paul Ferris
action filter_type
action find
entity Paul Ferris
relation occupation
type occupation
['Paul Ferris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Ferris property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q7150619,P106,c(Q12737077))
action filter_type
action find
entity Q7150619
relation P106
type Q12737077
Player [ANSWER] has Paul Ferris as his/her 's career
['Q7150619', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q7150619 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
Player association football player has Paul Ferris as his/her 's career
association football player
action filter_type
action find
entity Paul Ferris
relation occupation
type occupation
['Paul Ferris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Paul_Ferris property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7150619
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q7150619
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q7150619 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Paul Ferris
action filter_type
action find
entity Paul Ferris
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Paul_Ferris property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q7150619
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q7150619 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of that person
United Kingdom
action filter_type
action find
entity Paul Ferris
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Paul_Ferris property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q790938
P559
Q56061 Q83620 Q728937
USER
Which administrative territories are the terminus for around the same number of thoroughfares or railroad lines as Aviemore ?
(c(Q83620)|c(Q728937),P559,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action count
action filter_multi_types
action find_reverse
entity Q790938
relation P559
type Q83620
type Q728937
[[{'concept': 'Q83620'}, {'concept': 'Q728937'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?b WHERE { ?m rdf:type ?g . VALUES ( ?g ) { ( ontology:Q728937 ) ( ontology:Q83620 ) } } GROUP BY ?b } . FILTER ( ?d = ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:Q83620 ) ( ontology:Q728937 ) } } . ?k property:P559 resource:Q790938 } } }
Aviemore
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action count
action filter_multi_types
action find_reverse
entity Aviemore
relation terminus
type thoroughfare
type railroad line
[[{'concept': 'thoroughfare'}, {'concept': 'railroad line'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?b WHERE { ?m rdf:type ?g . VALUES ( ?g ) { ( ontology:railroad_line ) ( ontology:thoroughfare ) } } GROUP BY ?b } . FILTER ( ?d = ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:thoroughfare ) ( ontology:railroad_line ) } } . ?k property:terminus resource:Aviemore } } }
[]
administrative territorial entity thoroughfare railroad line
Q65 Q727 Q33959
SYSTEM
Los Angeles, Amsterdam, Nice
Q3051477 Q1020217 Q3112707 Q837211 Q3812238 Q69639 Q375314 Q12439 Q541055 Q82490 Q4825403 Q172157 Q575557 Q985313 Q687333 Q932159 Q3469728 Q796625 Q185453 Q588804 Q130191 Q5902931 Q723372 Q167155 Q2272 Q7811572 Q7651719 Q134620 Q992420 Q556989 Q1011611 Q727 Q2065223 Q42159 Q7986745 Q1009428 Q1011221 Q7050868 Q24826 Q6509 Q28327 Q5477618 Q5032535 Q4356873 Q33959 Q11839080 Q586 Q585 Q1017331 Q35433 Q66208 Q2796951 Q848909 Q1420136 Q754868 Q687945 Q125080 Q782155 Q12714367 Q49218 Q100 Q2734845 Q6820370 Q1020951 Q1616042 Q643944 Q257034 Q1571025 Q756103 Q25330 Q856860 Q517381 Q190847 Q1248150 Q2073801 Q1781385 Q1759693 Q2300663 Q2703030 Q794802 Q646784 Q79499 Q6275457 Q375905 Q10561690 Q643160 Q1735 Q17872 Q129610 Q766594 Q2086787 Q79804 Q895452 Q40325 Q1229951 Q953719 Q2290 Q237253 Q485186 Q634172 Q522362 Q790938 Q865872 Q65
(c(Q83620)|c(Q728937),P559,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action count
action filter_multi_types
action find_reverse
entity Q790938
relation P559
type Q83620
type Q728937
[ANSWERS] are the terminus for around the same number of thoroughfares or railroad lines as Aviemore
[[{'concept': 'Q83620'}, {'concept': 'Q728937'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?b WHERE { ?m rdf:type ?g . VALUES ( ?g ) { ( ontology:Q728937 ) ( ontology:Q83620 ) } } GROUP BY ?b } . FILTER ( ?d = ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:Q83620 ) ( ontology:Q728937 ) } } . ?k property:P559 resource:Q790938 } } }
Ellewoutsdijk Minehead Sedbury Scheveningen Bronygarth Göschenen Folkestone Detroit Oijen Lyme Regis Austrepollen Winchester Grand Tower Ingleton Middleton-by-Wirksworth Hart Salford Quays Edale Multan Badrinath Norwich Horda, Norway Narva-Jõesuu Kalamazoo Skien Tobermory, Ontario Svartnes Jyväskylä Fjærland Ankeny Portpatrick Amsterdam Port Grimaud Hanam West Vale Drymen Kincardine Nordrepollen Liverpool Burgas Örnsköldsvik Frafjord Cann River Mariehäll Nice Akdere, Silifke Bonn Oslo Westport, County Mayo Saint-Rhémy-en-Bosses Frutigen Cumberland Gap Fort William Herøya Cumberland San Bernardino Vaasa Jarrow Granvin Rochester Boston Henley-in-Arden Merritton, Ontario Ilkley Hessle Asaluyeh Kemble Mullan Lewes Trenton Hammond Dillenburg Alexandroupoli Wallsend Helmsley Björkhagen South Boston Gaylord Kilsby Otira Moffat Helena Jong, Norway Deerfield Lilla Alby Farnham Innsbruck Alice Springs Galway Bewdley Manitou Springs Sitka Bowling, West Dunbartonshire Springfield L'Estaque South Haven Porsgrunn Great Yarmouth Key West Banihal Bad Säckingen Aviemore Birstall Los Angeles
Los Angeles, Amsterdam and Nice are the terminus for around the same number of thoroughfares or railroad lines as Aviemore
Los Angeles Amsterdam Nice
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action count
action filter_multi_types
action find_reverse
entity Aviemore
relation terminus
type thoroughfare
type railroad line
[[{'concept': 'thoroughfare'}, {'concept': 'railroad line'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?b WHERE { ?m rdf:type ?g . VALUES ( ?g ) { ( ontology:railroad_line ) ( ontology:thoroughfare ) } } GROUP BY ?b } . FILTER ( ?d = ?r ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:thoroughfare ) ( ontology:railroad_line ) } } . ?k property:terminus resource:Aviemore } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q7944369
P559
Q56061 Q83620 Q728937
USER
And also tell me about Värpinge?
(c(Q83620)|c(Q728937),P559,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action count
action filter_multi_types
action find_reverse
entity Q7944369
relation P559
type Q83620
type Q728937
[[{'concept': 'Q83620'}, {'concept': 'Q728937'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?q ) WHERE { { ?s property:P559 ?i . ?i rdf:type ontology:Q56061 . ?s rdf:type ontology:Q83620 } UNION { ?s property:P559 ?i . ?i rdf:type ontology:Q56061 . ?s rdf:type ontology:Q728937 } } GROUP BY ?i } . FILTER ( ?q = ?e ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { { ?d rdf:type ontology:Q83620 } UNION { ?d rdf:type ontology:Q728937 } } . ?d property:P559 resource:Q7944369 } } }
Värpinge
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action count
action filter_multi_types
action find_reverse
entity Värpinge
relation terminus
type thoroughfare
type railroad line
[[{'concept': 'thoroughfare'}, {'concept': 'railroad line'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?q ) WHERE { { ?s property:terminus ?i . ?i rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:thoroughfare } UNION { ?s property:terminus ?i . ?i rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:railroad_line } } GROUP BY ?i } . FILTER ( ?q = ?e ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { { ?d rdf:type ontology:thoroughfare } UNION { ?d rdf:type ontology:railroad_line } } . ?d property:terminus resource:Värpinge } } }
[]
administrative territorial entity thoroughfare railroad line
Q1085 Q649 Q956
SYSTEM
Prague, Moscow, Beijing
Q938820 Q9832 Q11851639 Q23436 Q1017610 Q10084 Q7567083 Q2814 Q723164 Q23311 Q49550 Q38511 Q986100 Q6023 Q171357 Q956 Q959 Q649 Q211059 Q18808 Q671348 Q4093 Q987170 Q1763 Q1449 Q1757 Q36989 Q990112 Q40840 Q542966 Q3992 Q369947 Q84 Q2132 Q2133814 Q7944369 Q184383 Q263954 Q6816 Q466054 Q953081 Q180717 Q580016 Q12191 Q244289 Q588417 Q146659 Q1729 Q530309 Q1085
(c(Q83620)|c(Q728937),P559,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action count
action filter_multi_types
action find_reverse
entity Q7944369
relation P559
type Q83620
type Q728937
[ANSWERS]
[[{'concept': 'Q83620'}, {'concept': 'Q728937'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?q ) WHERE { { ?s property:P559 ?i . ?i rdf:type ontology:Q56061 . ?s rdf:type ontology:Q83620 } UNION { ?s property:P559 ?i . ?i rdf:type ontology:Q56061 . ?s rdf:type ontology:Q728937 } } GROUP BY ?i } . FILTER ( ?q = ?e ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { { ?d rdf:type ontology:Q83620 } UNION { ?d rdf:type ontology:Q728937 } } . ?d property:P559 resource:Q7944369 } } }
Virrat Eindhoven Annalankangas Edinburgh Horgoš Vlissingen South Drain Halle (Saale) Pop City of London Maó-Mahón Turku Ridder Lapua Kecskemét Beijing Vladivostok Moscow Jõhvi Pyongyang Worthing Glasgow Inčukalns Murmansk Genoa Helsinki Pardubice Littlehampton Tampere Angren, Uzbekistan Liège El Cajon London Victoria St Nicholas-at-Wade Värpinge Zeebrugge Afobaka Ulan-Ude Mahdia Orivesi Sousse Albina Nantes Athis-Mons Sewell, Chile Clapham Erfurt Karkkila Prague
Prague Moscow Beijing
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action count
action filter_multi_types
action find_reverse
entity Värpinge
relation terminus
type thoroughfare
type railroad line
[[{'concept': 'thoroughfare'}, {'concept': 'railroad line'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?q ) WHERE { { ?s property:terminus ?i . ?i rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:thoroughfare } UNION { ?s property:terminus ?i . ?i rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:railroad_line } } GROUP BY ?i } . FILTER ( ?q = ?e ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { { ?d rdf:type ontology:thoroughfare } UNION { ?d rdf:type ontology:railroad_line } } . ?d property:terminus resource:Värpinge } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1085 Q649 Q956
P276
Q1190554
USER
Which events have their location as those administrative territories ?
(c(Q1190554),P276,Q1085) (c(Q1190554),P276,Q649) (c(Q1190554),P276,Q956)
action filter_type
action find_reverse
entity prev_answer
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q1085'] [{'concept': 'Q1190554'}, 'P276', 'Q649'] [{'concept': 'Q1190554'}, 'P276', 'Q956']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1190554 . VALUES ( ?c ) { ( resource:Q938820 ) ( resource:Q9832 ) ( resource:Q11851639 ) } . ?m property:P276 ?c }
Prague Moscow Beijing
action filter_type
action find_reverse
entity prev_answer
relation location
type event
[{'concept': 'event'}, 'location', 'Prague'] [{'concept': 'event'}, 'location', 'Moscow'] [{'concept': 'event'}, 'location', 'Beijing']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:event . VALUES ( ?c ) { ( resource:Virrat ) ( resource:Eindhoven ) ( resource:Annalankangas ) } . ?m property:location ?c }
[]
event
Q4870163 Q219230 Q1083718
SYSTEM
Battle for Czech Radio, Marco Polo Bridge Incident, Battle of Tarutino
Q14566614 Q4870163 Q26486550 Q3494380 Q14687340 Q12046768 Q17282337 Q19597130 Q223622 Q1083718 Q598090 Q954923 Q4871081 Q219230
(c(Q1190554),P276,Q1085) (c(Q1190554),P276,Q649) (c(Q1190554),P276,Q956)
action filter_type
action find_reverse
entity prev_answer
relation P276
type Q1190554
[ANSWERS] have their location as those administrative territories
[{'concept': 'Q1190554'}, 'P276', 'Q1085'] [{'concept': 'Q1190554'}, 'P276', 'Q649'] [{'concept': 'Q1190554'}, 'P276', 'Q956']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1190554 . VALUES ( ?c ) { ( resource:Q938820 ) ( resource:Q9832 ) ( resource:Q11851639 ) } . ?m property:P276 ?c }
Prague Pride 2012 Battle for Czech Radio Prague Pride 2016 Battle of Prague Prague Pride 2013 Prague Pride 2011 Prague Pride 2014 Prague Pride 2015 Battle of Prague (1757) Battle of Tarutino Battle of Maloyaroslavets Battle of Zhongdu Battle of Gaoliang River Marco Polo Bridge Incident
Battle for Czech Radio, Marco Polo Bridge Incident and Battle of Tarutino have their location as those administrative territories
Battle for Czech Radio Marco Polo Bridge Incident Battle of Tarutino
action filter_type
action find_reverse
entity prev_answer
relation location
type event
[{'concept': 'event'}, 'location', 'Prague'] [{'concept': 'event'}, 'location', 'Moscow'] [{'concept': 'event'}, 'location', 'Beijing']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:event . VALUES ( ?c ) { ( resource:Virrat ) ( resource:Eindhoven ) ( resource:Annalankangas ) } . ?m property:location ?c }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4870163 Q219230 Q1083718
P276
Q56061
USER
Which administrative territories are the locations of those events ?
(Q4870163,P276,c(Q56061)) (Q219230,P276,c(Q56061)) (Q1083718,P276,c(Q56061))
action filter_type
action find
entity prev_answer
relation P276
type Q56061
['Q4870163', 'P276', {'concept': 'Q56061'}] ['Q219230', 'P276', {'concept': 'Q56061'}] ['Q1083718', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?h property:P276 ?l . ?l rdf:type ontology:Q56061 . VALUES ( ?h ) { ( resource:Q14566614 ) ( resource:Q4870163 ) ( resource:Q26486550 ) } }
Battle for Czech Radio Marco Polo Bridge Incident Battle of Tarutino
action filter_type
action find
entity prev_answer
relation location
type administrative territorial entity
['Battle for Czech Radio', 'location', {'concept': 'administrative territorial entity'}] ['Marco Polo Bridge Incident', 'location', {'concept': 'administrative territorial entity'}] ['Battle of Tarutino', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?h property:location ?l . ?l rdf:type ontology:administrative_territorial_entity . VALUES ( ?h ) { ( resource:Prague_Pride_2012 ) ( resource:Battle_for_Czech_Radio ) ( resource:Prague_Pride_2016 ) } }
[]
administrative territorial entity
Q1085 Q649 Q956
SYSTEM
Prague, Moscow, Beijing
Q1085 Q956 Q649 Q4452204
(Q4870163,P276,c(Q56061)) (Q219230,P276,c(Q56061)) (Q1083718,P276,c(Q56061))
action filter_type
action find
entity prev_answer
relation P276
type Q56061
[ANSWERS] are the locations of those events
['Q4870163', 'P276', {'concept': 'Q56061'}] ['Q219230', 'P276', {'concept': 'Q56061'}] ['Q1083718', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?h property:P276 ?l . ?l rdf:type ontology:Q56061 . VALUES ( ?h ) { ( resource:Q14566614 ) ( resource:Q4870163 ) ( resource:Q26486550 ) } }
Prague Beijing Moscow Tarutino, Russia
Prague, Moscow and Beijing are the locations of those events
Prague Moscow Beijing
action filter_type
action find
entity prev_answer
relation location
type administrative territorial entity
['Battle for Czech Radio', 'location', {'concept': 'administrative territorial entity'}] ['Marco Polo Bridge Incident', 'location', {'concept': 'administrative territorial entity'}] ['Battle of Tarutino', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?h property:location ?l . ?l rdf:type ontology:administrative_territorial_entity . VALUES ( ?h ) { ( resource:Prague_Pride_2012 ) ( resource:Battle_for_Czech_Radio ) ( resource:Prague_Pride_2016 ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q956
P6
Q502895
USER
Who is the head of the government of that administrative territory ?
(Q956,P6,c(Q502895))
action filter_type
action find
entity Q956
relation P6
type Q502895
['Q956', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q956 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Beijing
action filter_type
action find
entity Beijing
relation head of government
type common name
['Beijing', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Beijing property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1085
SYSTEM
Did you mean Prague ?
Q1085 Q649 Q956
(Q1085,P6,c(Q502895)) (Q649,P6,c(Q502895)) (Q956,P6,c(Q502895))
[ANSWER]
['Q1085', 'P6', {'concept': 'Q502895'}] ['Q649', 'P6', {'concept': 'Q502895'}] ['Q956', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q956 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Prague Moscow Beijing
Did you mean Prague ?
Prague
['Prague', 'head of government', {'concept': 'common name'}] ['Moscow', 'head of government', {'concept': 'common name'}] ['Beijing', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Beijing property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Beijing. Could you tell me the answer for that?
(Q956,P6,c(Q502895))
Q956
['Q956', 'P6', {'concept': 'Q502895'}]
['Beijing', 'head of government', {'concept': 'common name'}]
[]
Q711077
SYSTEM
Wang Anshun
Q711077
(Q956,P6,c(Q502895))
action filter_type
action find
entity Q956
relation P6
type Q502895
The head of the government of that administrative territory is the [ANSWER]
['Q956', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q956 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Wang Anshun
The head of the government of that administrative territory is the Wang Anshun
Wang Anshun
action filter_type
action find
entity Beijing
relation head of government
type common name
['Beijing', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Beijing property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]