Simple Question (Direct)
Simple Question
Q3553331
P106
Q12737077
USER
Which occupation is the profession of Radek Divecký ?
(Q3553331,P106,c(Q12737077))
action filter_type
action find
entity Q3553331
relation P106
type Q12737077
['Q3553331', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q3553331 property:P106 ?t }
Radek Divecký
action filter_type
action find
entity Radek Divecký
relation occupation
type occupation
['Radek Divecký', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Radek_Divecký property:occupation ?t }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3553331,P106,c(Q12737077))
action filter_type
action find
entity Q3553331
relation P106
type Q12737077
The [ANSWER] is the profession of Radek Divecký
['Q3553331', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q3553331 property:P106 ?t }
association football player
The association football player is the profession of Radek Divecký
association football player
action filter_type
action find
entity Radek Divecký
relation occupation
type occupation
['Radek Divecký', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Radek_Divecký property:occupation ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3553331
P21
Q290
USER
Which sex does Radek Divecký have ?
(Q3553331,P21,c(Q290))
action filter_type
action find
entity Q3553331
relation P21
type Q290
['Q3553331', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q3553331 property:P21 ?b . ?b rdf:type ontology:Q290 }
Radek Divecký
action filter_type
action find
entity Radek Divecký
relation gender
type sex
['Radek Divecký', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Radek_Divecký property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3553331,P21,c(Q290))
action filter_type
action find
entity Q3553331
relation P21
type Q290
Radek Divecký has e [ANSWER]
['Q3553331', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q3553331 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Radek Divecký has e male
male
action filter_type
action find
entity Radek Divecký
relation gender
type sex
['Radek Divecký', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Radek_Divecký property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5702564
Q290
USER
And how about Helen K. Garber?
(Q5702564,P21,c(Q290))
action filter_type
action find
entity Q5702564
relation P21
type Q290
['Q5702564', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q5702564 property:P21 ?y . ?y rdf:type ontology:Q290 }
Helen K. Garber
action filter_type
action find
entity Helen K. Garber
relation gender
type sex
['Helen K. Garber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Helen_K._Garber property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q5702564,P21,c(Q290))
action filter_type
action find
entity Q5702564
relation P21
type Q290
[ANSWER]
['Q5702564', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q5702564 property:P21 ?y . ?y rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Helen K. Garber
relation gender
type sex
['Helen K. Garber', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Helen_K._Garber property:gender ?y . ?y rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q35548
P941
Q502895 Q838948 Q14514600
USER
Which people were more number of works of art and groups of fictional characters inspired by than Paul Cézanne ?
(c(Q838948)|c(Q14514600),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action count
action filter_multi_types
action find_reverse
entity Q35548
relation P941
type Q838948
type Q14514600
[[{'concept': 'Q838948'}, {'concept': 'Q14514600'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?w ) WHERE { { ?t property:P941 ?u . ?u rdf:type ontology:Q502895 . ?t rdf:type ontology:Q838948 } UNION { ?t property:P941 ?u . ?t rdf:type ontology:Q14514600 . ?u rdf:type ontology:Q502895 } } GROUP BY ?u } . FILTER ( ?w > ?b ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P941 resource:Q35548 . { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q838948 ) ( ontology:Q14514600 ) } } } } }
Paul Cézanne
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type work of art
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action count
action filter_multi_types
action find_reverse
entity Paul Cézanne
relation inspired by
type work of art
type group of fictional characters
[[{'concept': 'work of art'}, {'concept': 'group of fictional characters'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?w ) WHERE { { ?t property:inspired_by ?u . ?u rdf:type ontology:common_name . ?t rdf:type ontology:work_of_art } UNION { ?t property:inspired_by ?u . ?t rdf:type ontology:group_of_fictional_characters . ?u rdf:type ontology:common_name } } GROUP BY ?u } . FILTER ( ?w > ?b ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:inspired_by resource:Paul_Cézanne . { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:work_of_art ) ( ontology:group_of_fictional_characters ) } } } } }
[]
common name work of art group of fictional characters
Q483512 Q3385369 Q192222
SYSTEM
Isadora Duncan, Pierre Guillaume, Lysippos
Q531161 Q5534471 Q357951 Q3498875 Q483512 Q229432 Q192222 Q3385369 Q733965
(c(Q838948)|c(Q14514600),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action count
action filter_multi_types
action find_reverse
entity Q35548
relation P941
type Q838948
type Q14514600
[ANSWERS] were more number of works of art and groups of fictional characters inspired by than Paul Cézanne
[[{'concept': 'Q838948'}, {'concept': 'Q14514600'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?w ) WHERE { { ?t property:P941 ?u . ?u rdf:type ontology:Q502895 . ?t rdf:type ontology:Q838948 } UNION { ?t property:P941 ?u . ?t rdf:type ontology:Q14514600 . ?u rdf:type ontology:Q502895 } } GROUP BY ?u } . FILTER ( ?w > ?b ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:P941 resource:Q35548 . { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q838948 ) ( ontology:Q14514600 ) } } } } }
Elizabeth Kenny Geoffrey Bowers Mehran Karimi Nasseri Steve Carlson Isadora Duncan Lucretia Lysippos Pierre Guillaume Jack Carlson
Isadora Duncan, Pierre Guillaume and Lysippos were more number of works of art and groups of fictional characters inspired by than Paul Cézanne
Isadora Duncan Pierre Guillaume Lysippos
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type work of art
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action count
action filter_multi_types
action find_reverse
entity Paul Cézanne
relation inspired by
type work of art
type group of fictional characters
[[{'concept': 'work of art'}, {'concept': 'group of fictional characters'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?w ) WHERE { { ?t property:inspired_by ?u . ?u rdf:type ontology:common_name . ?t rdf:type ontology:work_of_art } UNION { ?t property:inspired_by ?u . ?t rdf:type ontology:group_of_fictional_characters . ?u rdf:type ontology:common_name } } GROUP BY ?u } . FILTER ( ?w > ?b ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { ?o property:inspired_by resource:Paul_Cézanne . { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:work_of_art ) ( ontology:group_of_fictional_characters ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q983441
P941
Q502895 Q838948 Q14514600
USER
And how about Thomas Moran?
(c(Q838948)|c(Q14514600),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action count
action filter_multi_types
action find_reverse
entity Q983441
relation P941
type Q838948
type Q14514600
[[{'concept': 'Q838948'}, {'concept': 'Q14514600'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?o ) WHERE { { ?e property:P941 ?h . ?h rdf:type ontology:Q502895 . ?e rdf:type ontology:Q838948 } UNION { ?e property:P941 ?h . ?h rdf:type ontology:Q502895 . ?e rdf:type ontology:Q14514600 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P941 resource:Q983441 . { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q14514600 ) } } } } . FILTER ( ?o > ?g ) }
Thomas Moran
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type work of art
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action count
action filter_multi_types
action find_reverse
entity Thomas Moran
relation inspired by
type work of art
type group of fictional characters
[[{'concept': 'work of art'}, {'concept': 'group of fictional characters'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?o ) WHERE { { ?e property:inspired_by ?h . ?h rdf:type ontology:common_name . ?e rdf:type ontology:work_of_art } UNION { ?e property:inspired_by ?h . ?h rdf:type ontology:common_name . ?e rdf:type ontology:group_of_fictional_characters } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:inspired_by resource:Thomas_Moran . { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:group_of_fictional_characters ) } } } } . FILTER ( ?o > ?g ) }
[]
common name work of art group of fictional characters
Q483512 Q3385369 Q192222
SYSTEM
Isadora Duncan, Pierre Guillaume, Lysippos
Q531161 Q5534471 Q357951 Q3498875 Q483512 Q229432 Q192222 Q3385369 Q733965
(c(Q838948)|c(Q14514600),P941,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q838948
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
action count
action filter_multi_types
action find_reverse
entity Q983441
relation P941
type Q838948
type Q14514600
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q14514600'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?o ) WHERE { { ?e property:P941 ?h . ?h rdf:type ontology:Q502895 . ?e rdf:type ontology:Q838948 } UNION { ?e property:P941 ?h . ?h rdf:type ontology:Q502895 . ?e rdf:type ontology:Q14514600 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P941 resource:Q983441 . { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q14514600 ) } } } } . FILTER ( ?o > ?g ) }
Elizabeth Kenny Geoffrey Bowers Mehran Karimi Nasseri Steve Carlson Isadora Duncan Lucretia Lysippos Pierre Guillaume Jack Carlson
Isadora Duncan Pierre Guillaume Lysippos
action greater
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type work of art
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
action count
action filter_multi_types
action find_reverse
entity Thomas Moran
relation inspired by
type work of art
type group of fictional characters
[[{'concept': 'work of art'}, {'concept': 'group of fictional characters'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?o ) WHERE { { ?e property:inspired_by ?h . ?h rdf:type ontology:common_name . ?e rdf:type ontology:work_of_art } UNION { ?e property:inspired_by ?h . ?h rdf:type ontology:common_name . ?e rdf:type ontology:group_of_fictional_characters } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:inspired_by resource:Thomas_Moran . { ?b rdf:type ?x . VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:group_of_fictional_characters ) } } } } . FILTER ( ?o > ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do max number of people know to play ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?p ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?o ) WHERE { ?f rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?f } GROUP BY ?f } } . FILTER ( ?b = ?p ) . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?t } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?p ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?o ) WHERE { ?f rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?f } GROUP BY ?f } } . FILTER ( ?b = ?p ) . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?t } }
[]
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 know how [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?p ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?o ) WHERE { ?f rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?f } GROUP BY ?f } } . FILTER ( ?b = ?p ) . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P1303 ?t . ?t rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?t } }
piano
Max number of people know how 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 ?t WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?p ) { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?o ) WHERE { ?f rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?f } GROUP BY ?f } } . FILTER ( ?b = ?p ) . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:instrument ?t . ?t rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?t } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do max number of people know to play ?
(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 { FILTER ( ?s = ?w ) . { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?s ) WHERE { ?f rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?f } GROUP BY ?f } . { SELECT DISTINCT ( MAX ( ?n ) AS ?w ) { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:P1303 ?j . ?d rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 } GROUP BY ?j } } }
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 { FILTER ( ?s = ?w ) . { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?s ) WHERE { ?f rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?f } GROUP BY ?f } . { SELECT DISTINCT ( MAX ( ?n ) AS ?w ) { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:instrument ?j . ?d rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument } GROUP BY ?j } } }
[]
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 know how [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?f WHERE { FILTER ( ?s = ?w ) . { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?s ) WHERE { ?f rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 . ?i property:P1303 ?f } GROUP BY ?f } . { SELECT DISTINCT ( MAX ( ?n ) AS ?w ) { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:P1303 ?j . ?d rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 } GROUP BY ?j } } }
piano
Max number of people know how 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 { FILTER ( ?s = ?w ) . { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?s ) WHERE { ?f rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name . ?i property:instrument ?f } GROUP BY ?f } . { SELECT DISTINCT ( MAX ( ?n ) AS ?w ) { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?n ) WHERE { ?d property:instrument ?j . ?d rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument } GROUP BY ?j } } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5994 Q10286906 Q1578670
P61
Q502895
USER
Was piano invented or discovered by Fábio Riodi Yassuda and Hans Bernitt ?
(Q5994,P61,Q10286906) (Q5994,P61,Q1578670)
action is_in
entity Q5994
action intersection
action find_reverse
entity Q10286906
relation P61
action find_reverse
entity Q1578670
relation P61
['Q5994', 'P61', 'Q10286906'] ['Q5994', 'P61', 'Q1578670']
ASK WHERE { resource:Q5994 property:P61 resource:Q1578670 . resource:Q5994 property:P61 resource:Q10286906 }
piano Fábio Riodi Yassuda Hans Bernitt
action is_in
entity piano
action intersection
action find_reverse
entity Fábio Riodi Yassuda
relation discoverer or inventor
action find_reverse
entity Hans Bernitt
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Fábio Riodi Yassuda'] ['piano', 'discoverer or inventor', 'Hans Bernitt']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Hans_Bernitt . resource:piano property:discoverer_or_inventor resource:Fábio_Riodi_Yassuda }
[]
common name
SYSTEM
NO
(Q5994,P61,Q10286906) (Q5994,P61,Q1578670)
action is_in
entity Q5994
action intersection
action find_reverse
entity Q10286906
relation P61
action find_reverse
entity Q1578670
relation P61
[ANSWER]
['Q5994', 'P61', 'Q10286906'] ['Q5994', 'P61', 'Q1578670']
ASK WHERE { resource:Q5994 property:P61 resource:Q1578670 . resource:Q5994 property:P61 resource:Q10286906 }
No
action is_in
entity piano
action intersection
action find_reverse
entity Fábio Riodi Yassuda
relation discoverer or inventor
action find_reverse
entity Hans Bernitt
relation discoverer or inventor
['piano', 'discoverer or inventor', 'Fábio Riodi Yassuda'] ['piano', 'discoverer or inventor', 'Hans Bernitt']
ASK WHERE { resource:piano property:discoverer_or_inventor resource:Hans_Bernitt . resource:piano property:discoverer_or_inventor resource:Fábio_Riodi_Yassuda }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can approximately 1179 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1179
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?k = 1179 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1179
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?k = 1179 ) }
[]
musical instrument common name
SYSTEM
64
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1179
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?k = 1179 ) }
viola bass guitar 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 trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
64
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1179
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?k = 1179 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q234460 Q14514600
USER
How many people were the sources of inspiration for around 1 texts or groups of fictional characters ?
(c(Q234460)|c(Q14514600),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
value 1
[[{'concept': 'Q234460'}, {'concept': 'Q14514600'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?v . VALUES ( ?v ) { ( ontology:Q234460 ) ( ontology:Q14514600 ) } } GROUP BY ?z } }
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
value 1
[[{'concept': 'text'}, {'concept': 'group of fictional characters'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?v . VALUES ( ?v ) { ( ontology:text ) ( ontology:group_of_fictional_characters ) } } GROUP BY ?z } }
[]
common name text group of fictional characters
SYSTEM
3
Q1508997 Q3498875 Q733965
(c(Q234460)|c(Q14514600),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P941
type Q502895
type Q14514600
value 1
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q14514600'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?v . VALUES ( ?v ) { ( ontology:Q234460 ) ( ontology:Q14514600 ) } } GROUP BY ?z } }
Georges Manolescu Steve Carlson Jack Carlson
3
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type text
action find_reverse_tuple_counts
relation inspired by
type common name
type group of fictional characters
value 1
[[{'concept': 'text'}, {'concept': 'group of fictional characters'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?v . VALUES ( ?v ) { ( ontology:text ) ( ontology:group_of_fictional_characters ) } } GROUP BY ?z } }
[]