Simple Question (Direct)
Simple Question
Q4910129
P106
Q12737077
USER
What is the profession of Bill McKenzie ?
(Q4910129,P106,c(Q12737077))
action filter_type
action find
entity Q4910129
relation P106
type Q12737077
['Q4910129', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q4910129 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Bill McKenzie
action filter_type
action find
entity Bill McKenzie
relation occupation
type occupation
['Bill McKenzie', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Bill_McKenzie property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q4910129,P106,c(Q12737077))
action filter_type
action find
entity Q4910129
relation P106
type Q12737077
The profession of Bill McKenzie is an [ANSWER]
['Q4910129', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q4910129 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
ice hockey player
The profession of Bill McKenzie is an ice hockey player
ice hockey player
action filter_type
action find
entity Bill McKenzie
relation occupation
type occupation
['Bill McKenzie', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Bill_McKenzie property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4910129
P21
Q290
USER
Which sex does Bill McKenzie possess ?
(Q4910129,P21,c(Q290))
action filter_type
action find
entity Q4910129
relation P21
type Q290
['Q4910129', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q4910129 property:P21 ?n . ?n rdf:type ontology:Q290 }
Bill McKenzie
action filter_type
action find
entity Bill McKenzie
relation gender
type sex
['Bill McKenzie', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Bill_McKenzie property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4910129,P21,c(Q290))
action filter_type
action find
entity Q4910129
relation P21
type Q290
Bill McKenzie possesses [ANSWER]
['Q4910129', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q4910129 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Bill McKenzie possesses male
male
action filter_type
action find
entity Bill McKenzie
relation gender
type sex
['Bill McKenzie', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Bill_McKenzie property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4910129
P69
Q3918
USER
Which university is that person an alumni of ?
(Q6581097,P69,c(Q3918))
action filter_type
action find
entity Q4910129
relation P69
type Q3918
['Q6581097', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?n WHERE { resource:Q4910129 property:P69 ?n . ?n rdf:type ontology:Q3918 }
Bill McKenzie
action filter_type
action find
entity Bill McKenzie
relation educated at
type university
['male', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?n WHERE { resource:Bill_McKenzie property:educated_at ?n . ?n rdf:type ontology:university }
[]
university
Q309331
SYSTEM
Ohio State University
Q309331
(Q6581097,P69,c(Q3918))
action filter_type
action find
entity Q4910129
relation P69
type Q3918
[ANSWER] is that person an alumni of
['Q6581097', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?n WHERE { resource:Q4910129 property:P69 ?n . ?n rdf:type ontology:Q3918 }
Ohio State University
Ohio State University is that person an alumni of
Ohio State University
action filter_type
action find
entity Bill McKenzie
relation educated at
type university
['male', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?n WHERE { resource:Bill_McKenzie property:educated_at ?n . ?n rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4910129
P641
Q349
USER
Which sport did that person participate in ?
(Q309331,P641,c(Q349))
action filter_type
action find
entity Q4910129
relation P641
type Q349
['Q309331', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q4910129 property:P641 ?g . ?g rdf:type ontology:Q349 }
Bill McKenzie
action filter_type
action find
entity Bill McKenzie
relation sport
type sport
['Ohio State University', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Bill_McKenzie property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q309331,P641,c(Q349))
action filter_type
action find
entity Q4910129
relation P641
type Q349
That person participated in [ANSWER]
['Q309331', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q4910129 property:P641 ?g . ?g rdf:type ontology:Q349 }
ice hockey
That person participated in ice hockey
ice hockey
action filter_type
action find
entity Bill McKenzie
relation sport
type sport
['Ohio State University', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Bill_McKenzie property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q309331
P463
Q874405
USER
What social groups had Ohio State University as their member ?
(Q309331,P463,c(Q874405))
action filter_type
action find
entity Q309331
relation P463
type Q874405
['Q309331', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q309331 property:P463 ?j . ?j rdf:type ontology:Q874405 }
Ohio State University
action filter_type
action find
entity Ohio State University
relation member of
type social group
['Ohio State University', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:Ohio_State_University property:member_of ?j . ?j rdf:type ontology:social_group }
[]
social group
Q5583848 Q743812
SYSTEM
Oak Ridge Associated Universities, Association of American Universities
Q5583848 Q743812
(Q309331,P463,c(Q874405))
action filter_type
action find
entity Q309331
relation P463
type Q874405
Ohio [ANSWERS] had Ohio State University as their member
['Q309331', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q309331 property:P463 ?j . ?j rdf:type ontology:Q874405 }
Oak Ridge Associated Universities Association of American Universities
Ohio Oak Ridge Associated Universities and Association of American Universities had Ohio State University as their member
Oak Ridge Associated Universities Association of American Universities
action filter_type
action find
entity Ohio State University
relation member of
type social group
['Ohio State University', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:Ohio_State_University property:member_of ?j . ?j rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5583848
P17
Q15617994
USER
Which administrative territory is Oak Ridge Associated Universities a part of ?
(Q5583848,P17,c(Q15617994))
action filter_type
action find
entity Q5583848
relation P17
type Q15617994
['Q5583848', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q5583848 property:P17 ?y }
Oak Ridge Associated Universities
action filter_type
action find
entity Oak Ridge Associated Universities
relation country
type designation for an administrative territorial entity
['Oak Ridge Associated Universities', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Oak_Ridge_Associated_Universities property:country ?y }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5583848,P17,c(Q15617994))
action filter_type
action find
entity Q5583848
relation P17
type Q15617994
The [ANSWER] is Oak Ridge Associated Universities a part of
['Q5583848', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q5583848 property:P17 ?y }
United States of America
The United States of America is Oak Ridge Associated Universities a part of
United States of America
action filter_type
action find
entity Oak Ridge Associated Universities
relation country
type designation for an administrative territorial entity
['Oak Ridge Associated Universities', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Oak_Ridge_Associated_Universities property:country ?y }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P355
Q874405 Q740752 Q43229
USER
Which social groups are approximately 1 transport companies and organizations the parent company of ?
(c(Q740752)|c(Q43229),P355,c(Q874405))
action approx
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q740752
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
value 1
[[{'concept': 'Q740752'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?b WHERE { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:Q740752 ) ( ontology:Q43229 ) } } GROUP BY ?b } . FILTER ( ?c = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type transport company
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
value 1
[[{'concept': 'transport company'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?b WHERE { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:transport_company ) ( ontology:organization ) } } GROUP BY ?b } . FILTER ( ?c = 1 ) }
[]
social group transport company organization
Q1377855 Q82610 Q13431465
SYSTEM
Google.org, Newport News Shipbuilding, Thales Air Defence
Q7437933 Q1114200 Q11788418 Q4929965 Q7988225 Q82610 Q13431465 Q2860866 Q4698479 Q3519460 Q14623752 Q2044206 Q6670591 Q1203555 Q5330408 Q2543504 Q3913196 Q3435621 Q5892736 Q4698480 Q7570387 Q1377855 Q408396 Q7055281 Q11722823 Q14334150 Q10955989
(c(Q740752)|c(Q43229),P355,c(Q874405))
action approx
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q740752
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
value 1
[ANSWERS] are approximately 1 transport companies and organizations the parent company of
[[{'concept': 'Q740752'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?b WHERE { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:Q740752 ) ( ontology:Q43229 ) } } GROUP BY ?b } . FILTER ( ?c = 1 ) }
Scottish Region of British Railways Picnik NWR Karbonia Blue Triangle Western Region of British Railways Newport News Shipbuilding Thales Air Defence Areva TA Airbus ProSky Thales Underwater Systems Pink BH PIK Vrbovec London Midland Region of British Railways Deutsche Messe AG Eastern Region of British Railways Saturn Thales Nederland Elektrárna Dětmarovice Honda Taiwan Airbus Operations S.A.S. Southern Region of British Railways Google.org Airbus Transport International North Eastern Region of British Railways Centrum Holdings MediaCorp Raintree Pictures Media Asia Film Distribution Company
Google.org, Newport News Shipbuilding and Thales Air Defence are approximately 1 transport companies and organizations the parent company of
Google.org Newport News Shipbuilding Thales Air Defence
action approx
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type transport company
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
value 1
[[{'concept': 'transport company'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) ?b WHERE { ?o rdf:type ?v . VALUES ( ?v ) { ( ontology:transport_company ) ( ontology:organization ) } } GROUP BY ?b } . FILTER ( ?c = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P466
Q874405 Q483110 Q811430
USER
How many social groups were the tenants of around 1 stadia and constructions ?
(c(Q483110)|c(Q811430),P466,c(Q874405))
action count
action approx
action union
action find_reverse_tuple_counts
relation P466
type Q874405
type Q483110
action find_reverse_tuple_counts
relation P466
type Q874405
type Q811430
value 1
[[{'concept': 'Q483110'}, {'concept': 'Q811430'}], 'P466', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?a ) WHERE { { ?w property:P466 ?i . ?i rdf:type ontology:Q874405 . ?w rdf:type ontology:Q811430 } UNION { ?w property:P466 ?i . ?i rdf:type ontology:Q874405 . ?w rdf:type ontology:Q483110 } } GROUP BY ?i } . FILTER ( ?a = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation occupant
type social group
type stadium
action find_reverse_tuple_counts
relation occupant
type social group
type construction
value 1
[[{'concept': 'stadium'}, {'concept': 'construction'}], 'occupant', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?a ) WHERE { { ?w property:occupant ?i . ?i rdf:type ontology:social_group . ?w rdf:type ontology:construction } UNION { ?w property:occupant ?i . ?i rdf:type ontology:social_group . ?w rdf:type ontology:stadium } } GROUP BY ?i } . FILTER ( ?a = 1 ) }
[]
social group stadium construction
SYSTEM
5
Q7566966 Q1101257 Q1574487 Q3572603 Q3339085
(c(Q483110)|c(Q811430),P466,c(Q874405))
action count
action approx
action union
action find_reverse_tuple_counts
relation P466
type Q874405
type Q483110
action find_reverse_tuple_counts
relation P466
type Q874405
type Q811430
value 1
[ANSWER]
[[{'concept': 'Q483110'}, {'concept': 'Q811430'}], 'P466', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?a ) WHERE { { ?w property:P466 ?i . ?i rdf:type ontology:Q874405 . ?w rdf:type ontology:Q811430 } UNION { ?w property:P466 ?i . ?i rdf:type ontology:Q874405 . ?w rdf:type ontology:Q483110 } } GROUP BY ?i } . FILTER ( ?a = 1 ) }
South Dakota High School Activities Association Clifford Chance Melbourne Storm York City Knights New Zealand Warriors
5
action count
action approx
action union
action find_reverse_tuple_counts
relation occupant
type social group
type stadium
action find_reverse_tuple_counts
relation occupant
type social group
type construction
value 1
[[{'concept': 'stadium'}, {'concept': 'construction'}], 'occupant', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?a ) WHERE { { ?w property:occupant ?i . ?i rdf:type ontology:social_group . ?w rdf:type ontology:construction } UNION { ?w property:occupant ?i . ?i rdf:type ontology:social_group . ?w rdf:type ontology:stadium } } GROUP BY ?i } . FILTER ( ?a = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q874405 Q2342494 Q18783400
USER
Which social groups are demonstrated in atleast 1 collectables or genres of sculpture ?
(c(Q2342494)|c(Q18783400),P180,c(Q874405))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q874405
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q874405
type Q18783400
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?h WHERE { VALUES ( ?w ) { ( ontology:Q18783400 ) ( ontology:Q2342494 ) } . ?l rdf:type ?w } GROUP BY ?h } }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type social group
type collectable
action find_reverse_tuple_counts
relation depicts
type social group
type genre of sculpture
value 1
[[{'concept': 'collectable'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?h WHERE { VALUES ( ?w ) { ( ontology:genre_of_sculpture ) ( ontology:collectable ) } . ?l rdf:type ?w } GROUP BY ?h } }
[]
social group collectable genre of sculpture
Q748 Q402152
SYSTEM
Buddhism, ancestor
Q748 Q402152
(c(Q2342494)|c(Q18783400),P180,c(Q874405))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q874405
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q874405
type Q18783400
value 1
[ANSWERS] are demonstrated in atleast 1 collectables or genres of sculpture
[[{'concept': 'Q2342494'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?h WHERE { VALUES ( ?w ) { ( ontology:Q18783400 ) ( ontology:Q2342494 ) } . ?l rdf:type ?w } GROUP BY ?h } }
Buddhism ancestor
Buddhism and ancestor are demonstrated in atleast 1 collectables or genres of sculpture
Buddhism ancestor
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type social group
type collectable
action find_reverse_tuple_counts
relation depicts
type social group
type genre of sculpture
value 1
[[{'concept': 'collectable'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?h WHERE { VALUES ( ?w ) { ( ontology:genre_of_sculpture ) ( ontology:collectable ) } . ?l rdf:type ?w } GROUP BY ?h } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q748
P101
Q502895
USER
Which people have field of work as that social group ?
(c(Q502895),P101,Q748)
action filter_type
action find_reverse
entity Q748
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q748']
SELECT DISTINCT ?e WHERE { ?e property:P101 resource:Q748 . ?e rdf:type ontology:Q502895 }
Buddhism
action filter_type
action find_reverse
entity Buddhism
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Buddhism']
SELECT DISTINCT ?e WHERE { ?e property:field_of_work resource:Buddhism . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q748
SYSTEM
Did you mean Buddhism ?
Q748 Q402152
(c(Q502895),P101,Q748) (c(Q502895),P101,Q402152)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q748'] [{'concept': 'Q502895'}, 'P101', 'Q402152']
SELECT DISTINCT ?e WHERE { ?e property:P101 resource:Q748 . ?e rdf:type ontology:Q502895 }
Buddhism ancestor
Did you mean Buddhism ?
Buddhism
[{'concept': 'common name'}, 'field of work', 'Buddhism'] [{'concept': 'common name'}, 'field of work', 'ancestor']
SELECT DISTINCT ?e WHERE { ?e property:field_of_work resource:Buddhism . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P101,Q748)
[{'concept': 'Q502895'}, 'P101', 'Q748']
[{'concept': 'common name'}, 'field of work', 'Buddhism']
[]
Q4098008 Q171195
SYSTEM
Paul J. Griffiths, Nagarjuna
Q171195 Q4098008
(c(Q502895),P101,Q748)
action filter_type
action find_reverse
entity Q748
relation P101
type Q502895
[ANSWERS] have field of work as that social group
[{'concept': 'Q502895'}, 'P101', 'Q748']
SELECT DISTINCT ?e WHERE { ?e property:P101 resource:Q748 . ?e rdf:type ontology:Q502895 }
Nagarjuna Paul J. Griffiths
Paul J. Griffiths and Nagarjuna have field of work as that social group
Paul J. Griffiths Nagarjuna
action filter_type
action find_reverse
entity Buddhism
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Buddhism']
SELECT DISTINCT ?e WHERE { ?e property:field_of_work resource:Buddhism . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 3278 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3278
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?s >= 3278 ) . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?s ) WHERE { ?p rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?p } GROUP BY ?p } }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3278
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?s >= 3278 ) . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?s ) WHERE { ?p rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?p } GROUP BY ?p } }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3278
[ANSWERS] can atleast 3278 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?s >= 3278 ) . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?s ) WHERE { ?p rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?p } GROUP BY ?p } }
piano violin
Piano and violin can atleast 3278 people perform with
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3278
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?s >= 3278 ) . { SELECT DISTINCT ?p ( COUNT ( ?g ) AS ?s ) WHERE { ?p rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?p } GROUP BY ?p } }
[]