Simple Question (Direct)
Simple Question
Q1382594
P1344
Q16510064
USER
What did Martin Doktor participate in ?
(Q1382594,P1344,c(Q16510064))
action filter_type
action find
entity Q1382594
relation P1344
type Q16510064
['Q1382594', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?o WHERE { resource:Q1382594 property:P1344 ?o . ?o rdf:type ontology:Q16510064 }
Martin Doktor
action filter_type
action find
entity Martin Doktor
relation participant of
type sporting event
['Martin Doktor', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?o WHERE { resource:Martin_Doktor property:participant_of ?o . ?o rdf:type ontology:sporting_event }
[]
sporting event
Q5033059 Q5033058
SYSTEM
Canoeing at the 1996 Summer Olympics – Men's C-1 1000 metres, Canoeing at the 1996 Summer Olympics – Men's C-1 500 metres
Q5033059 Q5033058
(Q1382594,P1344,c(Q16510064))
action filter_type
action find
entity Q1382594
relation P1344
type Q16510064
Martin Doktor participated in [ANSWERS]
['Q1382594', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?o WHERE { resource:Q1382594 property:P1344 ?o . ?o rdf:type ontology:Q16510064 }
Canoeing at the 1996 Summer Olympics – Men's C-1 1000 metres Canoeing at the 1996 Summer Olympics – Men's C-1 500 metres
Martin Doktor participated in Canoeing at the 1996 Summer Olympics – Men's C-1 1000 metres and Canoeing at the 1996 Summer Olympics – Men's C-1 500 metres
Canoeing at the 1996 Summer Olympics – Men's C-1 1000 metres Canoeing at the 1996 Summer Olympics – Men's C-1 500 metres
action filter_type
action find
entity Martin Doktor
relation participant of
type sporting event
['Martin Doktor', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?o WHERE { resource:Martin_Doktor property:participant_of ?o . ?o rdf:type ontology:sporting_event }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5033059 Q5033058
P1344
Q502895
USER
Who took part in Canoeing at the 1996 Summer Olympics – Men's C-1 1000 metres and Canoeing at the 1996 Summer Olympics – Men's C-1 500 metres ?
(c(Q502895),P1344,Q5033059) (c(Q502895),P1344,Q5033058)
action union
action filter_type
action find_reverse
entity Q5033059
relation P1344
type Q502895
action filter_type
action find_reverse
entity Q5033058
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q5033059'] [{'concept': 'Q502895'}, 'P1344', 'Q5033058']
SELECT DISTINCT ?t WHERE { { ?t property:P1344 resource:Q5033059 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P1344 resource:Q5033058 . ?t rdf:type ontology:Q502895 } }
Canoeing at the 1996 Summer Olympics – Men's C-1 1000 metres Canoeing at the 1996 Summer Olympics – Men's C-1 500 metres
action union
action filter_type
action find_reverse
entity Canoeing at the 1996 Summer Olympics – Men's C-1 1000 metres
relation participant of
type common name
action filter_type
action find_reverse
entity Canoeing at the 1996 Summer Olympics – Men's C-1 500 metres
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Canoeing at the 1996 Summer Olympics – Men's C-1 1000 metres"] [{'concept': 'common name'}, 'participant of', "Canoeing at the 1996 Summer Olympics – Men's C-1 500 metres"]
SELECT DISTINCT ?t WHERE { { ?t property:participant_of resource:Canoeing_at_the_1996_Summer_Olympics_–_Men's_C-1_1000_metres . ?t rdf:type ontology:common_name } UNION { ?t property:participant_of resource:Canoeing_at_the_1996_Summer_Olympics_–_Men's_C-1_500_metres . ?t rdf:type ontology:common_name } }
[]
common name
Q2451422 Q901425 Q1382594
SYSTEM
Ivans Klementjevs, Imre Pulai, Martin Doktor
Q2451422 Q1382594 Q2263277 Q901425 Q1382594
(c(Q502895),P1344,Q5033059) (c(Q502895),P1344,Q5033058)
action union
action filter_type
action find_reverse
entity Q5033059
relation P1344
type Q502895
action filter_type
action find_reverse
entity Q5033058
relation P1344
type Q502895
[ANSWERS] took part in Canoeing at the 1996 Summer Olympics – Men's C-1 1000 metres and Canoeing at the 1996 Summer Olympics – Men's C-1 500 metres
[{'concept': 'Q502895'}, 'P1344', 'Q5033059'] [{'concept': 'Q502895'}, 'P1344', 'Q5033058']
SELECT DISTINCT ?t WHERE { { ?t property:P1344 resource:Q5033059 . ?t rdf:type ontology:Q502895 } UNION { ?t property:P1344 resource:Q5033058 . ?t rdf:type ontology:Q502895 } }
Ivans Klementjevs Martin Doktor Slavomír Kňazovický Imre Pulai Martin Doktor
Ivans Klementjevs, Imre Pulai and Martin Doktor took part in Canoeing at the 1996 Summer Olympics – Men's C-1 1000 metres and Canoeing at the 1996 Summer Olympics – Men's C-1 500 metres
Ivans Klementjevs Imre Pulai Martin Doktor
action union
action filter_type
action find_reverse
entity Canoeing at the 1996 Summer Olympics – Men's C-1 1000 metres
relation participant of
type common name
action filter_type
action find_reverse
entity Canoeing at the 1996 Summer Olympics – Men's C-1 500 metres
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Canoeing at the 1996 Summer Olympics – Men's C-1 1000 metres"] [{'concept': 'common name'}, 'participant of', "Canoeing at the 1996 Summer Olympics – Men's C-1 500 metres"]
SELECT DISTINCT ?t WHERE { { ?t property:participant_of resource:Canoeing_at_the_1996_Summer_Olympics_–_Men's_C-1_1000_metres . ?t rdf:type ontology:common_name } UNION { ?t property:participant_of resource:Canoeing_at_the_1996_Summer_Olympics_–_Men's_C-1_500_metres . ?t rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2451422 Q901425 Q1382594
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of those people ?
(Q2451422,P27,c(Q15617994)) (Q901425,P27,c(Q15617994)) (Q1382594,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q2451422', 'P27', {'concept': 'Q15617994'}] ['Q901425', 'P27', {'concept': 'Q15617994'}] ['Q1382594', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?a property:P27 ?r . ?r rdf:type ontology:Q15617994 . VALUES ( ?a ) { ( resource:Q2451422 ) ( resource:Q1382594 ) ( resource:Q2263277 ) } }
Ivans Klementjevs Imre Pulai Martin Doktor
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Ivans Klementjevs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Imre Pulai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Martin Doktor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?a property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?a ) { ( resource:Ivans_Klementjevs ) ( resource:Martin_Doktor ) ( resource:Slavomír_Kňazovický ) } }
[]
designation for an administrative territorial entity
Q211 Q28 Q213
SYSTEM
Latvia, Hungary, Czech Republic
Q211 Q28 Q213
(Q2451422,P27,c(Q15617994)) (Q901425,P27,c(Q15617994)) (Q1382594,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of those people
['Q2451422', 'P27', {'concept': 'Q15617994'}] ['Q901425', 'P27', {'concept': 'Q15617994'}] ['Q1382594', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?a property:P27 ?r . ?r rdf:type ontology:Q15617994 . VALUES ( ?a ) { ( resource:Q2451422 ) ( resource:Q1382594 ) ( resource:Q2263277 ) } }
Latvia Hungary Czech Republic
Latvia, Hungary and Czech Republic are the countries of citizenship of those people
Latvia Hungary Czech Republic
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Ivans Klementjevs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Imre Pulai', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Martin Doktor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?a property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?a ) { ( resource:Ivans_Klementjevs ) ( resource:Martin_Doktor ) ( resource:Slavomír_Kňazovický ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q211 Q28 Q213
P159
Q43229
USER
Which organizations have HQ at those administrative territories ?
(c(Q43229),P159,Q211) (c(Q43229),P159,Q28) (c(Q43229),P159,Q213)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q211'] [{'concept': 'Q43229'}, 'P159', 'Q28'] [{'concept': 'Q43229'}, 'P159', 'Q213']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q43229 . VALUES ( ?h ) { ( resource:Q211 ) ( resource:Q28 ) ( resource:Q213 ) } . ?q property:P159 ?h }
Latvia Hungary Czech Republic
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Latvia'] [{'concept': 'organization'}, 'headquarters location', 'Hungary'] [{'concept': 'organization'}, 'headquarters location', 'Czech Republic']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:organization . VALUES ( ?h ) { ( resource:Latvia ) ( resource:Hungary ) ( resource:Czech_Republic ) } . ?q property:headquarters_location ?h }
[]
organization
Q6113154 Q988464 Q12018940
SYSTEM
Forticom, Eidos Hungary, Hamé
Q6113154 Q5173481 Q988464 Q1241536 Q12018940 Q20098039
(c(Q43229),P159,Q211) (c(Q43229),P159,Q28) (c(Q43229),P159,Q213)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q43229
[ANSWERS] have HQ at those administrative territories
[{'concept': 'Q43229'}, 'P159', 'Q211'] [{'concept': 'Q43229'}, 'P159', 'Q28'] [{'concept': 'Q43229'}, 'P159', 'Q213']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q43229 . VALUES ( ?h ) { ( resource:Q211 ) ( resource:Q28 ) ( resource:Q213 ) } . ?q property:P159 ?h }
Forticom Corvus Hungary LLC Eidos Hungary Puli Space Technologies Hamé Factum Group
Forticom, Eidos Hungary and Hamé have HQ at those administrative territories
Forticom Eidos Hungary Hamé
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Latvia'] [{'concept': 'organization'}, 'headquarters location', 'Hungary'] [{'concept': 'organization'}, 'headquarters location', 'Czech Republic']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:organization . VALUES ( ?h ) { ( resource:Latvia ) ( resource:Hungary ) ( resource:Czech_Republic ) } . ?q property:headquarters_location ?h }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6113154 Q988464 Q12018940
P159
Q15617994
USER
Where are the headquarters of Forticom, Eidos Hungary and Hamé located ?
(Q6113154,P159,c(Q15617994)) (Q988464,P159,c(Q15617994)) (Q12018940,P159,c(Q15617994))
action union
action filter_type
action find
entity Q6113154
relation P159
type Q15617994
action filter_type
action find
entity Q988464
relation P159
type Q15617994
action filter_type
action find
entity Q12018940
relation P159
type Q15617994
['Q6113154', 'P159', {'concept': 'Q15617994'}] ['Q988464', 'P159', {'concept': 'Q15617994'}] ['Q12018940', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?k property:P159 ?v . VALUES ( ?k ) { ( resource:Q6113154 ) ( resource:Q988464 ) } }
Forticom Eidos Hungary Hamé
action union
action filter_type
action find
entity Forticom
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Eidos Hungary
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Hamé
relation headquarters location
type designation for an administrative territorial entity
['Forticom', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Eidos Hungary', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Hamé', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?k property:headquarters_location ?v . VALUES ( ?k ) { ( resource:Forticom ) ( resource:Eidos_Hungary ) } }
[]
designation for an administrative territorial entity
Q211 Q28 Q213
SYSTEM
Latvia, Hungary, Czech Republic
Q211 Q28 Q213
(Q6113154,P159,c(Q15617994)) (Q988464,P159,c(Q15617994)) (Q12018940,P159,c(Q15617994))
action union
action filter_type
action find
entity Q6113154
relation P159
type Q15617994
action filter_type
action find
entity Q988464
relation P159
type Q15617994
action filter_type
action find
entity Q12018940
relation P159
type Q15617994
Located In [ANSWERS] are the headquarters of Forticom , Eidos Hungary and Hamé
['Q6113154', 'P159', {'concept': 'Q15617994'}] ['Q988464', 'P159', {'concept': 'Q15617994'}] ['Q12018940', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?k property:P159 ?v . VALUES ( ?k ) { ( resource:Q6113154 ) ( resource:Q988464 ) } }
Latvia Hungary Czech Republic
Located In Latvia, Hungary and Czech Republic are the headquarters of Forticom , Eidos Hungary and Hamé
Latvia Hungary Czech Republic
action union
action filter_type
action find
entity Forticom
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Eidos Hungary
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Hamé
relation headquarters location
type designation for an administrative territorial entity
['Forticom', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Eidos Hungary', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Hamé', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?k property:headquarters_location ?v . VALUES ( ?k ) { ( resource:Forticom ) ( resource:Eidos_Hungary ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q211 Q28 Q213
P17
Q811430
USER
Which constructions are present in those administrative territories ?
(c(Q811430),P17,Q211) (c(Q811430),P17,Q28) (c(Q811430),P17,Q213)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q811430
[{'concept': 'Q811430'}, 'P17', 'Q211'] [{'concept': 'Q811430'}, 'P17', 'Q28'] [{'concept': 'Q811430'}, 'P17', 'Q213']
SELECT DISTINCT ?z WHERE { VALUES ( ?f ) { ( resource:Q211 ) ( resource:Q28 ) ( resource:Q213 ) } . ?z rdf:type ontology:Q811430 . ?z property:P17 ?f }
Latvia Hungary Czech Republic
action filter_type
action find_reverse
entity prev_answer
relation country
type construction
[{'concept': 'construction'}, 'country', 'Latvia'] [{'concept': 'construction'}, 'country', 'Hungary'] [{'concept': 'construction'}, 'country', 'Czech Republic']
SELECT DISTINCT ?z WHERE { VALUES ( ?f ) { ( resource:Latvia ) ( resource:Hungary ) ( resource:Czech_Republic ) } . ?z rdf:type ontology:construction . ?z property:country ?f }
[]
construction
Q244816 Q20730345 Q1550749
SYSTEM
Dancing House, Hungary–Serbia barrier, DRFG Arena
Q20563811 Q968871 Q1164435 Q458599 Q1846214 Q16292873 Q1821247 Q641234 Q16355736 Q664177 Q960647 Q19855051 Q1177999 Q493117 Q1034357 Q376279 Q389475 Q148319 Q21854811 Q20730345 Q735115 Q834288 Q390821 Q2535624 Q253564 Q11936261 Q174514 Q1957240 Q1550749 Q115161 Q496259 Q244816 Q7825005 Q12056506 Q1349747 Q1116389 Q3566006 Q7939028
(c(Q811430),P17,Q211) (c(Q811430),P17,Q28) (c(Q811430),P17,Q213)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q811430
[ANSWERS] are present in those administrative territories
[{'concept': 'Q811430'}, 'P17', 'Q211'] [{'concept': 'Q811430'}, 'P17', 'Q28'] [{'concept': 'Q811430'}, 'P17', 'Q213']
SELECT DISTINCT ?z WHERE { VALUES ( ?f ) { ( resource:Q211 ) ( resource:Q28 ) ( resource:Q213 ) } . ?z rdf:type ontology:Q811430 . ?z property:P17 ?f }
Muižeļa Manor Dailes Theatre Dannenstern House Building of Latvian Academy of Sciences Peitav Synagogue Monument to murdered pastors (Riga) Latvian National Theatre Arena Riga House of the Livonian Noble Corporation Cave Bath László Papp Budapest Sports Arena Erdődy palace Fertőrákos mithraeum Fisherman's Bastion Hattyúház Building National Archives of Hungary Bécsi kapu planetarium Henryk Sławik Wharf Hungary–Serbia barrier Kisstadion Szeged Synagogue Ško-Energo Aréna Vysílač Krašov Palace Moravia Vinohrady tram depot Czechoslovak border fortifications Moravian Library DRFG Arena Tipsport Arena Veletržní palác Dancing House Topolna transmitter Straka Academy Museum of Decorative Arts in Prague Memorial to the Victims of Communism Red Church Vlasta Neighborhood
Dancing House, Hungary–Serbia barrier and DRFG Arena are present in those administrative territories
Dancing House Hungary–Serbia barrier DRFG Arena
action filter_type
action find_reverse
entity prev_answer
relation country
type construction
[{'concept': 'construction'}, 'country', 'Latvia'] [{'concept': 'construction'}, 'country', 'Hungary'] [{'concept': 'construction'}, 'country', 'Czech Republic']
SELECT DISTINCT ?z WHERE { VALUES ( ?f ) { ( resource:Latvia ) ( resource:Hungary ) ( resource:Czech_Republic ) } . ?z rdf:type ontology:construction . ?z property:country ?f }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q244816 Q20730345 Q1550749
P17
Q15617994
USER
Which administrative territories are those constructions a part of ?
(Q244816,P17,c(Q15617994)) (Q20730345,P17,c(Q15617994)) (Q1550749,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q244816', 'P17', {'concept': 'Q15617994'}] ['Q20730345', 'P17', {'concept': 'Q15617994'}] ['Q1550749', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?h property:P17 ?r . VALUES ( ?h ) { ( resource:Q20563811 ) ( resource:Q968871 ) ( resource:Q1164435 ) } }
Dancing House Hungary–Serbia barrier DRFG Arena
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Dancing House', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hungary–Serbia barrier', 'country', {'concept': 'designation for an administrative territorial entity'}] ['DRFG Arena', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:country ?r . VALUES ( ?h ) { ( resource:Muižeļa_Manor ) ( resource:Dailes_Theatre ) ( resource:Dannenstern_House ) } }
[]
designation for an administrative territorial entity
Q213 Q28 Q213
SYSTEM
Hungary for 2nd, Czech Republic for 1st, 3rd
Q213 Q28 Q213
(Q244816,P17,c(Q15617994)) (Q20730345,P17,c(Q15617994)) (Q1550749,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS]
['Q244816', 'P17', {'concept': 'Q15617994'}] ['Q20730345', 'P17', {'concept': 'Q15617994'}] ['Q1550749', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?h property:P17 ?r . VALUES ( ?h ) { ( resource:Q20563811 ) ( resource:Q968871 ) ( resource:Q1164435 ) } }
Czech Republic Hungary Czech Republic
Czech Republic, Hungary and Czech Republic are those constructions a part of
Czech Republic Hungary Czech Republic
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Dancing House', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hungary–Serbia barrier', 'country', {'concept': 'designation for an administrative territorial entity'}] ['DRFG Arena', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:country ?r . VALUES ( ?h ) { ( resource:Muižeļa_Manor ) ( resource:Dailes_Theatre ) ( resource:Dannenstern_House ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q244816
P84
Q502895
USER
Who architectured that construction ?
(Q244816,P84,c(Q502895))
action filter_type
action find
entity Q244816
relation P84
type Q502895
['Q244816', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q244816 property:P84 ?t . ?t rdf:type ontology:Q502895 }
Dancing House
action filter_type
action find
entity Dancing House
relation architect
type common name
['Dancing House', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Dancing_House property:architect ?t . ?t rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q244816
SYSTEM
Did you mean Dancing House ?
Q213 Q28 Q213
(Q213,P84,c(Q502895)) (Q28,P84,c(Q502895)) (Q213,P84,c(Q502895))
[ANSWER]
['Q213', 'P84', {'concept': 'Q502895'}] ['Q28', 'P84', {'concept': 'Q502895'}] ['Q213', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q244816 property:P84 ?t . ?t rdf:type ontology:Q502895 }
Czech Republic Hungary Czech Republic
Did you mean Dancing House ?
Dancing House
['Czech Republic', 'architect', {'concept': 'common name'}] ['Hungary', 'architect', {'concept': 'common name'}] ['Czech Republic', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Dancing_House property:architect ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q244816,P84,c(Q502895))
['Q244816', 'P84', {'concept': 'Q502895'}]
['Dancing House', 'architect', {'concept': 'common name'}]
[]
Q180374 Q521787
SYSTEM
Frank Gehry, Vlado Milunić
Q180374 Q521787
(Q244816,P84,c(Q502895))
action filter_type
action find
entity Q244816
relation P84
type Q502895
[ANSWERS] architectured that construction
['Q244816', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q244816 property:P84 ?t . ?t rdf:type ontology:Q502895 }
Frank Gehry Vlado Milunić
Frank Gehry and Vlado Milunić architectured that construction
Frank Gehry Vlado Milunić
action filter_type
action find
entity Dancing House
relation architect
type common name
['Dancing House', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Dancing_House property:architect ?t . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q213 Q1388707
P206
Q15324
USER
How many bodies of water are situated nearby Czech Republic or Schmale Heide ?
(Q213,P206,c(Q15324)) (Q1388707,P206,c(Q15324))
action count
action union
action filter_type
action find
entity Q213
relation P206
type Q15324
action filter_type
action find
entity Q1388707
relation P206
type Q15324
['Q213', 'P206', {'concept': 'Q15324'}] ['Q1388707', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { ?b property:P206 ?r . VALUES ( ?b ) { ( resource:Q213 ) ( resource:Q1388707 ) } }
Czech Republic Schmale Heide
action count
action union
action filter_type
action find
entity Czech Republic
relation located next to body of water
type body of water
action filter_type
action find
entity Schmale Heide
relation located next to body of water
type body of water
['Czech Republic', 'located next to body of water', {'concept': 'body of water'}] ['Schmale Heide', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { ?b property:located_next_to_body_of_water ?r . VALUES ( ?b ) { ( resource:Czech_Republic ) ( resource:Schmale_Heide ) } }
[]
body of water
SYSTEM
2
Q1691969 Q1680511
(Q213,P206,c(Q15324)) (Q1388707,P206,c(Q15324))
action count
action union
action filter_type
action find
entity Q213
relation P206
type Q15324
action filter_type
action find
entity Q1388707
relation P206
type Q15324
[ANSWER]
['Q213', 'P206', {'concept': 'Q15324'}] ['Q1388707', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { ?b property:P206 ?r . VALUES ( ?b ) { ( resource:Q213 ) ( resource:Q1388707 ) } }
Prorer Wiek Kleiner Jasmunder Bodden
2
action count
action union
action filter_type
action find
entity Czech Republic
relation located next to body of water
type body of water
action filter_type
action find
entity Schmale Heide
relation located next to body of water
type body of water
['Czech Republic', 'located next to body of water', {'concept': 'body of water'}] ['Schmale Heide', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { ?b property:located_next_to_body_of_water ?r . VALUES ( ?b ) { ( resource:Czech_Republic ) ( resource:Schmale_Heide ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately 1593 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1593
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P1303 ?l . ?z rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 } GROUP BY ?l } . FILTER ( ?q = 1593 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1593
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:instrument ?l . ?z rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument } GROUP BY ?l } . FILTER ( ?q = 1593 ) }
[]
musical instrument common name
Q80284 Q46185 Q80019
SYSTEM
viola, bass guitar, double bass
Q80284 Q46185 Q80019 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1593
[ANSWERS] are played by approximately 1593 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:P1303 ?l . ?z rdf:type ontology:Q502895 . ?l rdf:type ontology:Q34379 } GROUP BY ?l } . FILTER ( ?q = 1593 ) }
viola bass guitar double bass trumpet cello organ drum kit electronic keyboard
Viola, bass guitar and double bass are played by approximately 1593 people
viola bass guitar double bass
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1593
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?q ) WHERE { ?z property:instrument ?l . ?z rdf:type ontology:common_name . ?l rdf:type ontology:musical_instrument } GROUP BY ?l } . FILTER ( ?q = 1593 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28
P530
Q15617994
USER
Which administrative territories are known to have diplomatic connections with Hungary ?
(c(Q15617994),P530,Q28)
action filter_type
action find
entity Q28
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q28']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q28 property:P530 ?k }
Hungary
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Hungary']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hungary property:diplomatic_relation ?k }
[]
designation for an administrative territorial entity
Q403 Q38
SYSTEM
Serbia, Italy
Q403 Q38
(c(Q15617994),P530,Q28)
action filter_type
action find
entity Q28
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with Hungary
[{'concept': 'Q15617994'}, 'P530', 'Q28']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q28 property:P530 ?k }
Serbia Italy
Serbia and Italy are known to have diplomatic connections with Hungary
Serbia Italy
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Hungary']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hungary property:diplomatic_relation ?k }
[]