Simple Question (Direct)
Simple Question
Q1461938
P27
Q15617994
USER
Which administrative territory is the native country of Szabolcs Várady ?
(Q1461938,P27,c(Q15617994))
action filter_type
action find
entity Q1461938
relation P27
type Q15617994
['Q1461938', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q1461938 property:P27 ?k }
Szabolcs Várady
action filter_type
action find
entity Szabolcs Várady
relation country of citizenship
type designation for an administrative territorial entity
['Szabolcs Várady', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Szabolcs_Várady property:country_of_citizenship ?k }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
(Q1461938,P27,c(Q15617994))
action filter_type
action find
entity Q1461938
relation P27
type Q15617994
[ANSWER] is the native country of Szabolcs Várady
['Q1461938', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q1461938 property:P27 ?k }
Hungary
Hungary is the native country of Szabolcs Várady
Hungary
action filter_type
action find
entity Szabolcs Várady
relation country of citizenship
type designation for an administrative territorial entity
['Szabolcs Várady', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Szabolcs_Várady property:country_of_citizenship ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P20
Q502895
USER
Which people have that administrative territory as the area of death ?
(c(Q502895),P20,Q28)
action filter_type
action find_reverse
entity Q28
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q28']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P20 resource:Q28 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Hungary']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:place_of_death resource:Hungary }
[]
common name
Q526603 Q61978 Q453056
SYSTEM
Andy Mate, Judith of Schweinfurt, Bořivoj II, Duke of Bohemia
Q61978 Q21140779 Q590355 Q21665368 Q122849 Q2619069 Q329234 Q4024171 Q349598 Q16990476 Q5345409 Q369755 Q2359853 Q7983520 Q1698323 Q526603 Q753680 Q841729 Q662236 Q453056 Q327877 Q4527699 Q5505002 Q4106182 Q19902310 Q1001715 Q4722756 Q175954 Q932218 Q5371367 Q1111695 Q3716774 Q744333 Q1105358 Q951404 Q97935 Q1696767 Q1714807 Q12018693 Q1298652
(c(Q502895),P20,Q28)
action filter_type
action find_reverse
entity Q28
relation P20
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P20', 'Q28']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P20 resource:Q28 }
Judith of Schweinfurt Imre Farkaszinski Karl Sudrich Paul Theer Hans Schlenck François Baron de Tott Lajos Kada Zeno Vendler Alajos Szokolyi Giulio Foscolo Joachim Carl von Prehn Beloš Vukanović Aleksander Małecki Werner Wolff Johannes Schele Andy Mate Catherine of Hungary József Vágó Bálint Alsáni Bořivoj II, Duke of Bohemia Nicholas the Small Kurt Schumacher Fritz Rentrop Mirza Valiyev George Hay, 5th Earl of Kinnoull Lajos Fischer Alfred Großrock Johannes de Stokem László Vadnay Emil Martonffy Gyula Kiss Dušan Popović László Lachos Gábor Kaszás Gábor Obitz Ludwig Scharf Johann von Bucka János Reismann Géza Borovszky Sieghard VII.
Andy Mate, Judith of Schweinfurt and Bořivoj II, Duke of Bohemia have that administrative territory as the area of death
Andy Mate Judith of Schweinfurt Bořivoj II, Duke of Bohemia
action filter_type
action find_reverse
entity Hungary
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Hungary']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:place_of_death resource:Hungary }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28
P495
Q15416
USER
What are that administrative territory a country of origin of ?
(c(Q15416),P495,Q526603) (c(Q15416),P495,Q61978) (c(Q15416),P495,Q453056)
action filter_type
action find_reverse
entity Q28
relation P495
type Q15416
[{'concept': 'Q15416'}, 'P495', 'Q526603'] [{'concept': 'Q15416'}, 'P495', 'Q61978'] [{'concept': 'Q15416'}, 'P495', 'Q453056']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15416 . ?e property:P495 resource:Q28 }
Hungary
action filter_type
action find_reverse
entity Hungary
relation country of origin
type television program
[{'concept': 'television program'}, 'country of origin', 'Andy Mate'] [{'concept': 'television program'}, 'country of origin', 'Judith of Schweinfurt'] [{'concept': 'television program'}, 'country of origin', 'Bořivoj II, Duke of Bohemia']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:television_program . ?e property:country_of_origin resource:Hungary }
[]
television program
Q32235 Q260008 Q1179826
SYSTEM
Stalin, The Hunchback, Work Matters
Q14197364 Q8076656 Q23901182 Q360486 Q254771 Q32235 Q1179826 Q7647279 Q21074548 Q22338788 Q1289635 Q1105241 Q15072872 Q1175425 Q16522019 Q1414839 Q12814952 Q1161091 Q1162745 Q832913 Q873171 Q1028923 Q738186 Q12042193 Q20440016 Q19692544 Q1319915 Q11867218 Q21292048 Q19159336 Q21707917 Q21409357 Q948625 Q260008 Q15072820 Q2568103 Q20439870 Q791106 Q21152242 Q1177421 Q1526426
(c(Q15416),P495,Q526603) (c(Q15416),P495,Q61978) (c(Q15416),P495,Q453056)
action filter_type
action find_reverse
entity Q28
relation P495
type Q15416
That administrative territory a country of origin of are Ivan [ANSWERS]
[{'concept': 'Q15416'}, 'P495', 'Q526603'] [{'concept': 'Q15416'}, 'P495', 'Q61978'] [{'concept': 'Q15416'}, 'P495', 'Q453056']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15416 . ?e property:P495 resource:Q28 }
Osztrigás Mici Áll az alku Hungary's Got Talent The Mézga Family Beugró Stalin Work Matters Survivor A-Sziget Csupajóvár Csak színház és más semmi Sobri Kastély csillagfényben Mazsola és Tádé Megasztár Legacy from the Future - Fantastic Adventures of Family Mézga X-Faktor Comedians Híradó Magyarország, szeretlek! Való Világ Csillag születik Gustav (cartoon) Hungarian Folktales Legacy from the Future - Fantastic Adventures of Family Mézga Virtuosos Rising Star The Voice – Magyarország hangja Santa Claus and the Magic Drum The End of Eternity Egy gazdag hölgy szeszélye Demimonde Aranyélet Szomszédok The Hunchback Marci és a kapitány Mint oldott kéve The Ambassador to Bern Barátok közt A fekete város Mindenből egy van Meister Eder und sein Pumuckl
That administrative territory a country of origin of are Ivan Stalin, The Hunchback and Work Matters
Stalin The Hunchback Work Matters
action filter_type
action find_reverse
entity Hungary
relation country of origin
type television program
[{'concept': 'television program'}, 'country of origin', 'Andy Mate'] [{'concept': 'television program'}, 'country of origin', 'Judith of Schweinfurt'] [{'concept': 'television program'}, 'country of origin', 'Bořivoj II, Duke of Bohemia']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:television_program . ?e property:country_of_origin resource:Hungary }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q32235 Q260008 Q1179826
P840
Q56061
USER
What locations are those television programs set in ?
(Q32235,P840,c(Q56061)) (Q260008,P840,c(Q56061)) (Q1179826,P840,c(Q56061))
action filter_type
action find
entity prev_answer
relation P840
type Q56061
['Q32235', 'P840', {'concept': 'Q56061'}] ['Q260008', 'P840', {'concept': 'Q56061'}] ['Q1179826', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . ?e property:P840 ?x . VALUES ( ?e ) { ( resource:Q14197364 ) ( resource:Q8076656 ) ( resource:Q23901182 ) } }
Stalin The Hunchback Work Matters
action filter_type
action find
entity prev_answer
relation narrative location
type administrative territorial entity
['Stalin', 'narrative location', {'concept': 'administrative territorial entity'}] ['The Hunchback', 'narrative location', {'concept': 'administrative territorial entity'}] ['Work Matters', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . ?e property:narrative_location ?x . VALUES ( ?e ) { ( resource:Osztrigás_Mici ) ( resource:Áll_az_alku ) ( resource:Hungary's_Got_Talent ) } }
[]
administrative territorial entity
Q649 Q90 Q1781
SYSTEM
Moscow, Paris, Budapest
Q649 Q90 Q1781
(Q32235,P840,c(Q56061)) (Q260008,P840,c(Q56061)) (Q1179826,P840,c(Q56061))
action filter_type
action find
entity prev_answer
relation P840
type Q56061
Those television programs are set in [ANSWERS]
['Q32235', 'P840', {'concept': 'Q56061'}] ['Q260008', 'P840', {'concept': 'Q56061'}] ['Q1179826', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . ?e property:P840 ?x . VALUES ( ?e ) { ( resource:Q14197364 ) ( resource:Q8076656 ) ( resource:Q23901182 ) } }
Moscow Paris Budapest
Those television programs are set in Moscow, Paris and Budapest
Moscow Paris Budapest
action filter_type
action find
entity prev_answer
relation narrative location
type administrative territorial entity
['Stalin', 'narrative location', {'concept': 'administrative territorial entity'}] ['The Hunchback', 'narrative location', {'concept': 'administrative territorial entity'}] ['Work Matters', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . ?e property:narrative_location ?x . VALUES ( ?e ) { ( resource:Osztrigás_Mici ) ( resource:Áll_az_alku ) ( resource:Hungary's_Got_Talent ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q260008
P1040
Q502895
USER
Who has editted The Hunchback ?
(Q260008,P1040,c(Q502895))
action filter_type
action find
entity Q260008
relation P1040
type Q502895
['Q260008', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q260008 property:P1040 ?r . ?r rdf:type ontology:Q502895 }
The Hunchback
action filter_type
action find
entity The Hunchback
relation film editor
type common name
['The Hunchback', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Hunchback property:film_editor ?r . ?r rdf:type ontology:common_name }
[]
common name
Q541826
SYSTEM
Jay Cassidy
Q541826
(Q260008,P1040,c(Q502895))
action filter_type
action find
entity Q260008
relation P1040
type Q502895
[ANSWER] has editted The Hunchback
['Q260008', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q260008 property:P1040 ?r . ?r rdf:type ontology:Q502895 }
Jay Cassidy
Jay Cassidy has editted The Hunchback
Jay Cassidy
action filter_type
action find
entity The Hunchback
relation film editor
type common name
['The Hunchback', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:The_Hunchback property:film_editor ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q260008
P58
Q502895
USER
Who was the screenwriter for The Hunchback ?
(Q260008,P58,c(Q502895))
action filter_type
action find
entity Q260008
relation P58
type Q502895
['Q260008', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q260008 property:P58 ?q . ?q rdf:type ontology:Q502895 }
The Hunchback
action filter_type
action find
entity The Hunchback
relation screenwriter
type common name
['The Hunchback', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_Hunchback property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
common name
Q535
SYSTEM
Victor Hugo
Q535
(Q260008,P58,c(Q502895))
action filter_type
action find
entity Q260008
relation P58
type Q502895
The screenwriter for The Hunchback was also [ANSWER]
['Q260008', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q260008 property:P58 ?q . ?q rdf:type ontology:Q502895 }
Victor Hugo
The screenwriter for The Hunchback was also Victor Hugo
Victor Hugo
action filter_type
action find
entity The Hunchback
relation screenwriter
type common name
['The Hunchback', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_Hunchback property:screenwriter ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q260008
P915
Q56061
USER
What were the locations of filming that television program ?
(Q535,P915,c(Q56061))
action filter_type
action find
entity Q260008
relation P915
type Q56061
['Q535', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q260008 property:P915 ?j }
The Hunchback
action filter_type
action find
entity The Hunchback
relation filming location
type administrative territorial entity
['Victor Hugo', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:The_Hunchback property:filming_location ?j }
[]
administrative territorial entity
Q1781 Q1085
SYSTEM
Budapest, Prague
Q1781 Q1085
(Q535,P915,c(Q56061))
action filter_type
action find
entity Q260008
relation P915
type Q56061
The locations of filming that television program were in [ANSWERS]
['Q535', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q56061 . resource:Q260008 property:P915 ?j }
Budapest Prague
The locations of filming that television program were in Budapest and Prague
Budapest Prague
action filter_type
action find
entity The Hunchback
relation filming location
type administrative territorial entity
['Victor Hugo', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:administrative_territorial_entity . resource:The_Hunchback property:filming_location ?j }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027369
P532
Q56061 Q2235308
USER
How many ship types have more number of administrative territories as registry port than Priscilla ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027369
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?l ) WHERE { ?a property:P532 ?k . ?a rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q24027369 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } . FILTER ( ?l > ?b ) }
Priscilla
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Priscilla
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?l ) WHERE { ?a property:port_of_registry ?k . ?a rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Priscilla property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } . FILTER ( ?l > ?b ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027369
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?l ) WHERE { ?a property:P532 ?k . ?a rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q24027369 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } . FILTER ( ?l > ?b ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Priscilla
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?l ) WHERE { ?a property:port_of_registry ?k . ?a rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Priscilla property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } . FILTER ( ?l > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027219
P532
Q56061 Q2235308
USER
And also tell me about Eleanor Thomas?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027219
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?x ) WHERE { ?w rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 . ?w property:P532 ?g } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q24027219 property:P532 ?o . ?o rdf:type ontology:Q2235308 } } . FILTER ( ?x > ?v ) }
Eleanor Thomas
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Eleanor Thomas
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?x ) WHERE { ?w rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity . ?w property:port_of_registry ?g } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Eleanor_Thomas property:port_of_registry ?o . ?o rdf:type ontology:ship_type } } . FILTER ( ?x > ?v ) }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027219
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?x ) WHERE { ?w rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 . ?w property:P532 ?g } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q24027219 property:P532 ?o . ?o rdf:type ontology:Q2235308 } } . FILTER ( ?x > ?v ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Eleanor Thomas
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?x ) WHERE { ?w rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity . ?w property:port_of_registry ?g } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Eleanor_Thomas property:port_of_registry ?o . ?o rdf:type ontology:ship_type } } . FILTER ( ?x > ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1781
P190
Q515
USER
Which cities are twin towns of Budapest ?
(Q1781,P190,c(Q515))
action filter_type
action find
entity Q1781
relation P190
type Q515
['Q1781', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q1781 property:P190 ?p . ?p rdf:type ontology:Q515 }
Budapest
action filter_type
action find
entity Budapest
relation sister city
type city
['Budapest', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:Budapest property:sister_city ?p . ?p rdf:type ontology:city }
[]
city
Q1899 Q1794 Q11194
SYSTEM
Kyiv, Frankfurt, Sarajevo
Q20921 Q1794 Q19660 Q1899 Q1761 Q11194
(Q1781,P190,c(Q515))
action filter_type
action find
entity Q1781
relation P190
type Q515
[ANSWERS] are twin towns of Budapest
['Q1781', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q1781 property:P190 ?p . ?p rdf:type ontology:Q515 }
Daejeon Frankfurt Bucharest Kyiv Dublin Sarajevo
Kyiv, Frankfurt and Sarajevo are twin towns of Budapest
Kyiv Frankfurt Sarajevo
action filter_type
action find
entity Budapest
relation sister city
type city
['Budapest', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:Budapest property:sister_city ?p . ?p rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1899 Q1794 Q11194
P190
Q56061
USER
Which administrative territories are the sister cities of Kyiv, Frankfurt and Sarajevo ?
(Q1899,P190,c(Q56061)) (Q1794,P190,c(Q56061)) (Q11194,P190,c(Q56061))
action union
action filter_type
action find
entity Q1899
relation P190
type Q56061
action filter_type
action find
entity Q1794
relation P190
type Q56061
action filter_type
action find
entity Q11194
relation P190
type Q56061
['Q1899', 'P190', {'concept': 'Q56061'}] ['Q1794', 'P190', {'concept': 'Q56061'}] ['Q11194', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { resource:Q1899 property:P190 ?d . ?d rdf:type ontology:Q56061 } UNION { ?d rdf:type ontology:Q56061 . resource:Q1794 property:P190 ?d } }
Kyiv Frankfurt Sarajevo
action union
action filter_type
action find
entity Kyiv
relation sister city
type administrative territorial entity
action filter_type
action find
entity Frankfurt
relation sister city
type administrative territorial entity
action filter_type
action find
entity Sarajevo
relation sister city
type administrative territorial entity
['Kyiv', 'sister city', {'concept': 'administrative territorial entity'}] ['Frankfurt', 'sister city', {'concept': 'administrative territorial entity'}] ['Sarajevo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { resource:Kyiv property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity } UNION { ?d rdf:type ontology:administrative_territorial_entity . resource:Frankfurt property:sister_city ?d } }
[]
administrative territorial entity
Q1085 Q2807 Q490
SYSTEM
Prague, Madrid, Milan
Q1757 Q994 Q727 Q9248 Q472 Q1754 Q1770 Q1297 Q5168 Q40840 Q23436 Q1520 Q1524 Q3711 Q1780 Q1781 Q25331 Q1741 Q1489 Q2044 Q206954 Q1726 Q21197 Q7880 Q216 Q172 Q270 Q8678 Q239 Q956 Q2280 Q3640 Q1352 Q33935 Q612 Q490 Q1781 Q85 Q205648 Q1085 Q172 Q437 Q1754 Q641 Q185134 Q35178 Q1735 Q1733 Q384 Q13377 Q9248 Q1524 Q1781 Q727 Q1520 Q4051 Q2634 Q40738 Q85 Q406 Q13362 Q34739 Q4656 Q2807 Q3640 Q3805 Q1492 Q6225
(Q1899,P190,c(Q56061)) (Q1794,P190,c(Q56061)) (Q11194,P190,c(Q56061))
action union
action filter_type
action find
entity Q1899
relation P190
type Q56061
action filter_type
action find
entity Q1794
relation P190
type Q56061
action filter_type
action find
entity Q11194
relation P190
type Q56061
[ANSWERS] are the sister cities of Kyiv, Frankfurt and Sarajevo
['Q1899', 'P190', {'concept': 'Q56061'}] ['Q1794', 'P190', {'concept': 'Q56061'}] ['Q11194', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { { resource:Q1899 property:P190 ?d . ?d rdf:type ontology:Q56061 } UNION { ?d rdf:type ontology:Q56061 . resource:Q1794 property:P190 ?d } }
Helsinki Tbilisi Amsterdam Baku Sofia Stockholm Tallinn Chicago Makhachkala Tampere Edinburgh Astana Athens Belgrade Bratislava Budapest Odense Vienna Mexico City Florence Kastoria Munich Chișinău Toulouse Vilnius Toronto Warsaw Rio de Janeiro Brussels Beijing Minsk Ankara Chennai Tel Aviv Dubai Milan Budapest Cairo Granada Prague Toronto Ljubljana Stockholm Venice Tlemcen Kuwait City Innsbruck Magdeburg Skopje Prato Baku Athens Budapest Amsterdam Astana Friedrichshafen Naples Bursa Cairo Istanbul Ferrara Dayton Pula Madrid Ankara Amman Barcelona Coventry
Prague, Madrid and Milan are the sister cities of Kyiv, Frankfurt and Sarajevo
Prague Madrid Milan
action union
action filter_type
action find
entity Kyiv
relation sister city
type administrative territorial entity
action filter_type
action find
entity Frankfurt
relation sister city
type administrative territorial entity
action filter_type
action find
entity Sarajevo
relation sister city
type administrative territorial entity
['Kyiv', 'sister city', {'concept': 'administrative territorial entity'}] ['Frankfurt', 'sister city', {'concept': 'administrative territorial entity'}] ['Sarajevo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { resource:Kyiv property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity } UNION { ?d rdf:type ontology:administrative_territorial_entity . resource:Frankfurt property:sister_city ?d } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1085 Q2807 Q490
P190
Q13220204
USER
Which administrative country subdivisions are sister towns of Prague, Madrid and Milan ?
(Q1085,P190,c(Q13220204)) (Q2807,P190,c(Q13220204)) (Q490,P190,c(Q13220204))
action union
action filter_type
action find
entity Q1085
relation P190
type Q13220204
action filter_type
action find
entity Q2807
relation P190
type Q13220204
action filter_type
action find
entity Q490
relation P190
type Q13220204
['Q1085', 'P190', {'concept': 'Q13220204'}] ['Q2807', 'P190', {'concept': 'Q13220204'}] ['Q490', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { ?d property:P190 ?u . VALUES ( ?d ) { ( resource:Q2807 ) ( resource:Q1085 ) } }
Prague Madrid Milan
action union
action filter_type
action find
entity Prague
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Madrid
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Milan
relation sister city
type second-level administrative country subdivision
['Prague', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Madrid', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Milan', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { ?d property:sister_city ?u . VALUES ( ?d ) { ( resource:Madrid ) ( resource:Prague ) } }
[]
second-level administrative country subdivision
Q9899 Q2933 Q2841
SYSTEM
Amsterdam, Asunción, Bogotá
Q9899 Q2933 Q2841 Q48278
(Q1085,P190,c(Q13220204)) (Q2807,P190,c(Q13220204)) (Q490,P190,c(Q13220204))
action union
action filter_type
action find
entity Q1085
relation P190
type Q13220204
action filter_type
action find
entity Q2807
relation P190
type Q13220204
action filter_type
action find
entity Q490
relation P190
type Q13220204
[ANSWERS] are sister towns of Prague, Madrid and Milan
['Q1085', 'P190', {'concept': 'Q13220204'}] ['Q2807', 'P190', {'concept': 'Q13220204'}] ['Q490', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { ?d property:P190 ?u . VALUES ( ?d ) { ( resource:Q2807 ) ( resource:Q1085 ) } }
Amsterdam Asunción Bogotá Antioquia - Medellín
Amsterdam, Asunción and Bogotá are sister towns of Prague, Madrid and Milan
Amsterdam Asunción Bogotá
action union
action filter_type
action find
entity Prague
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Madrid
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Milan
relation sister city
type second-level administrative country subdivision
['Prague', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Madrid', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Milan', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { ?d property:sister_city ?u . VALUES ( ?d ) { ( resource:Madrid ) ( resource:Prague ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1794
P740
Q43229
USER
Which organizations originated at Frankfurt ?
(c(Q43229),P740,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q1794']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q43229 . ?i property:P740 resource:Q1794 }
Frankfurt
action filter_type
action find_reverse
entity Frankfurt
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Frankfurt']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:organization . ?i property:location_of_formation resource:Frankfurt }
[]
organization
Q157852 Q631220 Q1562727
SYSTEM
Deutsche Börse AG, Braun, Hameg
Q4685846 Q6394100 Q392886 Q631220 Q1562727 Q157852 Q2146961
(c(Q43229),P740,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P740
type Q43229
[ANSWERS] originated at Frankfurt
[{'concept': 'Q43229'}, 'P740', 'Q1794']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q43229 . ?i property:P740 resource:Q1794 }
Adtech Kern AG DQS Braun Hameg Deutsche Börse AG Revolutionärer Kampf
Deutsche Börse AG, Braun and Hameg originated at Frankfurt
Deutsche Börse AG Braun Hameg
action filter_type
action find_reverse
entity Frankfurt
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Frankfurt']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:organization . ?i property:location_of_formation resource:Frankfurt }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9899
P127
Q1076486
USER
Which sports venues are under posessision of Amsterdam ?
(c(Q1076486),P127,Q9899)
action filter_type
action find_reverse
entity Q9899
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q9899']
SELECT DISTINCT ?p WHERE { ?p property:P127 resource:Q9899 . ?p rdf:type ontology:Q1076486 }
Amsterdam
action filter_type
action find_reverse
entity Amsterdam
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Amsterdam']
SELECT DISTINCT ?p WHERE { ?p property:owned_by resource:Amsterdam . ?p rdf:type ontology:sports_venue }
[]
sports venue
Q503319 Q2200744 Q207109
SYSTEM
Olympic Stadium, Sportpark De Toekomst, Amsterdam Arena
Q503319 Q2200744 Q207109
(c(Q1076486),P127,Q9899)
action filter_type
action find_reverse
entity Q9899
relation P127
type Q1076486
[ANSWERS] are under posessision of Amsterdam
[{'concept': 'Q1076486'}, 'P127', 'Q9899']
SELECT DISTINCT ?p WHERE { ?p property:P127 resource:Q9899 . ?p rdf:type ontology:Q1076486 }
Olympic Stadium Sportpark De Toekomst Amsterdam Arena
Olympic Stadium, Sportpark De Toekomst and Amsterdam Arena are under posessision of Amsterdam
Olympic Stadium Sportpark De Toekomst Amsterdam Arena
action filter_type
action find_reverse
entity Amsterdam
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Amsterdam']
SELECT DISTINCT ?p WHERE { ?p property:owned_by resource:Amsterdam . ?p rdf:type ontology:sports_venue }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q503319
P138
Q486972
USER
Which human settlement comes from Olympic Stadium ?
(c(Q486972),P138,Q503319)
action filter_type
action find_reverse
entity Q503319
relation P138
type Q486972
[{'concept': 'Q486972'}, 'P138', 'Q503319']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q486972 . ?z property:P138 resource:Q503319 }
Olympic Stadium
action filter_type
action find_reverse
entity Olympic Stadium
relation named after
type human settlement
[{'concept': 'human settlement'}, 'named after', 'Olympic Stadium']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:human_settlement . ?z property:named_after resource:Olympic_Stadium }
[]
human settlement
Q2326184
SYSTEM
Stadionbuurt
Q2326184
(c(Q486972),P138,Q503319)
action filter_type
action find_reverse
entity Q503319
relation P138
type Q486972
[ANSWER] comes from Olympic Stadium
[{'concept': 'Q486972'}, 'P138', 'Q503319']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q486972 . ?z property:P138 resource:Q503319 }
Stadionbuurt
Stadionbuurt comes from Olympic Stadium
Stadionbuurt
action filter_type
action find_reverse
entity Olympic Stadium
relation named after
type human settlement
[{'concept': 'human settlement'}, 'named after', 'Olympic Stadium']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:human_settlement . ?z property:named_after resource:Olympic_Stadium }
[]