Simple Question (Direct)
Simple Question
Q1123315
P937
Q56061
USER
What is the location where Wolfgang Kraus worked ?
(Q1123315,P937,c(Q56061))
action filter_type
action find
entity Q1123315
relation P937
type Q56061
['Q1123315', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1123315 property:P937 ?t . ?t rdf:type ontology:Q56061 }
Wolfgang Kraus
action filter_type
action find
entity Wolfgang Kraus
relation work location
type administrative territorial entity
['Wolfgang Kraus', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Wolfgang_Kraus property:work_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q1123315,P937,c(Q56061))
action filter_type
action find
entity Q1123315
relation P937
type Q56061
The location Wolfgang Kraus worked is in [ANSWER]
['Q1123315', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1123315 property:P937 ?t . ?t rdf:type ontology:Q56061 }
Vienna
The location Wolfgang Kraus worked is in Vienna
Vienna
action filter_type
action find
entity Wolfgang Kraus
relation work location
type administrative territorial entity
['Wolfgang Kraus', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Wolfgang_Kraus property:work_location ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1123315
P106
Q12737077
USER
What are the professions of that person ?
(Q1741,P106,c(Q12737077))
action filter_type
action find
entity Q1123315
relation P106
type Q12737077
['Q1741', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1123315 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Wolfgang Kraus
action filter_type
action find
entity Wolfgang Kraus
relation occupation
type occupation
['Vienna', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Wolfgang_Kraus property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q4263842 Q15980158 Q2722764
SYSTEM
literary critic, non-fiction writer, radio personality
Q4263842 Q15980158 Q2722764 Q36180
(Q1741,P106,c(Q12737077))
action filter_type
action find
entity Q1123315
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q1741', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1123315 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
literary critic non-fiction writer radio personality writer
The professions of that person are literary critic, non-fiction writer and radio personality
literary critic non-fiction writer radio personality
action filter_type
action find
entity Wolfgang Kraus
relation occupation
type occupation
['Vienna', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Wolfgang_Kraus property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q279286 Q1123315
P840 P19
Q56061
USER
Which administrative territories were Wolfgang Kraus born at or are the narrative locations of Dr. Goldfoot and the Bikini Machine ?
OR((Q1123315,P19,c(Q56061)), (Q279286,P840,c(Q56061)))
action filter_type
action union
action find
entity Q1123315
relation P19
action find
entity Q279286
relation P840
type Q56061
{'OR': [['Q1123315', 'P19', {'concept': 'Q56061'}], ['Q279286', 'P840', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . { { resource:Q1123315 property:P19 ?g } UNION { resource:Q279286 property:P840 ?g } } }
Dr. Goldfoot and the Bikini Machine Wolfgang Kraus
action filter_type
action union
action find
entity Wolfgang Kraus
relation place of birth
action find
entity Dr. Goldfoot and the Bikini Machine
relation narrative location
type administrative territorial entity
{'OR': [['Wolfgang Kraus', 'place of birth', {'concept': 'administrative territorial entity'}], ['Dr. Goldfoot and the Bikini Machine', 'narrative location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . { { resource:Wolfgang_Kraus property:place_of_birth ?g } UNION { resource:Dr._Goldfoot_and_the_Bikini_Machine property:narrative_location ?g } } }
[]
administrative territorial entity
Q1741 Q62
SYSTEM
Vienna, San Francisco
Q1741 Q62
OR((Q1123315,P19,c(Q56061)), (Q279286,P840,c(Q56061)))
action filter_type
action union
action find
entity Q1123315
relation P19
action find
entity Q279286
relation P840
type Q56061
[ANSWERS]
{'OR': [['Q1123315', 'P19', {'concept': 'Q56061'}], ['Q279286', 'P840', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . { { resource:Q1123315 property:P19 ?g } UNION { resource:Q279286 property:P840 ?g } } }
Vienna San Francisco
Which administrative territories were Wolfgang Kraus born at or are the narrative locations of Dr. Goldfoot and the Bikini Machine
Vienna San Francisco
action filter_type
action union
action find
entity Wolfgang Kraus
relation place of birth
action find
entity Dr. Goldfoot and the Bikini Machine
relation narrative location
type administrative territorial entity
{'OR': [['Wolfgang Kraus', 'place of birth', {'concept': 'administrative territorial entity'}], ['Dr. Goldfoot and the Bikini Machine', 'narrative location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . { { resource:Wolfgang_Kraus property:place_of_birth ?g } UNION { resource:Dr._Goldfoot_and_the_Bikini_Machine property:narrative_location ?g } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18414523
P840
Q838948
USER
Do President Haudecoeur have their setting located at those administrative territories ?
(Q18414523,P840,Q1741) (Q18414523,P840,Q62)
action is_in
entity prev_answer
action find
entity Q18414523
relation P840
['Q18414523', 'P840', 'Q1741'] ['Q18414523', 'P840', 'Q62']
ASK WHERE { resource:Q18414523 property:P840 ?j . VALUES ( ?j ) { ( resource:Q1741 ) ( resource:Q62 ) } }
President Haudecoeur
action is_in
entity prev_answer
action find
entity President Haudecoeur
relation narrative location
['President Haudecoeur', 'narrative location', 'Vienna'] ['President Haudecoeur', 'narrative location', 'San Francisco']
ASK WHERE { resource:President_Haudecoeur property:narrative_location ?j . VALUES ( ?j ) { ( resource:Vienna ) ( resource:San_Francisco ) } }
[]
work of art
SYSTEM
NO
(Q18414523,P840,Q1741) (Q18414523,P840,Q62)
action is_in
entity prev_answer
action find
entity Q18414523
relation P840
[ANSWER]
['Q18414523', 'P840', 'Q1741'] ['Q18414523', 'P840', 'Q62']
ASK WHERE { resource:Q18414523 property:P840 ?j . VALUES ( ?j ) { ( resource:Q1741 ) ( resource:Q62 ) } }
No
action is_in
entity prev_answer
action find
entity President Haudecoeur
relation narrative location
['President Haudecoeur', 'narrative location', 'Vienna'] ['President Haudecoeur', 'narrative location', 'San Francisco']
ASK WHERE { resource:President_Haudecoeur property:narrative_location ?j . VALUES ( ?j ) { ( resource:Vienna ) ( resource:San_Francisco ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18414523
P462
Q1075
USER
Which color is associated with that work of art ?
action filter_type
action find
entity Q18414523
relation P462
type Q1075
SELECT DISTINCT ?l WHERE { resource:Q18414523 property:P462 ?l . ?l rdf:type ontology:Q1075 }
President Haudecoeur
action filter_type
action find
entity President Haudecoeur
relation color
type color
SELECT DISTINCT ?l WHERE { resource:President_Haudecoeur property:color ?l . ?l rdf:type ontology:color }
[]
color
Q2254548
SYSTEM
black-and-white film
Q2254548
action filter_type
action find
entity Q18414523
relation P462
type Q1075
[ANSWER] is associated with that work of art
SELECT DISTINCT ?l WHERE { resource:Q18414523 property:P462 ?l . ?l rdf:type ontology:Q1075 }
black-and-white film
Black-and-white film is associated with that work of art
black-and-white film
action filter_type
action find
entity President Haudecoeur
relation color
type color
SELECT DISTINCT ?l WHERE { resource:President_Haudecoeur property:color ?l . ?l rdf:type ontology:color }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21578719 Q18414523
P710 P161
Q502895
USER
Which people were casted in President Haudecoeur or were the artist who participated in 2015 Colorado Springs shooting ?
OR((Q18414523,P161,c(Q502895)), (Q21578719,P710,c(Q502895)))
action filter_type
action union
action find
entity Q18414523
relation P161
action find
entity Q21578719
relation P710
type Q502895
{'OR': [['Q18414523', 'P161', {'concept': 'Q502895'}], ['Q21578719', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q18414523 property:P161 ?n } UNION { resource:Q21578719 property:P710 ?n } } . ?n rdf:type ontology:Q502895 }
2015 Colorado Springs shooting President Haudecoeur
action filter_type
action union
action find
entity President Haudecoeur
relation cast member
action find
entity 2015 Colorado Springs shooting
relation participant
type common name
{'OR': [['President Haudecoeur', 'cast member', {'concept': 'common name'}], ['2015 Colorado Springs shooting', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:President_Haudecoeur property:cast_member ?n } UNION { resource:2015_Colorado_Springs_shooting property:participant ?n } } . ?n rdf:type ontology:common_name }
[]
common name
Q3176143 Q2848366 Q3174753 Q2900267 Q3289216 Q1508842 Q3290696 Q3436087 Q21584805 Q552063
SYSTEM
Jeanne Provost, André Numès Fils, Jean Témerson, Betty Stockfeld, Marcel Maupi, Georges Chamarat, Marguerite Deval, Robert Pizani, Robert Lewis Dear, Harry Baur
Q3176143 Q2848366 Q3174753 Q2900267 Q3289216 Q1508842 Q3290696 Q3436087 Q21584805 Q552063
OR((Q18414523,P161,c(Q502895)), (Q21578719,P710,c(Q502895)))
action filter_type
action union
action find
entity Q18414523
relation P161
action find
entity Q21578719
relation P710
type Q502895
[ANSWERS] were casted in President Haudecoeur or were the artist who participated in 2015 Colorado Springs shooting
{'OR': [['Q18414523', 'P161', {'concept': 'Q502895'}], ['Q21578719', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q18414523 property:P161 ?n } UNION { resource:Q21578719 property:P710 ?n } } . ?n rdf:type ontology:Q502895 }
Jeanne Provost André Numès Fils Jean Témerson Betty Stockfeld Marcel Maupi Georges Chamarat Marguerite Deval Robert Pizani Robert Lewis Dear Harry Baur
Jeanne Provost, André Numès Fils, Jean Témerson, Betty Stockfeld, Marcel Maupi, Georges Chamarat, Marguerite Deval, Robert Pizani, Robert Lewis Dear and Harry Baur were casted in President Haudecoeur or were the artist who participated in 2015 Colorado Springs shooting
Jeanne Provost André Numès Fils Jean Témerson Betty Stockfeld Marcel Maupi Georges Chamarat Marguerite Deval Robert Pizani Robert Lewis Dear Harry Baur
action filter_type
action union
action find
entity President Haudecoeur
relation cast member
action find
entity 2015 Colorado Springs shooting
relation participant
type common name
{'OR': [['President Haudecoeur', 'cast member', {'concept': 'common name'}], ['2015 Colorado Springs shooting', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?n WHERE { { { resource:President_Haudecoeur property:cast_member ?n } UNION { resource:2015_Colorado_Springs_shooting property:participant ?n } } . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 60 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 60
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?m <= 60 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 60
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?m <= 60 ) }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 60
[ANSWERS] can atmost 60 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:P1303 ?o . ?o rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?o } . FILTER ( ?m <= 60 ) }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar drum Kayamb Paraguayan harp
Davul, Wurlitzer electric piano and Bendir can atmost 60 people perform with
davul Wurlitzer electric piano Bendir
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 60
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:instrument ?o . ?o rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?o } . FILTER ( ?m <= 60 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3176143 Q955314
P27
Q15617994
USER
How many administrative territories are the native countriesof Jeanne Provost or Flag of Artigas ?
(Q3176143,P27,c(Q15617994)) (Q955314,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q3176143
relation P27
type Q15617994
action filter_type
action find
entity Q955314
relation P27
type Q15617994
['Q3176143', 'P27', {'concept': 'Q15617994'}] ['Q955314', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?y property:P27 ?n . VALUES ( ?y ) { ( resource:Q3176143 ) ( resource:Q955314 ) } }
Jeanne Provost Flag of Artigas
action count
action union
action filter_type
action find
entity Jeanne Provost
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Flag of Artigas
relation country of citizenship
type designation for an administrative territorial entity
['Jeanne Provost', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Flag of Artigas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?y property:country_of_citizenship ?n . VALUES ( ?y ) { ( resource:Jeanne_Provost ) ( resource:Flag_of_Artigas ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q142 Q77
(Q3176143,P27,c(Q15617994)) (Q955314,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q3176143
relation P27
type Q15617994
action filter_type
action find
entity Q955314
relation P27
type Q15617994
[ANSWER]
['Q3176143', 'P27', {'concept': 'Q15617994'}] ['Q955314', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?y property:P27 ?n . VALUES ( ?y ) { ( resource:Q3176143 ) ( resource:Q955314 ) } }
France Uruguay
2
action count
action union
action filter_type
action find
entity Jeanne Provost
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Flag of Artigas
relation country of citizenship
type designation for an administrative territorial entity
['Jeanne Provost', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Flag of Artigas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { ?y property:country_of_citizenship ?n . VALUES ( ?y ) { ( resource:Jeanne_Provost ) ( resource:Flag_of_Artigas ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q19913961
P180
Q34379 Q3305213
USER
Which paintings depict more number of musical instruments than Napoléon I (1769–1821) on Horseback ?
(c(Q3305213),P180,c(Q34379))
action greater
action find_tuple_counts
relation P180
type Q3305213
type Q34379
action count
action filter_type
action find
entity Q19913961
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?p ) WHERE { ?d rdf:type ontology:Q3305213 . ?x rdf:type ontology:Q34379 . ?d property:P180 ?x } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q19913961 property:P180 ?l . ?l rdf:type ontology:Q3305213 } } . FILTER ( ?p > ?n ) }
Napoléon I (1769–1821) on Horseback
action greater
action find_tuple_counts
relation depicts
type painting
type musical instrument
action count
action filter_type
action find
entity Napoléon I (1769–1821) on Horseback
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?p ) WHERE { ?d rdf:type ontology:painting . ?x rdf:type ontology:musical_instrument . ?d property:depicts ?x } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Napoléon_I_(1769–1821)_on_Horseback property:depicts ?l . ?l rdf:type ontology:painting } } . FILTER ( ?p > ?n ) }
[]
musical instrument painting
Q25540861 Q22570045 Q17189257
SYSTEM
L'Ouïe, Picture clock with Alster panorama, Brita at the Piano
Q22570045 Q24090417 Q20081287 Q25540861 Q17189257 Q26972426
(c(Q3305213),P180,c(Q34379))
action greater
action find_tuple_counts
relation P180
type Q3305213
type Q34379
action count
action filter_type
action find
entity Q19913961
relation P180
type Q3305213
[ANSWERS] depict more number of musical instruments than Napoléon I (1769–1821) on Horseback
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?p ) WHERE { ?d rdf:type ontology:Q3305213 . ?x rdf:type ontology:Q34379 . ?d property:P180 ?x } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q19913961 property:P180 ?l . ?l rdf:type ontology:Q3305213 } } . FILTER ( ?p > ?n ) }
Picture clock with Alster panorama Sleep that knits up the ravell'd sleeve of care The Sideboard L'Ouïe Brita at the Piano Architectural Fantasy in the Style of Pompeii
L'Ouïe, Picture clock with Alster panorama and Brita at the Piano depict more number of musical instruments than Napoléon I (1769–1821) on Horseback
L'Ouïe Picture clock with Alster panorama Brita at the Piano
action greater
action find_tuple_counts
relation depicts
type painting
type musical instrument
action count
action filter_type
action find
entity Napoléon I (1769–1821) on Horseback
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?p ) WHERE { ?d rdf:type ontology:painting . ?x rdf:type ontology:musical_instrument . ?d property:depicts ?x } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Napoléon_I_(1769–1821)_on_Horseback property:depicts ?l . ?l rdf:type ontology:painting } } . FILTER ( ?p > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q128910
P180
Q34379 Q3305213
USER
And what about The Last Supper?
(c(Q3305213),P180,c(Q34379))
action greater
action find_tuple_counts
relation P180
type Q3305213
type Q34379
action count
action filter_type
action find
entity Q128910
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?x ) WHERE { ?v property:P180 ?g . ?v rdf:type ontology:Q3305213 . ?g rdf:type ontology:Q34379 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q128910 property:P180 ?o . ?o rdf:type ontology:Q3305213 } } . FILTER ( ?x > ?y ) }
The Last Supper
action greater
action find_tuple_counts
relation depicts
type painting
type musical instrument
action count
action filter_type
action find
entity The Last Supper
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?x ) WHERE { ?v property:depicts ?g . ?v rdf:type ontology:painting . ?g rdf:type ontology:musical_instrument } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:The_Last_Supper property:depicts ?o . ?o rdf:type ontology:painting } } . FILTER ( ?x > ?y ) }
[]
musical instrument painting
Q25540861 Q22570045 Q17189257
SYSTEM
L'Ouïe, Picture clock with Alster panorama, Brita at the Piano
Q22570045 Q24090417 Q20081287 Q25540861 Q17189257 Q26972426
(c(Q3305213),P180,c(Q34379))
action greater
action find_tuple_counts
relation P180
type Q3305213
type Q34379
action count
action filter_type
action find
entity Q128910
relation P180
type Q3305213
[ANSWERS]
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?x ) WHERE { ?v property:P180 ?g . ?v rdf:type ontology:Q3305213 . ?g rdf:type ontology:Q34379 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q128910 property:P180 ?o . ?o rdf:type ontology:Q3305213 } } . FILTER ( ?x > ?y ) }
Picture clock with Alster panorama Sleep that knits up the ravell'd sleeve of care The Sideboard L'Ouïe Brita at the Piano Architectural Fantasy in the Style of Pompeii
L'Ouïe Picture clock with Alster panorama Brita at the Piano
action greater
action find_tuple_counts
relation depicts
type painting
type musical instrument
action count
action filter_type
action find
entity The Last Supper
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?g ) AS ?x ) WHERE { ?v property:depicts ?g . ?v rdf:type ontology:painting . ?g rdf:type ontology:musical_instrument } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:The_Last_Supper property:depicts ?o . ?o rdf:type ontology:painting } } . FILTER ( ?x > ?y ) }
[]