Simple Question (Direct)
Simple Question
Q288957
P1344
Q16510064
USER
Which sporting events did Maxi Gnauck take part in ?
(Q288957,P1344,c(Q16510064))
action filter_type
action find
entity Q288957
relation P1344
type Q16510064
['Q288957', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?e WHERE { resource:Q288957 property:P1344 ?e . ?e rdf:type ontology:Q16510064 }
Maxi Gnauck
action filter_type
action find
entity Maxi Gnauck
relation participant of
type sporting event
['Maxi Gnauck', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?e WHERE { resource:Maxi_Gnauck property:participant_of ?e . ?e rdf:type ontology:sporting_event }
[]
sporting event
Q1389161 Q1389197 Q1388952
SYSTEM
Gymnastics at the 1980 Summer Olympics – Women's floor, Gymnastics at the 1980 Summer Olympics – Women's artistic individual all-around, Gymnastics at the 1980 Summer Olympics – Women's uneven bars
Q1389161 Q1389197 Q1388952
(Q288957,P1344,c(Q16510064))
action filter_type
action find
entity Q288957
relation P1344
type Q16510064
Maxi Gnauck took part in [ANSWERS]
['Q288957', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?e WHERE { resource:Q288957 property:P1344 ?e . ?e rdf:type ontology:Q16510064 }
Gymnastics at the 1980 Summer Olympics – Women's floor Gymnastics at the 1980 Summer Olympics – Women's artistic individual all-around Gymnastics at the 1980 Summer Olympics – Women's uneven bars
Maxi Gnauck took part in Gymnastics at the 1980 Summer Olympics – Women's floor, Gymnastics at the 1980 Summer Olympics – Women's artistic individual all-around and Gymnastics at the 1980 Summer Olympics – Women's uneven bars
Gymnastics at the 1980 Summer Olympics – Women's floor Gymnastics at the 1980 Summer Olympics – Women's artistic individual all-around Gymnastics at the 1980 Summer Olympics – Women's uneven bars
action filter_type
action find
entity Maxi Gnauck
relation participant of
type sporting event
['Maxi Gnauck', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?e WHERE { resource:Maxi_Gnauck property:participant_of ?e . ?e rdf:type ontology:sporting_event }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1389161 Q1389197 Q1388952
P1344
Q502895
USER
Which people participated in Gymnastics at the 1980 Summer Olympics – Women's floor, Gymnastics at the 1980 Summer Olympics – Women's artistic individual all-around and Gymnastics at the 1980 Summer Olympics – Women's uneven bars ?
(c(Q502895),P1344,Q1389161) (c(Q502895),P1344,Q1389197) (c(Q502895),P1344,Q1388952)
action union
action filter_type
action find_reverse
entity Q1389161
relation P1344
type Q502895
action filter_type
action find_reverse
entity Q1389197
relation P1344
type Q502895
action filter_type
action find_reverse
entity Q1388952
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q1389161'] [{'concept': 'Q502895'}, 'P1344', 'Q1389197'] [{'concept': 'Q502895'}, 'P1344', 'Q1388952']
SELECT DISTINCT ?z WHERE { ?z property:P1344 ?h . VALUES ( ?h ) { ( resource:Q1389197 ) ( resource:Q1389161 ) } }
Gymnastics at the 1980 Summer Olympics – Women's floor Gymnastics at the 1980 Summer Olympics – Women's artistic individual all-around Gymnastics at the 1980 Summer Olympics – Women's uneven bars
action union
action filter_type
action find_reverse
entity Gymnastics at the 1980 Summer Olympics – Women's floor
relation participant of
type common name
action filter_type
action find_reverse
entity Gymnastics at the 1980 Summer Olympics – Women's artistic individual all-around
relation participant of
type common name
action filter_type
action find_reverse
entity Gymnastics at the 1980 Summer Olympics – Women's uneven bars
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Gymnastics at the 1980 Summer Olympics – Women's floor"] [{'concept': 'common name'}, 'participant of', "Gymnastics at the 1980 Summer Olympics – Women's artistic individual all-around"] [{'concept': 'common name'}, 'participant of', "Gymnastics at the 1980 Summer Olympics – Women's uneven bars"]
SELECT DISTINCT ?z WHERE { ?z property:participant_of ?h . VALUES ( ?h ) { ( resource:Gymnastics_at_the_1980_Summer_Olympics_–_Women's_artistic_individual_all-around ) ( resource:Gymnastics_at_the_1980_Summer_Olympics_–_Women's_floor ) } }
[]
common name
Q33228 Q33228 Q234785
SYSTEM
Nellie Kim for 3rd, Nadia Comăneci for 1st, 2nd
Q33228 Q288957 Q962934 Q234785 Q33228 Q288957 Q285322 Q85495 Q1388879 Q288957 Q443133 Q443126
(c(Q502895),P1344,Q1389161) (c(Q502895),P1344,Q1389197) (c(Q502895),P1344,Q1388952)
action union
action filter_type
action find_reverse
entity Q1389161
relation P1344
type Q502895
action filter_type
action find_reverse
entity Q1389197
relation P1344
type Q502895
action filter_type
action find_reverse
entity Q1388952
relation P1344
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1344', 'Q1389161'] [{'concept': 'Q502895'}, 'P1344', 'Q1389197'] [{'concept': 'Q502895'}, 'P1344', 'Q1388952']
SELECT DISTINCT ?z WHERE { ?z property:P1344 ?h . VALUES ( ?h ) { ( resource:Q1389197 ) ( resource:Q1389161 ) } }
Nadia Comăneci Maxi Gnauck Natalia Shaposhnikova Nellie Kim Nadia Comăneci Maxi Gnauck Yelena Davydova Steffi Kraker Maria Filatova Maxi Gnauck Emilia Eberle Melita Ruhn
Nadia Comăneci, Nadia Comăneci and Nellie Kim participated in Gymnastics at the 1980 Summer Olympics – Women's floor, Gymnastics at the 1980 Summer Olympics – Women's artistic individual all-around and Gymnastics at the 1980 Summer Olympics – Women's uneven bars
Nadia Comăneci Nadia Comăneci Nellie Kim
action union
action filter_type
action find_reverse
entity Gymnastics at the 1980 Summer Olympics – Women's floor
relation participant of
type common name
action filter_type
action find_reverse
entity Gymnastics at the 1980 Summer Olympics – Women's artistic individual all-around
relation participant of
type common name
action filter_type
action find_reverse
entity Gymnastics at the 1980 Summer Olympics – Women's uneven bars
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Gymnastics at the 1980 Summer Olympics – Women's floor"] [{'concept': 'common name'}, 'participant of', "Gymnastics at the 1980 Summer Olympics – Women's artistic individual all-around"] [{'concept': 'common name'}, 'participant of', "Gymnastics at the 1980 Summer Olympics – Women's uneven bars"]
SELECT DISTINCT ?z WHERE { ?z property:participant_of ?h . VALUES ( ?h ) { ( resource:Gymnastics_at_the_1980_Summer_Olympics_–_Women's_artistic_individual_all-around ) ( resource:Gymnastics_at_the_1980_Summer_Olympics_–_Women's_floor ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q33228
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q33228)
action filter_type
action find
entity Q33228
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q33228']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q33228 property:P26 ?n }
Nadia Comăneci
action filter_type
action find
entity Nadia Comăneci
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Nadia Comăneci']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Nadia_Comăneci property:spouse ?n }
[]
common name
Clarification for simple ques.
Q234785
SYSTEM
Did you mean Nellie Kim ?
Q33228 Q33228 Q234785
(c(Q502895),P26,Q33228) (c(Q502895),P26,Q33228) (c(Q502895),P26,Q234785)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q33228'] [{'concept': 'Q502895'}, 'P26', 'Q33228'] [{'concept': 'Q502895'}, 'P26', 'Q234785']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q33228 property:P26 ?n }
Nadia Comăneci Nadia Comăneci Nellie Kim
Did you mean Nellie Kim ?
Nellie Kim
[{'concept': 'common name'}, 'spouse', 'Nadia Comăneci'] [{'concept': 'common name'}, 'spouse', 'Nadia Comăneci'] [{'concept': 'common name'}, 'spouse', 'Nellie Kim']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Nadia_Comăneci property:spouse ?n }
[]
Simple Question (Coreferenced)
USER
No, I meant Nadia Comăneci. Could you tell me the answer for that?
(c(Q502895),P26,Q33228)
Q33228
[{'concept': 'Q502895'}, 'P26', 'Q33228']
[{'concept': 'common name'}, 'spouse', 'Nadia Comăneci']
[]
Q383942
SYSTEM
Bart Conner
Q383942
(c(Q502895),P26,Q33228)
action filter_type
action find
entity Q33228
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q33228']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q33228 property:P26 ?n }
Bart Conner
Bart Conner has that one as spouse
Bart Conner
action filter_type
action find
entity Nadia Comăneci
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Nadia Comăneci']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Nadia_Comăneci property:spouse ?n }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q383942 Q1201166 Q9364297
P27
Q15617994
USER
Is that person a citizen of Weicheng District and Ubiel ?
(Q383942,P27,Q1201166) (Q383942,P27,Q9364297)
action is_in
entity Q383942
action intersection
action find_reverse
entity Q1201166
relation P27
action find_reverse
entity Q9364297
relation P27
['Q383942', 'P27', 'Q1201166'] ['Q383942', 'P27', 'Q9364297']
ASK WHERE { resource:Q383942 property:P27 resource:Q1201166 . resource:Q383942 property:P27 resource:Q9364297 }
Bart Conner Weicheng District Ubiel
action is_in
entity Bart Conner
action intersection
action find_reverse
entity Weicheng District
relation country of citizenship
action find_reverse
entity Ubiel
relation country of citizenship
['Bart Conner', 'country of citizenship', 'Weicheng District'] ['Bart Conner', 'country of citizenship', 'Ubiel']
ASK WHERE { resource:Bart_Conner property:country_of_citizenship resource:Weicheng_District . resource:Bart_Conner property:country_of_citizenship resource:Ubiel }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q383942,P27,Q1201166) (Q383942,P27,Q9364297)
action is_in
entity Q383942
action intersection
action find_reverse
entity Q1201166
relation P27
action find_reverse
entity Q9364297
relation P27
[ANSWER]
['Q383942', 'P27', 'Q1201166'] ['Q383942', 'P27', 'Q9364297']
ASK WHERE { resource:Q383942 property:P27 resource:Q1201166 . resource:Q383942 property:P27 resource:Q9364297 }
No
action is_in
entity Bart Conner
action intersection
action find_reverse
entity Weicheng District
relation country of citizenship
action find_reverse
entity Ubiel
relation country of citizenship
['Bart Conner', 'country of citizenship', 'Weicheng District'] ['Bart Conner', 'country of citizenship', 'Ubiel']
ASK WHERE { resource:Bart_Conner property:country_of_citizenship resource:Weicheng_District . resource:Bart_Conner property:country_of_citizenship resource:Ubiel }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q290951
P1303
Q34379 Q502895
USER
Which musical instruments can less number of people perform with than Kamancheh ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q290951
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P1303 resource:Q290951 . ?s rdf:type ontology:Q502895 } } . FILTER ( ?g < ?h ) }
Kamancheh
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Kamancheh
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:instrument resource:Kamancheh . ?s rdf:type ontology:common_name } } . FILTER ( ?g < ?h ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q290951
relation P1303
type Q502895
[ANSWERS] can less number of people perform with than Kamancheh
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P1303 resource:Q290951 . ?s rdf:type ontology:Q502895 } } . FILTER ( ?g < ?h ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument can less number of people perform with than Kamancheh
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Kamancheh
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?g ) WHERE { ?e property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:instrument resource:Kamancheh . ?s rdf:type ontology:common_name } } . FILTER ( ?g < ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1300012
P1303
Q34379 Q502895
USER
And how about toy piano?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1300012
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P1303 resource:Q1300012 . ?x rdf:type ontology:Q502895 } } . FILTER ( ?h < ?d ) }
toy piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity toy piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:instrument resource:toy_piano . ?x rdf:type ontology:common_name } } . FILTER ( ?h < ?d ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q173453 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1300012
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P1303 resource:Q1300012 . ?x rdf:type ontology:Q502895 } } . FILTER ( ?h < ?d ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument spoon Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales wind instrument Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity toy piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?h ) WHERE { ?z property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:instrument resource:toy_piano . ?x rdf:type ontology:common_name } } . FILTER ( ?h < ?d ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q816793
P495
Q15617994
USER
Which administrative territory is the country of origin of that musical instrument ?
(Q816793,P495,c(Q15617994))
action filter_type
action find
entity Q816793
relation P495
type Q15617994
['Q816793', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q816793 property:P495 ?h }
Bendir
action filter_type
action find
entity Bendir
relation country of origin
type designation for an administrative territorial entity
['Bendir', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bendir property:country_of_origin ?h }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q816793
SYSTEM
Did you mean Bendir ?
Q1178361 Q1759986 Q816793
(Q1178361,P495,c(Q15617994)) (Q1759986,P495,c(Q15617994)) (Q816793,P495,c(Q15617994))
[ANSWER]
['Q1178361', 'P495', {'concept': 'Q15617994'}] ['Q1759986', 'P495', {'concept': 'Q15617994'}] ['Q816793', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q816793 property:P495 ?h }
davul Wurlitzer electric piano Bendir
Did you mean Bendir ?
Bendir
['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Wurlitzer electric piano', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Bendir', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bendir property:country_of_origin ?h }
[]
Simple Question (Coreferenced)
USER
Yes
(Q816793,P495,c(Q15617994))
['Q816793', 'P495', {'concept': 'Q15617994'}]
['Bendir', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q43
SYSTEM
Turkey
Q43
(Q816793,P495,c(Q15617994))
action filter_type
action find
entity Q816793
relation P495
type Q15617994
[ANSWER] is the country of origin of that musical instrument
['Q816793', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q816793 property:P495 ?h }
Turkey
Turkey is the country of origin of that musical instrument
Turkey
action filter_type
action find
entity Bendir
relation country of origin
type designation for an administrative territorial entity
['Bendir', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bendir property:country_of_origin ?h }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q521666 Q1178361
P20 P495
Q15617994
USER
Which administrative territories are the origins of davul or did Anna Emilie von Anhalt-Köthen-Pleß die ?
OR((Q1178361,P495,c(Q15617994)), (Q521666,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q1178361
relation P495
action find
entity Q521666
relation P20
type Q15617994
{'OR': [['Q1178361', 'P495', {'concept': 'Q15617994'}], ['Q521666', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1178361 property:P495 ?t } UNION { resource:Q521666 property:P20 ?t } } . ?t rdf:type ontology:Q15617994 }
Anna Emilie von Anhalt-Köthen-Pleß davul
action filter_type
action union
action find
entity davul
relation country of origin
action find
entity Anna Emilie von Anhalt-Köthen-Pleß
relation place of death
type designation for an administrative territorial entity
{'OR': [['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Anna Emilie von Anhalt-Köthen-Pleß', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:davul property:country_of_origin ?t } UNION { resource:Anna_Emilie_von_Anhalt-Köthen-Pleß property:place_of_death ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43 Q509768
SYSTEM
Turkey, Fürstenstein
Q43 Q509768
OR((Q1178361,P495,c(Q15617994)), (Q521666,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q1178361
relation P495
action find
entity Q521666
relation P20
type Q15617994
[ANSWERS] are the origins of davul or did Anna Emilie von Anhalt-Köthen-Pleß die
{'OR': [['Q1178361', 'P495', {'concept': 'Q15617994'}], ['Q521666', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1178361 property:P495 ?t } UNION { resource:Q521666 property:P20 ?t } } . ?t rdf:type ontology:Q15617994 }
Turkey Fürstenstein
Turkey and Fürstenstein are the origins of davul or did Anna Emilie von Anhalt-Köthen-Pleß die
Turkey Fürstenstein
action filter_type
action union
action find
entity davul
relation country of origin
action find
entity Anna Emilie von Anhalt-Köthen-Pleß
relation place of death
type designation for an administrative territorial entity
{'OR': [['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Anna Emilie von Anhalt-Köthen-Pleß', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:davul property:country_of_origin ?t } UNION { resource:Anna_Emilie_von_Anhalt-Köthen-Pleß property:place_of_death ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q35798 Q1292279
USER
How many administrative territories come under the jurisdiction of exactly 10 executive branches and political borders ?
(c(Q35798)|c(Q1292279),P1001,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
value 10
[[{'concept': 'Q35798'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) ?v WHERE { VALUES ( ?n ) { ( ontology:Q35798 ) ( ontology:Q1292279 ) } . ?b rdf:type ?n } GROUP BY ?v } . FILTER ( ?q = 10 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
value 10
[[{'concept': 'executive branch'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) ?v WHERE { VALUES ( ?n ) { ( ontology:executive_branch ) ( ontology:political_border ) } . ?b rdf:type ?n } GROUP BY ?v } . FILTER ( ?q = 10 ) }
[]
designation for an administrative territorial entity executive branch political border
SYSTEM
3
Q252 Q155 Q36
(c(Q35798)|c(Q1292279),P1001,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
value 10
[ANSWER]
[[{'concept': 'Q35798'}, {'concept': 'Q1292279'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) ?v WHERE { VALUES ( ?n ) { ( ontology:Q35798 ) ( ontology:Q1292279 ) } . ?b rdf:type ?n } GROUP BY ?v } . FILTER ( ?q = 10 ) }
Indonesia Brazil Poland
3
action count
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
value 10
[[{'concept': 'executive branch'}, {'concept': 'political border'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) ?v WHERE { VALUES ( ?n ) { ( ontology:executive_branch ) ( ontology:political_border ) } . ?b rdf:type ?n } GROUP BY ?v } . FILTER ( ?q = 10 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43
P47
Q56061
USER
Which administrative territories share border with Turkey ?
(Q43,P47,c(Q56061))
action filter_type
action find
entity Q43
relation P47
type Q56061
['Q43', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q43 property:P47 ?g . ?g rdf:type ontology:Q56061 }
Turkey
action filter_type
action find
entity Turkey
relation shares border with
type administrative territorial entity
['Turkey', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Turkey property:shares_border_with ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458 Q7172
SYSTEM
European Union, Arab League
Q458 Q7172
(Q43,P47,c(Q56061))
action filter_type
action find
entity Q43
relation P47
type Q56061
[ANSWERS] share border with Turkey
['Q43', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q43 property:P47 ?g . ?g rdf:type ontology:Q56061 }
European Union Arab League
European Union and Arab League share border with Turkey
European Union Arab League
action filter_type
action find
entity Turkey
relation shares border with
type administrative territorial entity
['Turkey', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Turkey property:shares_border_with ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18288757
Q56061
USER
And also tell me about Ohlenbüttel?
(Q18288757,P47,c(Q56061))
action filter_type
action find
entity Q18288757
relation P47
type Q56061
['Q18288757', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q18288757 property:P47 ?j . ?j rdf:type ontology:Q56061 }
Ohlenbüttel
action filter_type
action find
entity Ohlenbüttel
relation shares border with
type administrative territorial entity
['Ohlenbüttel', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ohlenbüttel property:shares_border_with ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q21094991
SYSTEM
Elstorf-Bachheide
Q21094991
(Q18288757,P47,c(Q56061))
action filter_type
action find
entity Q18288757
relation P47
type Q56061
[ANSWER]
['Q18288757', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q18288757 property:P47 ?j . ?j rdf:type ontology:Q56061 }
Elstorf-Bachheide
Elstorf-Bachheide
action filter_type
action find
entity Ohlenbüttel
relation shares border with
type administrative territorial entity
['Ohlenbüttel', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ohlenbüttel property:shares_border_with ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q12737077 Q271669 Q56061
USER
Which administrative territories are the eponym of atleast 1 occupations and landforms ?
(c(Q56061),P138,c(Q12737077)|c(Q271669))
action atleast
action union
action find_tuple_counts
relation P138
type Q56061
type Q12737077
action find_tuple_counts
relation P138
type Q56061
type Q271669
value 1
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q12737077'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?p ) WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:Q12737077 ) ( ontology:Q271669 ) } } GROUP BY ?o } . FILTER ( ?p >= 1 ) }
action atleast
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type occupation
action find_tuple_counts
relation named after
type administrative territorial entity
type landform
value 1
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'occupation'}, {'concept': 'landform'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?p ) WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:occupation ) ( ontology:landform ) } } GROUP BY ?o } . FILTER ( ?p >= 1 ) }
[]
occupation landform administrative territorial entity
Q2605640 Q2840555 Q2284698
SYSTEM
Gasselterboerveen, Sint Annaparochie, Munnekemoer
Q2284698 Q2605640 Q1982848 Q2840555 Q3029792
(c(Q56061),P138,c(Q12737077)|c(Q271669))
action atleast
action union
action find_tuple_counts
relation P138
type Q56061
type Q12737077
action find_tuple_counts
relation P138
type Q56061
type Q271669
value 1
[ANSWERS] are the eponym of atleast 1 occupations and landforms
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q12737077'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?p ) WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:Q12737077 ) ( ontology:Q271669 ) } } GROUP BY ?o } . FILTER ( ?p >= 1 ) }
Munnekemoer Gasselterboerveen New Norfolk Sint Annaparochie Nij Altoenae
Gasselterboerveen, Sint Annaparochie and Munnekemoer are the eponym of atleast 1 occupations and landforms
Gasselterboerveen Sint Annaparochie Munnekemoer
action atleast
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type occupation
action find_tuple_counts
relation named after
type administrative territorial entity
type landform
value 1
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'occupation'}, {'concept': 'landform'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?p ) WHERE { ?q rdf:type ?l . VALUES ( ?l ) { ( ontology:occupation ) ( ontology:landform ) } } GROUP BY ?o } . FILTER ( ?p >= 1 ) }
[]