Simple Question (Direct)
Simple Question
Q6130260
P166
Q24016972
USER
What was won by James Brodie of Brodie ?
(Q6130260,P166,c(Q24016972))
action filter_type
action find
entity Q6130260
relation P166
type Q24016972
['Q6130260', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?m WHERE { resource:Q6130260 property:P166 ?m . ?m rdf:type ontology:Q24016972 }
James Brodie of Brodie
action filter_type
action find
entity James Brodie of Brodie
relation award received
type type of distinction
['James Brodie of Brodie', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?m WHERE { resource:James_Brodie_of_Brodie property:award_received ?m . ?m rdf:type ontology:type_of_distinction }
[]
type of distinction
Q15631401
SYSTEM
Fellow of the Royal Society
Q15631401
(Q6130260,P166,c(Q24016972))
action filter_type
action find
entity Q6130260
relation P166
type Q24016972
A [ANSWER] was won by James Brodie of Brodie
['Q6130260', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?m WHERE { resource:Q6130260 property:P166 ?m . ?m rdf:type ontology:Q24016972 }
Fellow of the Royal Society
A Fellow of the Royal Society was won by James Brodie of Brodie
Fellow of the Royal Society
action filter_type
action find
entity James Brodie of Brodie
relation award received
type type of distinction
['James Brodie of Brodie', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?m WHERE { resource:James_Brodie_of_Brodie property:award_received ?m . ?m rdf:type ontology:type_of_distinction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6130260
P69
Q3918
USER
Where was James Brodie of Brodie educated ?
(Q6130260,P69,c(Q3918))
action filter_type
action find
entity Q6130260
relation P69
type Q3918
['Q6130260', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3918 . resource:Q6130260 property:P69 ?p }
James Brodie of Brodie
action filter_type
action find
entity James Brodie of Brodie
relation educated at
type university
['James Brodie of Brodie', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:university . resource:James_Brodie_of_Brodie property:educated_at ?p }
[]
university
Q216273
SYSTEM
University of St Andrews
Q216273
(Q6130260,P69,c(Q3918))
action filter_type
action find
entity Q6130260
relation P69
type Q3918
James Brodie of Brodie was educated at [ANSWER]
['Q6130260', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3918 . resource:Q6130260 property:P69 ?p }
University of St Andrews
James Brodie of Brodie was educated at University of St Andrews
University of St Andrews
action filter_type
action find
entity James Brodie of Brodie
relation educated at
type university
['James Brodie of Brodie', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:university . resource:James_Brodie_of_Brodie property:educated_at ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6130260
P1412
Q34770
USER
Which language can James Brodie of Brodie read ?
(Q6130260,P1412,c(Q34770))
action filter_type
action find
entity Q6130260
relation P1412
type Q34770
['Q6130260', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q6130260 property:P1412 ?j }
James Brodie of Brodie
action filter_type
action find
entity James Brodie of Brodie
relation languages spoken, written or signed
type language
['James Brodie of Brodie', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:James_Brodie_of_Brodie property:languages_spoken,_written_or_signed ?j }
[]
language
Q1860
SYSTEM
English
Q1860
(Q6130260,P1412,c(Q34770))
action filter_type
action find
entity Q6130260
relation P1412
type Q34770
James Brodie of Brodie can read in [ANSWER]
['Q6130260', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q6130260 property:P1412 ?j }
English
James Brodie of Brodie can read in English
English
action filter_type
action find
entity James Brodie of Brodie
relation languages spoken, written or signed
type language
['James Brodie of Brodie', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:James_Brodie_of_Brodie property:languages_spoken,_written_or_signed ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3736355
Q34770
USER
And also tell me about Ezio Bartalini?
(Q3736355,P1412,c(Q34770))
action filter_type
action find
entity Q3736355
relation P1412
type Q34770
['Q3736355', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q3736355 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Ezio Bartalini
action filter_type
action find
entity Ezio Bartalini
relation languages spoken, written or signed
type language
['Ezio Bartalini', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Ezio_Bartalini property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3736355,P1412,c(Q34770))
action filter_type
action find
entity Q3736355
relation P1412
type Q34770
[ANSWER]
['Q3736355', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q3736355 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Italian
Italian
action filter_type
action find
entity Ezio Bartalini
relation languages spoken, written or signed
type language
['Ezio Bartalini', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Ezio_Bartalini property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q652
P407
Q2342494
USER
Which collectables are composed in that language ?
(c(Q2342494),P407,Q652)
action filter_type
action find_reverse
entity Q652
relation P407
type Q2342494
[{'concept': 'Q2342494'}, 'P407', 'Q652']
SELECT DISTINCT ?w WHERE { ?w property:P407 resource:Q652 . ?w rdf:type ontology:Q2342494 }
Italian
action filter_type
action find_reverse
entity Italian
relation language of work or name
type collectable
[{'concept': 'collectable'}, 'language of work or name', 'Italian']
SELECT DISTINCT ?w WHERE { ?w property:language_of_work_or_name resource:Italian . ?w rdf:type ontology:collectable }
[]
collectable
Q3563423 Q20644345 Q7742011
SYSTEM
The Three Princes of Serendip, Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner, The Informationist
Q26696290 Q20644345 Q17984031 Q3828909 Q7742011 Q3563423 Q18001681
(c(Q2342494),P407,Q652)
action filter_type
action find_reverse
entity Q652
relation P407
type Q2342494
[ANSWERS] are composed in that language
[{'concept': 'Q2342494'}, 'P407', 'Q652']
SELECT DISTINCT ?w WHERE { ?w property:P407 resource:Q652 . ?w rdf:type ontology:Q2342494 }
Orgoglio e pregiudizio (1945) Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner Le vite de i dodeci visconti che signoreggiarono Milano Le nuove musiche The Informationist The Three Princes of Serendip I Sleep in Hitler's Room
The Three Princes of Serendip, Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner and The Informationist are composed in that language
The Three Princes of Serendip Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner The Informationist
action filter_type
action find_reverse
entity Italian
relation language of work or name
type collectable
[{'concept': 'collectable'}, 'language of work or name', 'Italian']
SELECT DISTINCT ?w WHERE { ?w property:language_of_work_or_name resource:Italian . ?w rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3563423 Q20644345 Q7742011
P136
Q1792379
USER
What can be considered as category for The Three Princes of Serendip, Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner and The Informationist ?
(Q3563423,P136,c(Q1792379)) (Q20644345,P136,c(Q1792379)) (Q7742011,P136,c(Q1792379))
action union
action filter_type
action find
entity Q3563423
relation P136
type Q1792379
action filter_type
action find
entity Q20644345
relation P136
type Q1792379
action filter_type
action find
entity Q7742011
relation P136
type Q1792379
['Q3563423', 'P136', {'concept': 'Q1792379'}] ['Q20644345', 'P136', {'concept': 'Q1792379'}] ['Q7742011', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:Q1792379 . resource:Q20644345 property:P136 ?t } UNION { ?t rdf:type ontology:Q1792379 . resource:Q3563423 property:P136 ?t } }
The Three Princes of Serendip Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner The Informationist
action union
action filter_type
action find
entity The Three Princes of Serendip
relation genre
type art genre
action filter_type
action find
entity Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner
relation genre
type art genre
action filter_type
action find
entity The Informationist
relation genre
type art genre
['The Three Princes of Serendip', 'genre', {'concept': 'art genre'}] ['Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner', 'genre', {'concept': 'art genre'}] ['The Informationist', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:art_genre . resource:Additifs_alimentaires,_danger_:_le_guide_indispensable_pour_ne_plus_vous_empoisonner property:genre ?t } UNION { ?t rdf:type ontology:art_genre . resource:The_Three_Princes_of_Serendip property:genre ?t } }
[]
art genre
Q37484 Q384515 Q8261
SYSTEM
epic poem, treatise, novel
Q37484 Q384515 Q8261
(Q3563423,P136,c(Q1792379)) (Q20644345,P136,c(Q1792379)) (Q7742011,P136,c(Q1792379))
action union
action filter_type
action find
entity Q3563423
relation P136
type Q1792379
action filter_type
action find
entity Q20644345
relation P136
type Q1792379
action filter_type
action find
entity Q7742011
relation P136
type Q1792379
[ANSWERS] can be considered as category for The Three Princes of Serendip, Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner and The Informationist
['Q3563423', 'P136', {'concept': 'Q1792379'}] ['Q20644345', 'P136', {'concept': 'Q1792379'}] ['Q7742011', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:Q1792379 . resource:Q20644345 property:P136 ?t } UNION { ?t rdf:type ontology:Q1792379 . resource:Q3563423 property:P136 ?t } }
epic poem treatise novel
Epic poem, treatise and novel can be considered as category for The Three Princes of Serendip, Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner and The Informationist
epic poem treatise novel
action union
action filter_type
action find
entity The Three Princes of Serendip
relation genre
type art genre
action filter_type
action find
entity Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner
relation genre
type art genre
action filter_type
action find
entity The Informationist
relation genre
type art genre
['The Three Princes of Serendip', 'genre', {'concept': 'art genre'}] ['Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner', 'genre', {'concept': 'art genre'}] ['The Informationist', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { { ?t rdf:type ontology:art_genre . resource:Additifs_alimentaires,_danger_:_le_guide_indispensable_pour_ne_plus_vous_empoisonner property:genre ?t } UNION { ?t rdf:type ontology:art_genre . resource:The_Three_Princes_of_Serendip property:genre ?t } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3563423
P800
Q502895
USER
Who are author of that collectable ?
(c(Q502895),P800,Q3563423)
action filter_type
action find_reverse
entity Q3563423
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q3563423']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P800 resource:Q3563423 }
The Three Princes of Serendip
action filter_type
action find_reverse
entity The Three Princes of Serendip
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Three Princes of Serendip']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:notable_work resource:The_Three_Princes_of_Serendip }
[]
common name
Clarification for simple ques.
Q3563423
SYSTEM
Did you mean The Three Princes of Serendip ?
Q37484 Q384515 Q8261
(c(Q502895),P800,Q37484) (c(Q502895),P800,Q384515) (c(Q502895),P800,Q8261)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q37484'] [{'concept': 'Q502895'}, 'P800', 'Q384515'] [{'concept': 'Q502895'}, 'P800', 'Q8261']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P800 resource:Q3563423 }
epic poem treatise novel
Did you mean The Three Princes of Serendip ?
The Three Princes of Serendip
[{'concept': 'common name'}, 'notable work', 'epic poem'] [{'concept': 'common name'}, 'notable work', 'treatise'] [{'concept': 'common name'}, 'notable work', 'novel']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:notable_work resource:The_Three_Princes_of_Serendip }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P800,Q3563423)
[{'concept': 'Q502895'}, 'P800', 'Q3563423']
[{'concept': 'common name'}, 'notable work', 'The Three Princes of Serendip']
[]
Q3002899 Q19291619
SYSTEM
Cristoforo Armeno, Michele Tramezzino
Q3002899 Q19291619
(c(Q502895),P800,Q3563423)
action filter_type
action find_reverse
entity Q3563423
relation P800
type Q502895
[ANSWERS] are author of that collectable
[{'concept': 'Q502895'}, 'P800', 'Q3563423']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P800 resource:Q3563423 }
Cristoforo Armeno Michele Tramezzino
Cristoforo Armeno and Michele Tramezzino are author of that collectable
Cristoforo Armeno Michele Tramezzino
action filter_type
action find_reverse
entity The Three Princes of Serendip
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Three Princes of Serendip']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:notable_work resource:The_Three_Princes_of_Serendip }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15711810 Q3563423
P123 P7
Q502895
USER
Which people released The Three Princes of Serendip or have Algernon Sidney Bicknell as their sibling ?
OR((Q3563423,P123,c(Q502895)), (Q15711810,P7,c(Q502895)))
action filter_type
action union
action find
entity Q3563423
relation P123
action find
entity Q15711810
relation P7
type Q502895
{'OR': [['Q3563423', 'P123', {'concept': 'Q502895'}], ['Q15711810', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3563423 property:P123 ?j } UNION { resource:Q15711810 property:P7 ?j } } . ?j rdf:type ontology:Q502895 }
Algernon Sidney Bicknell The Three Princes of Serendip
action filter_type
action union
action find
entity The Three Princes of Serendip
relation publisher
action find
entity Algernon Sidney Bicknell
relation brother
type common name
{'OR': [['The Three Princes of Serendip', 'publisher', {'concept': 'common name'}], ['Algernon Sidney Bicknell', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:The_Three_Princes_of_Serendip property:publisher ?j } UNION { resource:Algernon_Sidney_Bicknell property:brother ?j } } . ?j rdf:type ontology:common_name }
[]
common name
Q5739562 Q19291619 Q890698
SYSTEM
Herman Bicknell, Michele Tramezzino, Clarence Bicknell
Q5739562 Q19291619 Q890698
OR((Q3563423,P123,c(Q502895)), (Q15711810,P7,c(Q502895)))
action filter_type
action union
action find
entity Q3563423
relation P123
action find
entity Q15711810
relation P7
type Q502895
[ANSWERS] released The Three Princes of Serendip or have Algernon Sidney Bicknell as their sibling
{'OR': [['Q3563423', 'P123', {'concept': 'Q502895'}], ['Q15711810', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3563423 property:P123 ?j } UNION { resource:Q15711810 property:P7 ?j } } . ?j rdf:type ontology:Q502895 }
Herman Bicknell Michele Tramezzino Clarence Bicknell
Herman Bicknell, Michele Tramezzino and Clarence Bicknell released The Three Princes of Serendip or have Algernon Sidney Bicknell as their sibling
Herman Bicknell Michele Tramezzino Clarence Bicknell
action filter_type
action union
action find
entity The Three Princes of Serendip
relation publisher
action find
entity Algernon Sidney Bicknell
relation brother
type common name
{'OR': [['The Three Princes of Serendip', 'publisher', {'concept': 'common name'}], ['Algernon Sidney Bicknell', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:The_Three_Princes_of_Serendip property:publisher ?j } UNION { resource:Algernon_Sidney_Bicknell property:brother ?j } } . ?j rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2961324 Q20644345
P495
Q15617994
USER
Which administrative territories are the countries of origin of Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner or Chase ?
OR((Q20644345,P495,c(Q15617994)), (Q2961324,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q20644345
relation P495
action find
entity Q2961324
relation P495
type Q15617994
{'OR': [['Q20644345', 'P495', {'concept': 'Q15617994'}], ['Q2961324', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?j ) { ( resource:Q20644345 ) ( resource:Q2961324 ) } . ?j property:P495 ?k } . ?k rdf:type ontology:Q15617994 }
Chase Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner
action filter_type
action union
action find
entity Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner
relation country of origin
action find
entity Chase
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Chase', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?j ) { ( resource:Additifs_alimentaires,_danger_:_le_guide_indispensable_pour_ne_plus_vous_empoisonner ) ( resource:Chase ) } . ?j property:country_of_origin ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q20644345,P495,c(Q15617994)), (Q2961324,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q20644345
relation P495
action find
entity Q2961324
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner or Chase
{'OR': [['Q20644345', 'P495', {'concept': 'Q15617994'}], ['Q2961324', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?j ) { ( resource:Q20644345 ) ( resource:Q2961324 ) } . ?j property:P495 ?k } . ?k rdf:type ontology:Q15617994 }
France Italy
France and Italy are the countries of origin of Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner or Chase
France Italy
action filter_type
action union
action find
entity Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner
relation country of origin
action find
entity Chase
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Additifs alimentaires, danger : le guide indispensable pour ne plus vous empoisonner', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Chase', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?j ) { ( resource:Additifs_alimentaires,_danger_:_le_guide_indispensable_pour_ne_plus_vous_empoisonner ) ( resource:Chase ) } . ?j property:country_of_origin ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2961324
P495
Q15617994
USER
How many administrative territories are the countries of origin of Chase ?
(Q2961324,P495,c(Q15617994))
action count
action filter_type
action find
entity Q2961324
relation P495
type Q15617994
['Q2961324', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q2961324 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
Chase
action count
action filter_type
action find
entity Chase
relation country of origin
type designation for an administrative territorial entity
['Chase', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Chase property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q2961324,P495,c(Q15617994))
action count
action filter_type
action find
entity Q2961324
relation P495
type Q15617994
[ANSWER]
['Q2961324', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q2961324 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Chase
relation country of origin
type designation for an administrative territorial entity
['Chase', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Chase property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2961324
P86
Q502895
USER
Who was that release composed by ?
action filter_type
action find
entity Q2961324
relation P86
type Q502895
SELECT DISTINCT ?v WHERE { resource:Q2961324 property:P86 ?v . ?v rdf:type ontology:Q502895 }
Chase
action filter_type
action find
entity Chase
relation composer
type common name
SELECT DISTINCT ?v WHERE { resource:Chase property:composer ?v . ?v rdf:type ontology:common_name }
[]
common name
Q312674
SYSTEM
Giorgio Moroder
Q312674
action filter_type
action find
entity Q2961324
relation P86
type Q502895
By that release was composed by [ANSWER]
SELECT DISTINCT ?v WHERE { resource:Q2961324 property:P86 ?v . ?v rdf:type ontology:Q502895 }
Giorgio Moroder
By that release was composed by Giorgio Moroder
Giorgio Moroder
action filter_type
action find
entity Chase
relation composer
type common name
SELECT DISTINCT ?v WHERE { resource:Chase property:composer ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q56061 Q12737077 Q1792379
USER
Which art genres express max number of administrative territories or occupations ?
(c(Q1792379),P180,c(Q56061)|c(Q12737077))
action argmax
action union
action find_tuple_counts
relation P180
type Q1792379
type Q56061
action find_tuple_counts
relation P180
type Q1792379
type Q12737077
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q56061'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?d ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?i ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } . ?t rdf:type ?i } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?p ) WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } } GROUP BY ?a } . FILTER ( ?p = ?d ) }
action argmax
action union
action find_tuple_counts
relation depicts
type art genre
type administrative territorial entity
action find_tuple_counts
relation depicts
type art genre
type occupation
[{'concept': 'art genre'}, 'depicts', [{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?d ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?i ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } . ?t rdf:type ?i } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?p ) WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } } GROUP BY ?a } . FILTER ( ?p = ?d ) }
[]
administrative territorial entity occupation art genre
Q26267230 Q22915045 Q3362398
SYSTEM
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer), Zinc sculptures of the Pori town hall, Panorama du Caire
Q26267230 Q3362398 Q22915045 Q659396
(c(Q1792379),P180,c(Q56061)|c(Q12737077))
action argmax
action union
action find_tuple_counts
relation P180
type Q1792379
type Q56061
action find_tuple_counts
relation P180
type Q1792379
type Q12737077
[ANSWERS] express max number of administrative territories or occupations
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q56061'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?d ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?i ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } . ?t rdf:type ?i } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?p ) WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q56061 ) ( ontology:Q12737077 ) } } GROUP BY ?a } . FILTER ( ?p = ?d ) }
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Panorama du Caire Zinc sculptures of the Pori town hall equestrian statue
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer), Zinc sculptures of the Pori town hall and Panorama du Caire express max number of administrative territories or occupations
Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Zinc sculptures of the Pori town hall Panorama du Caire
action argmax
action union
action find_tuple_counts
relation depicts
type art genre
type administrative territorial entity
action find_tuple_counts
relation depicts
type art genre
type occupation
[{'concept': 'art genre'}, 'depicts', [{'concept': 'administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?e ) AS ?d ) { SELECT DISTINCT ?q ( COUNT ( ?t ) AS ?e ) WHERE { VALUES ( ?i ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } . ?t rdf:type ?i } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?b ) AS ?p ) WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:administrative_territorial_entity ) ( ontology:occupation ) } } GROUP BY ?a } . FILTER ( ?p = ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19913757 Q26267230
P195
Q33506
USER
Which museums contain Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) or Portrait of a Man in it ?
OR((Q26267230,P195,c(Q33506)), (Q19913757,P195,c(Q33506)))
action filter_type
action union
action find
entity Q26267230
relation P195
action find
entity Q19913757
relation P195
type Q33506
{'OR': [['Q26267230', 'P195', {'concept': 'Q33506'}], ['Q19913757', 'P195', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?p ) { ( resource:Q26267230 ) ( resource:Q19913757 ) } . ?p property:P195 ?z } . ?z rdf:type ontology:Q33506 }
Portrait of a Man Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)
action filter_type
action union
action find
entity Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)
relation collection
action find
entity Portrait of a Man
relation collection
type museum
{'OR': [['Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)', 'collection', {'concept': 'museum'}], ['Portrait of a Man', 'collection', {'concept': 'museum'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?p ) { ( resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) ) ( resource:Portrait_of_a_Man ) } . ?p property:collection ?z } . ?z rdf:type ontology:museum }
[]
museum
Q2988142 Q160236
SYSTEM
Halle Gate, Metropolitan Museum of Art
Q2988142 Q160236
OR((Q26267230,P195,c(Q33506)), (Q19913757,P195,c(Q33506)))
action filter_type
action union
action find
entity Q26267230
relation P195
action find
entity Q19913757
relation P195
type Q33506
[ANSWERS] contain Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) or Portrait of a Man in it
{'OR': [['Q26267230', 'P195', {'concept': 'Q33506'}], ['Q19913757', 'P195', {'concept': 'Q33506'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?p ) { ( resource:Q26267230 ) ( resource:Q19913757 ) } . ?p property:P195 ?z } . ?z rdf:type ontology:Q33506 }
Halle Gate Metropolitan Museum of Art
Halle Gate and Metropolitan Museum of Art contain Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) or Portrait of a Man in it
Halle Gate Metropolitan Museum of Art
action filter_type
action union
action find
entity Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)
relation collection
action find
entity Portrait of a Man
relation collection
type museum
{'OR': [['Portrait of a king of marksmen (presumably Jacobus Albertus de Backer)', 'collection', {'concept': 'museum'}], ['Portrait of a Man', 'collection', {'concept': 'museum'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?p ) { ( resource:Portrait_of_a_king_of_marksmen_(presumably_Jacobus_Albertus_de_Backer) ) ( resource:Portrait_of_a_Man ) } . ?p property:collection ?z } . ?z rdf:type ontology:museum }
[]