Simple Question (Direct)
Simple Question
Q1739030
P135
Q151885
USER
Which concept was Nikolaus Bleyer linked with ?
(Q1739030,P135,c(Q151885))
action filter_type
action find
entity Q1739030
relation P135
type Q151885
['Q1739030', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q1739030 property:P135 ?r . ?r rdf:type ontology:Q151885 }
Nikolaus Bleyer
action filter_type
action find
entity Nikolaus Bleyer
relation movement
type concept
['Nikolaus Bleyer', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Nikolaus_Bleyer property:movement ?r . ?r rdf:type ontology:concept }
[]
concept
Q8361
SYSTEM
Baroque music
Q8361
(Q1739030,P135,c(Q151885))
action filter_type
action find
entity Q1739030
relation P135
type Q151885
Nikolaus Bleyer was linked to [ANSWER]
['Q1739030', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q1739030 property:P135 ?r . ?r rdf:type ontology:Q151885 }
Baroque music
Nikolaus Bleyer was linked to Baroque music
Baroque music
action filter_type
action find
entity Nikolaus Bleyer
relation movement
type concept
['Nikolaus Bleyer', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Nikolaus_Bleyer property:movement ?r . ?r rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1739030
P1066
Q502895
USER
Which person was the professor of Nikolaus Bleyer ?
(Q1739030,P1066,c(Q502895))
action filter_type
action find
entity Q1739030
relation P1066
type Q502895
['Q1739030', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1739030 property:P1066 ?e . ?e rdf:type ontology:Q502895 }
Nikolaus Bleyer
action filter_type
action find
entity Nikolaus Bleyer
relation student of
type common name
['Nikolaus Bleyer', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Nikolaus_Bleyer property:student_of ?e . ?e rdf:type ontology:common_name }
[]
common name
Q1706870
SYSTEM
William Brade
Q1706870
(Q1739030,P1066,c(Q502895))
action filter_type
action find
entity Q1739030
relation P1066
type Q502895
[ANSWER] was the professor of Nikolaus Bleyer
['Q1739030', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1739030 property:P1066 ?e . ?e rdf:type ontology:Q502895 }
William Brade
William Brade was the professor of Nikolaus Bleyer
William Brade
action filter_type
action find
entity Nikolaus Bleyer
relation student of
type common name
['Nikolaus Bleyer', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Nikolaus_Bleyer property:student_of ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1739030
P106
Q12737077
USER
What is the job of Nikolaus Bleyer ?
(Q1739030,P106,c(Q12737077))
action filter_type
action find
entity Q1739030
relation P106
type Q12737077
['Q1739030', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1739030 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Nikolaus Bleyer
action filter_type
action find
entity Nikolaus Bleyer
relation occupation
type occupation
['Nikolaus Bleyer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Nikolaus_Bleyer property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q1739030,P106,c(Q12737077))
action filter_type
action find
entity Q1739030
relation P106
type Q12737077
The job of Nikolaus Bleyer is a [ANSWER]
['Q1739030', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1739030 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
composer
The job of Nikolaus Bleyer is a composer
composer
action filter_type
action find
entity Nikolaus Bleyer
relation occupation
type occupation
['Nikolaus Bleyer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Nikolaus_Bleyer property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11368702
Q12737077
USER
And also tell me about Yatsuko Tan'ami?
(Q11368702,P106,c(Q12737077))
action filter_type
action find
entity Q11368702
relation P106
type Q12737077
['Q11368702', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q11368702 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Yatsuko Tan'ami
action filter_type
action find
entity Yatsuko Tan'ami
relation occupation
type occupation
["Yatsuko Tan'ami", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Yatsuko_Tan'ami property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q11368702,P106,c(Q12737077))
action filter_type
action find
entity Q11368702
relation P106
type Q12737077
[ANSWER]
['Q11368702', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q11368702 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
actor
actor
action filter_type
action find
entity Yatsuko Tan'ami
relation occupation
type occupation
["Yatsuko Tan'ami", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Yatsuko_Tan'ami property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8361
P136
Q6619679
USER
Which fictional humanoid as Baroque music as its category ?
(c(Q6619679),P136,Q8361)
action filter_type
action find_reverse
entity Q8361
relation P136
type Q6619679
[{'concept': 'Q6619679'}, 'P136', 'Q8361']
SELECT DISTINCT ?w WHERE { ?w property:P136 resource:Q8361 . ?w rdf:type ontology:Q6619679 }
Baroque music
action filter_type
action find_reverse
entity Baroque music
relation genre
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'genre', 'Baroque music']
SELECT DISTINCT ?w WHERE { ?w property:genre resource:Baroque_music . ?w rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q1190508
SYSTEM
P. D. Q. Bach
Q1190508
(c(Q6619679),P136,Q8361)
action filter_type
action find_reverse
entity Q8361
relation P136
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P136', 'Q8361']
SELECT DISTINCT ?w WHERE { ?w property:P136 resource:Q8361 . ?w rdf:type ontology:Q6619679 }
P. D. Q. Bach
P. D. Q. Bach
action filter_type
action find_reverse
entity Baroque music
relation genre
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'genre', 'Baroque music']
SELECT DISTINCT ?w WHERE { ?w property:genre resource:Baroque_music . ?w rdf:type ontology:fictional_humanoid }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8361
P361
Q151885
USER
What are a component of that one ?
(c(Q151885),P361,Q1190508)
action filter_type
action find_reverse
entity Q8361
relation P361
type Q151885
[{'concept': 'Q151885'}, 'P361', 'Q1190508']
SELECT DISTINCT ?s WHERE { ?s property:P361 resource:Q8361 . ?s rdf:type ontology:Q151885 }
Baroque music
action filter_type
action find_reverse
entity Baroque music
relation part of
type concept
[{'concept': 'concept'}, 'part of', 'P. D. Q. Bach']
SELECT DISTINCT ?s WHERE { ?s property:part_of resource:Baroque_music . ?s rdf:type ontology:concept }
[]
concept
Q3328590 Q4863051 Q5149108
SYSTEM
French Baroque music, Baroque music of the British Isles, Colossal Baroque
Q3328590 Q5149108 Q2884829 Q4863051
(c(Q151885),P361,Q1190508)
action filter_type
action find_reverse
entity Q8361
relation P361
type Q151885
A component of that one are [ANSWERS]
[{'concept': 'Q151885'}, 'P361', 'Q1190508']
SELECT DISTINCT ?s WHERE { ?s property:P361 resource:Q8361 . ?s rdf:type ontology:Q151885 }
French Baroque music Colossal Baroque Early Baroque music Baroque music of the British Isles
A component of that one are French Baroque music, Baroque music of the British Isles and Colossal Baroque
French Baroque music Baroque music of the British Isles Colossal Baroque
action filter_type
action find_reverse
entity Baroque music
relation part of
type concept
[{'concept': 'concept'}, 'part of', 'P. D. Q. Bach']
SELECT DISTINCT ?s WHERE { ?s property:part_of resource:Baroque_music . ?s rdf:type ontology:concept }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q151885 Q18783400 Q3305213
USER
Which concepts are expressed in min number of genres of sculpture or paintings ?
(c(Q18783400)|c(Q3305213),P180,c(Q151885))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3305213
[[{'concept': 'Q18783400'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?i WHERE { { ?c rdf:type ontology:Q18783400 . ?i rdf:type ontology:Q151885 . ?c property:P180 ?i } UNION { ?c property:P180 ?i . ?i rdf:type ontology:Q151885 . ?c rdf:type ontology:Q3305213 } } GROUP BY ?i } } . FILTER ( ?k = ?h ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?g WHERE { { ?f property:P180 ?g . ?g rdf:type ontology:Q151885 . ?f rdf:type ontology:Q18783400 } UNION { ?g rdf:type ontology:Q151885 . ?f rdf:type ontology:Q3305213 . ?f property:P180 ?g } } GROUP BY ?g } }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type concept
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type concept
type painting
[[{'concept': 'genre of sculpture'}, {'concept': 'painting'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?i WHERE { { ?c rdf:type ontology:genre_of_sculpture . ?i rdf:type ontology:concept . ?c property:depicts ?i } UNION { ?c property:depicts ?i . ?i rdf:type ontology:concept . ?c rdf:type ontology:painting } } GROUP BY ?i } } . FILTER ( ?k = ?h ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?g WHERE { { ?f property:depicts ?g . ?g rdf:type ontology:concept . ?f rdf:type ontology:genre_of_sculpture } UNION { ?g rdf:type ontology:concept . ?f rdf:type ontology:painting . ?f property:depicts ?g } } GROUP BY ?g } }
[]
concept genre of sculpture painting
Q4964182 Q931260 Q12004621
SYSTEM
philosopher, murderer, fortune-teller
Q254508 Q193373 Q13381863 Q2304859 Q2472587 Q7743 Q188353 Q34023 Q454 Q177923 Q14467155 Q177826 Q189829 Q48942 Q1968442 Q170430 Q482980 Q12004621 Q11513337 Q12773225 Q2207288 Q126236 Q15980704 Q273283 Q124216 Q703534 Q272735 Q17176618 Q38433 Q48282 Q113904 Q1146843 Q1714828 Q2979 Q25443024 Q4964182 Q11399 Q213449 Q877674 Q203872 Q2083958 Q855091 Q2066131 Q3562775 Q931260 Q192581 Q18120029 Q876776 Q10843402 Q179637 Q3035707 Q1862087 Q1134237 Q10294 Q1125062 Q13382576 Q7234072
(c(Q18783400)|c(Q3305213),P180,c(Q151885))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q151885
type Q3305213
[ANSWERS] are expressed in min number of genres of sculpture or paintings
[[{'concept': 'Q18783400'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?i WHERE { { ?c rdf:type ontology:Q18783400 . ?i rdf:type ontology:Q151885 . ?c property:P180 ?i } UNION { ?c property:P180 ?i . ?i rdf:type ontology:Q151885 . ?c rdf:type ontology:Q3305213 } } GROUP BY ?i } } . FILTER ( ?k = ?h ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?g WHERE { { ?f property:P180 ?g . ?g rdf:type ontology:Q151885 . ?f rdf:type ontology:Q18783400 } UNION { ?g rdf:type ontology:Q151885 . ?f rdf:type ontology:Q3305213 . ?f property:P180 ?g } } GROUP BY ?g } }
outlaw Gordian knot fencer sovereign people home Welsh people tumulus peace auction gaze clergy hermit pupil donor predation author fortune-teller athletics competitor slave craft conquistador matchmaker beggar Swiss people employee tree smuggler Newton's laws of motion student Radha anchorite hunter liberty to walk philosopher rock music eating touch being pattern guitarist sportsperson thief murderer job bibliophile drinking swimmer prisoner of war gift prisoner court poverty rebel rower postal worker
Philosopher, murderer and fortune-teller are expressed in min number of genres of sculpture or paintings
philosopher murderer fortune-teller
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type concept
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type concept
type painting
[[{'concept': 'genre of sculpture'}, {'concept': 'painting'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?h ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) ?i WHERE { { ?c rdf:type ontology:genre_of_sculpture . ?i rdf:type ontology:concept . ?c property:depicts ?i } UNION { ?c property:depicts ?i . ?i rdf:type ontology:concept . ?c rdf:type ontology:painting } } GROUP BY ?i } } . FILTER ( ?k = ?h ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?g WHERE { { ?f property:depicts ?g . ?g rdf:type ontology:concept . ?f rdf:type ontology:genre_of_sculpture } UNION { ?g rdf:type ontology:concept . ?f rdf:type ontology:painting . ?f property:depicts ?g } } GROUP BY ?g } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q931260
P106
Q502895 Q12737077
USER
How many people and occupations have the profession of murderer ?
(c(Q502895),P106,Q931260) (c(Q12737077),P106,Q931260)
action count
action union
action filter_type
action find_reverse
entity Q931260
relation P106
type Q502895
action filter_type
action find_reverse
entity Q931260
relation P106
type Q12737077
[{'concept': 'Q502895'}, 'P106', 'Q931260'] [{'concept': 'Q12737077'}, 'P106', 'Q931260']
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { ?w property:P106 resource:Q931260 . ?w rdf:type ontology:Q502895 } UNION { ?w property:P106 resource:Q931260 . ?w rdf:type ontology:Q12737077 } }
murderer
action count
action union
action filter_type
action find_reverse
entity murderer
relation occupation
type common name
action filter_type
action find_reverse
entity murderer
relation occupation
type occupation
[{'concept': 'common name'}, 'occupation', 'murderer'] [{'concept': 'occupation'}, 'occupation', 'murderer']
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { ?w property:occupation resource:murderer . ?w rdf:type ontology:common_name } UNION { ?w property:occupation resource:murderer . ?w rdf:type ontology:occupation } }
[]
common name occupation
SYSTEM
51 people and 1 occupations
Q1515933 Q1342909 Q952917 Q2825776 Q18733122 Q1368838 Q1166978 Q463389 Q1732246 Q91310 Q17477936 Q1582452 Q92652 Q2889203 Q439054 Q482413 Q380435 Q5296483 Q2579134 Q327381 Q1073159 Q2578157 Q3906224 Q3048636 Q1462093 Q20060656 Q155344 Q262513 Q116233 Q704586 Q1336472 Q323494 Q1811737 Q18811044 Q19521042 Q16064481 Q20826278 Q67742 Q1385111 Q62801 Q2467808 Q3065677 Q2449527 Q3485373 Q1827555 Q5240230 Q68207 Q357498 Q15999399 Q554978 Q2555442 Q569209
(c(Q502895),P106,Q931260) (c(Q12737077),P106,Q931260)
action count
action union
action filter_type
action find_reverse
entity Q931260
relation P106
type Q502895
action filter_type
action find_reverse
entity Q931260
relation P106
type Q12737077
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q931260'] [{'concept': 'Q12737077'}, 'P106', 'Q931260']
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { ?w property:P106 resource:Q931260 . ?w rdf:type ontology:Q502895 } UNION { ?w property:P106 resource:Q931260 . ?w rdf:type ontology:Q12737077 } }
Gerwald Claus-Brunner Albert DeSalvo Robert Pickton Francisco Arce Montes Maria Marten Randy Steven Kraft Daryl Atkins Patricia Krenwinkel Karl Löning Thomas David Lukas Olsen Alyssa Bustamante Hans Schweighart Hans Reiser Pascual Fresquet Llopis Leonard Peltier An Jung-geun Baruch Goldstein Mario Aburto Martínez William Hare Jean-Baptiste Troppmann Alexis Flores William Burke Joseph Kuklinski Edward Capehart O'Kelley Friedrich Schumann Damianos Mavromatis John Bellingham John Felton Hans Vollenweider Maxime Brunerie Joseph Paul Franklin Jean Châtel Lee Boyd Malvo Margery Beddingfield Amyn Gindia Franz Laubler Shan Mohangi Karl Ludwig Sand Joseph Vacher Karl Denke Michael Townley Robert William Fisher Susan Smith Sitarane Lips Tullian David Sánchez Morales Karl Nobiling Gary Ridgway Jack Whalen Richard Kuklinski Abd-al-Rahman ibn Muljam Alexander Keith
51 people and 1 occupations
action count
action union
action filter_type
action find_reverse
entity murderer
relation occupation
type common name
action filter_type
action find_reverse
entity murderer
relation occupation
type occupation
[{'concept': 'common name'}, 'occupation', 'murderer'] [{'concept': 'occupation'}, 'occupation', 'murderer']
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { ?w property:occupation resource:murderer . ?w rdf:type ontology:common_name } UNION { ?w property:occupation resource:murderer . ?w rdf:type ontology:occupation } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q172691
P706
Q107425 Q151885
USER
How many landscapes are around the same number of concepts located on as Thar Desert ?
(c(Q151885),P706,c(Q107425))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q172691
relation P706
type Q107425
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P706 ?x . ?x rdf:type ontology:Q107425 . ?a rdf:type ontology:Q151885 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q172691 property:P706 ?v . ?v rdf:type ontology:Q107425 } } . FILTER ( ?z = ?j ) }
Thar Desert
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Thar Desert
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:located_on_terrain_feature ?x . ?x rdf:type ontology:landscape . ?a rdf:type ontology:concept } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Thar_Desert property:located_on_terrain_feature ?v . ?v rdf:type ontology:landscape } } . FILTER ( ?z = ?j ) }
[]
landscape concept
SYSTEM
104
Q537749 Q5238909 Q3593572 Q201698 Q184355 Q218907 Q205711 Q171132 Q3628422 Q6549341 Q1133595 Q122641 Q46623 Q7361436 Q26399 Q1371403 Q83788 Q3437341 Q181528 Q3182351 Q15622837 Q8534941 Q5053601 Q3298193 Q47141 Q846021 Q189429 Q1670250 Q7296 Q3803 Q152704 Q2618638 Q1124865 Q140298 Q170383 Q3297553 Q303431 Q1142129 Q271674 Q671343 Q925906 Q152928 Q6583 Q17140346 Q162843 Q93259 Q116693 Q2860207 Q1384782 Q1283 Q855658 Q775944 Q46772 Q119206 Q472207 Q202816 Q924257 Q10688475 Q5312305 Q3237 Q7592509 Q211436 Q12707 Q172691 Q6379939 Q5467845 Q5951207 Q924897 Q645941 Q140948 Q634740 Q829084 Q291004 Q212520 Q620481 Q1127200 Q19730761 Q2135927 Q1919137 Q205695 Q2280216 Q207383 Q128172 Q586512 Q192626 Q75596 Q38095 Q180209 Q81052 Q2364593 Q118350 Q797807 Q292647 Q23011164 Q653732 Q753719 Q272521 Q1348763 Q15139 Q118920 Q913470 Q1252239 Q25046183 Q304679
(c(Q151885),P706,c(Q107425))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q172691
relation P706
type Q107425
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:P706 ?x . ?x rdf:type ontology:Q107425 . ?a rdf:type ontology:Q151885 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q172691 property:P706 ?v . ?v rdf:type ontology:Q107425 } } . FILTER ( ?z = ?j ) }
Florida Keys Svenska Högarna Apostle Islands Crozet Islands Mojave Desert Sharon Plain Solovetsky Islands Cyclades Madeira Islands Limestone Massif Meridiani Planum Lechquellen Mountains Prince Edward Islands Rolwaling Himal Hoggar Mountains Similan Islands Cordillera Central Roc de Chère National Nature Reserve Libyan Desert Plain of the Cul-de-Sac Guaniguanico Cerro de la Neblina Cato Reef Borg Massif Atacama Desert Southern Coral Group Sonoran Desert Jenolan Caves Mount Kilimanjaro Lesser Sunda Islands Gailtal Alps Upland Minsk Kantō Plain Windward Islands Aïr Mountains Amargosa Desert Ufenau Pearl Islands Phoenix Islands Mont Blanc massif Colorado Plateau Carnic Prealps Sahara Ko Yao archipelago Negev Lesser Antilles Esjan Queen Adelaide Archipelago Tanezrouft Dolomites Chihuahuan Desert Bărăgan Plain Kerguelen Islands Julian Alps Amirante Islands Stora Alvaret Mahalangur Himal Söderarm archipelago Dufek Massif Rügen St Anthony Head Visayas Great Plains Thar Desert Kawdy Plateau Ford Massif Huvudskär Seychelles Inner Islands Argentine Islands South Shetland Islands Comoros Islands Vegaøyan Highlands of Iceland Lower Rhine Plain Alphonse Group Louisiade Archipelago Phraya Nakhon Cave Red Centre Melchior Islands Mascarene Islands Gran Paradiso massif South Orkney Islands Île d'Orléans Morvan Hawaiian Islands Laurentian Mountains Galápagos Islands Isles of Scilly Inner Hebrides Sulitelma Caroline Islands Babuyan Islands Petite Terre Islands Canso Islands Lubusz Land Fjäderholmarna Ténéré Magdalen Islands Diablerets Society Islands Loyalty Islands Hochelaga Archipelago Surin Islands Palmer Archipelago
104
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Thar Desert
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?a ) AS ?z ) WHERE { ?a property:located_on_terrain_feature ?x . ?x rdf:type ontology:landscape . ?a rdf:type ontology:concept } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Thar_Desert property:located_on_terrain_feature ?v . ?v rdf:type ontology:landscape } } . FILTER ( ?z = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q205695
P706
Q107425 Q151885
USER
And what about Mascarene Islands?
(c(Q151885),P706,c(Q107425))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q205695
relation P706
type Q107425
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?v ) WHERE { ?g rdf:type ontology:Q107425 . ?x rdf:type ontology:Q151885 . ?x property:P706 ?g } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q205695 property:P706 ?c . ?c rdf:type ontology:Q107425 } } . FILTER ( ?v = ?u ) }
Mascarene Islands
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Mascarene Islands
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?v ) WHERE { ?g rdf:type ontology:landscape . ?x rdf:type ontology:concept . ?x property:located_on_terrain_feature ?g } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Mascarene_Islands property:located_on_terrain_feature ?c . ?c rdf:type ontology:landscape } } . FILTER ( ?v = ?u ) }
[]
landscape concept
SYSTEM
104
Q537749 Q5238909 Q3593572 Q201698 Q184355 Q218907 Q205711 Q171132 Q3628422 Q6549341 Q1133595 Q122641 Q46623 Q7361436 Q26399 Q1371403 Q83788 Q3437341 Q181528 Q3182351 Q15622837 Q8534941 Q5053601 Q3298193 Q47141 Q846021 Q189429 Q1670250 Q7296 Q3803 Q152704 Q2618638 Q1124865 Q140298 Q170383 Q3297553 Q303431 Q1142129 Q271674 Q671343 Q925906 Q152928 Q6583 Q17140346 Q162843 Q93259 Q116693 Q2860207 Q1384782 Q1283 Q855658 Q775944 Q46772 Q119206 Q472207 Q202816 Q924257 Q10688475 Q5312305 Q3237 Q7592509 Q211436 Q12707 Q172691 Q6379939 Q5467845 Q5951207 Q924897 Q645941 Q140948 Q634740 Q829084 Q291004 Q212520 Q620481 Q1127200 Q19730761 Q2135927 Q1919137 Q205695 Q2280216 Q207383 Q128172 Q586512 Q192626 Q75596 Q38095 Q180209 Q81052 Q2364593 Q118350 Q797807 Q292647 Q23011164 Q653732 Q753719 Q272521 Q1348763 Q15139 Q118920 Q913470 Q1252239 Q25046183 Q304679
(c(Q151885),P706,c(Q107425))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q205695
relation P706
type Q107425
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?v ) WHERE { ?g rdf:type ontology:Q107425 . ?x rdf:type ontology:Q151885 . ?x property:P706 ?g } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q205695 property:P706 ?c . ?c rdf:type ontology:Q107425 } } . FILTER ( ?v = ?u ) }
Florida Keys Svenska Högarna Apostle Islands Crozet Islands Mojave Desert Sharon Plain Solovetsky Islands Cyclades Madeira Islands Limestone Massif Meridiani Planum Lechquellen Mountains Prince Edward Islands Rolwaling Himal Hoggar Mountains Similan Islands Cordillera Central Roc de Chère National Nature Reserve Libyan Desert Plain of the Cul-de-Sac Guaniguanico Cerro de la Neblina Cato Reef Borg Massif Atacama Desert Southern Coral Group Sonoran Desert Jenolan Caves Mount Kilimanjaro Lesser Sunda Islands Gailtal Alps Upland Minsk Kantō Plain Windward Islands Aïr Mountains Amargosa Desert Ufenau Pearl Islands Phoenix Islands Mont Blanc massif Colorado Plateau Carnic Prealps Sahara Ko Yao archipelago Negev Lesser Antilles Esjan Queen Adelaide Archipelago Tanezrouft Dolomites Chihuahuan Desert Bărăgan Plain Kerguelen Islands Julian Alps Amirante Islands Stora Alvaret Mahalangur Himal Söderarm archipelago Dufek Massif Rügen St Anthony Head Visayas Great Plains Thar Desert Kawdy Plateau Ford Massif Huvudskär Seychelles Inner Islands Argentine Islands South Shetland Islands Comoros Islands Vegaøyan Highlands of Iceland Lower Rhine Plain Alphonse Group Louisiade Archipelago Phraya Nakhon Cave Red Centre Melchior Islands Mascarene Islands Gran Paradiso massif South Orkney Islands Île d'Orléans Morvan Hawaiian Islands Laurentian Mountains Galápagos Islands Isles of Scilly Inner Hebrides Sulitelma Caroline Islands Babuyan Islands Petite Terre Islands Canso Islands Lubusz Land Fjäderholmarna Ténéré Magdalen Islands Diablerets Society Islands Loyalty Islands Hochelaga Archipelago Surin Islands Palmer Archipelago
104
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Mascarene Islands
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?v ) WHERE { ?g rdf:type ontology:landscape . ?x rdf:type ontology:concept . ?x property:located_on_terrain_feature ?g } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Mascarene_Islands property:located_on_terrain_feature ?c . ?c rdf:type ontology:landscape } } . FILTER ( ?v = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q11399
P180
Q151885 Q18783400 Q838948
USER
Which concepts are expressed in approximately the same number of genres of sculpture and works of art as rock music ?
(c(Q18783400)|c(Q838948),P180,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q151885
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q11399
relation P180
type Q18783400
type Q838948
[[{'concept': 'Q18783400'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?w WHERE { { ?n property:P180 ?w . ?n rdf:type ontology:Q18783400 . ?w rdf:type ontology:Q151885 } UNION { ?n property:P180 ?w . ?w rdf:type ontology:Q151885 . ?n rdf:type ontology:Q838948 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P180 resource:Q11399 . { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q18783400 ) } } } } . FILTER ( ?l = ?q ) }
rock music
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type concept
type work of art
action count
action filter_multi_types
action find_reverse
entity rock music
relation depicts
type genre of sculpture
type work of art
[[{'concept': 'genre of sculpture'}, {'concept': 'work of art'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?w WHERE { { ?n property:depicts ?w . ?n rdf:type ontology:genre_of_sculpture . ?w rdf:type ontology:concept } UNION { ?n property:depicts ?w . ?w rdf:type ontology:concept . ?n rdf:type ontology:work_of_art } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:depicts resource:rock_music . { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:genre_of_sculpture ) } } } } . FILTER ( ?l = ?q ) }
[]
concept genre of sculpture work of art
Q4964182 Q931260 Q12004621
SYSTEM
philosopher, murderer, fortune-teller
Q254508 Q193373 Q13381863 Q2304859 Q2472587 Q7743 Q188353 Q34023 Q454 Q177923 Q8436 Q14467155 Q177826 Q189829 Q48942 Q1968442 Q170430 Q482980 Q12004621 Q11513337 Q12773225 Q2207288 Q126236 Q15980704 Q273283 Q124216 Q703534 Q272735 Q17176618 Q38433 Q48282 Q113904 Q43616 Q1146843 Q1714828 Q2979 Q25443024 Q4964182 Q11399 Q40953 Q213449 Q527 Q327055 Q877674 Q6388 Q203872 Q6537379 Q2083958 Q855091 Q2066131 Q3562775 Q931260 Q192581 Q18120029 Q18121798 Q876776 Q10843402 Q179637 Q5167661 Q3035707 Q1862087 Q1134237 Q10294 Q1125062 Q13382576 Q7234072
(c(Q18783400)|c(Q838948),P180,c(Q151885))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q151885
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q11399
relation P180
type Q18783400
type Q838948
[ANSWERS] are expressed in approximately the same number of genres of sculpture and works of art as rock music
[[{'concept': 'Q18783400'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?w WHERE { { ?n property:P180 ?w . ?n rdf:type ontology:Q18783400 . ?w rdf:type ontology:Q151885 } UNION { ?n property:P180 ?w . ?w rdf:type ontology:Q151885 . ?n rdf:type ontology:Q838948 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:P180 resource:Q11399 . { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q18783400 ) } } } } . FILTER ( ?l = ?q ) }
outlaw Gordian knot fencer sovereign people home Welsh people tumulus peace auction family gaze clergy hermit pupil donor predation author fortune-teller athletics competitor slave craft conquistador matchmaker beggar Swiss people employee tree smuggler Newton's laws of motion student Radha mummy anchorite hunter liberty to walk philosopher rock music prayer eating sky worker touch human swimming being walking pattern guitarist sportsperson thief murderer job bibliophile lovers' embrace drinking swimmer prisoner of war justice gift prisoner court poverty rebel rower postal worker
Philosopher, murderer and fortune-teller are expressed in approximately the same number of genres of sculpture and works of art as rock music
philosopher murderer fortune-teller
action approx
action union
action find_reverse_tuple_counts
relation depicts
type concept
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type concept
type work of art
action count
action filter_multi_types
action find_reverse
entity rock music
relation depicts
type genre of sculpture
type work of art
[[{'concept': 'genre of sculpture'}, {'concept': 'work of art'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) ?w WHERE { { ?n property:depicts ?w . ?n rdf:type ontology:genre_of_sculpture . ?w rdf:type ontology:concept } UNION { ?n property:depicts ?w . ?w rdf:type ontology:concept . ?n rdf:type ontology:work_of_art } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { ?s property:depicts resource:rock_music . { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:genre_of_sculpture ) } } } } . FILTER ( ?l = ?q ) }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17347232
Q502895
USER
And also tell me about Equestrian statue of William the Conqueror?
(Q17347232,P180,c(Q502895))
action filter_type
action find
entity Q17347232
relation P180
type Q502895
['Q17347232', 'P180', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q17347232 property:P180 ?z }
Equestrian statue of William the Conqueror
action filter_type
action find
entity Equestrian statue of William the Conqueror
relation depicts
type common name
['Equestrian statue of William the Conqueror', 'depicts', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Equestrian_statue_of_William_the_Conqueror property:depicts ?z }
[]
common name
Q37594 Q312613 Q333359
SYSTEM
William I of England, Richard II, Duke of Normandy, Richard I, Duke of Normandy
Q37594 Q333359 Q313017 Q41381 Q41380 Q312613 Q273773
(Q17347232,P180,c(Q502895))
action filter_type
action find
entity Q17347232
relation P180
type Q502895
[ANSWERS]
['Q17347232', 'P180', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q17347232 property:P180 ?z }
William I of England Richard I, Duke of Normandy William I, Duke of Normandy Richard III, Duke of Normandy Robert I, Duke of Normandy Richard II, Duke of Normandy Rollo
William I of England Richard II, Duke of Normandy Richard I, Duke of Normandy
action filter_type
action find
entity Equestrian statue of William the Conqueror
relation depicts
type common name
['Equestrian statue of William the Conqueror', 'depicts', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Equestrian_statue_of_William_the_Conqueror property:depicts ?z }
[]
Clarification
Simple Question|Single Entity|Indirect
Q333359
P22
Q502895
USER
Who are the offspring of that one ?
(c(Q502895),P22,Q333359)
action filter_type
action find_reverse
entity Q333359
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q333359']
SELECT DISTINCT ?k WHERE { ?k property:P22 resource:Q333359 . ?k rdf:type ontology:Q502895 }
Richard I, Duke of Normandy
action filter_type
action find_reverse
entity Richard I, Duke of Normandy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Richard I, Duke of Normandy']
SELECT DISTINCT ?k WHERE { ?k property:father resource:Richard_I,_Duke_of_Normandy . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q333359
SYSTEM
Did you mean Richard I, Duke of Normandy ?
Q37594 Q312613 Q333359
(c(Q502895),P22,Q37594) (c(Q502895),P22,Q312613) (c(Q502895),P22,Q333359)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q37594'] [{'concept': 'Q502895'}, 'P22', 'Q312613'] [{'concept': 'Q502895'}, 'P22', 'Q333359']
SELECT DISTINCT ?k WHERE { ?k property:P22 resource:Q333359 . ?k rdf:type ontology:Q502895 }
William I of England Richard II, Duke of Normandy Richard I, Duke of Normandy
Did you mean Richard I, Duke of Normandy ?
Richard I, Duke of Normandy
[{'concept': 'common name'}, 'father', 'William I of England'] [{'concept': 'common name'}, 'father', 'Richard II, Duke of Normandy'] [{'concept': 'common name'}, 'father', 'Richard I, Duke of Normandy']
SELECT DISTINCT ?k WHERE { ?k property:father resource:Richard_I,_Duke_of_Normandy . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P22,Q333359)
[{'concept': 'Q502895'}, 'P22', 'Q333359']
[{'concept': 'common name'}, 'father', 'Richard I, Duke of Normandy']
[]
Q36242 Q312613 Q40061
SYSTEM
Robert II, Archbishop of Rouen, Richard II, Duke of Normandy, Emma of Normandy
Q2573359 Q3497653 Q168558 Q3128713 Q40061 Q36242 Q16932764 Q312613
(c(Q502895),P22,Q333359)
action filter_type
action find_reverse
entity Q333359
relation P22
type Q502895
The offspring of that one are [ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q333359']
SELECT DISTINCT ?k WHERE { ?k property:P22 resource:Q333359 . ?k rdf:type ontology:Q502895 }
William, Count of Eu Maud of Normandy Geoffrey, Count of Eu Hawise of Normandy Emma of Normandy Robert II, Archbishop of Rouen Mauger, Count of Corbeil Richard II, Duke of Normandy
The offspring of that one are Robert II, Archbishop of Rouen, Richard II, Duke of Normandy and Emma of Normandy
Robert II, Archbishop of Rouen Richard II, Duke of Normandy Emma of Normandy
action filter_type
action find_reverse
entity Richard I, Duke of Normandy
relation father
type common name
[{'concept': 'common name'}, 'father', 'Richard I, Duke of Normandy']
SELECT DISTINCT ?k WHERE { ?k property:father resource:Richard_I,_Duke_of_Normandy . ?k rdf:type ontology:common_name }
[]