Simple Question (Direct)
Simple Question
Q1633377
P54
Q12973014
USER
Which sports team is Željko Zagorac a member of ?
(Q1633377,P54,c(Q12973014))
action filter_type
action find
entity Q1633377
relation P54
type Q12973014
['Q1633377', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?f WHERE { resource:Q1633377 property:P54 ?f . ?f rdf:type ontology:Q12973014 }
Željko Zagorac
action filter_type
action find
entity Željko Zagorac
relation member of sports team
type sports team
['Željko Zagorac', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?f WHERE { resource:Željko_Zagorac property:member_of_sports_team ?f . ?f rdf:type ontology:sports_team }
[]
sports team
Q1516624
SYSTEM
KD Slovan
Q1516624
(Q1633377,P54,c(Q12973014))
action filter_type
action find
entity Q1633377
relation P54
type Q12973014
[ANSWER] is Željko Zagorac a member of
['Q1633377', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?f WHERE { resource:Q1633377 property:P54 ?f . ?f rdf:type ontology:Q12973014 }
KD Slovan
KD Slovan is Željko Zagorac a member of
KD Slovan
action filter_type
action find
entity Željko Zagorac
relation member of sports team
type sports team
['Željko Zagorac', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?f WHERE { resource:Željko_Zagorac property:member_of_sports_team ?f . ?f rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1516624
P641
Q349
USER
Which sport did that sports team participate in ?
(Q1516624,P641,c(Q349))
action filter_type
action find
entity Q1516624
relation P641
type Q349
['Q1516624', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q1516624 property:P641 ?v }
KD Slovan
action filter_type
action find
entity KD Slovan
relation sport
type sport
['KD Slovan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:KD_Slovan property:sport ?v }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q1516624,P641,c(Q349))
action filter_type
action find
entity Q1516624
relation P641
type Q349
That sports team participated in [ANSWER]
['Q1516624', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q1516624 property:P641 ?v }
basketball
That sports team participated in basketball
basketball
action filter_type
action find
entity KD Slovan
relation sport
type sport
['KD Slovan', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:KD_Slovan property:sport ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q5372
P2416
Q618123 Q502895
USER
How many geographical objects and people were a contestant in basketball ?
(c(Q618123),P2416,Q5372) (c(Q502895),P2416,Q5372)
action count
action union
action filter_type
action find_reverse
entity Q5372
relation P2416
type Q618123
action filter_type
action find_reverse
entity Q5372
relation P2416
type Q502895
[{'concept': 'Q618123'}, 'P2416', 'Q5372'] [{'concept': 'Q502895'}, 'P2416', 'Q5372']
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ?r . VALUES ( ?r ) { ( ontology:Q618123 ) ( ontology:Q502895 ) } }
basketball
action count
action union
action filter_type
action find_reverse
entity basketball
relation sports discipline competed in
type geographical object
action filter_type
action find_reverse
entity basketball
relation sports discipline competed in
type common name
[{'concept': 'geographical object'}, 'sports discipline competed in', 'basketball'] [{'concept': 'common name'}, 'sports discipline competed in', 'basketball']
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ?r . VALUES ( ?r ) { ( ontology:geographical_object ) ( ontology:common_name ) } }
[]
geographical object common name
SYSTEM
1 geographical objects and 2 people
Q12307889 Q12898550 Q5279077
(c(Q618123),P2416,Q5372) (c(Q502895),P2416,Q5372)
action count
action union
action filter_type
action find_reverse
entity Q5372
relation P2416
type Q618123
action filter_type
action find_reverse
entity Q5372
relation P2416
type Q502895
[ANSWER]
[{'concept': 'Q618123'}, 'P2416', 'Q5372'] [{'concept': 'Q502895'}, 'P2416', 'Q5372']
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ?r . VALUES ( ?r ) { ( ontology:Q618123 ) ( ontology:Q502895 ) } }
De Studerendes Idræt Odense Cecilia Vázquez Kim Williams
1 geographical objects and 2 people
action count
action union
action filter_type
action find_reverse
entity basketball
relation sports discipline competed in
type geographical object
action filter_type
action find_reverse
entity basketball
relation sports discipline competed in
type common name
[{'concept': 'geographical object'}, 'sports discipline competed in', 'basketball'] [{'concept': 'common name'}, 'sports discipline competed in', 'basketball']
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { ?l rdf:type ?r . VALUES ( ?r ) { ( ontology:geographical_object ) ( ontology:common_name ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q476300 Q618123 Q12973014
USER
How many sports teams are a component of approximately 1 competitions or geographical objects ?
(c(Q12973014),P361,c(Q476300)|c(Q618123))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q12973014
type Q476300
action find_tuple_counts
relation P361
type Q12973014
type Q618123
value 1
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q476300'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?z ) WHERE { { ?e property:P361 ?o . ?e rdf:type ontology:Q12973014 . ?o rdf:type ontology:Q476300 } UNION { ?e property:P361 ?o . ?e rdf:type ontology:Q12973014 . ?o rdf:type ontology:Q618123 } } GROUP BY ?e } . FILTER ( ?z = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type sports team
type competition
action find_tuple_counts
relation part of
type sports team
type geographical object
value 1
[{'concept': 'sports team'}, 'part of', [{'concept': 'competition'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?z ) WHERE { { ?e property:part_of ?o . ?e rdf:type ontology:sports_team . ?o rdf:type ontology:competition } UNION { ?e property:part_of ?o . ?e rdf:type ontology:sports_team . ?o rdf:type ontology:geographical_object } } GROUP BY ?e } . FILTER ( ?z = 1 ) }
[]
competition geographical object sports team
SYSTEM
16
Q17098475 Q16683843 Q18125078 Q8383824 Q2449917 Q2443717 Q847701 Q2819480 Q1635382 Q949399 Q18704184 Q2049524 Q23760224 Q3365302 Q922432 Q18343671
(c(Q12973014),P361,c(Q476300)|c(Q618123))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q12973014
type Q476300
action find_tuple_counts
relation P361
type Q12973014
type Q618123
value 1
[ANSWER]
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q476300'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?z ) WHERE { { ?e property:P361 ?o . ?e rdf:type ontology:Q12973014 . ?o rdf:type ontology:Q476300 } UNION { ?e property:P361 ?o . ?e rdf:type ontology:Q12973014 . ?o rdf:type ontology:Q618123 } } GROUP BY ?e } . FILTER ( ?z = 1 ) }
RK Mornar Bar ZMC Amicitia Zürich Germany at the 2016 Summer Paralympics Aris Thessaloniki B.C. Tranås AIF Hockey KK Mornar Bar Olympiacos B.C. ASUL Vaulx-en-Velin Legia Warszawa Legia Warsaw Karlsruher SC II Panionios B.C. New York Athletic Club Paris Université Club Olympiacos Water Polo Club Melli Haffari Ahvaz Basketball Club
16
action count
action approx
action union
action find_tuple_counts
relation part of
type sports team
type competition
action find_tuple_counts
relation part of
type sports team
type geographical object
value 1
[{'concept': 'sports team'}, 'part of', [{'concept': 'competition'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?z ) WHERE { { ?e property:part_of ?o . ?e rdf:type ontology:sports_team . ?o rdf:type ontology:competition } UNION { ?e property:part_of ?o . ?e rdf:type ontology:sports_team . ?o rdf:type ontology:geographical_object } } GROUP BY ?e } . FILTER ( ?z = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6004276 Q1633377
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Željko Zagorac or María Mardones ?
OR((Q1633377,P27,c(Q15617994)), (Q6004276,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1633377
relation P27
action find
entity Q6004276
relation P27
type Q15617994
{'OR': [['Q1633377', 'P27', {'concept': 'Q15617994'}], ['Q6004276', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q1633377 property:P27 ?z } UNION { resource:Q6004276 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
María Mardones Željko Zagorac
action filter_type
action union
action find
entity Željko Zagorac
relation country of citizenship
action find
entity María Mardones
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Željko Zagorac', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['María Mardones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Željko_Zagorac property:country_of_citizenship ?z } UNION { resource:María_Mardones property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298 Q215
SYSTEM
Chile, Slovenia
Q298 Q215
OR((Q1633377,P27,c(Q15617994)), (Q6004276,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1633377
relation P27
action find
entity Q6004276
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Željko Zagorac or María Mardones
{'OR': [['Q1633377', 'P27', {'concept': 'Q15617994'}], ['Q6004276', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q1633377 property:P27 ?z } UNION { resource:Q6004276 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Chile Slovenia
Chile and Slovenia are the countries of citizenship of Željko Zagorac or María Mardones
Chile Slovenia
action filter_type
action union
action find
entity Željko Zagorac
relation country of citizenship
action find
entity María Mardones
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Željko Zagorac', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['María Mardones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Željko_Zagorac property:country_of_citizenship ?z } UNION { resource:María_Mardones property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q298 Q215
P17
Q1190554
USER
Which events are located in Chile and Slovenia ?
(c(Q1190554),P17,Q298) (c(Q1190554),P17,Q215)
action union
action filter_type
action find_reverse
entity Q298
relation P17
type Q1190554
action filter_type
action find_reverse
entity Q215
relation P17
type Q1190554
[{'concept': 'Q1190554'}, 'P17', 'Q298'] [{'concept': 'Q1190554'}, 'P17', 'Q215']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q1190554 . ?s property:P17 resource:Q298 } UNION { ?s property:P17 resource:Q215 . ?s rdf:type ontology:Q1190554 } }
Chile Slovenia
action union
action filter_type
action find_reverse
entity Chile
relation country
type event
action filter_type
action find_reverse
entity Slovenia
relation country
type event
[{'concept': 'event'}, 'country', 'Chile'] [{'concept': 'event'}, 'country', 'Slovenia']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:event . ?s property:country resource:Chile } UNION { ?s property:country resource:Slovenia . ?s rdf:type ontology:event } }
[]
event
Q4870960 Q389540
SYSTEM
Battle of El Toro, Battle of the Save
Q4870960 Q389540
(c(Q1190554),P17,Q298) (c(Q1190554),P17,Q215)
action union
action filter_type
action find_reverse
entity Q298
relation P17
type Q1190554
action filter_type
action find_reverse
entity Q215
relation P17
type Q1190554
[ANSWERS] are located in Chile and Slovenia
[{'concept': 'Q1190554'}, 'P17', 'Q298'] [{'concept': 'Q1190554'}, 'P17', 'Q215']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:Q1190554 . ?s property:P17 resource:Q298 } UNION { ?s property:P17 resource:Q215 . ?s rdf:type ontology:Q1190554 } }
Battle of El Toro Battle of the Save
Battle of El Toro and Battle of the Save are located in Chile and Slovenia
Battle of El Toro Battle of the Save
action union
action filter_type
action find_reverse
entity Chile
relation country
type event
action filter_type
action find_reverse
entity Slovenia
relation country
type event
[{'concept': 'event'}, 'country', 'Chile'] [{'concept': 'event'}, 'country', 'Slovenia']
SELECT DISTINCT ?s WHERE { { ?s rdf:type ontology:event . ?s property:country resource:Chile } UNION { ?s property:country resource:Slovenia . ?s rdf:type ontology:event } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q298
P495
Q838948
USER
Which works of art originated in that administrative territory ?
(c(Q838948),P495,Q298)
action filter_type
action find_reverse
entity Q298
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q298']
SELECT DISTINCT ?y WHERE { ?y property:P495 resource:Q298 . ?y rdf:type ontology:Q838948 }
Chile
action filter_type
action find_reverse
entity Chile
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Chile']
SELECT DISTINCT ?y WHERE { ?y property:country_of_origin resource:Chile . ?y rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q298
SYSTEM
Did you mean Chile ?
Q4870960 Q389540
(c(Q838948),P495,Q4870960) (c(Q838948),P495,Q389540)
[ANSWER]
[{'concept': 'Q838948'}, 'P495', 'Q4870960'] [{'concept': 'Q838948'}, 'P495', 'Q389540']
SELECT DISTINCT ?y WHERE { ?y property:P495 resource:Q298 . ?y rdf:type ontology:Q838948 }
Battle of El Toro Battle of the Save
Did you mean Chile ?
Chile
[{'concept': 'work of art'}, 'country of origin', 'Battle of El Toro'] [{'concept': 'work of art'}, 'country of origin', 'Battle of the Save']
SELECT DISTINCT ?y WHERE { ?y property:country_of_origin resource:Chile . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P495,Q298)
[{'concept': 'Q838948'}, 'P495', 'Q298']
[{'concept': 'work of art'}, 'country of origin', 'Chile']
[]
Q289043 Q2620241 Q309246
SYSTEM
Machuca, No, The Motorcycle Diaries
Q7776615 Q7123946 Q22252002 Q501743 Q25207626 Q6039024 Q1608079 Q16962609 Q22252073 Q17040787 Q7877813 Q5824652 Q289043 Q17082357 Q5013909 Q18603047 Q5098639 Q6127316 Q2620241 Q2398002 Q6174611 Q18703209 Q7439777 Q4779839 Q7221330 Q1443555 Q18811620 Q6489299 Q7637241 Q20002571 Q15727192 Q5965179 Q18709304 Q18393686 Q7280745 Q7880900 Q26878759 Q3138346 Q5939328 Q2511561 Q16386994 Q18611447 Q3278797 Q5396851 Q6957411 Q25999814 Q4742280 Q4479 Q3012646 Q4942573 Q5672882 Q5814180 Q2916843 Q5980767 Q8076381 Q16998374 Q3785474 Q16960604 Q20647642 Q16957425 Q2919745 Q7801130 Q18959449 Q18959440 Q1449502 Q5978411 Q600065 Q21057381 Q6162083 Q3545862 Q5352495 Q6116060 Q15789889 Q5270622 Q17037134 Q20002554 Q18393811 Q6166688 Q5351003 Q13497110 Q4185452 Q24514534 Q24514535 Q7265908 Q2273883 Q1774421 Q17051536 Q4545880 Q1118333 Q18151446 Q16652561 Q3218372 Q18703150 Q26857652 Q19730207 Q3196679 Q285651 Q7474079 Q6173357 Q309246 Q16835071 Q6461460 Q18170646 Q6054046 Q17090579 Q17010511 Q6957733 Q942581 Q12155390 Q3213635 Q5262922 Q7728823 Q20649844 Q6652486 Q4634799 Q3206516 Q18209071 Q3823845 Q3005990
(c(Q838948),P495,Q298)
action filter_type
action find_reverse
entity Q298
relation P495
type Q838948
[ANSWERS] originated in that administrative territory
[{'concept': 'Q838948'}, 'P495', 'Q298']
SELECT DISTINCT ?y WHERE { ?y property:P495 resource:Q298 . ?y rdf:type ontology:Q838948 }
The Year of the Tiger Padre nuestro Much Ado About Nothing Agustin's Newspaper Father Cigarette Christmas Tony Manero Papelucho and the Martian You'll Never Be Alone Vida y milagros de Don Fausto Ugly Me Revenge Machuca No Hay Pan Gloria Toro Loco Sangriento ChilePuede Si mis campos hablaran No Ogu and Mampato in Rapa Nui Ñusta Huillac, La Tirana The Magnetic Tree Se arrienda Apio Verde Young and Wild Aftershock Nasty Baby Largo viaje Summer The Maharaja's Diamond The 33 The Sacred Family (09) The Quispe Girls Radio Corazón Ulysses Rara Soccer Stories Humanimal The Promised Land Metro Cuadrado The Stranger Sexo con Amor Burning Patience Nada más que amor Blood Conflict Amelia Lópes O'Neill Mirageman Night Across the Street Bonsai Amnesia Drama Mujeres infieles Los Debutantes ¡Qué hacer! To Kill a Man Hidden in the Woods Diablo fuerte Locas Perdidas Eternal Blood Coronation Tierra del Fuego The Pearl Button The Club Ayúdeme usted compadre Lokas The Moon in the Mirror The Memory of Water Villa Cariño Abuelos El realismo socialista Jackal of Nahueltoro Bring Me the Head of the Machine Gun Woman Dialogues of Exiles Martín Rivas The House is Empty Redeemer Weekend El Chacotero Sentimental: La película The Treasure of the Snails 03:34: Earthquake in Chile The Last Gallop One Who's Been a Sailor The Shipwrecked Treasure Island The Maid Traición A Cab for Three Dawson Isla 10 Knock, Knock The First Year Last Call I Am Not Lorena The Blind Christ In the Grayscale Kiltro Caliche sangriento The Penal Colony Ángel Negro The Motorcycle Diaries Descendents La Caleta olvidada Voice Over Oscuro iluminado Things as They Are Hombres de esta tierra Nadie dijo nada Violeta The Expropriation The Life of Fish Three Sad Tigers The Dance of Reality Downhill Little White Dove 31 minutos, la película The Battle of Chile The Lady of Death La Recta Provincia Crystal Fairy
Machuca, No and The Motorcycle Diaries originated in that administrative territory
Machuca No The Motorcycle Diaries
action filter_type
action find_reverse
entity Chile
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Chile']
SELECT DISTINCT ?y WHERE { ?y property:country_of_origin resource:Chile . ?y rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q18575238
P189
Q355304 Q839954 Q838948
USER
How many works of art were discovered at more number of watercourses and archaeological sites than Artemis ?
(c(Q838948),P189,c(Q355304)|c(Q839954))
action count
action greater
action union
action find_tuple_counts
relation P189
type Q838948
type Q355304
action find_tuple_counts
relation P189
type Q838948
type Q839954
action count
action filter_multi_types
action find
entity Q18575238
relation P189
type Q355304
type Q839954
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q355304'}, {'concept': 'Q839954'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) ?v WHERE { VALUES ( ?f ) { ( ontology:Q355304 ) ( ontology:Q839954 ) } . ?q rdf:type ?f } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Q18575238 property:P189 ?p . { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:Q355304 ) ( ontology:Q839954 ) } } } } . FILTER ( ?h > ?t ) }
Artemis
action count
action greater
action union
action find_tuple_counts
relation location of discovery
type work of art
type watercourse
action find_tuple_counts
relation location of discovery
type work of art
type archaeological site
action count
action filter_multi_types
action find
entity Artemis
relation location of discovery
type watercourse
type archaeological site
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'watercourse'}, {'concept': 'archaeological site'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) ?v WHERE { VALUES ( ?f ) { ( ontology:watercourse ) ( ontology:archaeological_site ) } . ?q rdf:type ?f } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Artemis property:location_of_discovery ?p . { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:watercourse ) ( ontology:archaeological_site ) } } } } . FILTER ( ?h > ?t ) }
[]
watercourse archaeological site work of art
SYSTEM
4
Q1553211 Q5168696 Q19280256 Q3589109
(c(Q838948),P189,c(Q355304)|c(Q839954))
action count
action greater
action union
action find_tuple_counts
relation P189
type Q838948
type Q355304
action find_tuple_counts
relation P189
type Q838948
type Q839954
action count
action filter_multi_types
action find
entity Q18575238
relation P189
type Q355304
type Q839954
[ANSWER]
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q355304'}, {'concept': 'Q839954'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) ?v WHERE { VALUES ( ?f ) { ( ontology:Q355304 ) ( ontology:Q839954 ) } . ?q rdf:type ?f } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Q18575238 property:P189 ?p . { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:Q355304 ) ( ontology:Q839954 ) } } } } . FILTER ( ?h > ?t ) }
Guennol Lioness Copper Bull Bust of a male, bearded orant, found in the temple of Ishtar at Mari The Youth of Agde
4
action count
action greater
action union
action find_tuple_counts
relation location of discovery
type work of art
type watercourse
action find_tuple_counts
relation location of discovery
type work of art
type archaeological site
action count
action filter_multi_types
action find
entity Artemis
relation location of discovery
type watercourse
type archaeological site
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'watercourse'}, {'concept': 'archaeological site'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) ?v WHERE { VALUES ( ?f ) { ( ontology:watercourse ) ( ontology:archaeological_site ) } . ?q rdf:type ?f } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { resource:Artemis property:location_of_discovery ?p . { ?p rdf:type ?i . VALUES ( ?i ) { ( ontology:watercourse ) ( ontology:archaeological_site ) } } } } . FILTER ( ?h > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q18667809
P189
Q355304 Q839954 Q838948
USER
And also tell me about Sauroctonos Borghese?
(c(Q838948),P189,c(Q355304)|c(Q839954))
action count
action greater
action union
action find_tuple_counts
relation P189
type Q838948
type Q355304
action find_tuple_counts
relation P189
type Q838948
type Q839954
action count
action filter_multi_types
action find
entity Q18667809
relation P189
type Q355304
type Q839954
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q355304'}, {'concept': 'Q839954'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?i WHERE { ?d rdf:type ?v . VALUES ( ?v ) { ( ontology:Q355304 ) ( ontology:Q839954 ) } } GROUP BY ?i } . FILTER ( ?b > ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q18667809 property:P189 ?x . { { ?x rdf:type ontology:Q355304 } UNION { ?x rdf:type ontology:Q839954 } } } } }
Sauroctonos Borghese
action count
action greater
action union
action find_tuple_counts
relation location of discovery
type work of art
type watercourse
action find_tuple_counts
relation location of discovery
type work of art
type archaeological site
action count
action filter_multi_types
action find
entity Sauroctonos Borghese
relation location of discovery
type watercourse
type archaeological site
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'watercourse'}, {'concept': 'archaeological site'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?i WHERE { ?d rdf:type ?v . VALUES ( ?v ) { ( ontology:watercourse ) ( ontology:archaeological_site ) } } GROUP BY ?i } . FILTER ( ?b > ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Sauroctonos_Borghese property:location_of_discovery ?x . { { ?x rdf:type ontology:watercourse } UNION { ?x rdf:type ontology:archaeological_site } } } } }
[]
watercourse archaeological site work of art
SYSTEM
4
Q1553211 Q5168696 Q19280256 Q3589109
(c(Q838948),P189,c(Q355304)|c(Q839954))
action count
action greater
action union
action find_tuple_counts
relation P189
type Q838948
type Q355304
action find_tuple_counts
relation P189
type Q838948
type Q839954
action count
action filter_multi_types
action find
entity Q18667809
relation P189
type Q355304
type Q839954
[ANSWER]
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q355304'}, {'concept': 'Q839954'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?i WHERE { ?d rdf:type ?v . VALUES ( ?v ) { ( ontology:Q355304 ) ( ontology:Q839954 ) } } GROUP BY ?i } . FILTER ( ?b > ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q18667809 property:P189 ?x . { { ?x rdf:type ontology:Q355304 } UNION { ?x rdf:type ontology:Q839954 } } } } }
Guennol Lioness Copper Bull Bust of a male, bearded orant, found in the temple of Ishtar at Mari The Youth of Agde
4
action count
action greater
action union
action find_tuple_counts
relation location of discovery
type work of art
type watercourse
action find_tuple_counts
relation location of discovery
type work of art
type archaeological site
action count
action filter_multi_types
action find
entity Sauroctonos Borghese
relation location of discovery
type watercourse
type archaeological site
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'watercourse'}, {'concept': 'archaeological site'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) ?i WHERE { ?d rdf:type ?v . VALUES ( ?v ) { ( ontology:watercourse ) ( ontology:archaeological_site ) } } GROUP BY ?i } . FILTER ( ?b > ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Sauroctonos_Borghese property:location_of_discovery ?x . { { ?x rdf:type ontology:watercourse } UNION { ?x rdf:type ontology:archaeological_site } } } } }
[]