Simple Question (Direct)
Simple Question
Q3765306
P1412
Q34770
USER
Which language can Giorgio Bornacin read ?
(Q3765306,P1412,c(Q34770))
action filter_type
action find
entity Q3765306
relation P1412
type Q34770
['Q3765306', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q3765306 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Giorgio Bornacin
action filter_type
action find
entity Giorgio Bornacin
relation languages spoken, written or signed
type language
['Giorgio Bornacin', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Giorgio_Bornacin property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3765306,P1412,c(Q34770))
action filter_type
action find
entity Q3765306
relation P1412
type Q34770
Giorgio Bornacin can read in [ANSWER]
['Q3765306', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q3765306 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Italian
Giorgio Bornacin can read in Italian
Italian
action filter_type
action find
entity Giorgio Bornacin
relation languages spoken, written or signed
type language
['Giorgio Bornacin', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Giorgio_Bornacin property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3765306
P937
Q56061
USER
Which is the work location of that person ?
(Q652,P937,c(Q56061))
action filter_type
action find
entity Q3765306
relation P937
type Q56061
['Q652', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q3765306 property:P937 ?v }
Giorgio Bornacin
action filter_type
action find
entity Giorgio Bornacin
relation work location
type administrative territorial entity
['Italian', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Giorgio_Bornacin property:work_location ?v }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q652,P937,c(Q56061))
action filter_type
action find
entity Q3765306
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q652', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q3765306 property:P937 ?v }
Rome
The work location of that person is in Rome
Rome
action filter_type
action find
entity Giorgio Bornacin
relation work location
type administrative territorial entity
['Italian', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Giorgio_Bornacin property:work_location ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q67653
P106
Q151885
USER
What is the job of Lauritz Schoof ?
(Q67653,P106,c(Q151885))
action filter_type
action find
entity Q67653
relation P106
type Q151885
['Q67653', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q67653 property:P106 ?r . ?r rdf:type ontology:Q151885 }
Lauritz Schoof
action filter_type
action find
entity Lauritz Schoof
relation occupation
type concept
['Lauritz Schoof', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Lauritz_Schoof property:occupation ?r . ?r rdf:type ontology:concept }
[]
concept
Q13382576
SYSTEM
rower
Q13382576
(Q67653,P106,c(Q151885))
action filter_type
action find
entity Q67653
relation P106
type Q151885
The job of Lauritz Schoof is a [ANSWER]
['Q67653', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?r WHERE { resource:Q67653 property:P106 ?r . ?r rdf:type ontology:Q151885 }
rower
The job of Lauritz Schoof is a rower
rower
action filter_type
action find
entity Lauritz Schoof
relation occupation
type concept
['Lauritz Schoof', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?r WHERE { resource:Lauritz_Schoof property:occupation ?r . ?r rdf:type ontology:concept }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q11767
P706
Q107425 Q151885
USER
Which landscapes are the location where lesser number of concepts are located than Mesopotamia ?
(c(Q151885),P706,c(Q107425))
action less
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find_reverse
entity Q11767
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:P706 ?z . ?z rdf:type ontology:Q107425 . ?v rdf:type ontology:Q151885 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:P706 resource:Q11767 . ?b rdf:type ontology:Q151885 } } . FILTER ( ?n < ?k ) }
Mesopotamia
action less
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find_reverse
entity Mesopotamia
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:located_on_terrain_feature ?z . ?z rdf:type ontology:landscape . ?v rdf:type ontology:concept } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:located_on_terrain_feature resource:Mesopotamia . ?b rdf:type ontology:concept } } . FILTER ( ?n < ?k ) }
[]
landscape concept
Q140298 Q671343 Q46772
SYSTEM
Windward Islands, Mont Blanc massif, Kerguelen Islands
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 less
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find_reverse
entity Q11767
relation P706
type Q151885
[ANSWERS] are the location where lesser number of concepts are located than Mesopotamia
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:P706 ?z . ?z rdf:type ontology:Q107425 . ?v rdf:type ontology:Q151885 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:P706 resource:Q11767 . ?b rdf:type ontology:Q151885 } } . FILTER ( ?n < ?k ) }
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
Windward Islands, Mont Blanc massif and Kerguelen Islands are the location where lesser number of concepts are located than Mesopotamia
Windward Islands Mont Blanc massif Kerguelen Islands
action less
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find_reverse
entity Mesopotamia
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:located_on_terrain_feature ?z . ?z rdf:type ontology:landscape . ?v rdf:type ontology:concept } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { ?b property:located_on_terrain_feature resource:Mesopotamia . ?b rdf:type ontology:concept } } . FILTER ( ?n < ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q220
P180
Q3305213 Q14745
USER
How many paintings or furniture express Rome ?
(c(Q3305213),P180,Q220) (c(Q14745),P180,Q220)
action count
action union
action filter_type
action find_reverse
entity Q220
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q220
relation P180
type Q14745
[{'concept': 'Q3305213'}, 'P180', 'Q220'] [{'concept': 'Q14745'}, 'P180', 'Q220']
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { VALUES ( ?w ) { ( ontology:Q14745 ) ( ontology:Q3305213 ) } . ?f rdf:type ?w }
Rome
action count
action union
action filter_type
action find_reverse
entity Rome
relation depicts
type painting
action filter_type
action find_reverse
entity Rome
relation depicts
type furniture
[{'concept': 'painting'}, 'depicts', 'Rome'] [{'concept': 'furniture'}, 'depicts', 'Rome']
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { VALUES ( ?w ) { ( ontology:furniture ) ( ontology:painting ) } . ?f rdf:type ?w }
[]
painting furniture
SYSTEM
5
Q24039998 Q19962900 Q1119782 Q20064501 Q19904594
(c(Q3305213),P180,Q220) (c(Q14745),P180,Q220)
action count
action union
action filter_type
action find_reverse
entity Q220
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q220
relation P180
type Q14745
[ANSWER]
[{'concept': 'Q3305213'}, 'P180', 'Q220'] [{'concept': 'Q14745'}, 'P180', 'Q220']
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { VALUES ( ?w ) { ( ontology:Q14745 ) ( ontology:Q3305213 ) } . ?f rdf:type ?w }
Roman Street Scene The Atelier of Alexander Ivanov in Rome The Disputation with Simon Magus and the Crucifixion of Peter German: Die Peterskirche von Süden her The Massacres of the Triumvirate
5
action count
action union
action filter_type
action find_reverse
entity Rome
relation depicts
type painting
action filter_type
action find_reverse
entity Rome
relation depicts
type furniture
[{'concept': 'painting'}, 'depicts', 'Rome'] [{'concept': 'furniture'}, 'depicts', 'Rome']
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { VALUES ( ?w ) { ( ontology:furniture ) ( ontology:painting ) } . ?f rdf:type ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q652
P407
Q482994
USER
Which albums are in Italian ?
(c(Q482994),P407,Q652)
action filter_type
action find_reverse
entity Q652
relation P407
type Q482994
[{'concept': 'Q482994'}, 'P407', 'Q652']
SELECT DISTINCT ?w WHERE { ?w property:P407 resource:Q652 . ?w rdf:type ontology:Q482994 }
Italian
action filter_type
action find_reverse
entity Italian
relation language of work or name
type album
[{'concept': 'album'}, 'language of work or name', 'Italian']
SELECT DISTINCT ?w WHERE { ?w property:language_of_work_or_name resource:Italian . ?w rdf:type ontology:album }
[]
album
Q3341139 Q17651465 Q374289
SYSTEM
Est!, Porn Groove 2004/2009, Abbà Pater
Q19275816 Q6813335 Q3689290 Q374289 Q5165958 Q3718882 Q3706459 Q3850704 Q3683709 Q3877069 Q3725432 Q565096 Q3598084 Q961233 Q898328 Q3704874 Q3698129 Q3597233 Q16245228 Q3805936 Q3704879 Q1941240 Q3835430 Q3704876 Q3704877 Q3837125 Q3641987 Q4725694 Q3964116 Q18420546 Q3763701 Q15054494 Q3701081 Q3596376 Q3718474 Q3794638 Q17062440 Q2426681 Q3905589 Q709117 Q3842332 Q3794637 Q3881931 Q3341139 Q1943145 Q7232247 Q10558200 Q3797744 Q3282645 Q5244211 Q5302416 Q17651465 Q3346537 Q3968633 Q3858288
(c(Q482994),P407,Q652)
action filter_type
action find_reverse
entity Q652
relation P407
type Q482994
[ANSWERS] are in Italian
[{'concept': 'Q482994'}, 'P407', 'Q652']
SELECT DISTINCT ?w WHERE { ?w property:P407 resource:Q652 . ?w rdf:type ontology:Q482994 }
Sanremo grande amore Melodie Citronique Controllo del livello di rombo Abbà Pater Controproduzioni Ed avevamo gli occhi troppo belli Di tanto in tanto Maschi e Altri Colpo di coda Nina Zilli Enjoy CCCP Eros 20 successi di Mina Del mio meglio The Best of Laura Pausini: E ritorno da te Del meglio del nostro meglio Vol. 1 Croce e delizia Live 12-5-87 Canta en Italiano Jacopo Sarno Del mio meglio n. 4 21.00: Eros Live World Tour 2009/2010 Live in Punkow Del mio meglio n. 2 Del mio meglio n. 3 Lorenzo Live - Autobiografia di una festa Bomboloni Alice Sogno Ribelle TZN - The Best of Tiziano Ferro Giannissima 20 - The Greatest Hits Dalla Bussola ...Nightmare Ecco i miei gioielli Il meglio di Ho fatto due etti e mezzo Neil Sedaka: Italiano RossoNoemi Pirata E² Made in Japan Il meglio di Grazie per la splendida serata Oltre (Emma Marrone) Est! Re matto live Portrait in Music Trilogia 1983-1989 live 2013 Incontro con Mina Amándote A La Italiana De "Bambino" à "Il Silenzio" Dove si vola Porn Groove 2004/2009 Nuvole barocche Stato libero di Litfiba Mina alla Bussola dal vivo
Est!, Porn Groove 2004/2009 and Abbà Pater are in Italian
Est! Porn Groove 2004/2009 Abbà Pater
action filter_type
action find_reverse
entity Italian
relation language of work or name
type album
[{'concept': 'album'}, 'language of work or name', 'Italian']
SELECT DISTINCT ?w WHERE { ?w property:language_of_work_or_name resource:Italian . ?w rdf:type ontology:album }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3341139
P175
Q2088357
USER
What did that album perform ?
(Q3341139,P175,c(Q2088357))
action filter_type
action find
entity Q3341139
relation P175
type Q2088357
['Q3341139', 'P175', {'concept': 'Q2088357'}]
SELECT DISTINCT ?q WHERE { resource:Q3341139 property:P175 ?q . ?q rdf:type ontology:Q2088357 }
Est!
action filter_type
action find
entity Est!
relation performer
type musical ensemble
['Est!', 'performer', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?q WHERE { resource:Est! property:performer ?q . ?q rdf:type ontology:musical_ensemble }
[]
musical ensemble
Clarification for simple ques.
Q17651465
SYSTEM
Did you mean Porn Groove 2004/2009 ?
Q3341139 Q17651465 Q374289
(Q3341139,P175,c(Q2088357)) (Q17651465,P175,c(Q2088357)) (Q374289,P175,c(Q2088357))
[ANSWER]
['Q3341139', 'P175', {'concept': 'Q2088357'}] ['Q17651465', 'P175', {'concept': 'Q2088357'}] ['Q374289', 'P175', {'concept': 'Q2088357'}]
SELECT DISTINCT ?q WHERE { resource:Q3341139 property:P175 ?q . ?q rdf:type ontology:Q2088357 }
Est! Porn Groove 2004/2009 Abbà Pater
Did you mean Porn Groove 2004/2009 ?
Porn Groove 2004/2009
['Est!', 'performer', {'concept': 'musical ensemble'}] ['Porn Groove 2004/2009', 'performer', {'concept': 'musical ensemble'}] ['Abbà Pater', 'performer', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?q WHERE { resource:Est! property:performer ?q . ?q rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
USER
No, I meant Est!. Could you tell me the answer for that?
(Q3341139,P175,c(Q2088357))
Q3341139
['Q3341139', 'P175', {'concept': 'Q2088357'}]
['Est!', 'performer', {'concept': 'musical ensemble'}]
[]
Q1814063
SYSTEM
Rein
Q1814063
(Q3341139,P175,c(Q2088357))
action filter_type
action find
entity Q3341139
relation P175
type Q2088357
That album performed by [ANSWER]
['Q3341139', 'P175', {'concept': 'Q2088357'}]
SELECT DISTINCT ?q WHERE { resource:Q3341139 property:P175 ?q . ?q rdf:type ontology:Q2088357 }
Rein
That album performed by Rein
Rein
action filter_type
action find
entity Est!
relation performer
type musical ensemble
['Est!', 'performer', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?q WHERE { resource:Est! property:performer ?q . ?q rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P175
Q482994 Q2031291
USER
How many albums or releases performed that musical ensemble ?
(c(Q482994),P175,Q1814063) (c(Q2031291),P175,Q1814063) (c(Q482994),P175,Q1814063) (c(Q2031291),P175,Q1814063)
action count
action union
action filter_type
action find_reverse
entity Q1814063
relation P175
type Q482994
action filter_type
action find_reverse
entity Q1814063
relation P175
type Q2031291
[{'concept': 'Q482994'}, 'P175', 'Q1814063'] [{'concept': 'Q2031291'}, 'P175', 'Q1814063'] [{'concept': 'Q482994'}, 'P175', 'Q1814063'] [{'concept': 'Q2031291'}, 'P175', 'Q1814063']
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } }
action count
action union
action filter_type
action find_reverse
entity Rein
relation performer
type album
action filter_type
action find_reverse
entity Rein
relation performer
type release
[{'concept': 'album'}, 'performer', 'Rein'] [{'concept': 'release'}, 'performer', 'Rein'] [{'concept': 'album'}, 'performer', 'Rein'] [{'concept': 'release'}, 'performer', 'Rein']
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:album ) ( ontology:release ) } }
[]
album release
SYSTEM
6
Q21503652 Q3341163 Q3341139 Q21503655 Q3341149 Q21503660
(c(Q482994),P175,Q1814063) (c(Q2031291),P175,Q1814063) (c(Q482994),P175,Q1814063) (c(Q2031291),P175,Q1814063)
action count
action union
action filter_type
action find_reverse
entity Q1814063
relation P175
type Q482994
action filter_type
action find_reverse
entity Q1814063
relation P175
type Q2031291
[ANSWER]
[{'concept': 'Q482994'}, 'P175', 'Q1814063'] [{'concept': 'Q2031291'}, 'P175', 'Q1814063'] [{'concept': 'Q482994'}, 'P175', 'Q1814063'] [{'concept': 'Q2031291'}, 'P175', 'Q1814063']
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } }
Sul tetto Occidente Est! Grandtour È finita Un'altra estate
6
action count
action union
action filter_type
action find_reverse
entity Rein
relation performer
type album
action filter_type
action find_reverse
entity Rein
relation performer
type release
[{'concept': 'album'}, 'performer', 'Rein'] [{'concept': 'release'}, 'performer', 'Rein'] [{'concept': 'album'}, 'performer', 'Rein'] [{'concept': 'release'}, 'performer', 'Rein']
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z rdf:type ?p . VALUES ( ?p ) { ( ontology:album ) ( ontology:release ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24113698 Q11767
P706
Q2221906
USER
Which geographic locations are Mesopotamia or Allan Hills 85085 meteorite located on ?
OR((Q11767,P706,c(Q2221906)), (Q24113698,P706,c(Q2221906)))
action filter_type
action union
action find
entity Q11767
relation P706
action find
entity Q24113698
relation P706
type Q2221906
{'OR': [['Q11767', 'P706', {'concept': 'Q2221906'}], ['Q24113698', 'P706', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q24113698 property:P706 ?t } UNION { resource:Q11767 property:P706 ?t } } . ?t rdf:type ontology:Q2221906 }
Allan Hills 85085 meteorite Mesopotamia
action filter_type
action union
action find
entity Mesopotamia
relation located on terrain feature
action find
entity Allan Hills 85085 meteorite
relation located on terrain feature
type geographic location
{'OR': [['Mesopotamia', 'located on terrain feature', {'concept': 'geographic location'}], ['Allan Hills 85085 meteorite', 'located on terrain feature', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Allan_Hills_85085_meteorite property:located_on_terrain_feature ?t } UNION { resource:Mesopotamia property:located_on_terrain_feature ?t } } . ?t rdf:type ontology:geographic_location }
[]
geographic location
Q370398 Q27293
SYSTEM
Allan Hills, Western Asia
Q370398 Q27293
OR((Q11767,P706,c(Q2221906)), (Q24113698,P706,c(Q2221906)))
action filter_type
action union
action find
entity Q11767
relation P706
action find
entity Q24113698
relation P706
type Q2221906
Mesopotamia or Allan Hills 85085 meteorite are located in [ANSWERS]
{'OR': [['Q11767', 'P706', {'concept': 'Q2221906'}], ['Q24113698', 'P706', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q24113698 property:P706 ?t } UNION { resource:Q11767 property:P706 ?t } } . ?t rdf:type ontology:Q2221906 }
Allan Hills Western Asia
Mesopotamia or Allan Hills 85085 meteorite are located in Allan Hills and Western Asia
Allan Hills Western Asia
action filter_type
action union
action find
entity Mesopotamia
relation located on terrain feature
action find
entity Allan Hills 85085 meteorite
relation located on terrain feature
type geographic location
{'OR': [['Mesopotamia', 'located on terrain feature', {'concept': 'geographic location'}], ['Allan Hills 85085 meteorite', 'located on terrain feature', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Allan_Hills_85085_meteorite property:located_on_terrain_feature ?t } UNION { resource:Mesopotamia property:located_on_terrain_feature ?t } } . ?t rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q6001106
P361
Q838948 Q2031291 Q482994
USER
Which albums are a portion of more number of works of art or releases than Ilosaarirock ?
(c(Q482994),P361,c(Q838948)|c(Q2031291))
action greater
action union
action find_tuple_counts
relation P361
type Q482994
type Q838948
action find_tuple_counts
relation P361
type Q482994
type Q2031291
action count
action filter_multi_types
action find
entity Q6001106
relation P361
type Q838948
type Q2031291
[{'concept': 'Q482994'}, 'P361', [{'concept': 'Q838948'}, {'concept': 'Q2031291'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?c WHERE { { ?c property:P361 ?z . ?z rdf:type ontology:Q2031291 . ?c rdf:type ontology:Q482994 } UNION { ?c property:P361 ?z . ?c rdf:type ontology:Q482994 . ?z rdf:type ontology:Q838948 } } GROUP BY ?c } . FILTER ( ?n > ?w ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q2031291 ) } } . resource:Q6001106 property:P361 ?o } } }
Ilosaarirock
action greater
action union
action find_tuple_counts
relation part of
type album
type work of art
action find_tuple_counts
relation part of
type album
type release
action count
action filter_multi_types
action find
entity Ilosaarirock
relation part of
type work of art
type release
[{'concept': 'album'}, 'part of', [{'concept': 'work of art'}, {'concept': 'release'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?c WHERE { { ?c property:part_of ?z . ?z rdf:type ontology:release . ?c rdf:type ontology:album } UNION { ?c property:part_of ?z . ?c rdf:type ontology:album . ?z rdf:type ontology:work_of_art } } GROUP BY ?c } . FILTER ( ?n > ?w ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:release ) } } . resource:Ilosaarirock property:part_of ?o } } }
[]
work of art release album
Q7332484 Q2836801 Q664064
SYSTEM
Ride, Alien, 1962–1966
Q1199283 Q664064 Q2836801 Q3798503 Q3521276 Q6544686 Q3154522 Q3026628 Q7332484 Q1341446 Q3026635 Q7363070 Q7278345 Q1950377 Q430689 Q3907199
(c(Q482994),P361,c(Q838948)|c(Q2031291))
action greater
action union
action find_tuple_counts
relation P361
type Q482994
type Q838948
action find_tuple_counts
relation P361
type Q482994
type Q2031291
action count
action filter_multi_types
action find
entity Q6001106
relation P361
type Q838948
type Q2031291
[ANSWERS] are a portion of more number of works of art or releases than Ilosaarirock
[{'concept': 'Q482994'}, 'P361', [{'concept': 'Q838948'}, {'concept': 'Q2031291'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?c WHERE { { ?c property:P361 ?z . ?z rdf:type ontology:Q2031291 . ?c rdf:type ontology:Q482994 } UNION { ?c property:P361 ?z . ?c rdf:type ontology:Q482994 . ?z rdf:type ontology:Q838948 } } GROUP BY ?c } . FILTER ( ?n > ?w ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q2031291 ) } } . resource:Q6001106 property:P361 ?o } } }
Harry Potter and the Half-Blood Prince 1962–1966 Alien Inferno The Holiday Life Iron Man 2: Original Motion Picture Score Dick Tracy Ride Harry Potter and the Deathly Hallows – Part 2 Dick Tracy Romeo + Juliet Ra.One 1967–1970 A View to a Kill Polaris Live
Ride, Alien and 1962–1966 are a portion of more number of works of art or releases than Ilosaarirock
Ride Alien 1962–1966
action greater
action union
action find_tuple_counts
relation part of
type album
type work of art
action find_tuple_counts
relation part of
type album
type release
action count
action filter_multi_types
action find
entity Ilosaarirock
relation part of
type work of art
type release
[{'concept': 'album'}, 'part of', [{'concept': 'work of art'}, {'concept': 'release'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) ?c WHERE { { ?c property:part_of ?z . ?z rdf:type ontology:release . ?c rdf:type ontology:album } UNION { ?c property:part_of ?z . ?c rdf:type ontology:album . ?z rdf:type ontology:work_of_art } } GROUP BY ?c } . FILTER ( ?n > ?w ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { ?o rdf:type ?h . VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:release ) } } . resource:Ilosaarirock property:part_of ?o } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q8037458
P361
Q838948 Q2031291 Q482994
USER
And how about Wow 2?
(c(Q482994),P361,c(Q838948)|c(Q2031291))
action greater
action union
action find_tuple_counts
relation P361
type Q482994
type Q838948
action find_tuple_counts
relation P361
type Q482994
type Q2031291
action count
action filter_multi_types
action find
entity Q8037458
relation P361
type Q838948
type Q2031291
[{'concept': 'Q482994'}, 'P361', [{'concept': 'Q838948'}, {'concept': 'Q2031291'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?p WHERE { VALUES ( ?i ) { ( ontology:Q838948 ) ( ontology:Q2031291 ) } . ?r rdf:type ?i } GROUP BY ?p } . FILTER ( ?x > ?c ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Q8037458 property:P361 ?s . { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q2031291 ) } } } } }
Wow 2
action greater
action union
action find_tuple_counts
relation part of
type album
type work of art
action find_tuple_counts
relation part of
type album
type release
action count
action filter_multi_types
action find
entity Wow 2
relation part of
type work of art
type release
[{'concept': 'album'}, 'part of', [{'concept': 'work of art'}, {'concept': 'release'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?p WHERE { VALUES ( ?i ) { ( ontology:work_of_art ) ( ontology:release ) } . ?r rdf:type ?i } GROUP BY ?p } . FILTER ( ?x > ?c ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Wow_2 property:part_of ?s . { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:release ) } } } } }
[]
work of art release album
Q7332484 Q2836801 Q664064
SYSTEM
Ride, Alien, 1962–1966
Q1199283 Q664064 Q2836801 Q3798503 Q3521276 Q6544686 Q3154522 Q3026628 Q7332484 Q1341446 Q3026635 Q7363070 Q7278345 Q1950377 Q430689 Q3907199
(c(Q482994),P361,c(Q838948)|c(Q2031291))
action greater
action union
action find_tuple_counts
relation P361
type Q482994
type Q838948
action find_tuple_counts
relation P361
type Q482994
type Q2031291
action count
action filter_multi_types
action find
entity Q8037458
relation P361
type Q838948
type Q2031291
[ANSWERS]
[{'concept': 'Q482994'}, 'P361', [{'concept': 'Q838948'}, {'concept': 'Q2031291'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?p WHERE { VALUES ( ?i ) { ( ontology:Q838948 ) ( ontology:Q2031291 ) } . ?r rdf:type ?i } GROUP BY ?p } . FILTER ( ?x > ?c ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Q8037458 property:P361 ?s . { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q2031291 ) } } } } }
Harry Potter and the Half-Blood Prince 1962–1966 Alien Inferno The Holiday Life Iron Man 2: Original Motion Picture Score Dick Tracy Ride Harry Potter and the Deathly Hallows – Part 2 Dick Tracy Romeo + Juliet Ra.One 1967–1970 A View to a Kill Polaris Live
Ride Alien 1962–1966
action greater
action union
action find_tuple_counts
relation part of
type album
type work of art
action find_tuple_counts
relation part of
type album
type release
action count
action filter_multi_types
action find
entity Wow 2
relation part of
type work of art
type release
[{'concept': 'album'}, 'part of', [{'concept': 'work of art'}, {'concept': 'release'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) ?p WHERE { VALUES ( ?i ) { ( ontology:work_of_art ) ( ontology:release ) } . ?r rdf:type ?i } GROUP BY ?p } . FILTER ( ?x > ?c ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Wow_2 property:part_of ?s . { ?s rdf:type ?y . VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:release ) } } } } }
[]