Simple Question (Direct)
Simple Question
Q566444
P463
Q15911314
USER
Which association was William Christoph, Landgrave of Hesse-Homburg a member of ?
(Q566444,P463,c(Q15911314))
action filter_type
action find
entity Q566444
relation P463
type Q15911314
['Q566444', 'P463', {'concept': 'Q15911314'}]
SELECT DISTINCT ?o WHERE { resource:Q566444 property:P463 ?o . ?o rdf:type ontology:Q15911314 }
William Christoph, Landgrave of Hesse-Homburg
action filter_type
action find
entity William Christoph, Landgrave of Hesse-Homburg
relation member of
type association
['William Christoph, Landgrave of Hesse-Homburg', 'member of', {'concept': 'association'}]
SELECT DISTINCT ?o WHERE { resource:William_Christoph,_Landgrave_of_Hesse-Homburg property:member_of ?o . ?o rdf:type ontology:association }
[]
association
Q559186
SYSTEM
Fruitbearing Society
Q559186
(Q566444,P463,c(Q15911314))
action filter_type
action find
entity Q566444
relation P463
type Q15911314
[ANSWER] was William Christoph, Landgrave of Hesse-Homburg a member of
['Q566444', 'P463', {'concept': 'Q15911314'}]
SELECT DISTINCT ?o WHERE { resource:Q566444 property:P463 ?o . ?o rdf:type ontology:Q15911314 }
Fruitbearing Society
Fruitbearing Society was William Christoph, Landgrave of Hesse-Homburg a member of
Fruitbearing Society
action filter_type
action find
entity William Christoph, Landgrave of Hesse-Homburg
relation member of
type association
['William Christoph, Landgrave of Hesse-Homburg', 'member of', {'concept': 'association'}]
SELECT DISTINCT ?o WHERE { resource:William_Christoph,_Landgrave_of_Hesse-Homburg property:member_of ?o . ?o rdf:type ontology:association }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q566444
P22
Q502895
USER
Which male person was the parent of William Christoph, Landgrave of Hesse-Homburg ?
(Q566444,P22,c(Q502895))
action filter_type
action find
entity Q566444
relation P22
type Q502895
['Q566444', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q566444 property:P22 ?m . ?m rdf:type ontology:Q502895 }
William Christoph, Landgrave of Hesse-Homburg
action filter_type
action find
entity William Christoph, Landgrave of Hesse-Homburg
relation father
type common name
['William Christoph, Landgrave of Hesse-Homburg', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:William_Christoph,_Landgrave_of_Hesse-Homburg property:father ?m . ?m rdf:type ontology:common_name }
[]
common name
Q819606
SYSTEM
Frederick I, Landgrave of Hesse-Homburg
Q819606
(Q566444,P22,c(Q502895))
action filter_type
action find
entity Q566444
relation P22
type Q502895
[ANSWER] was the parent of William Christoph, Landgrave of Hesse-Homburg
['Q566444', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q566444 property:P22 ?m . ?m rdf:type ontology:Q502895 }
Frederick I, Landgrave of Hesse-Homburg
Frederick I, Landgrave of Hesse-Homburg was the parent of William Christoph, Landgrave of Hesse-Homburg
Frederick I, Landgrave of Hesse-Homburg
action filter_type
action find
entity William Christoph, Landgrave of Hesse-Homburg
relation father
type common name
['William Christoph, Landgrave of Hesse-Homburg', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:William_Christoph,_Landgrave_of_Hesse-Homburg property:father ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q819606
P9
Q502895
USER
Which person is the sister of that one ?
(Q819606,P9,c(Q502895))
action filter_type
action find
entity Q819606
relation P9
type Q502895
['Q819606', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q819606 property:P9 ?t . ?t rdf:type ontology:Q502895 }
Frederick I, Landgrave of Hesse-Homburg
action filter_type
action find
entity Frederick I, Landgrave of Hesse-Homburg
relation sister
type common name
['Frederick I, Landgrave of Hesse-Homburg', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Frederick_I,_Landgrave_of_Hesse-Homburg property:sister ?t . ?t rdf:type ontology:common_name }
[]
common name
Q9612699
SYSTEM
Ana de Hesse-Darmstadt
Q9612699
(Q819606,P9,c(Q502895))
action filter_type
action find
entity Q819606
relation P9
type Q502895
[ANSWER] is the sister of that one
['Q819606', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q819606 property:P9 ?t . ?t rdf:type ontology:Q502895 }
Ana de Hesse-Darmstadt
Ana de Hesse-Darmstadt is the sister of that one
Ana de Hesse-Darmstadt
action filter_type
action find
entity Frederick I, Landgrave of Hesse-Homburg
relation sister
type common name
['Frederick I, Landgrave of Hesse-Homburg', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Frederick_I,_Landgrave_of_Hesse-Homburg property:sister ?t . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P40
Q502895
USER
How many people have that person as an offspring ?
(c(Q502895),P40,Q9612699)
action count
action filter_type
action find_reverse
entity Q9612699
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q9612699']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P40 resource:Q9612699 . ?o rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Ana de Hesse-Darmstadt
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ana de Hesse-Darmstadt']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:child resource:Ana_de_Hesse-Darmstadt . ?o rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q450768 Q283548
(c(Q502895),P40,Q9612699)
action count
action filter_type
action find_reverse
entity Q9612699
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q9612699']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:P40 resource:Q9612699 . ?o rdf:type ontology:Q502895 }
Magdalene of Lippe George I, Landgrave of Hesse-Darmstadt
2
action count
action filter_type
action find_reverse
entity Ana de Hesse-Darmstadt
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ana de Hesse-Darmstadt']
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { ?o property:child resource:Ana_de_Hesse-Darmstadt . ?o rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q128309
P1303
Q34379 Q502895
USER
Which musical instruments are played by less number of people than drum kit ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q128309
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?b < ?j ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { ?y property:P1303 resource:Q128309 . ?y rdf:type ontology:Q502895 } } }
drum kit
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity drum kit
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?b < ?j ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { ?y property:instrument resource:drum_kit . ?y rdf:type ontology:common_name } } }
[]
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 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 less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q128309
relation P1303
type Q502895
[ANSWERS] are played by less number of people than drum kit
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?t rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?b < ?j ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { ?y property:P1303 resource:Q128309 . ?y rdf:type ontology:Q502895 } } }
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 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
Davul, harpsichord and Wurlitzer electric piano are played by less number of people than drum kit
davul harpsichord Wurlitzer electric piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity drum kit
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?t rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?b < ?j ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { ?y property:instrument resource:drum_kit . ?y rdf:type ontology:common_name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q604538
P1303
Q34379 Q502895
USER
And also tell me about Temple block?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q604538
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p rdf:type ontology:Q502895 . ?p property:P1303 resource:Q604538 } } . FILTER ( ?o < ?n ) }
Temple block
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Temple block
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p rdf:type ontology:common_name . ?p property:instrument resource:Temple_block } } . FILTER ( ?o < ?n ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q604538
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p rdf:type ontology:Q502895 . ?p property:P1303 resource:Q604538 } } . FILTER ( ?o < ?n ) }
spoon cajón wind instrument
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Temple block
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { ?p rdf:type ontology:common_name . ?p property:instrument resource:Temple_block } } . FILTER ( ?o < ?n ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P1303
Q34379 Q502895
USER
Which musical instruments do around the same number of people know to play as that musical instrument ?
(c(Q502895),P1303,c(Q34379))
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
musical instrument common name
Comparative|More/Less|Single entity type|Clarification
Q173453
SYSTEM
Did you mean wind instrument ?
(c(Q502895),P1303,c(Q34379))
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
Did you mean wind instrument ?
wind instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
USER
No, I meant spoon. Could you tell me the answer for that?
(c(Q502895),P1303,c(Q34379))
Q1879664
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
[]
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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))
[ANSWERS] around the same number of people know to play as that musical instrument
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
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
Davul, harpsichord and Wurlitzer electric piano around the same number of people know to play as that musical instrument
davul harpsichord Wurlitzer electric piano
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81982
P425
Q12737077
USER
What has harpsichord as the associated field of occupation ?
(Q81982,P425,c(Q12737077))
action filter_type
action find
entity Q81982
relation P425
type Q12737077
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q81982 property:P425 ?w . ?w rdf:type ontology:Q12737077 }
harpsichord
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:harpsichord property:field_of_this_occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q5371902
SYSTEM
harpsichordist
Q5371902
(Q81982,P425,c(Q12737077))
action filter_type
action find
entity Q81982
relation P425
type Q12737077
T [ANSWER] has harpsichord as the associated field of occupation
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q81982 property:P425 ?w . ?w rdf:type ontology:Q12737077 }
harpsichordist
T harpsichordist has harpsichord as the associated field of occupation
harpsichordist
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:harpsichord property:field_of_this_occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q566444
P97
Q4164871
USER
Which position was held by William Christoph, Landgrave of Hesse-Homburg ?
(Q566444,P97,c(Q4164871))
action filter_type
action find
entity Q566444
relation P97
type Q4164871
['Q566444', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q4164871 . resource:Q566444 property:P97 ?f }
William Christoph, Landgrave of Hesse-Homburg
action filter_type
action find
entity William Christoph, Landgrave of Hesse-Homburg
relation noble title
type position
['William Christoph, Landgrave of Hesse-Homburg', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:position . resource:William_Christoph,_Landgrave_of_Hesse-Homburg property:noble_title ?f }
[]
position
Q841633
SYSTEM
landgrave
Q841633
(Q566444,P97,c(Q4164871))
action filter_type
action find
entity Q566444
relation P97
type Q4164871
[ANSWER] was held by William Christoph, [ANSWER] of Hesse-Homburg
['Q566444', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q4164871 . resource:Q566444 property:P97 ?f }
landgrave
Landgrave was held by William Christoph, Landgrave of Hesse-Homburg
landgrave
action filter_type
action find
entity William Christoph, Landgrave of Hesse-Homburg
relation noble title
type position
['William Christoph, Landgrave of Hesse-Homburg', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:position . resource:William_Christoph,_Landgrave_of_Hesse-Homburg property:noble_title ?f }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1001
Q852446 Q4164871
USER
Which US administrative territories come under the jurisdiction of min number of positions ?
(c(Q4164871),P1001,Q1494)
action argmin
action find_reverse_tuple_counts
relation P1001
type Q852446
type Q4164871
[{'concept': 'Q4164871'}, 'P1001', 'Q1494']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?g ) { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P1001 ?a . ?a rdf:type ontology:Q852446 . ?j rdf:type ontology:Q4164871 } GROUP BY ?a } } . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:P1001 ?q . ?q rdf:type ontology:Q852446 . ?k rdf:type ontology:Q4164871 } GROUP BY ?q } . FILTER ( ?m = ?g ) }
action argmin
action find_reverse_tuple_counts
relation applies to jurisdiction
type administrative territorial entity of the United States
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Mississippi']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?g ) { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:applies_to_jurisdiction ?a . ?a rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?j rdf:type ontology:position } GROUP BY ?a } } . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:applies_to_jurisdiction ?q . ?q rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?k rdf:type ontology:position } GROUP BY ?q } . FILTER ( ?m = ?g ) }
[]
administrative territorial entity of the United States position
Q1384 Q487704 Q1428
SYSTEM
New York, Honolulu County, Georgia
Q1397 Q43421 Q1393 Q1603 Q1391 Q824 Q724 Q1581 Q1537 Q1370 Q1439 Q1454 Q1384 Q1456 Q1509 Q1415 Q829 Q99 Q1400 Q1527 Q1546 Q1204 Q1522 Q1227 Q1223 Q1166 Q1221 Q816 Q771 Q1207 Q812 Q1387 Q1371 Q1261 Q779 Q1408 Q1649 Q1428 Q759 Q1558 Q173 Q487704 Q797 Q1212 Q1553 Q1211 Q1214 Q16551 Q1494
(c(Q4164871),P1001,Q1494)
action argmin
action find_reverse_tuple_counts
relation P1001
type Q852446
type Q4164871
[ANSWERS] come under the jurisdiction of min number of positions
[{'concept': 'Q4164871'}, 'P1001', 'Q1494']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?g ) { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P1001 ?a . ?a rdf:type ontology:Q852446 . ?j rdf:type ontology:Q4164871 } GROUP BY ?a } } . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:P1001 ?q . ?q rdf:type ontology:Q852446 . ?k rdf:type ontology:Q4164871 } GROUP BY ?q } . FILTER ( ?m = ?g ) }
Ohio Richmond Delaware Kentucky Maryland Oregon Maine Missouri Wisconsin Virginia Texas North Carolina New York South Carolina Tennessee Indiana Utah California Pennsylvania Minnesota Iowa Illinois New Mexico Nevada Washington Michigan Idaho Arizona Massachusetts North Dakota Florida Rhode Island West Virginia Colorado Connecticut New Jersey Oklahoma Georgia New Hampshire Kansas Alabama Honolulu County Alaska Montana Nebraska South Dakota Wyoming Vermont Mississippi
New York, Honolulu County and Georgia come under the jurisdiction of min number of positions
New York Honolulu County Georgia
action argmin
action find_reverse_tuple_counts
relation applies to jurisdiction
type administrative territorial entity of the United States
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Mississippi']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?g ) { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:applies_to_jurisdiction ?a . ?a rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?j rdf:type ontology:position } GROUP BY ?a } } . { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?m ) WHERE { ?k property:applies_to_jurisdiction ?q . ?q rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?k rdf:type ontology:position } GROUP BY ?q } . FILTER ( ?m = ?g ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1384
P17
Q15617994
USER
Which administrative territory is that US administrative territory situated in ?
(Q1384,P17,c(Q15617994))
action filter_type
action find
entity Q1384
relation P17
type Q15617994
['Q1384', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1384 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
New York
action filter_type
action find
entity New York
relation country
type designation for an administrative territorial entity
['New York', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:New_York property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1428
SYSTEM
Did you mean Georgia ?
Q1384 Q487704 Q1428
(Q1384,P17,c(Q15617994)) (Q487704,P17,c(Q15617994)) (Q1428,P17,c(Q15617994))
[ANSWER]
['Q1384', 'P17', {'concept': 'Q15617994'}] ['Q487704', 'P17', {'concept': 'Q15617994'}] ['Q1428', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1384 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
New York Honolulu County Georgia
Did you mean Georgia ?
Georgia
['New York', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Honolulu County', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Georgia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:New_York property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant New York. Could you tell me the answer for that?
(Q1384,P17,c(Q15617994))
Q1384
['Q1384', 'P17', {'concept': 'Q15617994'}]
['New York', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q1384,P17,c(Q15617994))
action filter_type
action find
entity Q1384
relation P17
type Q15617994
That US administrative territory is situated the [ANSWER]
['Q1384', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1384 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
That US administrative territory is situated the United States of America
United States of America
action filter_type
action find
entity New York
relation country
type designation for an administrative territorial entity
['New York', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:New_York property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1384 Q4018
P47
Q1048835
USER
How many political territories share the border with New York or Navarre ?
(Q1384,P47,c(Q1048835)) (Q4018,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q1384
relation P47
type Q1048835
action filter_type
action find
entity Q4018
relation P47
type Q1048835
['Q1384', 'P47', {'concept': 'Q1048835'}] ['Q4018', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { ?n rdf:type ontology:Q1048835 . resource:Q1384 property:P47 ?n } UNION { resource:Q4018 property:P47 ?n . ?n rdf:type ontology:Q1048835 } }
New York Navarre
action count
action union
action filter_type
action find
entity New York
relation shares border with
type political territorial entity
action filter_type
action find
entity Navarre
relation shares border with
type political territorial entity
['New York', 'shares border with', {'concept': 'political territorial entity'}] ['Navarre', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { ?n rdf:type ontology:political_territorial_entity . resource:New_York property:shares_border_with ?n } UNION { resource:Navarre property:shares_border_with ?n . ?n rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
SYSTEM
2
Q4040 Q3995
(Q1384,P47,c(Q1048835)) (Q4018,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q1384
relation P47
type Q1048835
action filter_type
action find
entity Q4018
relation P47
type Q1048835
[ANSWER]
['Q1384', 'P47', {'concept': 'Q1048835'}] ['Q4018', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { ?n rdf:type ontology:Q1048835 . resource:Q1384 property:P47 ?n } UNION { resource:Q4018 property:P47 ?n . ?n rdf:type ontology:Q1048835 } }
Aragon Basque Country
2
action count
action union
action filter_type
action find
entity New York
relation shares border with
type political territorial entity
action filter_type
action find
entity Navarre
relation shares border with
type political territorial entity
['New York', 'shares border with', {'concept': 'political territorial entity'}] ['Navarre', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) WHERE { { ?n rdf:type ontology:political_territorial_entity . resource:New_York property:shares_border_with ?n } UNION { resource:Navarre property:shares_border_with ?n . ?n rdf:type ontology:political_territorial_entity } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q40
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with around the same number of administrative territories as Austria ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?u ) WHERE { ?a property:P530 ?d . ?a rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Q40 property:P530 ?z . ?z rdf:type ontology:Q1048835 } } . FILTER ( ?u = ?b ) }
Austria
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?u ) WHERE { ?a property:diplomatic_relation ?d . ?a rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Austria property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity } } . FILTER ( ?u = ?b ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?u ) WHERE { ?a property:P530 ?d . ?a rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Q40 property:P530 ?z . ?z rdf:type ontology:Q1048835 } } . FILTER ( ?u = ?b ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?u ) WHERE { ?a property:diplomatic_relation ?d . ?a rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { resource:Austria property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity } } . FILTER ( ?u = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16
P530
Q15617994 Q1048835
USER
And what about Canada?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q16 property:P530 ?v . ?v rdf:type ontology:Q1048835 } } . FILTER ( ?w = ?a ) . { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?w ) WHERE { ?m property:P530 ?h . ?m rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?m } }
Canada
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Canada property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity } } . FILTER ( ?w = ?a ) . { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?w ) WHERE { ?m property:diplomatic_relation ?h . ?m rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Q16 property:P530 ?v . ?v rdf:type ontology:Q1048835 } } . FILTER ( ?w = ?a ) . { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?w ) WHERE { ?m property:P530 ?h . ?m rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?m } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { resource:Canada property:diplomatic_relation ?v . ?v rdf:type ontology:political_territorial_entity } } . FILTER ( ?w = ?a ) . { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?w ) WHERE { ?m property:diplomatic_relation ?h . ?m rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q502895 Q11424 Q6619679
USER
How many people do around 1 films or fictional humanoids extend upon ?
(c(Q11424)|c(Q6619679),P144,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
action find_reverse_tuple_counts
relation P144
type Q502895
type Q6619679
value 1
[[{'concept': 'Q11424'}, {'concept': 'Q6619679'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?t WHERE { { ?r property:P144 ?t . ?t rdf:type ontology:Q502895 . ?r rdf:type ontology:Q11424 } UNION { ?r property:P144 ?t . ?r rdf:type ontology:Q6619679 . ?t rdf:type ontology:Q502895 } } GROUP BY ?t } . FILTER ( ?n = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type common name
type film
action find_reverse_tuple_counts
relation based on
type common name
type fictional humanoid
value 1
[[{'concept': 'film'}, {'concept': 'fictional humanoid'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?t WHERE { { ?r property:based_on ?t . ?t rdf:type ontology:common_name . ?r rdf:type ontology:film } UNION { ?r property:based_on ?t . ?r rdf:type ontology:fictional_humanoid . ?t rdf:type ontology:common_name } } GROUP BY ?t } . FILTER ( ?n = 1 ) }
[]
common name film fictional humanoid
SYSTEM
48
Q696052 Q1964376 Q937 Q6851849 Q6968888 Q294931 Q222831 Q717294 Q907550 Q313866 Q296313 Q6389787 Q60029 Q312692 Q232913 Q5264 Q157040 Q378053 Q808209 Q7341746 Q269812 Q467646 Q557360 Q197359 Q189081 Q4532024 Q6814106 Q5296634 Q297743 Q57652 Q110714 Q3083638 Q306914 Q3079968 Q51505 Q4884844 Q23722455 Q6691 Q7106226 Q1441684 Q106255 Q311966 Q315607 Q8011009 Q150471 Q161154 Q4963602 Q40096
(c(Q11424)|c(Q6619679),P144,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
action find_reverse_tuple_counts
relation P144
type Q502895
type Q6619679
value 1
[ANSWER]
[[{'concept': 'Q11424'}, {'concept': 'Q6619679'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?t WHERE { { ?r property:P144 ?t . ?t rdf:type ontology:Q502895 . ?r rdf:type ontology:Q11424 } UNION { ?r property:P144 ?t . ?r rdf:type ontology:Q6619679 . ?t rdf:type ontology:Q502895 } } GROUP BY ?t } . FILTER ( ?n = 1 ) }
Arnold Rothstein Anthony Poshepny Albert Einstein Milicent Bagot Nathan Barksdale William Randolph Hearst Ilich Ramírez Sánchez Krystyna Skarbek Eugène Turpin William Adams Kim Philby Kenneth A. Jackson Oskar Schindler Bud Powell Beatrice Portinari Hippocrates Lajos Kossuth Rob Roy MacGregor Barisan of Ibelin Robert B. Rheault Christina Nilsson Jane Franklin Ármin Vámbéry Empress Zhang Howard Hughes Beulah Annan Melvin Williams Donnie Andrews Lillie Langtry Helle Thorning-Schmidt Lester Young François-René Crespin du Bec Abbé Faria Ted Key Jean Baptiste Antoine Marcellin de Marbot Belva Gaertner Andrei Homer Oscar Requer Francis Paudras Jean-Paul Belmondo Roger Casement David Farragut William Hatfield E. T. A. Hoffmann Lola Montez Brian Dowling Will Smith
48
action count
action approx
action union
action find_reverse_tuple_counts
relation based on
type common name
type film
action find_reverse_tuple_counts
relation based on
type common name
type fictional humanoid
value 1
[[{'concept': 'film'}, {'concept': 'fictional humanoid'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?n ) ?t WHERE { { ?r property:based_on ?t . ?t rdf:type ontology:common_name . ?r rdf:type ontology:film } UNION { ?r property:based_on ?t . ?r rdf:type ontology:fictional_humanoid . ?t rdf:type ontology:common_name } } GROUP BY ?t } . FILTER ( ?n = 1 ) }
[]