Simple Question (Direct)
Simple Question
Q7527149
P27
Q15617994
USER
Which administrative territory does Sir Henry Havelock-Allan, 1st Baronet belong to ?
(Q7527149,P27,c(Q15617994))
action filter_type
action find
entity Q7527149
relation P27
type Q15617994
['Q7527149', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q7527149 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Sir Henry Havelock-Allan, 1st Baronet
action filter_type
action find
entity Sir Henry Havelock-Allan, 1st Baronet
relation country of citizenship
type designation for an administrative territorial entity
['Sir Henry Havelock-Allan, 1st Baronet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Sir_Henry_Havelock-Allan,_1st_Baronet property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7527149,P27,c(Q15617994))
action filter_type
action find
entity Q7527149
relation P27
type Q15617994
Sir Henry Havelock-Allan , 1st Baronet belongs to the [ANSWER]
['Q7527149', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q7527149 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United Kingdom
Sir Henry Havelock-Allan , 1st Baronet belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Sir Henry Havelock-Allan, 1st Baronet
relation country of citizenship
type designation for an administrative territorial entity
['Sir Henry Havelock-Allan, 1st Baronet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Sir_Henry_Havelock-Allan,_1st_Baronet property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P264
Q7725634
USER
Which literary works have that administrative territory as their record company ?
(c(Q7725634),P264,Q145)
action filter_type
action find_reverse
entity Q145
relation P264
type Q7725634
[{'concept': 'Q7725634'}, 'P264', 'Q145']
SELECT DISTINCT ?v WHERE { ?v property:P264 resource:Q145 . ?v rdf:type ontology:Q7725634 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation record label
type literary work
[{'concept': 'literary work'}, 'record label', 'United Kingdom']
SELECT DISTINCT ?v WHERE { ?v property:record_label resource:United_Kingdom . ?v rdf:type ontology:literary_work }
[]
literary work
Q7995071 Q8056664
SYSTEM
White Mountain, You're the One
Q7995071 Q8056664
(c(Q7725634),P264,Q145)
action filter_type
action find_reverse
entity Q145
relation P264
type Q7725634
[ANSWERS] have that administrative territory as their record company
[{'concept': 'Q7725634'}, 'P264', 'Q145']
SELECT DISTINCT ?v WHERE { ?v property:P264 resource:Q145 . ?v rdf:type ontology:Q7725634 }
White Mountain You're the One
White Mountain and You're the One have that administrative territory as their record company
White Mountain You're the One
action filter_type
action find_reverse
entity United Kingdom
relation record label
type literary work
[{'concept': 'literary work'}, 'record label', 'United Kingdom']
SELECT DISTINCT ?v WHERE { ?v property:record_label resource:United_Kingdom . ?v rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7995071 Q8056664
P264
Q334453
USER
Which divisions sponsored the recording of those literary works ?
(Q7995071,P264,c(Q334453)) (Q8056664,P264,c(Q334453))
action filter_type
action find
entity prev_answer
relation P264
type Q334453
['Q7995071', 'P264', {'concept': 'Q334453'}] ['Q8056664', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?d ) { ( resource:Q7995071 ) ( resource:Q8056664 ) } . ?r rdf:type ontology:Q334453 . ?d property:P264 ?r }
White Mountain You're the One
action filter_type
action find
entity prev_answer
relation record label
type division
['White Mountain', 'record label', {'concept': 'division'}] ["You're the One", 'record label', {'concept': 'division'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?d ) { ( resource:White_Mountain ) ( resource:You're_the_One ) } . ?r rdf:type ontology:division . ?d property:record_label ?r }
[]
division
Q1063242 Q203059 Q2117397
SYSTEM
Charisma Records, Virgin Records, Pye Records
Q1063242 Q203059 Q2117397
(Q7995071,P264,c(Q334453)) (Q8056664,P264,c(Q334453))
action filter_type
action find
entity prev_answer
relation P264
type Q334453
[ANSWERS] sponsored the recording of those literary works
['Q7995071', 'P264', {'concept': 'Q334453'}] ['Q8056664', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?d ) { ( resource:Q7995071 ) ( resource:Q8056664 ) } . ?r rdf:type ontology:Q334453 . ?d property:P264 ?r }
Charisma Records Virgin Records Pye Records
Charisma Records, Virgin Records and Pye Records sponsored the recording of those literary works
Charisma Records Virgin Records Pye Records
action filter_type
action find
entity prev_answer
relation record label
type division
['White Mountain', 'record label', {'concept': 'division'}] ["You're the One", 'record label', {'concept': 'division'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?d ) { ( resource:White_Mountain ) ( resource:You're_the_One ) } . ?r rdf:type ontology:division . ?d property:record_label ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2117397
P17
Q15617994
USER
Which administrative territory does Pye Records belong to ?
(Q2117397,P17,c(Q15617994))
action filter_type
action find
entity Q2117397
relation P17
type Q15617994
['Q2117397', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2117397 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Pye Records
action filter_type
action find
entity Pye Records
relation country
type designation for an administrative territorial entity
['Pye Records', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Pye_Records property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2117397,P17,c(Q15617994))
action filter_type
action find
entity Q2117397
relation P17
type Q15617994
Pye Records belongs to [ANSWER]
['Q2117397', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2117397 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United Kingdom
Pye Records belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Pye Records
relation country
type designation for an administrative territorial entity
['Pye Records', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Pye_Records property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P921
Q223393
USER
Which literary genres have that administrative territory as their main topic ?
(c(Q223393),P921,Q145)
action filter_type
action find_reverse
entity Q145
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q145']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q145 . ?e rdf:type ontology:Q223393 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'United Kingdom']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:United_Kingdom . ?e rdf:type ontology:literary_genre }
[]
literary genre
Q26207101 Q4834807
SYSTEM
Dictionary of British cartoonists and caricaturists, BBC Domesday Project
Q26207101 Q4834807
(c(Q223393),P921,Q145)
action filter_type
action find_reverse
entity Q145
relation P921
type Q223393
[ANSWERS] have that administrative territory as their main topic
[{'concept': 'Q223393'}, 'P921', 'Q145']
SELECT DISTINCT ?e WHERE { ?e property:P921 resource:Q145 . ?e rdf:type ontology:Q223393 }
Dictionary of British cartoonists and caricaturists BBC Domesday Project
Dictionary of British cartoonists and caricaturists and BBC Domesday Project have that administrative territory as their main topic
Dictionary of British cartoonists and caricaturists BBC Domesday Project
action filter_type
action find_reverse
entity United Kingdom
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'United Kingdom']
SELECT DISTINCT ?e WHERE { ?e property:main_subject resource:United_Kingdom . ?e rdf:type ontology:literary_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4657267 Q7995071
P175
Q2088357
USER
Which musical ensembles were staged by White Mountain or A Haunting Curse ?
OR((Q7995071,P175,c(Q2088357)), (Q4657267,P175,c(Q2088357)))
action filter_type
action union
action find
entity Q7995071
relation P175
action find
entity Q4657267
relation P175
type Q2088357
{'OR': [['Q7995071', 'P175', {'concept': 'Q2088357'}], ['Q4657267', 'P175', {'concept': 'Q2088357'}]]}
SELECT DISTINCT ?u WHERE { { ?y property:P175 ?u . VALUES ( ?y ) { ( resource:Q7995071 ) ( resource:Q4657267 ) } } . ?u rdf:type ontology:Q2088357 }
A Haunting Curse White Mountain
action filter_type
action union
action find
entity White Mountain
relation performer
action find
entity A Haunting Curse
relation performer
type musical ensemble
{'OR': [['White Mountain', 'performer', {'concept': 'musical ensemble'}], ['A Haunting Curse', 'performer', {'concept': 'musical ensemble'}]]}
SELECT DISTINCT ?u WHERE { { ?y property:performer ?u . VALUES ( ?y ) { ( resource:White_Mountain ) ( resource:A_Haunting_Curse ) } } . ?u rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q1533473 Q151012
SYSTEM
Goatwhore, Genesis
Q1533473 Q151012
OR((Q7995071,P175,c(Q2088357)), (Q4657267,P175,c(Q2088357)))
action filter_type
action union
action find
entity Q7995071
relation P175
action find
entity Q4657267
relation P175
type Q2088357
[ANSWERS] were staged by White Mountain or A Haunting Curse
{'OR': [['Q7995071', 'P175', {'concept': 'Q2088357'}], ['Q4657267', 'P175', {'concept': 'Q2088357'}]]}
SELECT DISTINCT ?u WHERE { { ?y property:P175 ?u . VALUES ( ?y ) { ( resource:Q7995071 ) ( resource:Q4657267 ) } } . ?u rdf:type ontology:Q2088357 }
Goatwhore Genesis
Goatwhore and Genesis were staged by White Mountain or A Haunting Curse
Goatwhore Genesis
action filter_type
action union
action find
entity White Mountain
relation performer
action find
entity A Haunting Curse
relation performer
type musical ensemble
{'OR': [['White Mountain', 'performer', {'concept': 'musical ensemble'}], ['A Haunting Curse', 'performer', {'concept': 'musical ensemble'}]]}
SELECT DISTINCT ?u WHERE { { ?y property:performer ?u . VALUES ( ?y ) { ( resource:White_Mountain ) ( resource:A_Haunting_Curse ) } } . ?u rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P737
Q2088357 Q2088357
USER
Which musical ensembles were influenced by min number of musical ensembles ?
(c(Q2088357),P737,c(Q2088357))
action argmin
action find_tuple_counts
relation P737
type Q2088357
type Q2088357
[{'concept': 'Q2088357'}, 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?f ) { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?n ) WHERE { ?q property:P737 ?w . ?q rdf:type ontology:Q2088357 . ?w rdf:type ontology:Q2088357 } GROUP BY ?q } } . { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?p ) WHERE { ?o property:P737 ?h . ?o rdf:type ontology:Q2088357 . ?h rdf:type ontology:Q2088357 } GROUP BY ?o } . FILTER ( ?p = ?f ) }
action argmin
action find_tuple_counts
relation influenced by
type musical ensemble
type musical ensemble
[{'concept': 'musical ensemble'}, 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?f ) { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?n ) WHERE { ?q property:influenced_by ?w . ?q rdf:type ontology:musical_ensemble . ?w rdf:type ontology:musical_ensemble } GROUP BY ?q } } . { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?p ) WHERE { ?o property:influenced_by ?h . ?o rdf:type ontology:musical_ensemble . ?h rdf:type ontology:musical_ensemble } GROUP BY ?o } . FILTER ( ?p = ?f ) }
[]
musical ensemble musical ensemble
Q19969228 Q165193 Q816079
SYSTEM
Alejandro Silva Power Cuarteto, Avenged Sevenfold, Belly
Q696050 Q3378704 Q914489 Q5118436 Q18719134 Q4039076 Q25055832 Q1180841 Q3538020 Q128220 Q11242779 Q22080821 Q2860182 Q165193 Q1612406 Q1513716 Q1754136 Q246677 Q615471 Q14557360 Q11196140 Q698224 Q7679669 Q19969228 Q3422677 Q1361805 Q1579194 Q5140037 Q3189511 Q279105 Q18608591 Q15982430 Q2070724 Q3038450 Q14159626 Q14957024 Q608208 Q1543686 Q1582829 Q1568465 Q16679474 Q137804 Q979826 Q18019815 Q2893681 Q18151740 Q10682 Q1074367 Q1402704 Q254821 Q2813204 Q7269352 Q7401935 Q1535105 Q4042698 Q3532677 Q844579 Q1668512 Q122739 Q72349 Q408139 Q816079 Q192915 Q16682638 Q651146 Q734756 Q2529057 Q827788 Q1578262 Q23376
(c(Q2088357),P737,c(Q2088357))
action argmin
action find_tuple_counts
relation P737
type Q2088357
type Q2088357
[ANSWERS] were influenced by min number of musical ensembles
[{'concept': 'Q2088357'}, 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?f ) { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?n ) WHERE { ?q property:P737 ?w . ?q rdf:type ontology:Q2088357 . ?w rdf:type ontology:Q2088357 } GROUP BY ?q } } . { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?p ) WHERE { ?o property:P737 ?h . ?o rdf:type ontology:Q2088357 . ?h rdf:type ontology:Q2088357 } GROUP BY ?o } . FILTER ( ?p = ?f ) }
Warlock Phenix Magma CHVRCHΞS Twin Peaks Future World Music Wolfpack Dead Prez Transwave The Jezabels Vanilla Beans Fuzz Archimède Avenged Sevenfold Belladonna Wild Beasts This Mortal Coil Astral Projection M83 London Grammar DOLL$BOXX Coldcut Talk Show Alejandro Silva Power Cuarteto Red Cardell Second Hand Rose Radio Moscow Code Orange Kids Outside Duo Volbeat Years & Years Blues Pills Atoll Dr Phibes & the House of Wax Equations The War on Drugs The Temperance Movement (band) Antony and the Johnsons The Divine Comedy P-Square Mafia K-1 Fry The Celtic Social Club Yat-Kha Farin Urlaub Racing Team The Gentle Storm Beep Beep GoGo Penguin Sœurs Goadec Chingon Pentagram S.T.S. 1995 Quarteto Novo Saint Motel Little Dragon Left Lane Cruiser Total Eclipse Quarteto em Cy Lush Bitch Krewella Airbourne Belly The Corrs Vigon Bamy Jay The Ditty Bops Tegan and Sara The Pierces Wisdom Megan and Liz Die Antwoord
Alejandro Silva Power Cuarteto, Avenged Sevenfold and Belly were influenced by min number of musical ensembles
Alejandro Silva Power Cuarteto Avenged Sevenfold Belly
action argmin
action find_tuple_counts
relation influenced by
type musical ensemble
type musical ensemble
[{'concept': 'musical ensemble'}, 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?f ) { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?n ) WHERE { ?q property:influenced_by ?w . ?q rdf:type ontology:musical_ensemble . ?w rdf:type ontology:musical_ensemble } GROUP BY ?q } } . { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?p ) WHERE { ?o property:influenced_by ?h . ?o rdf:type ontology:musical_ensemble . ?h rdf:type ontology:musical_ensemble } GROUP BY ?o } . FILTER ( ?p = ?f ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q19969228
P495
Q15617994
USER
Which administrative territory is the origin of that musical ensemble ?
(Q19969228,P495,c(Q15617994))
action filter_type
action find
entity Q19969228
relation P495
type Q15617994
['Q19969228', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q19969228 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
Alejandro Silva Power Cuarteto
action filter_type
action find
entity Alejandro Silva Power Cuarteto
relation country of origin
type designation for an administrative territorial entity
['Alejandro Silva Power Cuarteto', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Alejandro_Silva_Power_Cuarteto property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q165193
SYSTEM
Did you mean Avenged Sevenfold ?
Q19969228 Q165193 Q816079
(Q19969228,P495,c(Q15617994)) (Q165193,P495,c(Q15617994)) (Q816079,P495,c(Q15617994))
[ANSWER]
['Q19969228', 'P495', {'concept': 'Q15617994'}] ['Q165193', 'P495', {'concept': 'Q15617994'}] ['Q816079', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q19969228 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
Alejandro Silva Power Cuarteto Avenged Sevenfold Belly
Did you mean Avenged Sevenfold ?
Avenged Sevenfold
['Alejandro Silva Power Cuarteto', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Avenged Sevenfold', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Belly', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Alejandro_Silva_Power_Cuarteto property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Alejandro Silva Power Cuarteto. Could you tell me the answer for that?
(Q19969228,P495,c(Q15617994))
Q19969228
['Q19969228', 'P495', {'concept': 'Q15617994'}]
['Alejandro Silva Power Cuarteto', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q298
SYSTEM
Chile
Q298
(Q19969228,P495,c(Q15617994))
action filter_type
action find
entity Q19969228
relation P495
type Q15617994
And [ANSWER] is the origin of that musical ensemble
['Q19969228', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q19969228 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
Chile
And Chile is the origin of that musical ensemble
Chile
action filter_type
action find
entity Alejandro Silva Power Cuarteto
relation country of origin
type designation for an administrative territorial entity
['Alejandro Silva Power Cuarteto', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Alejandro_Silva_Power_Cuarteto property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q298
P85
Q484692
USER
What is the national anthem of that administrative territory ?
(Q298,P85,c(Q484692))
action filter_type
action find
entity Q298
relation P85
type Q484692
['Q298', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { resource:Q298 property:P85 ?z . ?z rdf:type ontology:Q484692 }
Chile
action filter_type
action find
entity Chile
relation anthem
type hymn
['Chile', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { resource:Chile property:anthem ?z . ?z rdf:type ontology:hymn }
[]
hymn
Q484161
SYSTEM
National Anthem of Chile
Q484161
(Q298,P85,c(Q484692))
action filter_type
action find
entity Q298
relation P85
type Q484692
The national anthem of that administrative territory is the [ANSWER]
['Q298', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?z WHERE { resource:Q298 property:P85 ?z . ?z rdf:type ontology:Q484692 }
National Anthem of Chile
The national anthem of that administrative territory is the National Anthem of Chile
National Anthem of Chile
action filter_type
action find
entity Chile
relation anthem
type hymn
['Chile', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?z WHERE { resource:Chile property:anthem ?z . ?z rdf:type ontology:hymn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q298
P37
Q34770
USER
What is considered to be the official language of Chile ?
(Q298,P37,c(Q34770))
action filter_type
action find
entity Q298
relation P37
type Q34770
['Q298', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q298 property:P37 ?r . ?r rdf:type ontology:Q34770 }
Chile
action filter_type
action find
entity Chile
relation official language
type language
['Chile', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Chile property:official_language ?r . ?r rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q298,P37,c(Q34770))
action filter_type
action find
entity Q298
relation P37
type Q34770
[ANSWER] is considered to be the official language of Chile
['Q298', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q298 property:P37 ?r . ?r rdf:type ontology:Q34770 }
Spanish
Spanish is considered to be the official language of Chile
Spanish
action filter_type
action find
entity Chile
relation official language
type language
['Chile', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Chile property:official_language ?r . ?r rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q298
P2695
Q11173
USER
Which chemical compound can be found in abundance in that administrative territory ?
(c(Q11173),P2695,Q1321)
action filter_type
action find_reverse
entity Q298
relation P2695
type Q11173
[{'concept': 'Q11173'}, 'P2695', 'Q1321']
SELECT DISTINCT ?z WHERE { ?z property:P2695 resource:Q298 . ?z rdf:type ontology:Q11173 }
Chile
action filter_type
action find_reverse
entity Chile
relation type locality
type chemical compound
[{'concept': 'chemical compound'}, 'type locality', 'Spanish']
SELECT DISTINCT ?z WHERE { ?z property:type_locality resource:Chile . ?z rdf:type ontology:chemical_compound }
[]
chemical compound
Q3877379
SYSTEM
nitrobarite
Q3877379
(c(Q11173),P2695,Q1321)
action filter_type
action find_reverse
entity Q298
relation P2695
type Q11173
[ANSWER] can be found in abundance in that administrative territory
[{'concept': 'Q11173'}, 'P2695', 'Q1321']
SELECT DISTINCT ?z WHERE { ?z property:P2695 resource:Q298 . ?z rdf:type ontology:Q11173 }
nitrobarite
Nitrobarite can be found in abundance in that administrative territory
nitrobarite
action filter_type
action find_reverse
entity Chile
relation type locality
type chemical compound
[{'concept': 'chemical compound'}, 'type locality', 'Spanish']
SELECT DISTINCT ?z WHERE { ?z property:type_locality resource:Chile . ?z rdf:type ontology:chemical_compound }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2695
Q14524493 Q11173
USER
Which terrains are famous for having min number of chemical compounds ?
(c(Q11173),P2695,Q2301875)
action argmin
action find_reverse_tuple_counts
relation P2695
type Q14524493
type Q11173
[{'concept': 'Q11173'}, 'P2695', 'Q2301875']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?v ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?r ) WHERE { ?n rdf:type ontology:Q14524493 . ?h rdf:type ontology:Q11173 . ?h property:P2695 ?n } GROUP BY ?n } } . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P2695 ?j . ?j rdf:type ontology:Q14524493 . ?t rdf:type ontology:Q11173 } GROUP BY ?j } . FILTER ( ?c = ?v ) }
action argmin
action find_reverse_tuple_counts
relation type locality
type terrain
type chemical compound
[{'concept': 'chemical compound'}, 'type locality', 'Água de Pau']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?v ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?r ) WHERE { ?n rdf:type ontology:terrain . ?h rdf:type ontology:chemical_compound . ?h property:type_locality ?n } GROUP BY ?n } } . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:type_locality ?j . ?j rdf:type ontology:terrain . ?t rdf:type ontology:chemical_compound } GROUP BY ?j } . FILTER ( ?c = ?v ) }
[]
terrain chemical compound
Q1152462 Q746787 Q825347
SYSTEM
Scherbadung, Ol Doinyo Lengai, Colima
Q24273487 Q1605368 Q23768328 Q1545475 Q676736 Q184975 Q24045498 Q26267391 Q27490269 Q1152462 Q27473333 Q27070694 Q24445988 Q27490395 Q22461977 Q24035878 Q24386134 Q791652 Q23802895 Q217274 Q17088970 Q8333280 Q24067217 Q20999865 Q22454092 Q746787 Q959258 Q23839192 Q700092 Q24036116 Q2130456 Q21887662 Q825347 Q7430650 Q1948974 Q27349291 Q2168360 Q3862148 Q23835377 Q1887525 Q24071241 Q23924627 Q24035864 Q21964389 Q830766 Q662715 Q2301875
(c(Q11173),P2695,Q2301875)
action argmin
action find_reverse_tuple_counts
relation P2695
type Q14524493
type Q11173
[ANSWERS] are famous for having min number of chemical compounds
[{'concept': 'Q11173'}, 'P2695', 'Q2301875']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?v ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?r ) WHERE { ?n rdf:type ontology:Q14524493 . ?h rdf:type ontology:Q11173 . ?h property:P2695 ?n } GROUP BY ?n } } . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:P2695 ?j . ?j rdf:type ontology:Q14524493 . ?t rdf:type ontology:Q11173 } GROUP BY ?j } . FILTER ( ?c = ?v ) }
Lakargi mount Hennenkobel Loma La Peguera Greifensteine Stockhorn Hekla Trumbull peak Somma-Vesuvius complex Elgoras mount, Sal’nye Tundry Scherbadung Mount Shaheru Etna Volcanic complex Malyi Murun massif Mount Cavalluccio Pabellón de Pica Lepkhe-Nel'm mountain Rother Kopf Avachinsky Otto mountain Eldfell Sterling Hill Harrow Peaks Temple mountain Goldberg Falotta Ol Doinyo Lengai Alluaiv mount Rasvumchorr mount Hohentwiel Vuoriyarvi alkaline-ultrabasic massif The Storr Mount Painter Colima Scawt Hill Moschel mountain Mount Adamson Roter Berg Falò mount Kukisvumchorr mount Mallestiger Mittagskogel Picacho peak Selsurt mount Sengischorr mount Dome Rock Bezymianny Kondyor massif Água de Pau
Scherbadung, Ol Doinyo Lengai and Colima are famous for having min number of chemical compounds
Scherbadung Ol Doinyo Lengai Colima
action argmin
action find_reverse_tuple_counts
relation type locality
type terrain
type chemical compound
[{'concept': 'chemical compound'}, 'type locality', 'Água de Pau']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?v ) { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?r ) WHERE { ?n rdf:type ontology:terrain . ?h rdf:type ontology:chemical_compound . ?h property:type_locality ?n } GROUP BY ?n } } . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?c ) WHERE { ?t property:type_locality ?j . ?j rdf:type ontology:terrain . ?t rdf:type ontology:chemical_compound } GROUP BY ?j } . FILTER ( ?c = ?v ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17563235 Q26207101
P106 P921
Q12737077
USER
Which occupations were the main subjects of Dictionary of British cartoonists and caricaturists 's work or are the professions of Calixto Ortega ?
OR((Q26207101,P921,c(Q12737077)), (Q17563235,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q26207101
relation P921
action find
entity Q17563235
relation P106
type Q12737077
{'OR': [['Q26207101', 'P921', {'concept': 'Q12737077'}], ['Q17563235', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q26207101 property:P921 ?g } UNION { resource:Q17563235 property:P106 ?g } } . ?g rdf:type ontology:Q12737077 }
Calixto Ortega Dictionary of British cartoonists and caricaturists
action filter_type
action union
action find
entity Dictionary of British cartoonists and caricaturists
relation main subject
action find
entity Calixto Ortega
relation occupation
type occupation
{'OR': [['Dictionary of British cartoonists and caricaturists', 'main subject', {'concept': 'occupation'}], ['Calixto Ortega', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Dictionary_of_British_cartoonists_and_caricaturists property:main_subject ?g } UNION { resource:Calixto_Ortega property:occupation ?g } } . ?g rdf:type ontology:occupation }
[]
occupation
Q1114448 Q3658608 Q1028181 Q329439
SYSTEM
cartoonist, caricaturist, painter, engraver
Q1114448 Q3658608 Q1028181 Q329439
OR((Q26207101,P921,c(Q12737077)), (Q17563235,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q26207101
relation P921
action find
entity Q17563235
relation P106
type Q12737077
[ANSWERS] were the main subjects of Dictionary of British cartoonists and caricaturists 's work or are the professions of Calixto Ortega
{'OR': [['Q26207101', 'P921', {'concept': 'Q12737077'}], ['Q17563235', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q26207101 property:P921 ?g } UNION { resource:Q17563235 property:P106 ?g } } . ?g rdf:type ontology:Q12737077 }
cartoonist caricaturist painter engraver
Cartoonist, caricaturist, painter and engraver were the main subjects of Dictionary of British cartoonists and caricaturists 's work or are the professions of Calixto Ortega
cartoonist caricaturist painter engraver
action filter_type
action union
action find
entity Dictionary of British cartoonists and caricaturists
relation main subject
action find
entity Calixto Ortega
relation occupation
type occupation
{'OR': [['Dictionary of British cartoonists and caricaturists', 'main subject', {'concept': 'occupation'}], ['Calixto Ortega', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Dictionary_of_British_cartoonists_and_caricaturists property:main_subject ?g } UNION { resource:Calixto_Ortega property:occupation ?g } } . ?g rdf:type ontology:occupation }
[]