Simple Question (Direct)
Simple Question
Q7383210
P69
Q3918
USER
Which university is the alma mater of Ruth Shaw Wylie ?
(Q7383210,P69,c(Q3918))
action filter_type
action find
entity Q7383210
relation P69
type Q3918
['Q7383210', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?f WHERE { resource:Q7383210 property:P69 ?f . ?f rdf:type ontology:Q3918 }
Ruth Shaw Wylie
action filter_type
action find
entity Ruth Shaw Wylie
relation educated at
type university
['Ruth Shaw Wylie', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?f WHERE { resource:Ruth_Shaw_Wylie property:educated_at ?f . ?f rdf:type ontology:university }
[]
university
Q349055
SYSTEM
Wayne State University
Q349055
(Q7383210,P69,c(Q3918))
action filter_type
action find
entity Q7383210
relation P69
type Q3918
Ohio [ANSWER] is the alma mater of Ruth Shaw Wylie
['Q7383210', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?f WHERE { resource:Q7383210 property:P69 ?f . ?f rdf:type ontology:Q3918 }
Wayne State University
Ohio Wayne State University is the alma mater of Ruth Shaw Wylie
Wayne State University
action filter_type
action find
entity Ruth Shaw Wylie
relation educated at
type university
['Ruth Shaw Wylie', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?f WHERE { resource:Ruth_Shaw_Wylie property:educated_at ?f . ?f rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q349055
P17
Q15617994
USER
Which administrative territory is that university situated in ?
(Q349055,P17,c(Q15617994))
action filter_type
action find
entity Q349055
relation P17
type Q15617994
['Q349055', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q349055 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Wayne State University
action filter_type
action find
entity Wayne State University
relation country
type designation for an administrative territorial entity
['Wayne State University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Wayne_State_University property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q349055,P17,c(Q15617994))
action filter_type
action find
entity Q349055
relation P17
type Q15617994
That university is situated in [ANSWER]
['Q349055', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q349055 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
United States of America
That university is situated in United States of America
United States of America
action filter_type
action find
entity Wayne State University
relation country
type designation for an administrative territorial entity
['Wayne State University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Wayne_State_University property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P36
Q56061
USER
Which administrative territories are called the capital of that administrative territory ?
(Q30,P36,c(Q56061))
action filter_type
action find
entity Q30
relation P36
type Q56061
['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P36 ?n . ?n rdf:type ontology:Q56061 }
United States of America
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q61
SYSTEM
New York City, Washington, D.C.
Q60 Q61
(Q30,P36,c(Q56061))
action filter_type
action find
entity Q30
relation P36
type Q56061
[ANSWERS]
['Q30', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P36 ?n . ?n rdf:type ontology:Q56061 }
New York City Washington, D.C.
New York City and Washington, D.C. are called the capital of that administrative territory
New York City Washington, D.C.
action filter_type
action find
entity United States of America
relation capital
type administrative territorial entity
['United States of America', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:capital ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q60 Q61
P6
Q502895
USER
Who are the heads of the government of those administrative territories ?
(Q60,P6,c(Q502895)) (Q61,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
['Q60', 'P6', {'concept': 'Q502895'}] ['Q61', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?y ) { ( resource:Q60 ) ( resource:Q61 ) } . ?s rdf:type ontology:Q502895 . ?y property:P6 ?s }
New York City Washington, D.C.
action filter_type
action find
entity prev_answer
relation head of government
type common name
['New York City', 'head of government', {'concept': 'common name'}] ['Washington, D.C.', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?y ) { ( resource:New_York_City ) ( resource:Washington,_D.C. ) } . ?s rdf:type ontology:common_name . ?y property:head_of_government ?s }
[]
common name
Q607 Q467122 Q212648
SYSTEM
Michael Bloomberg, Ed Koch, Rudy Giuliani
Q204135 Q467133 Q312502 Q2274772 Q3182321 Q441554 Q2156376 Q6287566 Q467122 Q939458 Q607 Q6233903 Q329910 Q212648 Q4121154 Q4911497 Q1701296 Q2544704 Q666931 Q439156 Q5536568 Q6938597 Q2109934 Q3430687 Q3068781 Q372911 Q935067 Q938243
(Q60,P6,c(Q502895)) (Q61,P6,c(Q502895))
action filter_type
action find
entity prev_answer
relation P6
type Q502895
The heads of the government of those administrative territories are [ANSWERS]
['Q60', 'P6', {'concept': 'Q502895'}] ['Q61', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?y ) { ( resource:Q60 ) ( resource:Q61 ) } . ?s rdf:type ontology:Q502895 . ?y property:P6 ?s }
Jimmy Walker David Dinkins Fiorello H. La Guardia Seth Low John Purroy Mitchel William O'Dwyer Robert Anderson Van Wyck Joseph V. McKee Ed Koch Vincent R. Impellitteri Michael Bloomberg John Francis Hylan Abraham Beame Rudy Giuliani Ardolph L. Kline Bill de Blasio John P. O'Brien William Jay Gaynor John Lindsay Robert F. Wagner George B. McClellan, Jr. Muriel Bowser Sharon Pratt Kelly Anthony A. Williams Vincent C. Gray Adrian Fenty Walter Washington Marion Barry
The heads of the government of those administrative territories are Michael Bloomberg, Ed Koch and Rudy Giuliani
Michael Bloomberg Ed Koch Rudy Giuliani
action filter_type
action find
entity prev_answer
relation head of government
type common name
['New York City', 'head of government', {'concept': 'common name'}] ['Washington, D.C.', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?y ) { ( resource:New_York_City ) ( resource:Washington,_D.C. ) } . ?s rdf:type ontology:common_name . ?y property:head_of_government ?s }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q607 Q467122 Q212648
P6
Q56061
USER
Which administrative territories have Michael Bloomberg, Ed Koch and Rudy Giuliani as their head of government ?
(c(Q56061),P6,Q607) (c(Q56061),P6,Q467122) (c(Q56061),P6,Q212648)
action union
action filter_type
action find_reverse
entity Q607
relation P6
type Q56061
action filter_type
action find_reverse
entity Q467122
relation P6
type Q56061
action filter_type
action find_reverse
entity Q212648
relation P6
type Q56061
[{'concept': 'Q56061'}, 'P6', 'Q607'] [{'concept': 'Q56061'}, 'P6', 'Q467122'] [{'concept': 'Q56061'}, 'P6', 'Q212648']
SELECT DISTINCT ?h WHERE { { ?h property:P6 resource:Q607 . ?h rdf:type ontology:Q56061 } UNION { ?h property:P6 resource:Q467122 . ?h rdf:type ontology:Q56061 } }
Michael Bloomberg Ed Koch Rudy Giuliani
action union
action filter_type
action find_reverse
entity Michael Bloomberg
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Ed Koch
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Rudy Giuliani
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Michael Bloomberg'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Ed Koch'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Rudy Giuliani']
SELECT DISTINCT ?h WHERE { { ?h property:head_of_government resource:Michael_Bloomberg . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h property:head_of_government resource:Ed_Koch . ?h rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(c(Q56061),P6,Q607) (c(Q56061),P6,Q467122) (c(Q56061),P6,Q212648)
action union
action filter_type
action find_reverse
entity Q607
relation P6
type Q56061
action filter_type
action find_reverse
entity Q467122
relation P6
type Q56061
action filter_type
action find_reverse
entity Q212648
relation P6
type Q56061
[ANSWER] have Michael Bloomberg, Ed Koch and Rudy Giuliani as their head of government
[{'concept': 'Q56061'}, 'P6', 'Q607'] [{'concept': 'Q56061'}, 'P6', 'Q467122'] [{'concept': 'Q56061'}, 'P6', 'Q212648']
SELECT DISTINCT ?h WHERE { { ?h property:P6 resource:Q607 . ?h rdf:type ontology:Q56061 } UNION { ?h property:P6 resource:Q467122 . ?h rdf:type ontology:Q56061 } }
New York City
New York City have Michael Bloomberg, Ed Koch and Rudy Giuliani as their head of government
New York City
action union
action filter_type
action find_reverse
entity Michael Bloomberg
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Ed Koch
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Rudy Giuliani
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Michael Bloomberg'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Ed Koch'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Rudy Giuliani']
SELECT DISTINCT ?h WHERE { { ?h property:head_of_government resource:Michael_Bloomberg . ?h rdf:type ontology:administrative_territorial_entity } UNION { ?h property:head_of_government resource:Ed_Koch . ?h rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q607
P26
Q502895
USER
Who is married to Michael Bloomberg ?
(c(Q502895),P26,Q60)
action filter_type
action find
entity Q607
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q60']
SELECT DISTINCT ?y WHERE { resource:Q607 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Michael Bloomberg
action filter_type
action find
entity Michael Bloomberg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'New York City']
SELECT DISTINCT ?y WHERE { resource:Michael_Bloomberg property:spouse ?y . ?y rdf:type ontology:common_name }
[]
common name
Q22290413
SYSTEM
Susan Brown
Q22290413
(c(Q502895),P26,Q60)
action filter_type
action find
entity Q607
relation P26
type Q502895
[ANSWER] is married to Michael Bloomberg
[{'concept': 'Q502895'}, 'P26', 'Q60']
SELECT DISTINCT ?y WHERE { resource:Q607 property:P26 ?y . ?y rdf:type ontology:Q502895 }
Susan Brown
Susan Brown is married to Michael Bloomberg
Susan Brown
action filter_type
action find
entity Michael Bloomberg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'New York City']
SELECT DISTINCT ?y WHERE { resource:Michael_Bloomberg property:spouse ?y . ?y 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 atleast 3917 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3917
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?x >= 3917 ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?i } }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3917
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?x >= 3917 ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?i } }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3917
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?x >= 3917 ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?i } }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3917
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?x >= 3917 ) . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q206987
P1303
Q34379 Q502895
USER
How many musical instruments are played by lesser number of people than vibraphone ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q206987
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?i < ?m ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:P1303 resource:Q206987 . ?w rdf:type ontology:Q502895 } } }
vibraphone
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity vibraphone
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?i < ?m ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:instrument resource:vibraphone . ?w rdf:type ontology:common_name } } }
[]
musical instrument common name
SYSTEM
54
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 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 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q206987
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?i < ?m ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:P1303 resource:Q206987 . ?w rdf:type ontology:Q502895 } } }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo 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 drum Kayamb Paraguayan harp
54
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity vibraphone
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?i < ?m ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:instrument resource:vibraphone . ?w rdf:type ontology:common_name } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q890073
P1303
Q34379 Q502895
USER
And what about Body percussion?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q890073
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?v < ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:P1303 resource:Q890073 . ?r rdf:type ontology:Q502895 } } }
Body percussion
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Body percussion
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?v < ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:instrument resource:Body_percussion . ?r rdf:type ontology:common_name } } }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q890073
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?v < ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:P1303 resource:Q890073 . ?r rdf:type ontology:Q502895 } } }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Body percussion
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?v < ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:instrument resource:Body_percussion . ?r rdf:type ontology:common_name } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q60
P190
Q56061
USER
How many administrative territories are the sister cities of New York City ?
(Q60,P190,c(Q56061))
action count
action filter_type
action find
entity Q60
relation P190
type Q56061
['Q60', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q60 property:P190 ?m . ?m rdf:type ontology:Q56061 }
New York City
action count
action filter_type
action find
entity New York City
relation sister city
type administrative territorial entity
['New York City', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:New_York_City property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
14
Q3630 Q3561 Q33935 Q34820 Q51103 Q34647 Q2807 Q956 Q1781 Q84 Q85 Q1490 Q1218 Q585
(Q60,P190,c(Q56061))
action count
action filter_type
action find
entity Q60
relation P190
type Q56061
[ANSWER]
['Q60', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:Q60 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Jakarta Algiers Tel Aviv Santo Domingo Cali Johannesburg Madrid Beijing Budapest London Cairo Tokyo Jerusalem Oslo
14
action count
action filter_type
action find
entity New York City
relation sister city
type administrative territorial entity
['New York City', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?q ) WHERE { resource:New_York_City property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6783
P190
Q56061
USER
And how about Königstein?
(Q6783,P190,c(Q56061))
action count
action filter_type
action find
entity Q6783
relation P190
type Q56061
['Q6783', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q6783 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Königstein
action count
action filter_type
action find
entity Königstein
relation sister city
type administrative territorial entity
['Königstein', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Königstein property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q569661
(Q6783,P190,c(Q56061))
action count
action filter_type
action find
entity Q6783
relation P190
type Q56061
[ANSWER]
['Q6783', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q6783 property:P190 ?g . ?g rdf:type ontology:Q56061 }
Königstein im Taunus
1
action count
action filter_type
action find
entity Königstein
relation sister city
type administrative territorial entity
['Königstein', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Königstein property:sister_city ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q40269
Q56061
USER
And what about Porto Alegre?
(Q40269,P190,c(Q56061))
action count
action filter_type
action find
entity Q40269
relation P190
type Q56061
['Q40269', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:Q56061 . resource:Q40269 property:P190 ?c }
Porto Alegre
action count
action filter_type
action find
entity Porto Alegre
relation sister city
type administrative territorial entity
['Porto Alegre', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Porto_Alegre property:sister_city ?c }
[]
administrative territorial entity
SYSTEM
3
(Q40269,P190,c(Q56061))
action count
action filter_type
action find
entity Q40269
relation P190
type Q56061
[ANSWER]
['Q40269', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:Q56061 . resource:Q40269 property:P190 ?c }
3
action count
action filter_type
action find
entity Porto Alegre
relation sister city
type administrative territorial entity
['Porto Alegre', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Porto_Alegre property:sister_city ?c }
[]