Simple Question (Direct)
Simple Question
Q5073
P21
Q290
USER
Which sex does Emperor Shizong of Jin have ?
(Q5073,P21,c(Q290))
action filter_type
action find
entity Q5073
relation P21
type Q290
['Q5073', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5073 property:P21 ?b . ?b rdf:type ontology:Q290 }
Emperor Shizong of Jin
action filter_type
action find
entity Emperor Shizong of Jin
relation gender
type sex
['Emperor Shizong of Jin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Emperor_Shizong_of_Jin property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5073,P21,c(Q290))
action filter_type
action find
entity Q5073
relation P21
type Q290
Emperor Shizong of Jin has a [ANSWER]
['Q5073', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5073 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Emperor Shizong of Jin has a male
male
action filter_type
action find
entity Emperor Shizong of Jin
relation gender
type sex
['Emperor Shizong of Jin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Emperor_Shizong_of_Jin property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P106
Q502895
USER
Which person has career as that sex ?
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P106 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:occupation resource:male }
[]
common name
Q24877298
SYSTEM
Antonín Straka
Q24877298
(c(Q502895),P106,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P106
type Q502895
[ANSWER] has career as that sex
[{'concept': 'Q502895'}, 'P106', 'Q6581097']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P106 resource:Q6581097 }
Antonín Straka
Antonín Straka has career as that sex
Antonín Straka
action filter_type
action find_reverse
entity male
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'male']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:occupation resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5073
P25
Q502895
USER
Which person was the mother of Emperor Shizong of Jin ?
(Q5073,P25,c(Q502895))
action filter_type
action find
entity Q5073
relation P25
type Q502895
['Q5073', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q5073 property:P25 ?v . ?v rdf:type ontology:Q502895 }
Emperor Shizong of Jin
action filter_type
action find
entity Emperor Shizong of Jin
relation mother
type common name
['Emperor Shizong of Jin', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Emperor_Shizong_of_Jin property:mother ?v . ?v rdf:type ontology:common_name }
[]
common name
Q8258593
SYSTEM
Empress Zhenyi
Q8258593
(Q5073,P25,c(Q502895))
action filter_type
action find
entity Q5073
relation P25
type Q502895
[ANSWER] was the mother of Emperor Shizong of Jin
['Q5073', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q5073 property:P25 ?v . ?v rdf:type ontology:Q502895 }
Empress Zhenyi
Empress Zhenyi was the mother of Emperor Shizong of Jin
Empress Zhenyi
action filter_type
action find
entity Emperor Shizong of Jin
relation mother
type common name
['Emperor Shizong of Jin', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Emperor_Shizong_of_Jin property:mother ?v . ?v rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1024685
P1303
Q34379 Q502895
USER
Which musical instruments do lesser number of people know to play than cabasa ?
(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 Q1024685
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?f ) WHERE { ?i rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 . ?i property:P1303 ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P1303 resource:Q1024685 . ?w rdf:type ontology:Q502895 } } . FILTER ( ?f < ?x ) }
cabasa
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity cabasa
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?f ) WHERE { ?i rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument . ?i property:instrument ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:instrument resource:cabasa . ?w rdf:type ontology:common_name } } . FILTER ( ?f < ?x ) }
[]
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 Q1024685
relation P1303
type Q502895
[ANSWERS] lesser number of people know to play than cabasa
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?f ) WHERE { ?i rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 . ?i property:P1303 ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P1303 resource:Q1024685 . ?w rdf:type ontology:Q502895 } } . FILTER ( ?f < ?x ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument lesser number of people know to play than cabasa
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 cabasa
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?f ) WHERE { ?i rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument . ?i property:instrument ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:instrument resource:cabasa . ?w rdf:type ontology:common_name } } . FILTER ( ?f < ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q742180
P1303
Q34379 Q502895
USER
And what about viola d'amore?
(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 Q742180
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?q } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { ?f property:P1303 resource:Q742180 . ?f rdf:type ontology:Q502895 } } }
viola d'amore
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity viola d'amore
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?q } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { ?f property:instrument resource:viola_d'amore . ?f rdf:type ontology:common_name } } }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 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 Q742180
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?q } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { ?f property:P1303 resource:Q742180 . ?f 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 Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone 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 Kayamb Paraguayan harp
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity viola d'amore
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?q } . FILTER ( ?d < ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { ?f property:instrument resource:viola_d'amore . ?f rdf:type ontology:common_name } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3856773
P27
Q15617994
USER
Which administrative territory is the native country of Michele Rigillo ?
(Q3856773,P27,c(Q15617994))
action filter_type
action find
entity Q3856773
relation P27
type Q15617994
['Q3856773', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3856773 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Michele Rigillo
action filter_type
action find
entity Michele Rigillo
relation country of citizenship
type designation for an administrative territorial entity
['Michele Rigillo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Michele_Rigillo property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3856773,P27,c(Q15617994))
action filter_type
action find
entity Q3856773
relation P27
type Q15617994
The [ANSWER] is the native country of Michele Rigillo
['Q3856773', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3856773 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Italy
The Italy is the native country of Michele Rigillo
Italy
action filter_type
action find
entity Michele Rigillo
relation country of citizenship
type designation for an administrative territorial entity
['Michele Rigillo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Michele_Rigillo property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P47
Q15617994
USER
Which administrative territories do that one share a border with ?
(c(Q15617994),P47,Q38)
action filter_type
action find
entity Q38
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q38']
SELECT DISTINCT ?w WHERE { resource:Q38 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Italy
action filter_type
action find
entity Italy
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Italy']
SELECT DISTINCT ?w WHERE { resource:Italy property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q39 Q215
SYSTEM
France, Switzerland, Slovenia
Q142 Q39 Q238 Q215
(c(Q15617994),P47,Q38)
action filter_type
action find
entity Q38
relation P47
type Q15617994
[ANSWERS] that one share a border with
[{'concept': 'Q15617994'}, 'P47', 'Q38']
SELECT DISTINCT ?w WHERE { resource:Q38 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
France Switzerland San Marino Slovenia
France, Switzerland and Slovenia that one share a border with
France Switzerland Slovenia
action filter_type
action find
entity Italy
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Italy']
SELECT DISTINCT ?w WHERE { resource:Italy property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with approximately 86 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 86
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?g = 86 ) . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?g ) WHERE { ?m property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 86
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?g = 86 ) . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?g ) WHERE { ?m property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 86
[ANSWERS] have diplomatic relations with approximately 86 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?g = 86 ) . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?g ) WHERE { ?m property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } }
Germany Australia
Germany and Australia have diplomatic relations with approximately 86 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 86
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?g = 86 ) . { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?g ) WHERE { ?m property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P1532
Q502895
USER
Whose people are Germany ?
(c(Q502895),P1532,Q183)
action filter_type
action find_reverse
entity Q183
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q183']
SELECT DISTINCT ?r WHERE { ?r property:P1532 resource:Q183 . ?r rdf:type ontology:Q502895 }
Germany
action filter_type
action find_reverse
entity Germany
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Germany']
SELECT DISTINCT ?r WHERE { ?r property:country_for_sport resource:Germany . ?r rdf:type ontology:common_name }
[]
common name
Q1331837 Q3530137 Q11771919
SYSTEM
Ellen Kiessling, Tobias Giehl, Maya Rehberg
Q23933662 Q17517599 Q1331837 Q23480023 Q24442448 Q3530137 Q23323661 Q14918196 Q23714989 Q24846847 Q22807080 Q23090951 Q11771919 Q25768269 Q22417389 Q23041689 Q24283241 Q17544413 Q1499347 Q16040122 Q21705952 Q25841177 Q23418556 Q1078224 Q1573540 Q24448038 Q22969617 Q25931172 Q9368268
(c(Q502895),P1532,Q183)
action filter_type
action find_reverse
entity Q183
relation P1532
type Q502895
[ANSWERS] are Germany
[{'concept': 'Q502895'}, 'P1532', 'Q183']
SELECT DISTINCT ?r WHERE { ?r property:P1532 resource:Q183 . ?r rdf:type ontology:Q502895 }
Clemens Bleistein Timo Benitz Ellen Kiessling Martin Vogel  Lisa Mayer Tobias Giehl Tobias Dahm Anjuli Knäsche Xenia Stolz Rene Stauss Annika Drazek Alexandra Wester Maya Rehberg Laura Muller Julian Flügel Joachim Dehmel Friedelinde Petershofen Max Hess Max Hopp Harald Demuth Kai Karsten Nadine Gonska Chantal Butzek Christa Wiese Ralf Jaros Anna Felzmann Konstanze Klosterhalfen Janina Kölsch Varg Königsmark
Ellen Kiessling, Tobias Giehl and Maya Rehberg are Germany
Ellen Kiessling Tobias Giehl Maya Rehberg
action filter_type
action find_reverse
entity Germany
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Germany']
SELECT DISTINCT ?r WHERE { ?r property:country_for_sport resource:Germany . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P194
Q1752346
USER
Which assembly governs Germany ?
(Q183,P194,c(Q1752346))
action filter_type
action find
entity Q183
relation P194
type Q1752346
['Q183', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q183 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
Germany
action filter_type
action find
entity Germany
relation legislative body
type assembly
['Germany', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:Germany property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]
assembly
Q154797
SYSTEM
Bundestag of Germany
Q154797
(Q183,P194,c(Q1752346))
action filter_type
action find
entity Q183
relation P194
type Q1752346
[ANSWER] governs Germany
['Q183', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?i WHERE { resource:Q183 property:P194 ?i . ?i rdf:type ontology:Q1752346 }
Bundestag of Germany
Bundestag of Germany governs Germany
Bundestag of Germany
action filter_type
action find
entity Germany
relation legislative body
type assembly
['Germany', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?i WHERE { resource:Germany property:legislative_body ?i . ?i rdf:type ontology:assembly }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6465
Q1752346
USER
And also tell me about department of France?
(Q6465,P194,c(Q1752346))
action filter_type
action find
entity Q6465
relation P194
type Q1752346
['Q6465', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?o WHERE { resource:Q6465 property:P194 ?o . ?o rdf:type ontology:Q1752346 }
department of France
action filter_type
action find
entity department of France
relation legislative body
type assembly
['department of France', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?o WHERE { resource:department_of_France property:legislative_body ?o . ?o rdf:type ontology:assembly }
[]
assembly
Q1398920 Q19758733
SYSTEM
General council, departmental council
Q1398920 Q19758733
(Q6465,P194,c(Q1752346))
action filter_type
action find
entity Q6465
relation P194
type Q1752346
[ANSWERS]
['Q6465', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?o WHERE { resource:Q6465 property:P194 ?o . ?o rdf:type ontology:Q1752346 }
General council departmental council
General council departmental council
action filter_type
action find
entity department of France
relation legislative body
type assembly
['department of France', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?o WHERE { resource:department_of_France property:legislative_body ?o . ?o rdf:type ontology:assembly }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P194
Q1752346 Q852446
USER
Which US administrative territories have min number of assemblies as their representative body ?
(c(Q852446),P194,c(Q1752346))
action argmin
action find_tuple_counts
relation P194
type Q852446
type Q1752346
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?l = ?r ) . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?l ) WHERE { ?k property:P194 ?u . ?k rdf:type ontology:Q852446 . ?u rdf:type ontology:Q1752346 } GROUP BY ?k } . { SELECT DISTINCT ( MIN ( ?j ) AS ?r ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?j ) WHERE { ?o property:P194 ?c . ?o rdf:type ontology:Q852446 . ?c rdf:type ontology:Q1752346 } GROUP BY ?o } } }
action argmin
action find_tuple_counts
relation legislative body
type administrative territorial entity of the United States
type assembly
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?l = ?r ) . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?l ) WHERE { ?k property:legislative_body ?u . ?k rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?u rdf:type ontology:assembly } GROUP BY ?k } . { SELECT DISTINCT ( MIN ( ?j ) AS ?r ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?j ) WHERE { ?o property:legislative_body ?c . ?o rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?c rdf:type ontology:assembly } GROUP BY ?o } } }
[]
assembly administrative territorial entity of the United States
Q1384 Q1428 Q1527
SYSTEM
New York, Georgia, Minnesota
Q1397 Q3547598 Q1603 Q1391 Q824 Q724 Q1581 Q1537 Q1370 Q1439 Q1612 Q1454 Q1393 Q1456 Q1509 Q1415 Q829 Q99 Q782 Q1400 Q1384 Q1527 Q1546 Q1204 Q1522 Q1227 Q1223 Q1166 Q1221 Q816 Q771 Q1207 Q812 Q1387 Q1371 Q1261 Q779 Q1408 Q1649 Q1428 Q759 Q1558 Q1588 Q173 Q797 Q1212 Q1553 Q1211 Q1214 Q16551 Q1494
(c(Q852446),P194,c(Q1752346))
action argmin
action find_tuple_counts
relation P194
type Q852446
type Q1752346
[ANSWERS] have min number of assemblies as their representative body
[{'concept': 'Q852446'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?l = ?r ) . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?l ) WHERE { ?k property:P194 ?u . ?k rdf:type ontology:Q852446 . ?u rdf:type ontology:Q1752346 } GROUP BY ?k } . { SELECT DISTINCT ( MIN ( ?j ) AS ?r ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?j ) WHERE { ?o property:P194 ?c . ?o rdf:type ontology:Q852446 . ?c rdf:type ontology:Q1752346 } GROUP BY ?o } } }
Ohio Uashat Kentucky Maryland Oregon Maine Missouri Wisconsin Virginia Texas Arkansas North Carolina Delaware South Carolina Tennessee Indiana Utah California Hawaii Pennsylvania New York 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 Louisiana Alabama Alaska Montana Nebraska South Dakota Wyoming Vermont Mississippi
New York, Georgia and Minnesota have min number of assemblies as their representative body
New York Georgia Minnesota
action argmin
action find_tuple_counts
relation legislative body
type administrative territorial entity of the United States
type assembly
[{'concept': 'administrative territorial entity of the United States'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?l = ?r ) . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?l ) WHERE { ?k property:legislative_body ?u . ?k rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?u rdf:type ontology:assembly } GROUP BY ?k } . { SELECT DISTINCT ( MIN ( ?j ) AS ?r ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?j ) WHERE { ?o property:legislative_body ?c . ?o rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?c rdf:type ontology:assembly } GROUP BY ?o } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1527 Q16026
P6
Q502895
USER
How many people have Minnesota or Limburg an der Lahn as their heads of government ?
(Q1527,P6,c(Q502895)) (Q16026,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q1527
relation P6
type Q502895
action filter_type
action find
entity Q16026
relation P6
type Q502895
['Q1527', 'P6', {'concept': 'Q502895'}] ['Q16026', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { resource:Q1527 property:P6 ?a . ?a rdf:type ontology:Q502895 } UNION { resource:Q16026 property:P6 ?a . ?a rdf:type ontology:Q502895 } }
Minnesota Limburg an der Lahn
action count
action union
action filter_type
action find
entity Minnesota
relation head of government
type common name
action filter_type
action find
entity Limburg an der Lahn
relation head of government
type common name
['Minnesota', 'head of government', {'concept': 'common name'}] ['Limburg an der Lahn', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { resource:Minnesota property:head_of_government ?a . ?a rdf:type ontology:common_name } UNION { resource:Limburg_an_der_Lahn property:head_of_government ?a . ?a rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q1904810 Q513091
(Q1527,P6,c(Q502895)) (Q16026,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q1527
relation P6
type Q502895
action filter_type
action find
entity Q16026
relation P6
type Q502895
[ANSWER]
['Q1527', 'P6', {'concept': 'Q502895'}] ['Q16026', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { resource:Q1527 property:P6 ?a . ?a rdf:type ontology:Q502895 } UNION { resource:Q16026 property:P6 ?a . ?a rdf:type ontology:Q502895 } }
Martin Richard Mark Dayton
2
action count
action union
action filter_type
action find
entity Minnesota
relation head of government
type common name
action filter_type
action find
entity Limburg an der Lahn
relation head of government
type common name
['Minnesota', 'head of government', {'concept': 'common name'}] ['Limburg an der Lahn', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { { resource:Minnesota property:head_of_government ?a . ?a rdf:type ontology:common_name } UNION { resource:Limburg_an_der_Lahn property:head_of_government ?a . ?a rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q742180
P21 P1303
Q502895
USER
Which people can play viola d'amore and have the gender as male ?
AND((c(Q502895),P1303,Q742180), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q742180
relation P1303
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q742180'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P1303 resource:Q742180 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
male viola d'amore
action filter_type
action intersection
action find_reverse
entity viola d'amore
relation instrument
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', "viola d'amore"], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:instrument resource:viola_d'amore . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]
common name
Q13610955 Q5040901 Q542981 Q6829473 Q1744323 Q19594755 Q7652655 Q5524355 Q223744 Q12058892
SYSTEM
Some of them are Louis van Waefelghem, Carl Valentin Wunderle, Roy Goodman, Michael Cores, Louis-Toussaint Milandre, Bernard Zaslav, Sviatoslav Belonogov, Garth Knox, Farinelli, Theodor Schulz
Q6758485 Q567065 Q1197441 Q12050126 Q2449037 Q223744 Q6371882 Q5524355 Q13610955 Q7652655 Q12022725 Q12058892 Q542981 Q19594755 Q7325705 Q3660955 Q1744323 Q6829473 Q5040901 Q1979818 Q758130 Q5314334
AND((c(Q502895),P1303,Q742180), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q742180
relation P1303
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] can play viola d'amore and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q742180'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P1303 resource:Q742180 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
Marcus Thompson Chrétien Urhan Henri Casadesus Rudolf Chlup Vadim Borisovsky Farinelli Karl Haas Garth Knox Louis van Waefelghem Sviatoslav Belonogov Jan Krumlovský Theodor Schulz Roy Goodman Bernard Zaslav Richard Fleischman Michael Kugel Louis-Toussaint Milandre Michael Cores Carl Valentin Wunderle Walter Trampler Attilio Ariosti Duncan Druce
Louis van Waefelghem, Carl Valentin Wunderle, Roy Goodman, Michael Cores, Louis-Toussaint Milandre, Bernard Zaslav, Sviatoslav Belonogov, Garth Knox, Farinelli and Theodor Schulz can play viola d'amore and have the gender as male
Louis van Waefelghem Carl Valentin Wunderle Roy Goodman Michael Cores Louis-Toussaint Milandre Bernard Zaslav Sviatoslav Belonogov Garth Knox Farinelli Theodor Schulz
action filter_type
action intersection
action find_reverse
entity viola d'amore
relation instrument
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', "viola d'amore"], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:instrument resource:viola_d'amore . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]