Simple Question (Direct)
Simple Question
Q14627129
P106
Q12737077
USER
Which occupations have Emile Limbor as his/her 's career ?
(Q14627129,P106,c(Q12737077))
action filter_type
action find
entity Q14627129
relation P106
type Q12737077
['Q14627129', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q14627129 property:P106 ?g }
Emile Limbor
action filter_type
action find
entity Emile Limbor
relation occupation
type occupation
['Emile Limbor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Emile_Limbor property:occupation ?g }
[]
occupation
Q36834 Q158852 Q974144
SYSTEM
composer, conductor, educator
Q158852 Q974144 Q1259917 Q36834 Q14915627
(Q14627129,P106,c(Q12737077))
action filter_type
action find
entity Q14627129
relation P106
type Q12737077
[ANSWERS] have Emile Limbor as his/her 's career
['Q14627129', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q14627129 property:P106 ?g }
conductor educator violinist composer musicologist
Composer, conductor and educator have Emile Limbor as his/her 's career
composer conductor educator
action filter_type
action find
entity Emile Limbor
relation occupation
type occupation
['Emile Limbor', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Emile_Limbor property:occupation ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P39
Q502895
USER
Which person was responsible for occupying the position of composer ?
(c(Q502895),P39,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q36834']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P39 resource:Q36834 }
composer
action filter_type
action find_reverse
entity composer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'composer']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:position_held resource:composer }
[]
common name
Q3193394
SYSTEM
Karl Hajos
Q3193394
(c(Q502895),P39,Q36834)
action filter_type
action find_reverse
entity Q36834
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of composer
[{'concept': 'Q502895'}, 'P39', 'Q36834']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P39 resource:Q36834 }
Karl Hajos
Karl Hajos was responsible for occupying the position of composer
Karl Hajos
action filter_type
action find_reverse
entity composer
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'composer']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:position_held resource:composer }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3193394
P86
Q838948
USER
Which works of art are composed by that person ?
(c(Q838948),P86,Q3193394)
action filter_type
action find_reverse
entity Q3193394
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q3193394']
SELECT DISTINCT ?x WHERE { ?x property:P86 resource:Q3193394 . ?x rdf:type ontology:Q838948 }
Karl Hajos
action filter_type
action find_reverse
entity Karl Hajos
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Karl Hajos']
SELECT DISTINCT ?x WHERE { ?x property:composer resource:Karl_Hajos . ?x rdf:type ontology:work_of_art }
[]
work of art
Q577754 Q3523233 Q1344526
SYSTEM
Morocco, The Virginian, Dishonored
Q3233816 Q742569 Q933339 Q2413877 Q577754 Q5464050 Q3523233 Q1531417 Q3079980 Q6751776 Q8000598 Q15231297 Q3569755 Q1344526 Q7756852
(c(Q838948),P86,Q3193394)
action filter_type
action find_reverse
entity Q3193394
relation P86
type Q838948
[ANSWERS] are composed by that person
[{'concept': 'Q838948'}, 'P86', 'Q3193394']
SELECT DISTINCT ?x WHERE { ?x property:P86 resource:Q3193394 . ?x rdf:type ontology:Q838948 }
Beggars of Life Thunderbolt Werewolf of London The Right to Love Morocco Fog Island The Virginian The Mask of Diijon Four Frightened People Manslaughter Wild Country The Wolf of Wall Street Woman Trap Dishonored The Phantom of 42nd Street
Morocco, The Virginian and Dishonored are composed by that person
Morocco The Virginian Dishonored
action filter_type
action find_reverse
entity Karl Hajos
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Karl Hajos']
SELECT DISTINCT ?x WHERE { ?x property:composer resource:Karl_Hajos . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3193394
P19
Q56061
USER
Where was Karl Hajos born ?
(Q3193394,P19,c(Q56061))
action filter_type
action find
entity Q3193394
relation P19
type Q56061
['Q3193394', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q3193394 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Karl Hajos
action filter_type
action find
entity Karl Hajos
relation place of birth
type administrative territorial entity
['Karl Hajos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Karl_Hajos property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q3193394,P19,c(Q56061))
action filter_type
action find
entity Q3193394
relation P19
type Q56061
Karl Hajos was born in [ANSWER]
['Q3193394', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q3193394 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Budapest
Karl Hajos was born in Budapest
Budapest
action filter_type
action find
entity Karl Hajos
relation place of birth
type administrative territorial entity
['Karl Hajos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Karl_Hajos property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1781
P551
Q502895
USER
Which people dwell at that administrative territory ?
(c(Q502895),P551,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1781']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q1781 . ?n rdf:type ontology:Q502895 }
Budapest
action filter_type
action find_reverse
entity Budapest
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Budapest']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:Budapest . ?n rdf:type ontology:common_name }
[]
common name
Q9036 Q12908 Q460696
SYSTEM
Nikola Tesla, George Soros, Márton Fülöp
Q1001760 Q264466 Q258965 Q1001426 Q553339 Q1009629 Q1214337 Q460696 Q270408 Q12908 Q1004428 Q370019 Q21067292 Q19823442 Q1002907 Q8076514 Q1109780 Q383341 Q1007376 Q26253992 Q6297974 Q22672560 Q7217571 Q1009626 Q9036 Q4349034 Q1002462 Q77284 Q281949 Q1003530 Q1000652 Q758074 Q22075509 Q540484
(c(Q502895),P551,Q1781)
action filter_type
action find_reverse
entity Q1781
relation P551
type Q502895
[ANSWERS] dwell at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q1781']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q1781 . ?n rdf:type ontology:Q502895 }
László Fitos Katalin Marosi Petra Mandula Tamás Filó Lajos Tichy Csaba Gercsák Kira Nagy Márton Fülöp Andrea Temesvári George Soros Márkó Futács Balázs Taróczy Péter Nagy Naomi Totka András Forgács Ádám Kellner Péter Kis Sándor Noszály István Gajda Julius Bokor Jozsef Krocsko Anna Mark Mózes Weinberger Balázs Gercsák Nikola Tesla János Kuszmann Katalin Fogl Gréta Arn Anikó Kapros Richárd Frank Csaba Ferkó Attila Balázs Mac Ruth Gábor Köves
Nikola Tesla, George Soros and Márton Fülöp dwell at that administrative territory
Nikola Tesla George Soros Márton Fülöp
action filter_type
action find_reverse
entity Budapest
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Budapest']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:Budapest . ?n rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1099153
P1303
Q34379 Q502895
USER
How many musical instruments can greater number of people perform with than clavinet ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1099153
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q1099153 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?s > ?n ) }
clavinet
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity clavinet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:clavinet property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?s > ?n ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1099153
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:Q1099153 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?s > ?n ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity clavinet
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) WHERE { resource:clavinet property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?s > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q39777
P1303
Q34379 Q502895
USER
And also tell me about maraca?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q39777
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ontology:Q502895 . ?a rdf:type ontology:Q34379 . ?y property:P1303 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q39777 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?j > ?u ) }
maraca
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity maraca
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ontology:common_name . ?a rdf:type ontology:musical_instrument . ?y property:instrument ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:maraca property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?j > ?u ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q39777
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ontology:Q502895 . ?a rdf:type ontology:Q34379 . ?y property:P1303 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q39777 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?j > ?u ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity maraca
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?j ) WHERE { ?y rdf:type ontology:common_name . ?a rdf:type ontology:musical_instrument . ?y property:instrument ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:maraca property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?j > ?u ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?s ) { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?e ) WHERE { ?g rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 . ?d property:P1303 ?g } GROUP BY ?g } } . FILTER ( ?n = ?s ) . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?f } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?s ) { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?e ) WHERE { ?g rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name . ?d property:instrument ?g } GROUP BY ?g } } . FILTER ( ?n = ?s ) . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?f } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?s ) { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?e ) WHERE { ?g rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 . ?d property:P1303 ?g } GROUP BY ?g } } . FILTER ( ?n = ?s ) . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?f } }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?s ) { SELECT DISTINCT ?g ( COUNT ( ?d ) AS ?e ) WHERE { ?g rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name . ?d property:instrument ?g } GROUP BY ?g } } . FILTER ( ?n = ?s ) . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?n ) WHERE { ?h property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?f } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q5994 Q301597 Q765623
P61
Q502895
USER
Was that musical instrument invented or discoverd by Bartolomeo Cristofori and Piotr Fergusson Tepper ?
(Q5994,P61,Q301597) (Q5994,P61,Q765623)
action is_in
entity Q5994
action intersection
action find_reverse
entity Q301597
relation P61
action find_reverse
entity Q765623
relation P61
['Q5994', 'P61', 'Q301597'] ['Q5994', 'P61', 'Q765623']
ASK WHERE { resource:Q5994 property:P61 resource:Q301597 . resource:Q5994 property:P61 resource:Q765623 }
piano Bartolomeo Cristofori Piotr Fergusson Tepper
action is_in
entity piano
action intersection
action find_reverse
entity Bartolomeo Cristofori
relation discoverer or inventor
action find_reverse
entity Piotr Fergusson Tepper
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Bartolomeo Cristofori'] ['piano', 'discoverer or inventor', 'Piotr Fergusson Tepper']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Bartolomeo_Cristofori . resource:piano property:discoverer_or_inventor resource:Piotr_Fergusson_Tepper }
[]
common name
SYSTEM
YES and NO respectively
(Q5994,P61,Q301597) (Q5994,P61,Q765623)
action is_in
entity Q5994
action intersection
action find_reverse
entity Q301597
relation P61
action find_reverse
entity Q765623
relation P61
[ANSWER]
['Q5994', 'P61', 'Q301597'] ['Q5994', 'P61', 'Q765623']
ASK WHERE { resource:Q5994 property:P61 resource:Q301597 . resource:Q5994 property:P61 resource:Q765623 }
YES and NO respectively
action is_in
entity piano
action intersection
action find_reverse
entity Bartolomeo Cristofori
relation discoverer or inventor
action find_reverse
entity Piotr Fergusson Tepper
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Bartolomeo Cristofori'] ['piano', 'discoverer or inventor', 'Piotr Fergusson Tepper']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Bartolomeo_Cristofori . resource:piano property:discoverer_or_inventor resource:Piotr_Fergusson_Tepper }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5994
P1056
Q43229
USER
Who produce piano ?
(c(Q43229),P1056,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P1056
type Q43229
[{'concept': 'Q43229'}, 'P1056', 'Q5994']
SELECT DISTINCT ?j WHERE { ?j property:P1056 resource:Q5994 . ?j rdf:type ontology:Q43229 }
piano
action filter_type
action find_reverse
entity piano
relation product
type organization
[{'concept': 'organization'}, 'product', 'piano']
SELECT DISTINCT ?j WHERE { ?j property:product resource:piano . ?j rdf:type ontology:organization }
[]
organization
Q2684841 Q20773716
SYSTEM
Hoffmann, Weber Piano Company
Q2684841 Q20773716
(c(Q43229),P1056,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P1056
type Q43229
[ANSWERS] produce piano
[{'concept': 'Q43229'}, 'P1056', 'Q5994']
SELECT DISTINCT ?j WHERE { ?j property:P1056 resource:Q5994 . ?j rdf:type ontology:Q43229 }
Hoffmann Weber Piano Company
Hoffmann and Weber Piano Company produce piano
Hoffmann Weber Piano Company
action filter_type
action find_reverse
entity piano
relation product
type organization
[{'concept': 'organization'}, 'product', 'piano']
SELECT DISTINCT ?j WHERE { ?j property:product resource:piano . ?j rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5994
P180
Q838948
USER
Which work of art demonstrates piano ?
(c(Q838948),P180,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q5994']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q5994 . ?w rdf:type ontology:Q838948 }
piano
action filter_type
action find_reverse
entity piano
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'piano']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:piano . ?w rdf:type ontology:work_of_art }
[]
work of art
Q23641920
SYSTEM
Monument to Frédéric Chopin
Q23641920
(c(Q838948),P180,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P180
type Q838948
In [ANSWER] demonstrates piano
[{'concept': 'Q838948'}, 'P180', 'Q5994']
SELECT DISTINCT ?w WHERE { ?w property:P180 resource:Q5994 . ?w rdf:type ontology:Q838948 }
Monument to Frédéric Chopin
In Monument to Frédéric Chopin demonstrates piano
Monument to Frédéric Chopin
action filter_type
action find_reverse
entity piano
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'piano']
SELECT DISTINCT ?w WHERE { ?w property:depicts resource:piano . ?w rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23641920
P276
Q22698
USER
Where can that work of art be found ?
(Q23641920,P276,c(Q22698))
action filter_type
action find
entity Q23641920
relation P276
type Q22698
['Q23641920', 'P276', {'concept': 'Q22698'}]
SELECT DISTINCT ?g WHERE { resource:Q23641920 property:P276 ?g . ?g rdf:type ontology:Q22698 }
Monument to Frédéric Chopin
action filter_type
action find
entity Monument to Frédéric Chopin
relation location
type park
['Monument to Frédéric Chopin', 'location', {'concept': 'park'}]
SELECT DISTINCT ?g WHERE { resource:Monument_to_Frédéric_Chopin property:location ?g . ?g rdf:type ontology:park }
[]
park
Q1414059
SYSTEM
parc Monceau
Q1414059
(Q23641920,P276,c(Q22698))
action filter_type
action find
entity Q23641920
relation P276
type Q22698
That work of art can be found in [ANSWER]
['Q23641920', 'P276', {'concept': 'Q22698'}]
SELECT DISTINCT ?g WHERE { resource:Q23641920 property:P276 ?g . ?g rdf:type ontology:Q22698 }
parc Monceau
That work of art can be found in parc Monceau
parc Monceau
action filter_type
action find
entity Monument to Frédéric Chopin
relation location
type park
['Monument to Frédéric Chopin', 'location', {'concept': 'park'}]
SELECT DISTINCT ?g WHERE { resource:Monument_to_Frédéric_Chopin property:location ?g . ?g rdf:type ontology:park }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P669
Q811979 Q22698
USER
Which parks have their location as more number of architectural structures than that park ?
(c(Q22698),P669,c(Q811979))
action greater
action find_tuple_counts
relation P669
type Q22698
type Q811979
action count
action filter_type
action find
entity Q1414059
relation P669
type Q22698
[{'concept': 'Q22698'}, 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?z ) WHERE { ?u property:P669 ?t . ?t rdf:type ontology:Q811979 . ?u rdf:type ontology:Q22698 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q1414059 property:P669 ?w . ?w rdf:type ontology:Q22698 } } . FILTER ( ?z > ?h ) }
action greater
action find_tuple_counts
relation located on street
type park
type architectural structure
action count
action filter_type
action find
entity parc Monceau
relation located on street
type park
[{'concept': 'park'}, 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?z ) WHERE { ?u property:located_on_street ?t . ?t rdf:type ontology:architectural_structure . ?u rdf:type ontology:park } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:parc_Monceau property:located_on_street ?w . ?w rdf:type ontology:park } } . FILTER ( ?z > ?h ) }
[]
architectural structure park
Q730948 Q1414059 Q3494785
SYSTEM
Jardin des Plantes, parc Monceau, square René-Le Gall
Q3494616 Q3494776 Q3494489 Q1414059 Q3494785 Q3494923 Q288624 Q730948
(c(Q22698),P669,c(Q811979))
action greater
action find_tuple_counts
relation P669
type Q22698
type Q811979
action count
action filter_type
action find
entity Q1414059
relation P669
type Q22698
[ANSWERS] have their location as more number of architectural structures than that park
[{'concept': 'Q22698'}, 'P669', {'concept': 'Q811979'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?z ) WHERE { ?u property:P669 ?t . ?t rdf:type ontology:Q811979 . ?u rdf:type ontology:Q22698 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q1414059 property:P669 ?w . ?w rdf:type ontology:Q22698 } } . FILTER ( ?z > ?h ) }
square Henri-Christiné square Raoul-Follereau square Aristide-Cavaillé-Col parc Monceau square René-Le Gall square de l'Amérique-Latine square Louis-XIII Jardin des Plantes
Jardin des Plantes, parc Monceau and square René-Le Gall have their location as more number of architectural structures than that park
Jardin des Plantes parc Monceau square René-Le Gall
action greater
action find_tuple_counts
relation located on street
type park
type architectural structure
action count
action filter_type
action find
entity parc Monceau
relation located on street
type park
[{'concept': 'park'}, 'located on street', {'concept': 'architectural structure'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?z ) WHERE { ?u property:located_on_street ?t . ?t rdf:type ontology:architectural_structure . ?u rdf:type ontology:park } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:parc_Monceau property:located_on_street ?w . ?w rdf:type ontology:park } } . FILTER ( ?z > ?h ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q79007 Q22698
USER
Which streets are approximately 1 park located on ?
(c(Q22698),P669,c(Q79007))
action approx
action find_reverse_tuple_counts
relation P669
type Q79007
type Q22698
value 1
[{'concept': 'Q22698'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:P669 ?m . ?w rdf:type ontology:Q22698 . ?m rdf:type ontology:Q79007 } GROUP BY ?m } . FILTER ( ?f = 1 ) }
action approx
action find_reverse_tuple_counts
relation located on street
type street
type park
value 1
[{'concept': 'park'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:located_on_street ?m . ?w rdf:type ontology:park . ?m rdf:type ontology:street } GROUP BY ?m } . FILTER ( ?f = 1 ) }
[]
street park
Q2921874 Q895077 Q2921894
SYSTEM
boulevard Malesherbes, boulevard de Magenta, boulevard Pereire
Q2921894 Q2922031 Q2874160 Q2922016 Q2873992 Q2873654 Q2921965 Q2874152 Q2874015 Q2921974 Q2921874 Q895077
(c(Q22698),P669,c(Q79007))
action approx
action find_reverse_tuple_counts
relation P669
type Q79007
type Q22698
value 1
Approximately 1 park are located on [ANSWERS]
[{'concept': 'Q22698'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:P669 ?m . ?w rdf:type ontology:Q22698 . ?m rdf:type ontology:Q79007 } GROUP BY ?m } . FILTER ( ?f = 1 ) }
boulevard Pereire boulevard de la Somme avenue du Général-Sarrail boulevard de l'Hôpital avenue de la Belle-Gabrielle avenue Gambetta boulevard d'Auteuil avenue du Général-Lemonnier avenue de la Porte-d'Auteuil boulevard de Courcelles boulevard Malesherbes boulevard de Magenta
Approximately 1 park are located on boulevard Malesherbes, boulevard de Magenta and boulevard Pereire
boulevard Malesherbes boulevard de Magenta boulevard Pereire
action approx
action find_reverse_tuple_counts
relation located on street
type street
type park
value 1
[{'concept': 'park'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?f ) WHERE { ?w property:located_on_street ?m . ?w rdf:type ontology:park . ?m rdf:type ontology:street } GROUP BY ?m } . FILTER ( ?f = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2921874
P47
Q34442
USER
Which roads do boulevard Malesherbes share a border with ?
(c(Q34442),P47,Q2921874)
action filter_type
action find
entity Q2921874
relation P47
type Q34442
[{'concept': 'Q34442'}, 'P47', 'Q2921874']
SELECT DISTINCT ?u WHERE { resource:Q2921874 property:P47 ?u . ?u rdf:type ontology:Q34442 }
boulevard Malesherbes
action filter_type
action find
entity boulevard Malesherbes
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'boulevard Malesherbes']
SELECT DISTINCT ?u WHERE { resource:boulevard_Malesherbes property:shares_border_with ?u . ?u rdf:type ontology:road }
[]
road
Q3447318 Q3448601 Q3450884
SYSTEM
rue Cardinet, rue Jouffroy-d'Abbans, rue de Monceau
Q3449402 Q3448778 Q3449375 Q3451338 Q3447435 Q3451589 Q3451008 Q3450880 Q3450473 Q3450884 Q3451209 Q3447318 Q3451910 Q3450819 Q3450794 Q3448601 Q3449302 Q3446925 Q3451605 Q3451550 Q2424976 Q3449483 Q3447346 Q3448658 Q3447184 Q3450363 Q3449777
(c(Q34442),P47,Q2921874)
action filter_type
action find
entity Q2921874
relation P47
type Q34442
Boulevard Malesherbes share a border with [ANSWERS]
[{'concept': 'Q34442'}, 'P47', 'Q2921874']
SELECT DISTINCT ?u WHERE { resource:Q2921874 property:P47 ?u . ?u rdf:type ontology:Q34442 }
rue Paul-Borel rue Lavoisier rue Pasquier rue de la Bienfaisance rue Chauveau-Lagarde rue de la Terrasse rue de Rigny rue de Miromesnil rue d'Anjou rue de Monceau rue de l'Arcade rue Cardinet rue des Mathurins rue de Lisbonne rue de Laborde rue Jouffroy-d'Abbans rue Nicolas-Chuquet rue Ampère rue de la Ville-l'Évêque rue de la Pépinière rue de Naples rue Philibert-Delorme rue Cernuschi rue Juliette-Lamber rue Boissy-d'Anglas rue Viète rue Roquépine
Boulevard Malesherbes share a border with rue Cardinet, rue Jouffroy-d'Abbans and rue de Monceau
rue Cardinet rue Jouffroy-d'Abbans rue de Monceau
action filter_type
action find
entity boulevard Malesherbes
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'boulevard Malesherbes']
SELECT DISTINCT ?u WHERE { resource:boulevard_Malesherbes property:shares_border_with ?u . ?u rdf:type ontology:road }
[]