Simple Question (Direct)
Simple Question
Q3731637
P172
Q2472587
USER
What is the race of Ericka Dunlap ?
(Q3731637,P172,c(Q2472587))
action filter_type
action find
entity Q3731637
relation P172
type Q2472587
['Q3731637', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?g WHERE { resource:Q3731637 property:P172 ?g . ?g rdf:type ontology:Q2472587 }
Ericka Dunlap
action filter_type
action find
entity Ericka Dunlap
relation ethnic group
type people
['Ericka Dunlap', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?g WHERE { resource:Ericka_Dunlap property:ethnic_group ?g . ?g rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q3731637,P172,c(Q2472587))
action filter_type
action find
entity Q3731637
relation P172
type Q2472587
The race of Ericka Dunlap is of [ANSWER]
['Q3731637', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?g WHERE { resource:Q3731637 property:P172 ?g . ?g rdf:type ontology:Q2472587 }
African Americans
The race of Ericka Dunlap is of African Americans
African Americans
action filter_type
action find
entity Ericka Dunlap
relation ethnic group
type people
['Ericka Dunlap', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?g WHERE { resource:Ericka_Dunlap property:ethnic_group ?g . ?g rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3731637
P27
Q15617994
USER
Which administrative territory does Ericka Dunlap belong to ?
(Q3731637,P27,c(Q15617994))
action filter_type
action find
entity Q3731637
relation P27
type Q15617994
['Q3731637', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3731637 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Ericka Dunlap
action filter_type
action find
entity Ericka Dunlap
relation country of citizenship
type designation for an administrative territorial entity
['Ericka Dunlap', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ericka_Dunlap property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3731637,P27,c(Q15617994))
action filter_type
action find
entity Q3731637
relation P27
type Q15617994
Ericka Dunlap belongs to [ANSWER]
['Q3731637', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3731637 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
Ericka Dunlap belongs to United States of America
United States of America
action filter_type
action find
entity Ericka Dunlap
relation country of citizenship
type designation for an administrative territorial entity
['Ericka Dunlap', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ericka_Dunlap property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3731637
P21
Q290
USER
Which sex does Ericka Dunlap have ?
(Q3731637,P21,c(Q290))
action filter_type
action find
entity Q3731637
relation P21
type Q290
['Q3731637', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q3731637 property:P21 ?t }
Ericka Dunlap
action filter_type
action find
entity Ericka Dunlap
relation gender
type sex
['Ericka Dunlap', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Ericka_Dunlap property:gender ?t }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3731637,P21,c(Q290))
action filter_type
action find
entity Q3731637
relation P21
type Q290
Ericka Dunlap has a [ANSWER]
['Q3731637', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q290 . resource:Q3731637 property:P21 ?t }
female
Ericka Dunlap has a female
female
action filter_type
action find
entity Ericka Dunlap
relation gender
type sex
['Ericka Dunlap', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sex . resource:Ericka_Dunlap property:gender ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3731637
P19
Q56061
USER
Where was that person born ?
(Q6581072,P19,c(Q56061))
action filter_type
action find
entity Q3731637
relation P19
type Q56061
['Q6581072', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3731637 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Ericka Dunlap
action filter_type
action find
entity Ericka Dunlap
relation place of birth
type administrative territorial entity
['female', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ericka_Dunlap property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49233
SYSTEM
Orlando
Q49233
(Q6581072,P19,c(Q56061))
action filter_type
action find
entity Q3731637
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581072', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3731637 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Orlando
That person was born in Orlando
Orlando
action filter_type
action find
entity Ericka Dunlap
relation place of birth
type administrative territorial entity
['female', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ericka_Dunlap property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q49233 Q152567 Q4325913
P190
Q56061
USER
Is that administrative territory twin city of Kiryat Motzkin and Novoselivske ?
(Q49233,P190,Q152567) (Q49233,P190,Q4325913)
action is_in
entity Q49233
action intersection
action find_reverse
entity Q152567
relation P190
action find_reverse
entity Q4325913
relation P190
['Q49233', 'P190', 'Q152567'] ['Q49233', 'P190', 'Q4325913']
ASK WHERE { resource:Q49233 property:P190 resource:Q152567 . resource:Q49233 property:P190 resource:Q4325913 }
Orlando Kiryat Motzkin Novoselivske
action is_in
entity Orlando
action intersection
action find_reverse
entity Kiryat Motzkin
relation sister city
action find_reverse
entity Novoselivske
relation sister city
['Orlando', 'sister city', 'Kiryat Motzkin'] ['Orlando', 'sister city', 'Novoselivske']
ASK WHERE { resource:Orlando property:sister_city resource:Kiryat_Motzkin . resource:Orlando property:sister_city resource:Novoselivske }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q49233,P190,Q152567) (Q49233,P190,Q4325913)
action is_in
entity Q49233
action intersection
action find_reverse
entity Q152567
relation P190
action find_reverse
entity Q4325913
relation P190
[ANSWER]
['Q49233', 'P190', 'Q152567'] ['Q49233', 'P190', 'Q4325913']
ASK WHERE { resource:Q49233 property:P190 resource:Q152567 . resource:Q49233 property:P190 resource:Q4325913 }
YES and NO respectively
action is_in
entity Orlando
action intersection
action find_reverse
entity Kiryat Motzkin
relation sister city
action find_reverse
entity Novoselivske
relation sister city
['Orlando', 'sister city', 'Kiryat Motzkin'] ['Orlando', 'sister city', 'Novoselivske']
ASK WHERE { resource:Orlando property:sister_city resource:Kiryat_Motzkin . resource:Orlando property:sister_city resource:Novoselivske }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3731637 Q26691653 Q26694094
P106
Q12737077
USER
Does Ericka Dunlap have the profession of mayor of Aviá and mayor of Valdorros ?
(Q3731637,P106,Q26691653) (Q3731637,P106,Q26694094)
action is_in
entity Q3731637
action intersection
action find_reverse
entity Q26691653
relation P106
action find_reverse
entity Q26694094
relation P106
['Q3731637', 'P106', 'Q26691653'] ['Q3731637', 'P106', 'Q26694094']
ASK WHERE { resource:Q3731637 property:P106 resource:Q26694094 . resource:Q3731637 property:P106 resource:Q26691653 }
Ericka Dunlap mayor of Aviá mayor of Valdorros
action is_in
entity Ericka Dunlap
action intersection
action find_reverse
entity mayor of Aviá
relation occupation
action find_reverse
entity mayor of Valdorros
relation occupation
['Ericka Dunlap', 'occupation', 'mayor of Aviá'] ['Ericka Dunlap', 'occupation', 'mayor of Valdorros']
ASK WHERE { resource:Ericka_Dunlap property:occupation resource:mayor_of_Valdorros . resource:Ericka_Dunlap property:occupation resource:mayor_of_Aviá }
[]
occupation
SYSTEM
NO
(Q3731637,P106,Q26691653) (Q3731637,P106,Q26694094)
action is_in
entity Q3731637
action intersection
action find_reverse
entity Q26691653
relation P106
action find_reverse
entity Q26694094
relation P106
[ANSWER]
['Q3731637', 'P106', 'Q26691653'] ['Q3731637', 'P106', 'Q26694094']
ASK WHERE { resource:Q3731637 property:P106 resource:Q26694094 . resource:Q3731637 property:P106 resource:Q26691653 }
No
action is_in
entity Ericka Dunlap
action intersection
action find_reverse
entity mayor of Aviá
relation occupation
action find_reverse
entity mayor of Valdorros
relation occupation
['Ericka Dunlap', 'occupation', 'mayor of Aviá'] ['Ericka Dunlap', 'occupation', 'mayor of Valdorros']
ASK WHERE { resource:Ericka_Dunlap property:occupation resource:mayor_of_Valdorros . resource:Ericka_Dunlap property:occupation resource:mayor_of_Aviá }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q49233 Q7403469
P190
Q56061
USER
Is Salahlı, Yevlakh the sister city of Orlando ?
(Q49233,P190,Q7403469)
action is_in
entity Q7403469
action find
entity Q49233
relation P190
['Q49233', 'P190', 'Q7403469']
ASK WHERE { resource:Q49233 property:P190 resource:Q7403469 }
Orlando Salahlı, Yevlakh
action is_in
entity Salahlı, Yevlakh
action find
entity Orlando
relation sister city
['Orlando', 'sister city', 'Salahlı, Yevlakh']
ASK WHERE { resource:Orlando property:sister_city resource:Salahlı,_Yevlakh }
[]
administrative territorial entity
SYSTEM
NO
(Q49233,P190,Q7403469)
action is_in
entity Q7403469
action find
entity Q49233
relation P190
[ANSWER]
['Q49233', 'P190', 'Q7403469']
ASK WHERE { resource:Q49233 property:P190 resource:Q7403469 }
No
action is_in
entity Salahlı, Yevlakh
action find
entity Orlando
relation sister city
['Orlando', 'sister city', 'Salahlı, Yevlakh']
ASK WHERE { resource:Orlando property:sister_city resource:Salahlı,_Yevlakh }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49233
P6
Q502895
USER
Who is the head of the government of Orlando?
action filter_type
action find
entity Q49233
relation P6
type Q502895
SELECT DISTINCT ?v WHERE { resource:Q49233 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Orlando
action filter_type
action find
entity Orlando
relation head of government
type common name
SELECT DISTINCT ?v WHERE { resource:Orlando property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
common name
Q4984846
SYSTEM
Buddy Dyer
Q4984846
action filter_type
action find
entity Q49233
relation P6
type Q502895
The head of the government of Orlando is the [ANSWER]
SELECT DISTINCT ?v WHERE { resource:Q49233 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Buddy Dyer
The head of the government of Orlando is the Buddy Dyer
Buddy Dyer
action filter_type
action find
entity Orlando
relation head of government
type common name
SELECT DISTINCT ?v WHERE { resource:Orlando property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q685000 Q49233
P6 P1346
Q502895
USER
Which people are the heads of the government of Orlando or emerged victorious in Dilys Award ?
OR((Q49233,P6,c(Q502895)), (Q685000,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q49233
relation P6
action find
entity Q685000
relation P1346
type Q502895
{'OR': [['Q49233', 'P6', {'concept': 'Q502895'}], ['Q685000', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . { { resource:Q49233 property:P6 ?v } UNION { resource:Q685000 property:P1346 ?v } } }
Dilys Award Orlando
action filter_type
action union
action find
entity Orlando
relation head of government
action find
entity Dilys Award
relation winner
type common name
{'OR': [['Orlando', 'head of government', {'concept': 'common name'}], ['Dilys Award', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . { { resource:Orlando property:head_of_government ?v } UNION { resource:Dilys_Award property:winner ?v } } }
[]
common name
Q713778 Q922053 Q311744 Q637306 Q1711920 Q337384 Q4984846 Q460414 Q313038 Q1396654
SYSTEM
Some of them are Jasper Fforde, Robert Crais, Dennis Lehane, Peter Robinson, Julia Spencer-Fleming, Peter Høeg, Buddy Dyer, Louise Penny, Jeff Lindsay, S. J. Rozan
Q534738 Q1711920 Q552855 Q311744 Q726177 Q4984846 Q637306 Q1396654 Q240547 Q713778 Q1627461 Q239911 Q313193 Q313038 Q460414 Q504317 Q922053 Q337384
OR((Q49233,P6,c(Q502895)), (Q685000,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q49233
relation P6
action find
entity Q685000
relation P1346
type Q502895
[ANSWERS] are the heads of the government of Orlando or emerged victorious in Dilys Award
{'OR': [['Q49233', 'P6', {'concept': 'Q502895'}], ['Q685000', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . { { resource:Q49233 property:P6 ?v } UNION { resource:Q685000 property:P1346 ?v } } }
William Kent Krueger Julia Spencer-Fleming Colin Cotterill Dennis Lehane Carl Hiaasen Buddy Dyer Peter Robinson S. J. Rozan Janet Evanovich Jasper Fforde John Dunning Val McDermid Michael Connelly Jeff Lindsay Louise Penny Alan Bradley Robert Crais Peter Høeg
Jasper Fforde, Robert Crais, Dennis Lehane, Peter Robinson, Julia Spencer-Fleming, Peter Høeg, Buddy Dyer, Louise Penny, Jeff Lindsay and S. J. Rozan are the heads of the government of Orlando or emerged victorious in Dilys Award
Jasper Fforde Robert Crais Dennis Lehane Peter Robinson Julia Spencer-Fleming Peter Høeg Buddy Dyer Louise Penny Jeff Lindsay S. J. Rozan
action filter_type
action union
action find
entity Orlando
relation head of government
action find
entity Dilys Award
relation winner
type common name
{'OR': [['Orlando', 'head of government', {'concept': 'common name'}], ['Dilys Award', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . { { resource:Orlando property:head_of_government ?v } UNION { resource:Dilys_Award property:winner ?v } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P88
Q502895 Q180516 Q16970
USER
Which people did the commissioning of min number of rooms or churches ?
(c(Q180516)|c(Q16970),P88,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q180516
action find_reverse_tuple_counts
relation P88
type Q502895
type Q16970
[[{'concept': 'Q180516'}, {'concept': 'Q16970'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?r WHERE { { ?e property:P88 ?r . ?r rdf:type ontology:Q502895 . ?e rdf:type ontology:Q16970 } UNION { ?e property:P88 ?r . ?r rdf:type ontology:Q502895 . ?e rdf:type ontology:Q180516 } } GROUP BY ?r } } . FILTER ( ?i = ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?y WHERE { { ?l property:P88 ?y . ?y rdf:type ontology:Q502895 . ?l rdf:type ontology:Q180516 } UNION { ?l property:P88 ?y . ?y rdf:type ontology:Q502895 . ?l rdf:type ontology:Q16970 } } GROUP BY ?y } }
action argmin
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type room
action find_reverse_tuple_counts
relation commissioned by
type common name
type church
[[{'concept': 'room'}, {'concept': 'church'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?r WHERE { { ?e property:commissioned_by ?r . ?r rdf:type ontology:common_name . ?e rdf:type ontology:church } UNION { ?e property:commissioned_by ?r . ?r rdf:type ontology:common_name . ?e rdf:type ontology:room } } GROUP BY ?r } } . FILTER ( ?i = ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?y WHERE { { ?l property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?l rdf:type ontology:room } UNION { ?l property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?l rdf:type ontology:church } } GROUP BY ?y } }
[]
common name room church
Q937 Q517 Q316654
SYSTEM
Albert Einstein, Napoleon, Emperor Saga
Q314384 Q21583236 Q128019 Q1679943 Q312637 Q67281 Q16029902 Q18546605 Q3388274 Q2597227 Q34417 Q5007 Q15118669 Q316736 Q646191 Q8423 Q48544 Q1434742 Q1869372 Q7758 Q1790464 Q7750 Q36234 Q5482808 Q105013 Q1391982 Q1699250 Q66112 Q658756 Q83672 Q214207 Q1261435 Q2960520 Q459684 Q337630 Q7811659 Q4444804 Q12591 Q2663888 Q923438 Q1397788 Q2854144 Q8019380 Q6260307 Q5602471 Q170398 Q163514 Q2161266 Q143319 Q63502 Q16328562 Q937 Q3180455 Q979358 Q506415 Q1360930 Q2138565 Q7790099 Q2002136 Q130221 Q44139 Q3158324 Q95946 Q348183 Q13422636 Q5344847 Q978999 Q114424 Q169305 Q19635621 Q18526360 Q5052103 Q935329 Q2976800 Q448169 Q5973918 Q2573414 Q335489 Q99915 Q938624 Q3291384 Q560746 Q230677 Q130822 Q60568 Q152245 Q535618 Q1408805 Q318089 Q157812 Q18175809 Q702308 Q127318 Q452570 Q3553429 Q57628 Q76555 Q96499 Q205779 Q299663 Q1419 Q358348 Q20875 Q289527 Q349243 Q44961 Q5542604 Q33550 Q37594 Q150726 Q1523 Q650906 Q32500 Q273849 Q545140 Q19660038 Q2714587 Q38200 Q21583204 Q788163 Q691894 Q164823 Q5481257 Q182021 Q2113530 Q2033868 Q1871840 Q170863 Q344454 Q60438 Q3768246 Q168261 Q443559 Q336990 Q9439 Q37134 Q3678126 Q209579 Q211513 Q71578 Q7742 Q437543 Q15839391 Q7296915 Q487488 Q38370 Q2976709 Q3765384 Q4725780 Q115738 Q15454222 Q3022849 Q140106 Q83680 Q192958 Q1395822 Q16004457 Q6228322 Q236853 Q152782 Q2615527 Q5498834 Q2082616 Q7788054 Q244852 Q434252 Q49237 Q153815 Q8032483 Q3340360 Q183226 Q36788 Q298877 Q446077 Q2129556 Q3428813 Q506933 Q170467 Q3381859 Q151173 Q5576725 Q436126 Q297194 Q6853636 Q8343904 Q3784903 Q2507378 Q257286 Q114749 Q6292807 Q129857 Q737533 Q2381189 Q158504 Q470978 Q6897746 Q8005725 Q2871482 Q81506 Q237149 Q534683 Q178004 Q6376590 Q83159 Q1088180 Q19403561 Q177854 Q74936 Q7732 Q760909 Q5379610 Q201143 Q7738 Q152727 Q29179 Q57206 Q435501 Q593626 Q1399 Q102140 Q36620 Q16846394 Q1396340 Q378483 Q188346 Q101266 Q2542756 Q65933 Q167782 Q3524371 Q3132908 Q21529483 Q974863 Q691402 Q351339 Q334108 Q51056 Q53437 Q8743 Q378870 Q52927 Q8019995 Q452580 Q869981 Q19930898 Q86957 Q311879 Q15927253 Q2400568 Q60936 Q1542046 Q795117 Q434730 Q44361 Q7771 Q188971 Q343576 Q541300 Q316110 Q460215 Q3262230 Q3802446 Q18507655 Q77233 Q3817341 Q3766950 Q8474 Q131552 Q16011488 Q152229 Q213533 Q708011 Q134588 Q41919 Q436117 Q131706 Q65351 Q2565824 Q3048093 Q2271150 Q61307 Q1414020 Q95563 Q349267 Q43107 Q128664 Q520493 Q10382335 Q171185 Q316654 Q1066012 Q157781 Q930796 Q1002546 Q3159990 Q222390 Q587283 Q450160 Q717289 Q149062 Q2149954 Q458688 Q6224954 Q1233361 Q783595 Q2483541 Q336580 Q3261400 Q168691 Q160353 Q2607550 Q2714575 Q8008060 Q82823 Q8012806 Q5703335 Q24278767 Q3635399 Q3048511 Q1377579 Q591851 Q3340239 Q102605 Q2644136 Q6138693 Q7526169 Q335667 Q1557363 Q540802 Q231764 Q5928444 Q346761 Q153586 Q2768005 Q338480 Q19837 Q590218 Q2935138 Q267483 Q2898749 Q250732 Q2298732 Q298892 Q7324802 Q23691658 Q19853482 Q354309 Q16745596 Q1897093 Q62594 Q289104 Q104190 Q2551650 Q538960 Q740642 Q196055 Q111354 Q54022 Q26702 Q465269 Q366066 Q132692 Q19973598 Q36450 Q1048333 Q517 Q921075 Q53457 Q1527009 Q130734 Q711845 Q922667 Q1354579 Q395635 Q233224 Q321492 Q18572555 Q365823 Q37085 Q62673 Q971215 Q7343203 Q130834 Q1289992 Q336657 Q1385734 Q12971 Q3351435 Q6861922 Q692291 Q23647555 Q57180 Q170348 Q932200 Q20741624 Q80516 Q2389145 Q215086 Q4889906 Q704506 Q8597 Q731799 Q23688963 Q1405 Q969770 Q7259727 Q3742116 Q10975505 Q692189 Q127010 Q289149 Q187447 Q25690 Q729743 Q137934 Q329753 Q255809 Q47595
(c(Q180516)|c(Q16970),P88,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q180516
action find_reverse_tuple_counts
relation P88
type Q502895
type Q16970
[ANSWERS] did the commissioning of min number of rooms or churches
[[{'concept': 'Q180516'}, {'concept': 'Q16970'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?r WHERE { { ?e property:P88 ?r . ?r rdf:type ontology:Q502895 . ?e rdf:type ontology:Q16970 } UNION { ?e property:P88 ?r . ?r rdf:type ontology:Q502895 . ?e rdf:type ontology:Q180516 } } GROUP BY ?r } } . FILTER ( ?i = ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?y WHERE { { ?l property:P88 ?y . ?y rdf:type ontology:Q502895 . ?l rdf:type ontology:Q180516 } UNION { ?l property:P88 ?y . ?y rdf:type ontology:Q502895 . ?l rdf:type ontology:Q16970 } } GROUP BY ?y } }
Huey Long Metello Vari Pius VI James Pourtales-Gorgier Curzio Malaparte Friedrich Karl von Schönborn Julius Drewe John Johnson Pigello Portinari Sikandar Lodi Philip II of Spain Emperor Daozong of Liao Jean de Sedano Pierre Louis Jean Casimir de Blacas Junius Annius Bassus Cyrus the Great Cosimo de' Medici Ludwig Schneller Alfred Mosselman Charles X of France Krzysztof Wojciechowski Louis XVIII of France Charles III of Spain Francis Willoughby Frederick William I of Prussia Robbie Ross John Banister Siegfried Bing Alof de Wignacourt Shah Jahan William Steinway Sunenphaa Charles de Beauvau, Prince of Beauvau Kunigunde of Bohemia George Howard, 9th Earl of Carlisle Tobias Rustat Leicester Stanhope, 5th Earl of Harrington Nebuchadnezzar II Jan Gildemeester John Petty, 2nd Marquess of Lansdowne Guidobaldo II della Rovere, Duke of Urbino Antoine Le Viste William Thompson Walters John Tayloe III Gustaf Carlberg William I of Württemberg Sixtus IV Rodolphe d'Erlanger Bhupinder Singh of Patiala Charles II, Duke of Brunswick Leonidas Deligiorgis Albert Einstein Johan Sederholm Roger de Montgomerie, 1st Earl of Shrewsbury Francesco I d'Este, Duke of Modena Ernst von Stubenrauch Nicolae Crețulescu Thomas Gold Appleton Gheorghe Grigore Cantacuzino Frederick II, Holy Roman Emperor Georges Petit Jacques Bordier Ferdinand Mülhens Louis Philippe I, Duke of Orléans Willy Bleissem Edward Phelips Pierre-Hector Coullié Franz Joseph von Dietrichstein Urban IV Gábor Patachich Alessandro Scaglia Catharine Lorillard Wolfe Francesco I Gonzaga Claude-Marius Vaïsse Alva Belmont Ture Malmgren Wilhelm Jacob Wimpf Abu Yaqub Yusuf Jakob Heller Margaret of Burgundy, Dauphine of France Mariano Guadalupe Vallejo Constantijn Huygens Madame du Barry William IV of the United Kingdom William V, Duke of Bavaria Albert, Prince Consort Sophie de Marbois-Lebrun, Duchess of Plaisance John II of Glymes Anselm Franz, 2nd Prince of Thurn and Taxis Frederick III of Denmark Giorgio Contarini Bernward of Hildesheim George III of Great Britain Scipione Borghese Asdrubale Mattei Maximilian II Emanuel, Elector of Bavaria Joseph II Christoph Franz von Hutten Camillo Borghese, 6th Prince of Sulmona Piero di Cosimo de' Medici Vespasian Bartolommeo Bandinelli Edward VII Étienne Chevalier Seiwa Charles Theodore, Elector of Bavaria George Moore Frederick II of Prussia William I of England Maximilian I, Holy Roman Emperor Ramesses II Giovanni della Casa Charles V André Le Nôtre Peter II, Duke of Brittany Benedek Himfy Girvan Yuddha Bikram Shah Deva John Thynne Pietro Paolo Castellani Mary Curzon, Baroness Curzon of Kedleston Pietro Aldobrandini Girolamo Savonarola Francis Hay, 9th Earl of Erroll Marie de' Medici William Bingham Sir Richard Wallace, 1st Baronet Louis Mantin Clement VI Charles de Rémusat Ferdinand Maria, Elector of Bavaria Giovanni Tornabuoni Ptolemy I Soter Elizabeth Sprague Coolidge Abu Inan Faris Queen Victoria Frederick William III of Prussia Ciriaco Mattei Victor Amadeus II of Sardinia Sergei Diaghilev Johannes Noviforensis Louis XIV of France Paolo Giovio Dittmar Finkler Rawal Jaisal Anatoly Nikolaievich Demidov, 1st Prince of San Donato Henry VIII Claude-François de Montboissier de Canillac de Beaufort Gregorio Correr Alice Claypoole Gwynne Suzanne Curchod Josef Neven DuMont Denis O'Brien Francesco Maria del Monte Sher Shah Suri Carlo Gesualdo Francesco del Giocondo Jonathan Tyers John D. Spreckels Ludovico Sforza Caroline Bonaparte Pieter van Ruijven Frederick Tatham Thomas Percy, 1st Earl of Worcester Thomas Burgh of Gainsborough Gediminas Mihailo Obrenović III Leo X Princess Margaret, Countess of Snowdon Woodbury Langdon Nicholas Girod Charles IV of Spain Abd al-Malik ibn Marwan Giuliano de' Medici Léon Carvalho Ralph de Cromwell, 3rd Baron Cromwell Larz Anderson Halil Şerif Paşa Philip V of Spain Phyllis Lambert Joachim Murat Wandalin Puslovsky Reinhard Keiser Valdemar I of Denmark Nicholas III of Saint Omer Anatole Bartholoni Henry Percy, 5th Earl of Northumberland Walter Buller Meagan Good Ahmed I José Luis Munárriz Francis I of France Louis XIII of France James Beaton Clement of Ohrid Alaungpaya Mona von Bismarck William Borthwick, 1st Lord Borthwick Auguste de Morlhon Charles I of England Ida Rubinstein Francesco Barberini Marcian Katheryn of Berain Clement VII Niccolò Ridolfi Alfons Mauser Lorenzo de' Medici William Hayley Louis XVI of France August Belmont, Jr. Enrico degli Scrovegni Anne of Brittany Louis XV of France Frederick William, Elector of Brandenburg Francisco Franco Maximilian I, Elector of Bavaria Federico da Montefeltro Isabella d'Este Niccolò Machiavelli Henry II of England Tycho Brahe Idia William Hastings, 1st Baron Hastings Taejo of Joseon Alfonso I d'Este, Duke of Ferrara Innocent X Odoardo Farnese Sophia Dorothea of Schleswig-Holstein-Sonderburg-Glücksburg Charles V of France Thierry Le Jeune Henry Le Tonnelier de Breteuil Atalanta Baglioni George Burt Philip IV of Spain Lincoln Kirstein John Ward, 1st Earl of Dudley Franz Joseph I of Austria Augustus II the Strong Thomas Edison Daniele Barbaro Charles XIV John of Sweden William Ward, 1st Earl of Dudley Vincenzo Gonzaga, Duke of Mantua Jakob Meyer zum Hasen Peter de Salis Johann Philipp Franz von Schönborn Herodes Atticus Maurice Aubry Nikolaas Rockox William IV, Duke of Bavaria Wilhelm Girardet Christian Louis de Montmorency-Luxembourg Gabriel García Moreno Ludwig I of Bavaria Louis Philippe I Jean-Baptiste Colbert Eugene Allen Gilmore Quintino Sella Manuel de Godoy, Prince of the Peace Charles I, Duke of Savoy Louis Phélypeaux, marquis de La Vrillière Iseppo da Porto John Pratt Frederick III, Elector of Saxony Taddeo Barberini Giovanni Carandente Suleiman the Magnificent Catherine of Medici Charles Marcotte d'Argenteuil Frederick William II of Prussia Karl August, Grand Duke of Saxe-Weimar-Eisenach Jean-Antoine Chaptal Nicholas V George Frederick, Margrave of Brandenburg-Ansbach Redfield Proctor, Jr. Maria Theresa of Austria Paul Cassirer Cees van der Leeuw Edmund Dummer Louis-Joseph Papineau Ulla Schmidt Filippo di Piero Strozzi Johann Schweikhard von Kronberg Uda Diocletian Wilfrid Laurier Michael Tilson Thomas Tiago Gregório Homem da Costa Noronha Ivan III of Russia Emperor Saga Charles Saatchi Christian VIII of Denmark Jean Le Maingre Margaret of Foix Jacques Seligmann David Garrick Antoine de Paule Marjorie Merriweather Post Claude-Philibert Barthelot, comte de Rambuteau Samuel Morton Peto Antonius Triest Prince Ferdinand Philippe, Duke of Orléans John Campbell, 1st Baron Cawdor Jean-François Cail Diego Gelmírez Giovanni Michiel Gerald Grosvenor, 6th Duke of Westminster Louis Raphaël Cahen d'Anvers Victor Emmanuel II of Savoy Theodosius II Aleksander Michał Sapieha Rana Bahadur Shah William Duff, 1st Earl Fife Johan Frederik Classen William Imrie Helen Vincent, Viscountess D'Abernon Jacob Trip Bartolomeo Panciatichi Edward Francis Hutton Konstantin von Kaufman Ralph von Merle Nicolas de Launay Paul II Pieter van Os James Mackay, 1st Earl of Inchcape Sir Charles Asgill, 1st Baronet Henry Bathurst, 2nd Earl Bathurst Herbert W. Liaunig Frederick III, Prince of Salm-Kyrburg Sophie Amalie of Brunswick-Lüneburg Robert John Thornton John, Duke of Berry Christian IV of Denmark Mahmud Begada Nicolas Rolin Steve Jobs Ferenc Esterházy Camillo Francesco Maria Pamphili Catherine of Brandenburg-Küstrin Su Shunqin John Linnell Sante Bentivoglio Philip the Bold Richard Clough Elizabeth Ilive Anna van Ewsum William Cecil, 1st Baron Burghley Jacopo Pesaro Marie-Alain Couturier Charles III Philip, Elector Palatine Piero Soderini Robert Walpole Alberto d'Este, Marquis of Ferrara Tommaso dei Cavalieri Nicolas de Neufville de Villeroy Edward James August Julius Albert Borsig Stanisław Leszczyński Cardinal Richelieu Uluç Ali Reis John Flaxman Gregory XV Gubert Abraham von Salis Catherine II of Russia Cassiano dal Pozzo Napoleon René de Birague Casimir III the Great Albert von Bardewik Nicholas I of Russia Marcantonio Barbaro James Mayer de Rothschild Kazimierz Leon Sapieha Agostino Chigi Gemmei John Maurice, Prince of Nassau-Siegen Charles Ireland Adolphe Stoclet Solomon Klaus von Dohnanyi Catulle Mendès Robert Cromek Francis I of Austria Chavundaraya Alexander Hamilton, 10th Duke of Hamilton Francesco Pisani Leopold I Olivier Voutier Nicholas II of Saint Omer Charles I, Duke of Bourbon Thomas Butts Frederick William IV of Prussia Paul Wittgenstein Federico II Gonzaga, Duke of Mantua Vincenzo Natoli Julius II Bogdan Petriceicu Hasdeu Clemens August of Bavaria Benno C. Schmidt, Jr. Michał Kazimierz Ogiński Akbar Giovanni Ricci Joseph Thomas Augustus Ludovico III Gonzaga, Marquis of Mantua Pulteney Malcolm Felice Brancacci Li Yuanying Guillaume de Menthonay Sir Thomas Metcalfe, 4th Baronet Étienne François, duc de Choiseul Pablo Escobar John Russell, 6th Duke of Bedford Georges d'Amboise Abbot Suger Daigo Roxelana Alfonso X of Castile
Albert Einstein, Napoleon and Emperor Saga did the commissioning of min number of rooms or churches
Albert Einstein Napoleon Emperor Saga
action argmin
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type room
action find_reverse_tuple_counts
relation commissioned by
type common name
type church
[[{'concept': 'room'}, {'concept': 'church'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?b ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?r WHERE { { ?e property:commissioned_by ?r . ?r rdf:type ontology:common_name . ?e rdf:type ontology:church } UNION { ?e property:commissioned_by ?r . ?r rdf:type ontology:common_name . ?e rdf:type ontology:room } } GROUP BY ?r } } . FILTER ( ?i = ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) ?y WHERE { { ?l property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?l rdf:type ontology:room } UNION { ?l property:commissioned_by ?y . ?y rdf:type ontology:common_name . ?l rdf:type ontology:church } } GROUP BY ?y } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 2032 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2032
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?p ) WHERE { ?w rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 . ?u property:P1303 ?w } GROUP BY ?w } . FILTER ( ?p >= 2032 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2032
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?p ) WHERE { ?w rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name . ?u property:instrument ?w } GROUP BY ?w } . FILTER ( ?p >= 2032 ) }
[]
musical instrument common name
Q5994 Q8355 Q1444
SYSTEM
piano, violin, organ
Q5994 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2032
[ANSWERS] can atleast 2032 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?p ) WHERE { ?w rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 . ?u property:P1303 ?w } GROUP BY ?w } . FILTER ( ?p >= 2032 ) }
piano violin organ drum kit
Piano, violin and organ can atleast 2032 people perform with
piano violin organ
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2032
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?p ) WHERE { ?w rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name . ?u property:instrument ?w } GROUP BY ?w } . FILTER ( ?p >= 2032 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q143782
P609
Q56061 Q12280 Q83620
USER
How many administrative territories are the terminus locations of lesser number of bridges and thoroughfares than North Las Vegas ?
(c(Q12280)|c(Q83620),P609,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q143782
relation P609
type Q12280
type Q83620
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?f WHERE { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } } GROUP BY ?f } . FILTER ( ?p < ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:P609 resource:Q143782 . { VALUES ( ?u ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } . ?r rdf:type ?u } } } }
North Las Vegas
action count
action less
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity North Las Vegas
relation terminus location
type bridge
type thoroughfare
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?f WHERE { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:bridge ) ( ontology:thoroughfare ) } } GROUP BY ?f } . FILTER ( ?p < ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:terminus_location resource:North_Las_Vegas . { VALUES ( ?u ) { ( ontology:bridge ) ( ontology:thoroughfare ) } . ?r rdf:type ?u } } } }
[]
administrative territorial entity bridge thoroughfare
SYSTEM
198
Q1159408 Q1866725 Q599331 Q81076 Q10084 Q3112494 Q81177 Q2218481 Q2779809 Q238510 Q780923 Q957593 Q581785 Q2207185 Q83178 Q1781774 Q1027049 Q10014 Q6772133 Q185216 Q846242 Q2223679 Q1950380 Q1309 Q832938 Q2684131 Q13415826 Q9920 Q746096 Q883862 Q12912978 Q494631 Q4507706 Q988590 Q149787 Q2372373 Q3020221 Q212686 Q1890499 Q282729 Q3475289 Q937679 Q5529922 Q49274 Q3030085 Q2124272 Q1012006 Q2060859 Q6903267 Q10025 Q3394752 Q43631 Q478036 Q6430673 Q502312 Q1812494 Q262483 Q842477 Q4733779 Q2121249 Q1615972 Q5083 Q9911 Q2376829 Q81086 Q1026976 Q51697 Q51694 Q798 Q793 Q545457 Q1615386 Q932008 Q2473978 Q2026781 Q1840 Q776965 Q3322237 Q2525207 Q5367550 Q9909 Q797512 Q60444 Q2247076 Q1726 Q6373375 Q920932 Q1023246 Q2579355 Q3026315 Q9898 Q3138 Q237692 Q1912125 Q1907250 Q26881 Q3312626 Q5039616 Q16977290 Q579722 Q5182964 Q488545 Q992371 Q2403755 Q83407 Q3030738 Q934511 Q2096849 Q2360370 Q1007168 Q2853591 Q858607 Q959585 Q1615562 Q2893665 Q740852 Q956 Q1770 Q2235855 Q425786 Q279000 Q9832 Q1781 Q2873143 Q168279 Q2318330 Q15156199 Q826048 Q1613459 Q12013510 Q244327 Q605318 Q20203420 Q1890680 Q695417 Q2856996 Q26421 Q10041 Q3330170 Q517423 Q2023889 Q1616642 Q9783 Q2157144 Q2750562 Q743632 Q2543653 Q9871 Q5327973 Q1863836 Q2511595 Q3432009 Q84125 Q736131 Q506745 Q1867 Q690062 Q634481 Q2906589 Q2805272 Q995911 Q166065 Q1007176 Q1241302 Q611722 Q1025080 Q1025089 Q1310 Q5604964 Q3205403 Q2900922 Q77056 Q1258901 Q9934 Q2225613 Q2774284 Q2496189 Q2181173 Q75967 Q2277323 Q2282115 Q1210428 Q60705 Q2289322 Q803903 Q2281208 Q726635 Q230406 Q615732 Q3025598 Q2860067 Q985549 Q971130 Q505601 Q1916586 Q10037 Q2433994 Q743236
(c(Q12280)|c(Q83620),P609,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q143782
relation P609
type Q12280
type Q83620
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?f WHERE { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } } GROUP BY ?f } . FILTER ( ?p < ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:P609 resource:Q143782 . { VALUES ( ?u ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } . ?r rdf:type ?u } } } }
Dandenong Groenekan Biddinghuizen Zierikzee Vlissingen Poeldijk Leersum Oosterbeek Kats Etten Wallasey Den Oever Lepelstraat Terneuzen Almere Ulvsunda Irkeshtam Kampen Marmion Grapevine Nieuw-Lekkerland Uithuizen Mount Barker Maastricht Bodegraven De Punt De Bilt Haarlem North Shields Blerick Oosterhout Sassnitz Dongen Pruszcz Gdański Hendon Kootwijk De Meern Aigio Manjimup Ouderkerk aan de Amstel Schaijk Bunnik Geestdorp Garland Wieringerwerf Maasdam Cruden Bay Nieuw-Beijerland Roosendaal Wierden Catthorpe Leiden Schoonhoven Koondoola Maasdijk Rijswijk Deadwood Oosterzele Almere Poort Stainforth Wateringen Seattle Den Helder Swifterbant Sas van Gent Sale McKinney Grand Prairie Assen Zwolle Nieuw-Vennep Sassenheim Maarssen Ede Poelkapelle Veenendaal Klaipėda Venlo Ochten Elsham, North Lincolnshire Bussum Baarle Drachten Barger-Compascuum Munich Karrinyup Eede Westrozebeke Babberich Terhole Amstelveen Trier Ewijk Klaaswaal Serooskerke Helsingør Middenmeer Carine Alkmaar Ossendrecht Crawley Spijkenisse Bruinisse Terschuur Mons Zuidschermer Papendrecht Stellendam Longtown IJsselmuiden Aberford Strijen Streefkerk Kesteren Beek, Montferland Tessenderlo Beijing Tallinn Aarlanderveen 's-Gravenzande South Shields Eindhoven Budapest Hoek Zbraslav Waverveen Alphen aan den Rijn Waddinxveen Naaldwijk Vught Gorinchem Joondalup Heumen Bad Nieuweschans Bremerton Neeritter Dordrecht Soest Velsen-Zuid Den Dolder Eijsden Thurcroft Roermond Almere Haven Aarsele Nieuw-Amsterdam, Drenthe Den Hoorn, South Holland Tilburg East Butterwick Kamerik Almere Stad Rijkevoort Gouda Alblasserdam Rijswijk Taipei Rønne Gedser Blijham Ens Hoofddorp Lelystad Glanerbrug Dongara Westerland, Netherlands Soesterberg Nieuw- en Sint Joosland Arnhem Greenwood Edgemont Nieuwe Pekela Edam Driebergen-Rijsenburg Hilversum Nieuwdorp Meerkerk Oude-Tonge Bellingwolde Schoondijke Siebengewald Gretna Didam Emmeloord Van Ewijcksluis Bainbridge Island Dinteloord Beek, Ubbergen Zurich, Friesland Breukelen Wedde Cothen Sitia Nieuwe Niedorp Wassenaar Elsloo, Limburg Eemnes Putte, Pays-Bas Diest
198
action count
action less
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity North Las Vegas
relation terminus location
type bridge
type thoroughfare
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?f WHERE { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:bridge ) ( ontology:thoroughfare ) } } GROUP BY ?f } . FILTER ( ?p < ?q ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { ?r property:terminus_location resource:North_Las_Vegas . { VALUES ( ?u ) { ( ontology:bridge ) ( ontology:thoroughfare ) } . ?r rdf:type ?u } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q10661123
P609
Q56061 Q12280 Q83620
USER
And how about Sandarna?
(c(Q12280)|c(Q83620),P609,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q10661123
relation P609
type Q12280
type Q83620
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?w ) WHERE { VALUES ( ?q ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } . ?v rdf:type ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P609 resource:Q10661123 . { { ?b rdf:type ontology:Q12280 } UNION { ?b rdf:type ontology:Q83620 } } } } . FILTER ( ?w < ?e ) }
Sandarna
action count
action less
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Sandarna
relation terminus location
type bridge
type thoroughfare
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?w ) WHERE { VALUES ( ?q ) { ( ontology:bridge ) ( ontology:thoroughfare ) } . ?v rdf:type ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:terminus_location resource:Sandarna . { { ?b rdf:type ontology:bridge } UNION { ?b rdf:type ontology:thoroughfare } } } } . FILTER ( ?w < ?e ) }
[]
administrative territorial entity bridge thoroughfare
SYSTEM
198
Q1159408 Q1866725 Q599331 Q81076 Q10084 Q3112494 Q81177 Q2218481 Q2779809 Q238510 Q780923 Q957593 Q581785 Q2207185 Q83178 Q1781774 Q1027049 Q10014 Q6772133 Q185216 Q846242 Q2223679 Q1950380 Q1309 Q832938 Q2684131 Q13415826 Q9920 Q746096 Q883862 Q12912978 Q494631 Q4507706 Q988590 Q149787 Q2372373 Q3020221 Q212686 Q1890499 Q282729 Q3475289 Q937679 Q5529922 Q49274 Q3030085 Q2124272 Q1012006 Q2060859 Q6903267 Q10025 Q3394752 Q43631 Q478036 Q6430673 Q502312 Q1812494 Q262483 Q842477 Q4733779 Q2121249 Q1615972 Q5083 Q9911 Q2376829 Q81086 Q1026976 Q51697 Q51694 Q798 Q793 Q545457 Q1615386 Q932008 Q2473978 Q2026781 Q1840 Q776965 Q3322237 Q2525207 Q5367550 Q9909 Q797512 Q60444 Q2247076 Q1726 Q6373375 Q920932 Q1023246 Q2579355 Q3026315 Q9898 Q3138 Q237692 Q1912125 Q1907250 Q26881 Q3312626 Q5039616 Q16977290 Q579722 Q5182964 Q488545 Q992371 Q2403755 Q83407 Q3030738 Q934511 Q2096849 Q2360370 Q1007168 Q2853591 Q858607 Q959585 Q1615562 Q2893665 Q740852 Q956 Q1770 Q2235855 Q425786 Q279000 Q9832 Q1781 Q2873143 Q168279 Q2318330 Q15156199 Q826048 Q1613459 Q12013510 Q244327 Q605318 Q20203420 Q1890680 Q695417 Q2856996 Q26421 Q10041 Q3330170 Q517423 Q2023889 Q1616642 Q9783 Q2157144 Q2750562 Q743632 Q2543653 Q9871 Q5327973 Q1863836 Q2511595 Q3432009 Q84125 Q736131 Q506745 Q1867 Q690062 Q634481 Q2906589 Q2805272 Q995911 Q166065 Q1007176 Q1241302 Q611722 Q1025080 Q1025089 Q1310 Q5604964 Q3205403 Q2900922 Q77056 Q1258901 Q9934 Q2225613 Q2774284 Q2496189 Q2181173 Q75967 Q2277323 Q2282115 Q1210428 Q60705 Q2289322 Q803903 Q2281208 Q726635 Q230406 Q615732 Q3025598 Q2860067 Q985549 Q971130 Q505601 Q1916586 Q10037 Q2433994 Q743236
(c(Q12280)|c(Q83620),P609,c(Q56061))
action count
action less
action union
action find_reverse_tuple_counts
relation P609
type Q56061
type Q12280
action find_reverse_tuple_counts
relation P609
type Q56061
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q10661123
relation P609
type Q12280
type Q83620
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q83620'}], 'P609', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?w ) WHERE { VALUES ( ?q ) { ( ontology:Q12280 ) ( ontology:Q83620 ) } . ?v rdf:type ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:P609 resource:Q10661123 . { { ?b rdf:type ontology:Q12280 } UNION { ?b rdf:type ontology:Q83620 } } } } . FILTER ( ?w < ?e ) }
Dandenong Groenekan Biddinghuizen Zierikzee Vlissingen Poeldijk Leersum Oosterbeek Kats Etten Wallasey Den Oever Lepelstraat Terneuzen Almere Ulvsunda Irkeshtam Kampen Marmion Grapevine Nieuw-Lekkerland Uithuizen Mount Barker Maastricht Bodegraven De Punt De Bilt Haarlem North Shields Blerick Oosterhout Sassnitz Dongen Pruszcz Gdański Hendon Kootwijk De Meern Aigio Manjimup Ouderkerk aan de Amstel Schaijk Bunnik Geestdorp Garland Wieringerwerf Maasdam Cruden Bay Nieuw-Beijerland Roosendaal Wierden Catthorpe Leiden Schoonhoven Koondoola Maasdijk Rijswijk Deadwood Oosterzele Almere Poort Stainforth Wateringen Seattle Den Helder Swifterbant Sas van Gent Sale McKinney Grand Prairie Assen Zwolle Nieuw-Vennep Sassenheim Maarssen Ede Poelkapelle Veenendaal Klaipėda Venlo Ochten Elsham, North Lincolnshire Bussum Baarle Drachten Barger-Compascuum Munich Karrinyup Eede Westrozebeke Babberich Terhole Amstelveen Trier Ewijk Klaaswaal Serooskerke Helsingør Middenmeer Carine Alkmaar Ossendrecht Crawley Spijkenisse Bruinisse Terschuur Mons Zuidschermer Papendrecht Stellendam Longtown IJsselmuiden Aberford Strijen Streefkerk Kesteren Beek, Montferland Tessenderlo Beijing Tallinn Aarlanderveen 's-Gravenzande South Shields Eindhoven Budapest Hoek Zbraslav Waverveen Alphen aan den Rijn Waddinxveen Naaldwijk Vught Gorinchem Joondalup Heumen Bad Nieuweschans Bremerton Neeritter Dordrecht Soest Velsen-Zuid Den Dolder Eijsden Thurcroft Roermond Almere Haven Aarsele Nieuw-Amsterdam, Drenthe Den Hoorn, South Holland Tilburg East Butterwick Kamerik Almere Stad Rijkevoort Gouda Alblasserdam Rijswijk Taipei Rønne Gedser Blijham Ens Hoofddorp Lelystad Glanerbrug Dongara Westerland, Netherlands Soesterberg Nieuw- en Sint Joosland Arnhem Greenwood Edgemont Nieuwe Pekela Edam Driebergen-Rijsenburg Hilversum Nieuwdorp Meerkerk Oude-Tonge Bellingwolde Schoondijke Siebengewald Gretna Didam Emmeloord Van Ewijcksluis Bainbridge Island Dinteloord Beek, Ubbergen Zurich, Friesland Breukelen Wedde Cothen Sitia Nieuwe Niedorp Wassenaar Elsloo, Limburg Eemnes Putte, Pays-Bas Diest
198
action count
action less
action union
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type bridge
action find_reverse_tuple_counts
relation terminus location
type administrative territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Sandarna
relation terminus location
type bridge
type thoroughfare
[[{'concept': 'bridge'}, {'concept': 'thoroughfare'}], 'terminus location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?w ) WHERE { VALUES ( ?q ) { ( ontology:bridge ) ( ontology:thoroughfare ) } . ?v rdf:type ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { ?b property:terminus_location resource:Sandarna . { { ?b rdf:type ontology:bridge } UNION { ?b rdf:type ontology:thoroughfare } } } } . FILTER ( ?w < ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49233
P17
Q15617994
USER
Which administrative territory is Orlando situated in ?
(Q49233,P17,c(Q15617994))
action filter_type
action find
entity Q49233
relation P17
type Q15617994
['Q49233', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q49233 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Orlando
action filter_type
action find
entity Orlando
relation country
type designation for an administrative territorial entity
['Orlando', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Orlando property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q49233,P17,c(Q15617994))
action filter_type
action find
entity Q49233
relation P17
type Q15617994
Orlando is situated in [ANSWER]
['Q49233', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q49233 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
Orlando is situated in United States of America
United States of America
action filter_type
action find
entity Orlando
relation country
type designation for an administrative territorial entity
['Orlando', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Orlando property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]