Simple Question (Direct)
Simple Question
Q5511359
P21
Q290
USER
Which sex does Fábio Marcelo de Oliveira possess ?
(Q5511359,P21,c(Q290))
action filter_type
action find
entity Q5511359
relation P21
type Q290
['Q5511359', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5511359 property:P21 ?i . ?i rdf:type ontology:Q290 }
Fábio Marcelo de Oliveira
action filter_type
action find
entity Fábio Marcelo de Oliveira
relation gender
type sex
['Fábio Marcelo de Oliveira', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Fábio_Marcelo_de_Oliveira property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5511359,P21,c(Q290))
action filter_type
action find
entity Q5511359
relation P21
type Q290
Fábio Marcelo de Oliveira possesses un [ANSWER]
['Q5511359', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5511359 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Fábio Marcelo de Oliveira possesses un male
male
action filter_type
action find
entity Fábio Marcelo de Oliveira
relation gender
type sex
['Fábio Marcelo de Oliveira', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Fábio_Marcelo_de_Oliveira property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5511359
P641
Q349
USER
Which sport was Fábio Marcelo de Oliveira a part of ?
(Q5511359,P641,c(Q349))
action filter_type
action find
entity Q5511359
relation P641
type Q349
['Q5511359', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q5511359 property:P641 ?z . ?z rdf:type ontology:Q349 }
Fábio Marcelo de Oliveira
action filter_type
action find
entity Fábio Marcelo de Oliveira
relation sport
type sport
['Fábio Marcelo de Oliveira', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Fábio_Marcelo_de_Oliveira property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5511359,P641,c(Q349))
action filter_type
action find
entity Q5511359
relation P641
type Q349
The [ANSWER] was Fábio Marcelo de Oliveira a part of
['Q5511359', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q5511359 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
The association football was Fábio Marcelo de Oliveira a part of
association football
action filter_type
action find
entity Fábio Marcelo de Oliveira
relation sport
type sport
['Fábio Marcelo de Oliveira', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Fábio_Marcelo_de_Oliveira property:sport ?z . ?z rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 3518 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3518
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?b <= 3518 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3518
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?b <= 3518 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3518
[ANSWERS] can atmost 3518 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?b <= 3518 ) }
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
Davul, harpsichord and Wurlitzer electric piano can atmost 3518 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3518
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?b <= 3518 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6354322 Q5511359
P19
Q56061
USER
Which administrative territories were Fábio Marcelo de Oliveira or Kaloyan Dinchev born at ?
OR((Q5511359,P19,c(Q56061)), (Q6354322,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5511359
relation P19
action find
entity Q6354322
relation P19
type Q56061
{'OR': [['Q5511359', 'P19', {'concept': 'Q56061'}], ['Q6354322', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q5511359 property:P19 ?r } UNION { resource:Q6354322 property:P19 ?r } } . ?r rdf:type ontology:Q56061 }
Kaloyan Dinchev Fábio Marcelo de Oliveira
action filter_type
action union
action find
entity Fábio Marcelo de Oliveira
relation place of birth
action find
entity Kaloyan Dinchev
relation place of birth
type administrative territorial entity
{'OR': [['Fábio Marcelo de Oliveira', 'place of birth', {'concept': 'administrative territorial entity'}], ['Kaloyan Dinchev', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Fábio_Marcelo_de_Oliveira property:place_of_birth ?r } UNION { resource:Kaloyan_Dinchev property:place_of_birth ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q170415 Q8678
SYSTEM
Stara Zagora, Rio de Janeiro
Q170415 Q8678
OR((Q5511359,P19,c(Q56061)), (Q6354322,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5511359
relation P19
action find
entity Q6354322
relation P19
type Q56061
[ANSWERS] were Fábio Marcelo de Oliveira or Kaloyan Dinchev born at
{'OR': [['Q5511359', 'P19', {'concept': 'Q56061'}], ['Q6354322', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q5511359 property:P19 ?r } UNION { resource:Q6354322 property:P19 ?r } } . ?r rdf:type ontology:Q56061 }
Stara Zagora Rio de Janeiro
Stara Zagora and Rio de Janeiro were Fábio Marcelo de Oliveira or Kaloyan Dinchev born at
Stara Zagora Rio de Janeiro
action filter_type
action union
action find
entity Fábio Marcelo de Oliveira
relation place of birth
action find
entity Kaloyan Dinchev
relation place of birth
type administrative territorial entity
{'OR': [['Fábio Marcelo de Oliveira', 'place of birth', {'concept': 'administrative territorial entity'}], ['Kaloyan Dinchev', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Fábio_Marcelo_de_Oliveira property:place_of_birth ?r } UNION { resource:Kaloyan_Dinchev property:place_of_birth ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8678
P190
Q20667921
USER
Which french administrative division is twin town of Rio de Janeiro ?
(Q8678,P190,c(Q20667921))
action filter_type
action find
entity Q8678
relation P190
type Q20667921
['Q8678', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q8678 property:P190 ?b . ?b rdf:type ontology:Q20667921 }
Rio de Janeiro
action filter_type
action find
entity Rio de Janeiro
relation sister city
type type of french administrative division
['Rio de Janeiro', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Rio_de_Janeiro property:sister_city ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1813
SYSTEM
Saint-Tropez
Q1813
(Q8678,P190,c(Q20667921))
action filter_type
action find
entity Q8678
relation P190
type Q20667921
[ANSWER] is twin town of Rio de Janeiro
['Q8678', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q8678 property:P190 ?b . ?b rdf:type ontology:Q20667921 }
Saint-Tropez
Saint-Tropez is twin town of Rio de Janeiro
Saint-Tropez
action filter_type
action find
entity Rio de Janeiro
relation sister city
type type of french administrative division
['Rio de Janeiro', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Rio_de_Janeiro property:sister_city ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]