Simple Question (Direct)
Simple Question
Q7281610
P641
Q349
USER
Which sport did Radostin Stanev participate in ?
(Q7281610,P641,c(Q349))
action filter_type
action find
entity Q7281610
relation P641
type Q349
['Q7281610', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q7281610 property:P641 ?w . ?w rdf:type ontology:Q349 }
Radostin Stanev
action filter_type
action find
entity Radostin Stanev
relation sport
type sport
['Radostin Stanev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Radostin_Stanev property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7281610,P641,c(Q349))
action filter_type
action find
entity Q7281610
relation P641
type Q349
Radostin Stanev participated in [ANSWER]
['Q7281610', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q7281610 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
Radostin Stanev participated in association football
association football
action filter_type
action find
entity Radostin Stanev
relation sport
type sport
['Radostin Stanev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Radostin_Stanev property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7281610
P21
Q290
USER
Which sex does that person possess ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q7281610
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q7281610 property:P21 ?b . ?b rdf:type ontology:Q290 }
Radostin Stanev
action filter_type
action find
entity Radostin Stanev
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Radostin_Stanev property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q7281610
relation P21
type Q290
That person possesses a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q7281610 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Radostin Stanev
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Radostin_Stanev property:gender ?b . ?b rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q10921152
P21
Q502895
USER
Is Chou Chun a that sex ?
(Q10921152,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q10921152
relation P21
['Q10921152', 'P21', 'Q6581097']
ASK WHERE { resource:Q10921152 property:P21 resource:Q6581097 }
male Chou Chun
action is_in
entity male
action find
entity Chou Chun
relation gender
['Chou Chun', 'gender', 'male']
ASK WHERE { resource:Chou_Chun property:gender resource:male }
[]
common name
SYSTEM
YES
(Q10921152,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q10921152
relation P21
[ANSWER]
['Q10921152', 'P21', 'Q6581097']
ASK WHERE { resource:Q10921152 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Chou Chun
relation gender
['Chou Chun', 'gender', 'male']
ASK WHERE { resource:Chou_Chun property:gender resource:male }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q46185
P1303
Q34379 Q502895
USER
Which musical instruments are played by lesser number of people than bass guitar ?
(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 Q46185
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P1303 resource:Q46185 . ?j rdf:type ontology:Q502895 } } . FILTER ( ?k < ?o ) }
bass guitar
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity bass guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:instrument resource:bass_guitar . ?j rdf:type ontology:common_name } } . FILTER ( ?k < ?o ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 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 Q46185
relation P1303
type Q502895
[ANSWERS] are played by lesser number of people than bass guitar
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P1303 resource:Q46185 . ?j rdf:type ontology:Q502895 } } . FILTER ( ?k < ?o ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by lesser number of people than bass guitar
davul harpsichord Wurlitzer electric 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 bass guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:instrument resource:bass_guitar . ?j rdf:type ontology:common_name } } . FILTER ( ?k < ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q424017
P1303
Q34379 Q502895
USER
And how about acoustic bass guitar?
(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 Q424017
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { ?y property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P1303 resource:Q424017 . ?z rdf:type ontology:Q502895 } } . FILTER ( ?j < ?c ) }
acoustic bass guitar
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity acoustic bass guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { ?y property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:instrument resource:acoustic_bass_guitar . ?z rdf:type ontology:common_name } } . FILTER ( ?j < ?c ) }
[]
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 Q424017
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { ?y property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P1303 resource:Q424017 . ?z rdf:type ontology:Q502895 } } . FILTER ( ?j < ?c ) }
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 acoustic bass guitar
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?j ) WHERE { ?y property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:instrument resource:acoustic_bass_guitar . ?z rdf:type ontology:common_name } } . FILTER ( ?j < ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do exactly 2 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { FILTER ( ?l = 2 ) . { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?d } }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { FILTER ( ?l = 2 ) . { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?d } }
[]
musical instrument common name
SYSTEM
8
Q201129 Q424017 Q3574843 Q182718 Q862501 Q537750 Q1300012 Q483994
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { FILTER ( ?l = 2 ) . { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?d } }
lyre acoustic bass guitar tonbak Nyckelharpa ondes Martenot Djembe toy piano Kazoo
8
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { FILTER ( ?l = 2 ) . { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?d } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P870
Q34379 Q188451 Q862597
USER
How many musical instruments are used in atmost 89 music genres and musical forms ?
(c(Q188451)|c(Q862597),P870,c(Q34379))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
value 89
[[{'concept': 'Q188451'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) ?l WHERE { VALUES ( ?u ) { ( ontology:Q188451 ) ( ontology:Q862597 ) } . ?f rdf:type ?u } GROUP BY ?l } . FILTER ( ?v <= 89 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
value 89
[[{'concept': 'music genre'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) ?l WHERE { VALUES ( ?u ) { ( ontology:music_genre ) ( ontology:musical_form ) } . ?f rdf:type ?u } GROUP BY ?l } . FILTER ( ?v <= 89 ) }
[]
musical instrument music genre musical form
SYSTEM
18
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q8355 Q11404 Q206987 Q81982
(c(Q188451)|c(Q862597),P870,c(Q34379))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q188451
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
value 89
[ANSWER]
[[{'concept': 'Q188451'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) ?l WHERE { VALUES ( ?u ) { ( ontology:Q188451 ) ( ontology:Q862597 ) } . ?f rdf:type ?u } GROUP BY ?l } . FILTER ( ?v <= 89 ) }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca violin drum vibraphone harpsichord
18
action count
action atmost
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type music genre
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
value 89
[[{'concept': 'music genre'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) ?l WHERE { VALUES ( ?u ) { ( ontology:music_genre ) ( ontology:musical_form ) } . ?f rdf:type ?u } GROUP BY ?l } . FILTER ( ?v <= 89 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q386724
USER
Which works depict approximately 2 musical instruments ?
(c(Q386724),P180,c(Q34379))
action approx
action find_tuple_counts
relation P180
type Q386724
type Q34379
value 2
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?j ) WHERE { ?b property:P180 ?q . ?b rdf:type ontology:Q386724 . ?q rdf:type ontology:Q34379 } GROUP BY ?b } . FILTER ( ?j = 2 ) }
action approx
action find_tuple_counts
relation depicts
type work
type musical instrument
value 2
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?j ) WHERE { ?b property:depicts ?q . ?b rdf:type ontology:work . ?q rdf:type ontology:musical_instrument } GROUP BY ?b } . FILTER ( ?j = 2 ) }
[]
musical instrument work
Q2901063
SYSTEM
Borghese Vase
Q2901063
(c(Q386724),P180,c(Q34379))
action approx
action find_tuple_counts
relation P180
type Q386724
type Q34379
value 2
[ANSWER] depict approximately 2 musical instruments
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?j ) WHERE { ?b property:P180 ?q . ?b rdf:type ontology:Q386724 . ?q rdf:type ontology:Q34379 } GROUP BY ?b } . FILTER ( ?j = 2 ) }
Borghese Vase
Borghese Vase depict approximately 2 musical instruments
Borghese Vase
action approx
action find_tuple_counts
relation depicts
type work
type musical instrument
value 2
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?j ) WHERE { ?b property:depicts ?q . ?b rdf:type ontology:work . ?q rdf:type ontology:musical_instrument } GROUP BY ?b } . FILTER ( ?j = 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2901063
P276
Q1299240
USER
Where can that work be found ?
(Q2901063,P276,c(Q1299240))
action filter_type
action find
entity Q2901063
relation P276
type Q1299240
['Q2901063', 'P276', {'concept': 'Q1299240'}]
SELECT DISTINCT ?v WHERE { resource:Q2901063 property:P276 ?v . ?v rdf:type ontology:Q1299240 }
Borghese Vase
action filter_type
action find
entity Borghese Vase
relation location
type interior space
['Borghese Vase', 'location', {'concept': 'interior space'}]
SELECT DISTINCT ?v WHERE { resource:Borghese_Vase property:location ?v . ?v rdf:type ontology:interior_space }
[]
interior space
Q19061350
SYSTEM
Galerie Daru
Q19061350
(Q2901063,P276,c(Q1299240))
action filter_type
action find
entity Q2901063
relation P276
type Q1299240
That work can be found at [ANSWER]
['Q2901063', 'P276', {'concept': 'Q1299240'}]
SELECT DISTINCT ?v WHERE { resource:Q2901063 property:P276 ?v . ?v rdf:type ontology:Q1299240 }
Galerie Daru
That work can be found at Galerie Daru
Galerie Daru
action filter_type
action find
entity Borghese Vase
relation location
type interior space
['Borghese Vase', 'location', {'concept': 'interior space'}]
SELECT DISTINCT ?v WHERE { resource:Borghese_Vase property:location ?v . ?v rdf:type ontology:interior_space }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P466
Q163740 Q1299240
USER
How many interior spaces are occupied by lesser number of nonprofit organizations than that interior space ?
(c(Q1299240),P466,c(Q163740))
action count
action less
action find_tuple_counts
relation P466
type Q163740
type Q1299240
action count
action filter_type
action find
entity Q19061350
relation P466
type Q163740
[{'concept': 'Q1299240'}, 'P466', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q19061350 property:P466 ?r . ?r rdf:type ontology:Q163740 } } . FILTER ( ?x < ?h ) . { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?x ) WHERE { ?a property:P466 ?s . ?s rdf:type ontology:Q1299240 . ?a rdf:type ontology:Q163740 } GROUP BY ?a } }
action count
action less
action find_tuple_counts
relation occupant
type nonprofit organization
type interior space
action count
action filter_type
action find
entity Galerie Daru
relation occupant
type nonprofit organization
[{'concept': 'interior space'}, 'occupant', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Galerie_Daru property:occupant ?r . ?r rdf:type ontology:nonprofit_organization } } . FILTER ( ?x < ?h ) . { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?x ) WHERE { ?a property:occupant ?s . ?s rdf:type ontology:interior_space . ?a rdf:type ontology:nonprofit_organization } GROUP BY ?a } }
[]
nonprofit organization interior space
SYSTEM
0
(c(Q1299240),P466,c(Q163740))
action count
action less
action find_tuple_counts
relation P466
type Q163740
type Q1299240
action count
action filter_type
action find
entity Q19061350
relation P466
type Q163740
[ANSWER]
[{'concept': 'Q1299240'}, 'P466', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Q19061350 property:P466 ?r . ?r rdf:type ontology:Q163740 } } . FILTER ( ?x < ?h ) . { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?x ) WHERE { ?a property:P466 ?s . ?s rdf:type ontology:Q1299240 . ?a rdf:type ontology:Q163740 } GROUP BY ?a } }
0
action count
action less
action find_tuple_counts
relation occupant
type nonprofit organization
type interior space
action count
action filter_type
action find
entity Galerie Daru
relation occupant
type nonprofit organization
[{'concept': 'interior space'}, 'occupant', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { resource:Galerie_Daru property:occupant ?r . ?r rdf:type ontology:nonprofit_organization } } . FILTER ( ?x < ?h ) . { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?x ) WHERE { ?a property:occupant ?s . ?s rdf:type ontology:interior_space . ?a rdf:type ontology:nonprofit_organization } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19061350
P366
Q1190554
USER
Which event is recognized as the main use of Galerie Daru ?
(Q19061350,P366,c(Q1190554))
action filter_type
action find
entity Q19061350
relation P366
type Q1190554
['Q19061350', 'P366', {'concept': 'Q1190554'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1190554 . resource:Q19061350 property:P366 ?a }
Galerie Daru
action filter_type
action find
entity Galerie Daru
relation use
type event
['Galerie Daru', 'use', {'concept': 'event'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:event . resource:Galerie_Daru property:use ?a }
[]
event
Q464980
SYSTEM
exhibition
Q464980
(Q19061350,P366,c(Q1190554))
action filter_type
action find
entity Q19061350
relation P366
type Q1190554
[ANSWER] is recognized as the main use of Galerie Daru
['Q19061350', 'P366', {'concept': 'Q1190554'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1190554 . resource:Q19061350 property:P366 ?a }
exhibition
Exhibition is recognized as the main use of Galerie Daru
exhibition
action filter_type
action find
entity Galerie Daru
relation use
type event
['Galerie Daru', 'use', {'concept': 'event'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:event . resource:Galerie_Daru property:use ?a }
[]