Simple Question (Direct)
Simple Question
Q16227648
P69
Q159334
USER
Which secondary school is the alma mater of Nick Johnson ?
(Q16227648,P69,c(Q159334))
action filter_type
action find
entity Q16227648
relation P69
type Q159334
['Q16227648', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q159334 . resource:Q16227648 property:P69 ?j }
Nick Johnson
action filter_type
action find
entity Nick Johnson
relation educated at
type secondary school
['Nick Johnson', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:secondary_school . resource:Nick_Johnson property:educated_at ?j }
[]
secondary school
Q5758807
SYSTEM
Highland High School
Q5758807
(Q16227648,P69,c(Q159334))
action filter_type
action find
entity Q16227648
relation P69
type Q159334
[ANSWER] is the alma mater of Nick Johnson
['Q16227648', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q159334 . resource:Q16227648 property:P69 ?j }
Highland High School
Highland High School is the alma mater of Nick Johnson
Highland High School
action filter_type
action find
entity Nick Johnson
relation educated at
type secondary school
['Nick Johnson', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:secondary_school . resource:Nick_Johnson property:educated_at ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5758807
P17
Q15617994
USER
Which administrative territory is that secondary school located in ?
(Q5758807,P17,c(Q15617994))
action filter_type
action find
entity Q5758807
relation P17
type Q15617994
['Q5758807', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q5758807 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Highland High School
action filter_type
action find
entity Highland High School
relation country
type designation for an administrative territorial entity
['Highland High School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Highland_High_School property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5758807,P17,c(Q15617994))
action filter_type
action find
entity Q5758807
relation P17
type Q15617994
That secondary school is located in [ANSWER]
['Q5758807', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q5758807 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
United States of America
That secondary school is located in United States of America
United States of America
action filter_type
action find
entity Highland High School
relation country
type designation for an administrative territorial entity
['Highland High School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Highland_High_School property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P530
Q15617994
USER
How many administrative territories have diplomatic relations with United States of America ?
(Q30,P530,c(Q15617994))
action count
action filter_type
action find
entity Q30
relation P530
type Q15617994
['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q30 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
United States of America
action count
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:United_States_of_America property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
17
Q805 Q159 Q222 Q801 Q155 Q148 Q796 Q347 Q17 Q37 Q889 Q668 Q403 Q1011 Q38 Q414 Q953
(Q30,P530,c(Q15617994))
action count
action filter_type
action find
entity Q30
relation P530
type Q15617994
[ANSWER]
['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q30 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
Yemen Russia Albania Israel Brazil People's Republic of China Iraq Liechtenstein Japan Lithuania Afghanistan India Serbia Cape Verde Italy Argentina Zambia
17
action count
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:United_States_of_America property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P138
Q2221906
USER
Which geographic location is the origin of that administrative territory ?
action filter_type
action find
entity Q30
relation P138
type Q2221906
SELECT DISTINCT ?y WHERE { resource:Q30 property:P138 ?y . ?y rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation named after
type geographic location
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:named_after ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q828
SYSTEM
Americas
Q828
action filter_type
action find
entity Q30
relation P138
type Q2221906
The [ANSWER] is the origin of that administrative territory
SELECT DISTINCT ?y WHERE { resource:Q30 property:P138 ?y . ?y rdf:type ontology:Q2221906 }
Americas
The Americas is the origin of that administrative territory
Americas
action filter_type
action find
entity United States of America
relation named after
type geographic location
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:named_after ?y . ?y rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q828 Q3161767
P138
Q502895
USER
Is Jan Tyranowski Americas named after ?
(Q828,P138,Q3161767)
action is_in
entity Q3161767
action find
entity Q828
relation P138
['Q828', 'P138', 'Q3161767']
ASK WHERE { resource:Q828 property:P138 resource:Q3161767 }
Americas Jan Tyranowski
action is_in
entity Jan Tyranowski
action find
entity Americas
relation named after
['Americas', 'named after', 'Jan Tyranowski']
ASK WHERE { resource:Americas property:named_after resource:Jan_Tyranowski }
[]
common name
SYSTEM
NO
(Q828,P138,Q3161767)
action is_in
entity Q3161767
action find
entity Q828
relation P138
[ANSWER]
['Q828', 'P138', 'Q3161767']
ASK WHERE { resource:Q828 property:P138 resource:Q3161767 }
No
action is_in
entity Jan Tyranowski
action find
entity Americas
relation named after
['Americas', 'named after', 'Jan Tyranowski']
ASK WHERE { resource:Americas property:named_after resource:Jan_Tyranowski }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q30 Q8612
P6
Q502895
USER
Is Andrew Johnson the head of government of United States of America ?
(Q30,P6,Q8612)
action is_in
entity Q8612
action find
entity Q30
relation P6
['Q30', 'P6', 'Q8612']
ASK WHERE { resource:Q30 property:P6 resource:Q8612 }
United States of America Andrew Johnson
action is_in
entity Andrew Johnson
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Andrew Johnson']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Andrew_Johnson }
[]
common name
SYSTEM
YES
(Q30,P6,Q8612)
action is_in
entity Q8612
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q8612']
ASK WHERE { resource:Q30 property:P6 resource:Q8612 }
Yes
action is_in
entity Andrew Johnson
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Andrew Johnson']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Andrew_Johnson }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P101
Q502895
USER
Which person has field of work as that administrative territory ?
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
SELECT DISTINCT ?t WHERE { ?t property:P101 resource:Q30 . ?t rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
SELECT DISTINCT ?t WHERE { ?t property:field_of_work resource:United_States_of_America . ?t rdf:type ontology:common_name }
[]
common name
Q498840
SYSTEM
David Janssen
Q498840
action filter_type
action find_reverse
entity Q30
relation P101
type Q502895
[ANSWER] has field of work as that administrative territory
SELECT DISTINCT ?t WHERE { ?t property:P101 resource:Q30 . ?t rdf:type ontology:Q502895 }
David Janssen
David Janssen has field of work as that administrative territory
David Janssen
action filter_type
action find_reverse
entity United States of America
relation field of work
type common name
SELECT DISTINCT ?t WHERE { ?t property:field_of_work resource:United_States_of_America . ?t rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q748455
P1303
Q34379 Q502895
USER
How many musical instruments can approximately the same number of people perform with as cajón ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q748455
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P1303 ?e . ?q rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Q748455 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?f = ?r ) }
cajón
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cajón
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:instrument ?e . ?q rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:cajón property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?f = ?r ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 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
action count
action filter_type
action find
entity Q748455
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P1303 ?e . ?q rdf:type ontology:Q502895 . ?e rdf:type ontology:Q34379 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:Q748455 property:P1303 ?g . ?g rdf:type ontology:Q34379 } } . FILTER ( ?f = ?r ) }
viola 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 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 morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity cajón
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:instrument ?e . ?q rdf:type ontology:common_name . ?e rdf:type ontology:musical_instrument } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { resource:cajón property:instrument ?g . ?g rdf:type ontology:musical_instrument } } . FILTER ( ?f = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q290951
P1303
Q34379 Q502895
USER
And how about Kamancheh?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q290951
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?x ) WHERE { ?y rdf:type ontology:Q502895 . ?m rdf:type ontology:Q34379 . ?y property:P1303 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o rdf:type ontology:Q34379 . resource:Q290951 property:P1303 ?o } } . FILTER ( ?x = ?p ) }
Kamancheh
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kamancheh
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?x ) WHERE { ?y rdf:type ontology:common_name . ?m rdf:type ontology:musical_instrument . ?y property:instrument ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o rdf:type ontology:musical_instrument . resource:Kamancheh property:instrument ?o } } . FILTER ( ?x = ?p ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 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
action count
action filter_type
action find
entity Q290951
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?x ) WHERE { ?y rdf:type ontology:Q502895 . ?m rdf:type ontology:Q34379 . ?y property:P1303 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o rdf:type ontology:Q34379 . resource:Q290951 property:P1303 ?o } } . FILTER ( ?x = ?p ) }
viola 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 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 morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kamancheh
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?x ) WHERE { ?y rdf:type ontology:common_name . ?m rdf:type ontology:musical_instrument . ?y property:instrument ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o rdf:type ontology:musical_instrument . resource:Kamancheh property:instrument ?o } } . FILTER ( ?x = ?p ) }
[]