Simple Question (Direct)
Simple Question
Q716465
P102
Q7210356
USER
Which party is Bernardo Rezende affiliated with ?
(Q716465,P102,c(Q7210356))
action filter_type
action find
entity Q716465
relation P102
type Q7210356
['Q716465', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q716465 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Bernardo Rezende
action filter_type
action find
entity Bernardo Rezende
relation member of political party
type political organization
['Bernardo Rezende', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Bernardo_Rezende property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
political organization
Q1322897
SYSTEM
Brazilian Social Democracy Party
Q1322897
(Q716465,P102,c(Q7210356))
action filter_type
action find
entity Q716465
relation P102
type Q7210356
Bernardo Rezende is affiliated with [ANSWER]
['Q716465', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q716465 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Brazilian Social Democracy Party
Bernardo Rezende is affiliated with Brazilian Social Democracy Party
Brazilian Social Democracy Party
action filter_type
action find
entity Bernardo Rezende
relation member of political party
type political organization
['Bernardo Rezende', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Bernardo_Rezende property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q716465
P40
Q502895
USER
Which person is a successor of that one ?
(Q1322897,P40,c(Q502895))
action filter_type
action find
entity Q716465
relation P40
type Q502895
['Q1322897', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q716465 property:P40 ?r . ?r rdf:type ontology:Q502895 }
Bernardo Rezende
action filter_type
action find
entity Bernardo Rezende
relation child
type common name
['Brazilian Social Democracy Party', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Bernardo_Rezende property:child ?r . ?r rdf:type ontology:common_name }
[]
common name
Q613695
SYSTEM
Bruno Rezende
Q613695
(Q1322897,P40,c(Q502895))
action filter_type
action find
entity Q716465
relation P40
type Q502895
[ANSWER] is a successor of that one
['Q1322897', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q716465 property:P40 ?r . ?r rdf:type ontology:Q502895 }
Bruno Rezende
Bruno Rezende is a successor of that one
Bruno Rezende
action filter_type
action find
entity Bernardo Rezende
relation child
type common name
['Brazilian Social Democracy Party', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Bernardo_Rezende property:child ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1322897
P1142
Q7257
USER
Which ideology does Brazilian Social Democracy Party believe in ?
(Q1322897,P1142,c(Q7257))
action filter_type
action find
entity Q1322897
relation P1142
type Q7257
['Q1322897', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7257 . resource:Q1322897 property:P1142 ?r }
Brazilian Social Democracy Party
action filter_type
action find
entity Brazilian Social Democracy Party
relation political ideology
type ideology
['Brazilian Social Democracy Party', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:ideology . resource:Brazilian_Social_Democracy_Party property:political_ideology ?r }
[]
ideology
Q121254
SYSTEM
social democracy
Q121254
(Q1322897,P1142,c(Q7257))
action filter_type
action find
entity Q1322897
relation P1142
type Q7257
Brazilian Social Democracy Party believes in [ANSWER]
['Q1322897', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7257 . resource:Q1322897 property:P1142 ?r }
social democracy
Brazilian Social Democracy Party believes in social democracy
social democracy
action filter_type
action find
entity Brazilian Social Democracy Party
relation political ideology
type ideology
['Brazilian Social Democracy Party', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:ideology . resource:Brazilian_Social_Democracy_Party property:political_ideology ?r }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 3427 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3427
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?m ) WHERE { ?z rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 . ?u property:P1303 ?z } GROUP BY ?z } . FILTER ( ?m = 3427 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3427
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?m ) WHERE { ?z rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name . ?u property:instrument ?z } GROUP BY ?z } . FILTER ( ?m = 3427 ) }
[]
musical instrument common name
Q8355 Q1444 Q128309
SYSTEM
violin, organ, drum kit
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3427
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?m ) WHERE { ?z rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 . ?u property:P1303 ?z } GROUP BY ?z } . FILTER ( ?m = 3427 ) }
violin organ drum kit
Which musical instruments can around 3427 people perform with
violin organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3427
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?m ) WHERE { ?z rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name . ?u property:instrument ?z } GROUP BY ?z } . FILTER ( ?m = 3427 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1322897
P17
Q15617994
USER
How many administrative territories are Brazilian Social Democracy Party located in ?
(Q1322897,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1322897
relation P17
type Q15617994
['Q1322897', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q1322897 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Brazilian Social Democracy Party
action count
action filter_type
action find
entity Brazilian Social Democracy Party
relation country
type designation for an administrative territorial entity
['Brazilian Social Democracy Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Brazilian_Social_Democracy_Party property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q155
(Q1322897,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1322897
relation P17
type Q15617994
[ANSWER]
['Q1322897', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q1322897 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Brazil
1
action count
action filter_type
action find
entity Brazilian Social Democracy Party
relation country
type designation for an administrative territorial entity
['Brazilian Social Democracy Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Brazilian_Social_Democracy_Party property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2227640
Q15617994
USER
And what about Steen?
(Q2227640,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2227640
relation P17
type Q15617994
['Q2227640', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Q2227640 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Steen
action count
action filter_type
action find
entity Steen
relation country
type designation for an administrative territorial entity
['Steen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Steen property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2227640,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2227640
relation P17
type Q15617994
[ANSWER]
['Q2227640', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Q2227640 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Steen
relation country
type designation for an administrative territorial entity
['Steen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Steen property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 3091 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3091
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?b <= 3091 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3091
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?b <= 3091 ) }
[]
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 3091
[ANSWERS] can atmost 3091 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P1303 ?a . ?a rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?b <= 3091 ) }
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 3091 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3091
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:instrument ?a . ?a rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?b <= 3091 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q716465
P22
Q502895
USER
Which person has Bernardo Rezende as a parent ?
(c(Q502895),P22,Q716465)
action filter_type
action find_reverse
entity Q716465
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q716465']
SELECT DISTINCT ?r WHERE { ?r property:P22 resource:Q716465 . ?r rdf:type ontology:Q502895 }
Bernardo Rezende
action filter_type
action find_reverse
entity Bernardo Rezende
relation father
type common name
[{'concept': 'common name'}, 'father', 'Bernardo Rezende']
SELECT DISTINCT ?r WHERE { ?r property:father resource:Bernardo_Rezende . ?r rdf:type ontology:common_name }
[]
common name
Q613695
SYSTEM
Bruno Rezende
Q613695
(c(Q502895),P22,Q716465)
action filter_type
action find_reverse
entity Q716465
relation P22
type Q502895
[ANSWER] has Bernardo Rezende as a parent
[{'concept': 'Q502895'}, 'P22', 'Q716465']
SELECT DISTINCT ?r WHERE { ?r property:P22 resource:Q716465 . ?r rdf:type ontology:Q502895 }
Bruno Rezende
Bruno Rezende has Bernardo Rezende as a parent
Bruno Rezende
action filter_type
action find_reverse
entity Bernardo Rezende
relation father
type common name
[{'concept': 'common name'}, 'father', 'Bernardo Rezende']
SELECT DISTINCT ?r WHERE { ?r property:father resource:Bernardo_Rezende . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q613695
P19
Q56061
USER
Where was that person born ?
(Q613695,P19,c(Q56061))
action filter_type
action find
entity Q613695
relation P19
type Q56061
['Q613695', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q613695 property:P19 ?m }
Bruno Rezende
action filter_type
action find
entity Bruno Rezende
relation place of birth
type administrative territorial entity
['Bruno Rezende', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Bruno_Rezende property:place_of_birth ?m }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q613695,P19,c(Q56061))
action filter_type
action find
entity Q613695
relation P19
type Q56061
That person was born in [ANSWER]
['Q613695', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q613695 property:P19 ?m }
Rio de Janeiro
That person was born in Rio de Janeiro
Rio de Janeiro
action filter_type
action find
entity Bruno Rezende
relation place of birth
type administrative territorial entity
['Bruno Rezende', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Bruno_Rezende property:place_of_birth ?m }
[]