Simple Question (Direct)
Simple Question
Q1767365
P21
Q290
USER
What is the sex of Antônio Salvador Sucar ?
(Q1767365,P21,c(Q290))
action filter_type
action find
entity Q1767365
relation P21
type Q290
['Q1767365', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q1767365 property:P21 ?p . ?p rdf:type ontology:Q290 }
Antônio Salvador Sucar
action filter_type
action find
entity Antônio Salvador Sucar
relation gender
type sex
['Antônio Salvador Sucar', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Antônio_Salvador_Sucar property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1767365,P21,c(Q290))
action filter_type
action find
entity Q1767365
relation P21
type Q290
The sex of Antônio Salvador Sucar is a [ANSWER]
['Q1767365', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q1767365 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
The sex of Antônio Salvador Sucar is a male
male
action filter_type
action find
entity Antônio Salvador Sucar
relation gender
type sex
['Antônio Salvador Sucar', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Antônio_Salvador_Sucar property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1767365
P106
Q12737077
USER
What is the job of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1767365
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q1767365 property:P106 ?v }
Antônio Salvador Sucar
action filter_type
action find
entity Antônio Salvador Sucar
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Antônio_Salvador_Sucar property:occupation ?v }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1767365
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q1767365 property:P106 ?v }
basketball player
The job of that person is a basketball player
basketball player
action filter_type
action find
entity Antônio Salvador Sucar
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Antônio_Salvador_Sucar property:occupation ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1767365
P641
Q349
USER
Which sport did Antônio Salvador Sucar participate in ?
(Q1767365,P641,c(Q349))
action filter_type
action find
entity Q1767365
relation P641
type Q349
['Q1767365', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q1767365 property:P641 ?x }
Antônio Salvador Sucar
action filter_type
action find
entity Antônio Salvador Sucar
relation sport
type sport
['Antônio Salvador Sucar', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:Antônio_Salvador_Sucar property:sport ?x }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q1767365,P641,c(Q349))
action filter_type
action find
entity Q1767365
relation P641
type Q349
Antônio Salvador Sucar participated in [ANSWER]
['Q1767365', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q1767365 property:P641 ?x }
basketball
Antônio Salvador Sucar participated in basketball
basketball
action filter_type
action find
entity Antônio Salvador Sucar
relation sport
type sport
['Antônio Salvador Sucar', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:Antônio_Salvador_Sucar property:sport ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1767365
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q5372,P27,c(Q15617994))
action filter_type
action find
entity Q1767365
relation P27
type Q15617994
['Q5372', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1767365 property:P27 ?p }
Antônio Salvador Sucar
action filter_type
action find
entity Antônio Salvador Sucar
relation country of citizenship
type designation for an administrative territorial entity
['basketball', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Antônio_Salvador_Sucar property:country_of_citizenship ?p }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q5372,P27,c(Q15617994))
action filter_type
action find
entity Q1767365
relation P27
type Q15617994
That person belongs to a [ANSWER]
['Q5372', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1767365 property:P27 ?p }
Brazil
That person belongs to a Brazil
Brazil
action filter_type
action find
entity Antônio Salvador Sucar
relation country of citizenship
type designation for an administrative territorial entity
['basketball', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Antônio_Salvador_Sucar property:country_of_citizenship ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1767365
P54
Q618123
USER
Which geographical object is that person a member of ?
(Q155,P54,c(Q618123))
action filter_type
action find
entity Q1767365
relation P54
type Q618123
['Q155', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?y WHERE { resource:Q1767365 property:P54 ?y . ?y rdf:type ontology:Q618123 }
Antônio Salvador Sucar
action filter_type
action find
entity Antônio Salvador Sucar
relation member of sports team
type geographical object
['Brazil', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?y WHERE { resource:Antônio_Salvador_Sucar property:member_of_sports_team ?y . ?y rdf:type ontology:geographical_object }
[]
geographical object
Q15054165
SYSTEM
Esporte Clube Sírio
Q15054165
(Q155,P54,c(Q618123))
action filter_type
action find
entity Q1767365
relation P54
type Q618123
[ANSWER] is that person a member of
['Q155', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?y WHERE { resource:Q1767365 property:P54 ?y . ?y rdf:type ontology:Q618123 }
Esporte Clube Sírio
Esporte Clube Sírio is that person a member of
Esporte Clube Sírio
action filter_type
action find
entity Antônio Salvador Sucar
relation member of sports team
type geographical object
['Brazil', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?y WHERE { resource:Antônio_Salvador_Sucar property:member_of_sports_team ?y . ?y rdf:type ontology:geographical_object }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1767365
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q15054165,P19,c(Q56061))
action filter_type
action find
entity Q1767365
relation P19
type Q56061
['Q15054165', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1767365 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Antônio Salvador Sucar
action filter_type
action find
entity Antônio Salvador Sucar
relation place of birth
type administrative territorial entity
['Esporte Clube Sírio', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Antônio_Salvador_Sucar property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1014661
SYSTEM
Lules
Q1014661
(Q15054165,P19,c(Q56061))
action filter_type
action find
entity Q1767365
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q15054165', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q1767365 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Lules
Lules is the place of birth of that person
Lules
action filter_type
action find
entity Antônio Salvador Sucar
relation place of birth
type administrative territorial entity
['Esporte Clube Sírio', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Antônio_Salvador_Sucar property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1014661
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
(Q1014661,P17,c(Q15617994))
action filter_type
action find
entity Q1014661
relation P17
type Q15617994
['Q1014661', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q1014661 property:P17 ?s }
Lules
action filter_type
action find
entity Lules
relation country
type designation for an administrative territorial entity
['Lules', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lules property:country ?s }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q1014661,P17,c(Q15617994))
action filter_type
action find
entity Q1014661
relation P17
type Q15617994
That administrative territory is situated in [ANSWER]
['Q1014661', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q1014661 property:P17 ?s }
Argentina
That administrative territory is situated in Argentina
Argentina
action filter_type
action find
entity Lules
relation country
type designation for an administrative territorial entity
['Lules', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lules property:country ?s }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q7725634
USER
Which administrative territories did more number of musical ensembles or literary works originate than that administrative territory ?
(c(Q2088357)|c(Q7725634),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q414
relation P495
type Q2088357
type Q7725634
[[{'concept': 'Q2088357'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?g WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q7725634 ) ( ontology:Q2088357 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P495 resource:Q414 . { { ?e rdf:type ontology:Q2088357 } UNION { ?e rdf:type ontology:Q7725634 } } } } . FILTER ( ?b > ?r ) }
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Argentina
relation country of origin
type musical ensemble
type literary work
[[{'concept': 'musical ensemble'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?g WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:literary_work ) ( ontology:musical_ensemble ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:country_of_origin resource:Argentina . { { ?e rdf:type ontology:musical_ensemble } UNION { ?e rdf:type ontology:literary_work } } } } . FILTER ( ?b > ?r ) }
[]
designation for an administrative territorial entity musical ensemble literary work
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q142 Q55 Q145 Q45 Q159 Q43 Q41 Q155 Q884 Q33 Q31 Q30 Q36 Q34 Q39 Q38 Q20 Q27 Q28 Q17 Q213 Q215 Q218 Q29
(c(Q2088357)|c(Q7725634),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q414
relation P495
type Q2088357
type Q7725634
[ANSWERS] more number of musical ensembles or literary works originated than that administrative territory
[[{'concept': 'Q2088357'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?g WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q7725634 ) ( ontology:Q2088357 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P495 resource:Q414 . { { ?e rdf:type ontology:Q2088357 } UNION { ?e rdf:type ontology:Q7725634 } } } } . FILTER ( ?b > ?r ) }
Israel France Netherlands United Kingdom Portugal Russia Turkey Greece Brazil South Korea Finland Belgium United States of America Poland Sweden Switzerland Italy Norway Ireland Hungary Japan Czech Republic Slovenia Romania Spain
Italy, Brazil and United States of America more number of musical ensembles or literary works originated than that administrative territory
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Argentina
relation country of origin
type musical ensemble
type literary work
[[{'concept': 'musical ensemble'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?g WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:literary_work ) ( ontology:musical_ensemble ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:country_of_origin resource:Argentina . { { ?e rdf:type ontology:musical_ensemble } UNION { ?e rdf:type ontology:literary_work } } } } . FILTER ( ?b > ?r ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q701148
P530
Q15617994
USER
Are Stelle known to have diplomatic connections with those ones ?
(Q701148,P530,Q38) (Q701148,P530,Q155) (Q701148,P530,Q30)
action is_in
entity prev_answer
action find
entity Q701148
relation P530
['Q701148', 'P530', 'Q38'] ['Q701148', 'P530', 'Q155'] ['Q701148', 'P530', 'Q30']
ASK WHERE { resource:Q701148 property:P530 ?n . VALUES ( ?n ) { ( resource:Q801 ) ( resource:Q142 ) ( resource:Q55 ) } }
Stelle
action is_in
entity prev_answer
action find
entity Stelle
relation diplomatic relation
['Stelle', 'diplomatic relation', 'Italy'] ['Stelle', 'diplomatic relation', 'Brazil'] ['Stelle', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Stelle property:diplomatic_relation ?n . VALUES ( ?n ) { ( resource:Israel ) ( resource:France ) ( resource:Netherlands ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q701148,P530,Q38) (Q701148,P530,Q155) (Q701148,P530,Q30)
action is_in
entity prev_answer
action find
entity Q701148
relation P530
[ANSWER]
['Q701148', 'P530', 'Q38'] ['Q701148', 'P530', 'Q155'] ['Q701148', 'P530', 'Q30']
ASK WHERE { resource:Q701148 property:P530 ?n . VALUES ( ?n ) { ( resource:Q801 ) ( resource:Q142 ) ( resource:Q55 ) } }
No
action is_in
entity prev_answer
action find
entity Stelle
relation diplomatic relation
['Stelle', 'diplomatic relation', 'Italy'] ['Stelle', 'diplomatic relation', 'Brazil'] ['Stelle', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Stelle property:diplomatic_relation ?n . VALUES ( ?n ) { ( resource:Israel ) ( resource:France ) ( resource:Netherlands ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1014661
P19 P21
Q502895
USER
Which people have location of birth at Lules and have the gender as male ?
AND((c(Q502895),P19,Q1014661), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1014661
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1014661'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q1014661 . ?k property:P21 resource:Q6581097 . ?k rdf:type ontology:Q502895 }
male Lules
action filter_type
action intersection
action find_reverse
entity Lules
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Lules'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Lules . ?k property:gender resource:male . ?k rdf:type ontology:common_name }
[]
common name
Q1767365 Q16298015 Q5829599 Q9054826
SYSTEM
Antônio Salvador Sucar, Víctor Cabrera, Eliseo Cantón, Palito Ortega
Q1767365 Q16298015 Q5829599 Q9054826
AND((c(Q502895),P19,Q1014661), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1014661
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have location of birth at Lules and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1014661'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?k WHERE { ?k property:P19 resource:Q1014661 . ?k property:P21 resource:Q6581097 . ?k rdf:type ontology:Q502895 }
Antônio Salvador Sucar Víctor Cabrera Eliseo Cantón Palito Ortega
Antônio Salvador Sucar, Víctor Cabrera, Eliseo Cantón and Palito Ortega have location of birth at Lules and have the gender as male
Antônio Salvador Sucar Víctor Cabrera Eliseo Cantón Palito Ortega
action filter_type
action intersection
action find_reverse
entity Lules
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Lules'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?k WHERE { ?k property:place_of_birth resource:Lules . ?k property:gender resource:male . ?k rdf:type ontology:common_name }
[]
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 around 1042 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1042
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P1303 ?y . ?b rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . FILTER ( ?d = 1042 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1042
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:instrument ?y . ?b rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . FILTER ( ?d = 1042 ) }
[]
musical instrument common name
SYSTEM
63
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 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 1042
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P1303 ?y . ?b rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . FILTER ( ?d = 1042 ) }
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 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
63
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1042
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:instrument ?y . ?b rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . FILTER ( ?d = 1042 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q111405 Q38
P47
Q15617994
USER
Which administrative territories are bordered by Italy or Pisogne ?
OR((Q38,P47,c(Q15617994)), (Q111405,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P47
action find
entity Q111405
relation P47
type Q15617994
{'OR': [['Q38', 'P47', {'concept': 'Q15617994'}], ['Q111405', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q111405 property:P47 ?a } UNION { resource:Q38 property:P47 ?a } } . ?a rdf:type ontology:Q15617994 }
Pisogne Italy
action filter_type
action union
action find
entity Italy
relation shares border with
action find
entity Pisogne
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Pisogne', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Pisogne property:shares_border_with ?a } UNION { resource:Italy property:shares_border_with ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q101585 Q215 Q111394 Q103440 Q238 Q142 Q39 Q100423 Q101202 Q100192
SYSTEM
Some of them are Solto Collina, Slovenia, Pezzaze, Artogne, San Marino, France, Switzerland, Costa Volpino, Lovere, Castro, Lombardy
Q142 Q105168 Q101202 Q101585 Q215 Q100423 Q238 Q101507 Q111394 Q100192 Q112237 Q103440 Q111397 Q39
OR((Q38,P47,c(Q15617994)), (Q111405,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P47
action find
entity Q111405
relation P47
type Q15617994
[ANSWERS]
{'OR': [['Q38', 'P47', {'concept': 'Q15617994'}], ['Q111405', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q111405 property:P47 ?a } UNION { resource:Q38 property:P47 ?a } } . ?a rdf:type ontology:Q15617994 }
France Marone Lovere Solto Collina Slovenia Costa Volpino San Marino Riva di Solto Pezzaze Castro, Lombardy Zone, Lombardy Artogne Pian Camuno Switzerland
Solto Collina, Slovenia, Pezzaze, Artogne, San Marino, France, Switzerland, Costa Volpino, Lovere and Castro, Lombardy are bordered by Italy or Pisogne
Solto Collina Slovenia Pezzaze Artogne San Marino France Switzerland Costa Volpino Lovere Castro, Lombardy
action filter_type
action union
action find
entity Italy
relation shares border with
action find
entity Pisogne
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Pisogne', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Pisogne property:shares_border_with ?a } UNION { resource:Italy property:shares_border_with ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]