Simple Question (Direct)
Simple Question
Q5939867
P509
Q2057971
USER
What lead to the death of José Félix Bogado ?
(Q5939867,P509,c(Q2057971))
action filter_type
action find
entity Q5939867
relation P509
type Q2057971
['Q5939867', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { resource:Q5939867 property:P509 ?s . ?s rdf:type ontology:Q2057971 }
José Félix Bogado
action filter_type
action find
entity José Félix Bogado
relation cause of death
type health problem
['José Félix Bogado', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { resource:José_Félix_Bogado property:cause_of_death ?s . ?s rdf:type ontology:health_problem }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q5939867,P509,c(Q2057971))
action filter_type
action find
entity Q5939867
relation P509
type Q2057971
[ANSWER] lead to the death of José Félix Bogado
['Q5939867', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { resource:Q5939867 property:P509 ?s . ?s rdf:type ontology:Q2057971 }
tuberculosis
Tuberculosis lead to the death of José Félix Bogado
tuberculosis
action filter_type
action find
entity José Félix Bogado
relation cause of death
type health problem
['José Félix Bogado', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { resource:José_Félix_Bogado property:cause_of_death ?s . ?s rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5939867
P1196
Q1931388
USER
What situation did José Félix Bogado die in ?
(Q5939867,P1196,c(Q1931388))
action filter_type
action find
entity Q5939867
relation P1196
type Q1931388
['Q5939867', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1931388 . resource:Q5939867 property:P1196 ?o }
José Félix Bogado
action filter_type
action find
entity José Félix Bogado
relation manner of death
type cause of death
['José Félix Bogado', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:cause_of_death . resource:José_Félix_Bogado property:manner_of_death ?o }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q5939867,P1196,c(Q1931388))
action filter_type
action find
entity Q5939867
relation P1196
type Q1931388
José Félix Bogado died in [ANSWER]
['Q5939867', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1931388 . resource:Q5939867 property:P1196 ?o }
natural causes
José Félix Bogado died in natural causes
natural causes
action filter_type
action find
entity José Félix Bogado
relation manner of death
type cause of death
['José Félix Bogado', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:cause_of_death . resource:José_Félix_Bogado property:manner_of_death ?o }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12798671 Q5939867
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of José Félix Bogado or Peter Verlič ?
OR((Q5939867,P27,c(Q15617994)), (Q12798671,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5939867
relation P27
action find
entity Q12798671
relation P27
type Q15617994
{'OR': [['Q5939867', 'P27', {'concept': 'Q15617994'}], ['Q12798671', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q5939867 property:P27 ?v } UNION { resource:Q12798671 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Peter Verlič José Félix Bogado
action filter_type
action union
action find
entity José Félix Bogado
relation country of citizenship
action find
entity Peter Verlič
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['José Félix Bogado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Peter Verlič', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:José_Félix_Bogado property:country_of_citizenship ?v } UNION { resource:Peter_Verlič property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q733 Q414 Q215
SYSTEM
Paraguay, Argentina, Slovenia
Q733 Q414 Q215
OR((Q5939867,P27,c(Q15617994)), (Q12798671,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q5939867
relation P27
action find
entity Q12798671
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of José Félix Bogado or Peter Verlič
{'OR': [['Q5939867', 'P27', {'concept': 'Q15617994'}], ['Q12798671', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q5939867 property:P27 ?v } UNION { resource:Q12798671 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Paraguay Argentina Slovenia
Paraguay, Argentina and Slovenia are the countries of citizenship of José Félix Bogado or Peter Verlič
Paraguay Argentina Slovenia
action filter_type
action union
action find
entity José Félix Bogado
relation country of citizenship
action find
entity Peter Verlič
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['José Félix Bogado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Peter Verlič', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:José_Félix_Bogado property:country_of_citizenship ?v } UNION { resource:Peter_Verlič property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with atmost 2 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 2
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { FILTER ( ?w <= 2 ) . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?w ) WHERE { ?z property:P530 ?y . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?z } }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { FILTER ( ?w <= 2 ) . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?w ) WHERE { ?z property:diplomatic_relation ?y . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
7
Q1000 Q781 Q778 Q769 Q685 Q691 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { FILTER ( ?w <= 2 ) . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?w ) WHERE { ?z property:P530 ?y . ?z rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?z } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea Jamaica
7
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { FILTER ( ?w <= 2 ) . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?w ) WHERE { ?z property:diplomatic_relation ?y . ?z rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P137
Q3084961
USER
Which product linings were managed by Argentina ?
(c(Q3084961),P137,Q414)
action filter_type
action find_reverse
entity Q414
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q414']
SELECT DISTINCT ?e WHERE { ?e property:P137 resource:Q414 . ?e rdf:type ontology:Q3084961 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Argentina']
SELECT DISTINCT ?e WHERE { ?e property:operator resource:Argentina . ?e rdf:type ontology:product_lining }
[]
product lining
Q12257149 Q234371 Q39699
SYSTEM
AS332 Super Puma, Mirage III, AS355 Écureuil 2
Q4883194 Q1065437 Q154106 Q1141392 Q683041 Q334759 Q316815 Q1393122 Q1138526 Q848899 Q1094597 Q689011 Q17439021 Q17476643 Q6497 Q728940 Q17444989 Q698242 Q17438173 Q182027 Q39699 Q17459476 Q16303630 Q375655 Q234371 Q17407104 Q155490 Q1867545 Q660969 Q933767 Q12257149 Q159129 Q398965 Q17163402 Q2660305 Q1057353 Q842608 Q381143 Q725319
(c(Q3084961),P137,Q414)
action filter_type
action find_reverse
entity Q414
relation P137
type Q3084961
[ANSWERS] were managed by Argentina
[{'concept': 'Q3084961'}, 'P137', 'Q414']
SELECT DISTINCT ?e WHERE { ?e property:P137 resource:Q414 . ?e rdf:type ontology:Q3084961 }
Huey S-2 Tracker UH-1 Iroquois Nesher DHC-6 Twin Otter A-4 Skyhawk Alouette II Metroliner Mirage 5 MD 500 Super King Air PC-6 Porter Mirage H-3 Sea King C-212 Aviocar OV-1 Mohawk Merlin IV Bell 212 SA 316 Alouette III C-130 Hercules AS355 Écureuil 2 Puma Alouette G 120 Mirage III Écureuil P-3 Orion KC-130 Hercules Bell 206 Hawk 75 AS332 Super Puma Sea King AW109 S-61 Bell 205 Citation EMB 312 Tucano G.222 F28 Fellowship
AS332 Super Puma, Mirage III and AS355 Écureuil 2 were managed by Argentina
AS332 Super Puma Mirage III AS355 Écureuil 2
action filter_type
action find_reverse
entity Argentina
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Argentina']
SELECT DISTINCT ?e WHERE { ?e property:operator resource:Argentina . ?e rdf:type ontology:product_lining }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P37
Q34770
USER
What is considered to be the official language of Argentina ?
(Q414,P37,c(Q34770))
action filter_type
action find
entity Q414
relation P37
type Q34770
['Q414', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q414 property:P37 ?u . ?u rdf:type ontology:Q34770 }
Argentina
action filter_type
action find
entity Argentina
relation official language
type language
['Argentina', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Argentina property:official_language ?u . ?u rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q414,P37,c(Q34770))
action filter_type
action find
entity Q414
relation P37
type Q34770
[ANSWER] is considered to be the official language of Argentina
['Q414', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q414 property:P37 ?u . ?u rdf:type ontology:Q34770 }
Spanish
Spanish is considered to be the official language of Argentina
Spanish
action filter_type
action find
entity Argentina
relation official language
type language
['Argentina', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Argentina property:official_language ?u . ?u rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P138
Q55488
USER
Which railway station has Argentina as its toponym ?
(c(Q55488),P138,Q414)
action filter_type
action find_reverse
entity Q414
relation P138
type Q55488
[{'concept': 'Q55488'}, 'P138', 'Q414']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q414 . ?r rdf:type ontology:Q55488 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation named after
type railway station
[{'concept': 'railway station'}, 'named after', 'Argentina']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:Argentina . ?r rdf:type ontology:railway_station }
[]
railway station
Q645400
SYSTEM
Argentine
Q645400
(c(Q55488),P138,Q414)
action filter_type
action find_reverse
entity Q414
relation P138
type Q55488
Argentina [ANSWER] has Argentina as its toponym
[{'concept': 'Q55488'}, 'P138', 'Q414']
SELECT DISTINCT ?r WHERE { ?r property:P138 resource:Q414 . ?r rdf:type ontology:Q55488 }
Argentine
Argentina Argentine has Argentina as its toponym
Argentine
action filter_type
action find_reverse
entity Argentina
relation named after
type railway station
[{'concept': 'railway station'}, 'named after', 'Argentina']
SELECT DISTINCT ?r WHERE { ?r property:named_after resource:Argentina . ?r rdf:type ontology:railway_station }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q414
P937
Q502895
USER
Who have that administrative territory as their work location ?
(c(Q502895),P937,Q645400)
action filter_type
action find_reverse
entity Q414
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q645400']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q414 . ?l rdf:type ontology:Q502895 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Argentine']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Argentina . ?l rdf:type ontology:common_name }
[]
common name
Q191088 Q26046114 Q26046470
SYSTEM
Joe Jonas, Hugo Quintana, Mirta Rojas
Q191088 Q26046114 Q26046470
(c(Q502895),P937,Q645400)
action filter_type
action find_reverse
entity Q414
relation P937
type Q502895
[ANSWERS] have that administrative territory as their work location
[{'concept': 'Q502895'}, 'P937', 'Q645400']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q414 . ?l rdf:type ontology:Q502895 }
Joe Jonas Hugo Quintana Mirta Rojas
Joe Jonas, Hugo Quintana and Mirta Rojas have that administrative territory as their work location
Joe Jonas Hugo Quintana Mirta Rojas
action filter_type
action find_reverse
entity Argentina
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Argentine']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Argentina . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P740
Q2472587
USER
What was formed at Argentina ?
(c(Q2472587),P740,Q414)
action filter_type
action find_reverse
entity Q414
relation P740
type Q2472587
[{'concept': 'Q2472587'}, 'P740', 'Q414']
SELECT DISTINCT ?o WHERE { ?o property:P740 resource:Q414 . ?o rdf:type ontology:Q2472587 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation location of formation
type people
[{'concept': 'people'}, 'location of formation', 'Argentina']
SELECT DISTINCT ?o WHERE { ?o property:location_of_formation resource:Argentina . ?o rdf:type ontology:people }
[]
people
Q2667106
SYSTEM
Querandí
Q2667106
(c(Q2472587),P740,Q414)
action filter_type
action find_reverse
entity Q414
relation P740
type Q2472587
[ANSWER] was formed at Argentina
[{'concept': 'Q2472587'}, 'P740', 'Q414']
SELECT DISTINCT ?o WHERE { ?o property:P740 resource:Q414 . ?o rdf:type ontology:Q2472587 }
Querandí
Querandí was formed at Argentina
Querandí
action filter_type
action find_reverse
entity Argentina
relation location of formation
type people
[{'concept': 'people'}, 'location of formation', 'Argentina']
SELECT DISTINCT ?o WHERE { ?o property:location_of_formation resource:Argentina . ?o rdf:type ontology:people }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q414
P841
Q502895
USER
Who has that administrative territory as their principal feast day ?
(c(Q502895),P841,Q2667106)
action filter_type
action find_reverse
entity Q414
relation P841
type Q502895
[{'concept': 'Q502895'}, 'P841', 'Q2667106']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P841 resource:Q414 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation feast day
type common name
[{'concept': 'common name'}, 'feast day', 'Querandí']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:feast_day resource:Argentina }
[]
common name
Q1373633
SYSTEM
Joseph Cafasso
Q1373633
(c(Q502895),P841,Q2667106)
action filter_type
action find_reverse
entity Q414
relation P841
type Q502895
[ANSWER] has that administrative territory as their principal feast day
[{'concept': 'Q502895'}, 'P841', 'Q2667106']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P841 resource:Q414 }
Joseph Cafasso
Joseph Cafasso has that administrative territory as their principal feast day
Joseph Cafasso
action filter_type
action find_reverse
entity Argentina
relation feast day
type common name
[{'concept': 'common name'}, 'feast day', 'Querandí']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:feast_day resource:Argentina }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q414
P6
Q502895
USER
Which person does that administrative territory serve as the head of government for ?
(Q1373633,P6,c(Q502895))
action filter_type
action find
entity Q414
relation P6
type Q502895
['Q1373633', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q414 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Argentina
action filter_type
action find
entity Argentina
relation head of government
type common name
['Joseph Cafasso', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Argentina property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
Q561837
SYSTEM
Mauricio Macri
Q561837
(Q1373633,P6,c(Q502895))
action filter_type
action find
entity Q414
relation P6
type Q502895
That administrative territory serves as the head of government for President [ANSWER]
['Q1373633', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q414 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Mauricio Macri
That administrative territory serves as the head of government for President Mauricio Macri
Mauricio Macri
action filter_type
action find
entity Argentina
relation head of government
type common name
['Joseph Cafasso', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Argentina property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?m WHERE { FILTER ( ?h = ?z ) . { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?h ) WHERE { ?m rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?m } GROUP BY ?m } . { SELECT DISTINCT ( MIN ( ?x ) AS ?z ) { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?n } } }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?m WHERE { FILTER ( ?h = ?z ) . { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?h ) WHERE { ?m rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?m } GROUP BY ?m } . { SELECT DISTINCT ( MIN ( ?x ) AS ?z ) { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?n } } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?m WHERE { FILTER ( ?h = ?z ) . { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?h ) WHERE { ?m rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?m } GROUP BY ?m } . { SELECT DISTINCT ( MIN ( ?x ) AS ?z ) { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?n } } }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?m WHERE { FILTER ( ?h = ?z ) . { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?h ) WHERE { ?m rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?m } GROUP BY ?m } . { SELECT DISTINCT ( MIN ( ?x ) AS ?z ) { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?x ) WHERE { ?l property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?n } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do around 1583 people know to play ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1583
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?v = 1583 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1583
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?v = 1583 ) }
[]
musical instrument common name
Q80284 Q46185 Q80019
SYSTEM
viola, bass guitar, double bass
Q80284 Q46185 Q80019 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1583
Around 1583 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?v = 1583 ) }
viola bass guitar double bass trumpet cello organ drum kit electronic keyboard
Around 1583 people know about viola, bass guitar and double bass
viola bass guitar double bass
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1583
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?v = 1583 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q80284 Q46185 Q80019
P425
Q12737077
USER
Which occupations do those musical instruments belong to ?
(c(Q12737077),P425,Q80284) (c(Q12737077),P425,Q46185) (c(Q12737077),P425,Q80019)
action filter_type
action find_reverse
entity prev_answer
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q80284'] [{'concept': 'Q12737077'}, 'P425', 'Q46185'] [{'concept': 'Q12737077'}, 'P425', 'Q80019']
SELECT DISTINCT ?x WHERE { ?x property:P425 ?t . ?x rdf:type ontology:Q12737077 . VALUES ( ?t ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q80019 ) } }
viola bass guitar double bass
action filter_type
action find_reverse
entity prev_answer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'viola'] [{'concept': 'occupation'}, 'field of this occupation', 'bass guitar'] [{'concept': 'occupation'}, 'field of this occupation', 'double bass']
SELECT DISTINCT ?x WHERE { ?x property:field_of_this_occupation ?t . ?x rdf:type ontology:occupation . VALUES ( ?t ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:double_bass ) } }
[]
occupation
Q899758 Q21504978 Q2995983
SYSTEM
violist, bass-guitarist, double-bassist
Q899758 Q21504978 Q2995983
(c(Q12737077),P425,Q80284) (c(Q12737077),P425,Q46185) (c(Q12737077),P425,Q80019)
action filter_type
action find_reverse
entity prev_answer
relation P425
type Q12737077
Those musical instruments belong to the [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q80284'] [{'concept': 'Q12737077'}, 'P425', 'Q46185'] [{'concept': 'Q12737077'}, 'P425', 'Q80019']
SELECT DISTINCT ?x WHERE { ?x property:P425 ?t . ?x rdf:type ontology:Q12737077 . VALUES ( ?t ) { ( resource:Q80284 ) ( resource:Q46185 ) ( resource:Q80019 ) } }
violist bass-guitarist double-bassist
Those musical instruments belong to the violist, bass-guitarist and double-bassist
violist bass-guitarist double-bassist
action filter_type
action find_reverse
entity prev_answer
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'viola'] [{'concept': 'occupation'}, 'field of this occupation', 'bass guitar'] [{'concept': 'occupation'}, 'field of this occupation', 'double bass']
SELECT DISTINCT ?x WHERE { ?x property:field_of_this_occupation ?t . ?x rdf:type ontology:occupation . VALUES ( ?t ) { ( resource:viola ) ( resource:bass_guitar ) ( resource:double_bass ) } }
[]