Simple Question (Direct)
Simple Question
Q3516390
P57
Q502895
USER
Who was the director of Taxi de nuit ?
(Q3516390,P57,c(Q502895))
action filter_type
action find
entity Q3516390
relation P57
type Q502895
['Q3516390', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q3516390 property:P57 ?h . ?h rdf:type ontology:Q502895 }
Taxi de nuit
action filter_type
action find
entity Taxi de nuit
relation director
type common name
['Taxi de nuit', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Taxi_de_nuit property:director ?h . ?h rdf:type ontology:common_name }
[]
common name
Q3063618
SYSTEM
Fabien Lafait
Q3063618
(Q3516390,P57,c(Q502895))
action filter_type
action find
entity Q3516390
relation P57
type Q502895
The director of Taxi de nuit was Michel [ANSWER]
['Q3516390', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q3516390 property:P57 ?h . ?h rdf:type ontology:Q502895 }
Fabien Lafait
The director of Taxi de nuit was Michel Fabien Lafait
Fabien Lafait
action filter_type
action find
entity Taxi de nuit
relation director
type common name
['Taxi de nuit', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Taxi_de_nuit property:director ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3516390
P161
Q502895
USER
Who were casted in that work of art ?
(Q3063618,P161,c(Q502895))
action filter_type
action find
entity Q3516390
relation P161
type Q502895
['Q3063618', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3516390 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Taxi de nuit
action filter_type
action find
entity Taxi de nuit
relation cast member
type common name
['Fabien Lafait', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Taxi_de_nuit property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
common name
Q467244 Q2844990 Q2943752
SYSTEM
Anksa Kara, Ana Martin, Cecilia Vega
Q2844990 Q3378792 Q2943752 Q467244 Q3476864
(Q3063618,P161,c(Q502895))
action filter_type
action find
entity Q3516390
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q3063618', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3516390 property:P161 ?r . ?r rdf:type ontology:Q502895 }
Ana Martin Phil Hollyday Cecilia Vega Anksa Kara Sebastian Barrio
Anksa Kara, Ana Martin and Cecilia Vega were casted in that work of art
Anksa Kara Ana Martin Cecilia Vega
action filter_type
action find
entity Taxi de nuit
relation cast member
type common name
['Fabien Lafait', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Taxi_de_nuit property:cast_member ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3516390
P136
Q1792379
USER
What can be considered as category for Taxi de nuit ?
(Q3516390,P136,c(Q1792379))
action filter_type
action find
entity Q3516390
relation P136
type Q1792379
['Q3516390', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q3516390 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
Taxi de nuit
action filter_type
action find
entity Taxi de nuit
relation genre
type art genre
['Taxi de nuit', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:Taxi_de_nuit property:genre ?o . ?o rdf:type ontology:art_genre }
[]
art genre
Q16254232
SYSTEM
porn parody
Q16254232
(Q3516390,P136,c(Q1792379))
action filter_type
action find
entity Q3516390
relation P136
type Q1792379
[ANSWER] can be considered as category for Taxi de nuit
['Q3516390', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { resource:Q3516390 property:P136 ?o . ?o rdf:type ontology:Q1792379 }
porn parody
Porn parody can be considered as category for Taxi de nuit
porn parody
action filter_type
action find
entity Taxi de nuit
relation genre
type art genre
['Taxi de nuit', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { resource:Taxi_de_nuit property:genre ?o . ?o rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7430445
Q1792379
USER
And also tell me about Scarlet Prostitute: Stabbing?
(Q7430445,P136,c(Q1792379))
action filter_type
action find
entity Q7430445
relation P136
type Q1792379
['Q7430445', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1792379 . resource:Q7430445 property:P136 ?l }
Scarlet Prostitute: Stabbing
action filter_type
action find
entity Scarlet Prostitute: Stabbing
relation genre
type art genre
['Scarlet Prostitute: Stabbing', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:art_genre . resource:Scarlet_Prostitute:_Stabbing property:genre ?l }
[]
art genre
Q1194365 Q185529
SYSTEM
pink film, pornographic film
Q1194365 Q185529
(Q7430445,P136,c(Q1792379))
action filter_type
action find
entity Q7430445
relation P136
type Q1792379
[ANSWERS]
['Q7430445', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1792379 . resource:Q7430445 property:P136 ?l }
pink film pornographic film
pink film pornographic film
action filter_type
action find
entity Scarlet Prostitute: Stabbing
relation genre
type art genre
['Scarlet Prostitute: Stabbing', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:art_genre . resource:Scarlet_Prostitute:_Stabbing property:genre ?l }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15619164 Q5 Q1792379
USER
Which art genres depict approximately 1 abstract beings or humen ?
(c(Q1792379),P180,c(Q15619164)|c(Q5))
action approx
action union
action find_tuple_counts
relation P180
type Q1792379
type Q15619164
action find_tuple_counts
relation P180
type Q1792379
type Q5
value 1
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q15619164'}, {'concept': 'Q5'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?w WHERE { { ?w property:P180 ?r . ?w rdf:type ontology:Q1792379 . ?r rdf:type ontology:Q15619164 } UNION { ?w property:P180 ?r . ?w rdf:type ontology:Q1792379 . ?r rdf:type ontology:Q5 } } GROUP BY ?w } . FILTER ( ?j = 1 ) }
action approx
action union
action find_tuple_counts
relation depicts
type art genre
type abstract being
action find_tuple_counts
relation depicts
type art genre
type human
value 1
[{'concept': 'art genre'}, 'depicts', [{'concept': 'abstract being'}, {'concept': 'human'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?w WHERE { { ?w property:depicts ?r . ?w rdf:type ontology:art_genre . ?r rdf:type ontology:abstract_being } UNION { ?w property:depicts ?r . ?w rdf:type ontology:art_genre . ?r rdf:type ontology:human } } GROUP BY ?w } . FILTER ( ?j = 1 ) }
[]
abstract being human art genre
Q3687196 Q3900659 Q22915045
SYSTEM
Christ's Charge to Peter, The Miraculous Draught of Fishes, Zinc sculptures of the Pori town hall
Q22670282 Q3687196 Q22915045 Q3900659
(c(Q1792379),P180,c(Q15619164)|c(Q5))
action approx
action union
action find_tuple_counts
relation P180
type Q1792379
type Q15619164
action find_tuple_counts
relation P180
type Q1792379
type Q5
value 1
[ANSWERS] depict approximately 1 abstract beings or humen
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q15619164'}, {'concept': 'Q5'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?w WHERE { { ?w property:P180 ?r . ?w rdf:type ontology:Q1792379 . ?r rdf:type ontology:Q15619164 } UNION { ?w property:P180 ?r . ?w rdf:type ontology:Q1792379 . ?r rdf:type ontology:Q5 } } GROUP BY ?w } . FILTER ( ?j = 1 ) }
Crying girl Christ's Charge to Peter Zinc sculptures of the Pori town hall The Miraculous Draught of Fishes
Christ's Charge to Peter, The Miraculous Draught of Fishes and Zinc sculptures of the Pori town hall depict approximately 1 abstract beings or humen
Christ's Charge to Peter The Miraculous Draught of Fishes Zinc sculptures of the Pori town hall
action approx
action union
action find_tuple_counts
relation depicts
type art genre
type abstract being
action find_tuple_counts
relation depicts
type art genre
type human
value 1
[{'concept': 'art genre'}, 'depicts', [{'concept': 'abstract being'}, {'concept': 'human'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?w WHERE { { ?w property:depicts ?r . ?w rdf:type ontology:art_genre . ?r rdf:type ontology:abstract_being } UNION { ?w property:depicts ?r . ?w rdf:type ontology:art_genre . ?r rdf:type ontology:human } } GROUP BY ?w } . FILTER ( ?j = 1 ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P180
Q34379 Q1792379
USER
Which art genres demonstrate around the same number of musical instruments as that art genre ?
(c(Q1792379),P180,c(Q34379))
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { ?z property:P180 ?y . ?z rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q34379 }
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { ?z property:depicts ?y . ?z rdf:type ontology:art_genre . ?y rdf:type ontology:musical_instrument }
[]
musical instrument art genre
Comparative|More/Less|Single entity type|Clarification
Q22915045
SYSTEM
Did you mean Zinc sculptures of the Pori town hall ?
(c(Q1792379),P180,c(Q34379))
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { ?z property:P180 ?y . ?z rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q34379 }
Did you mean Zinc sculptures of the Pori town hall ?
Zinc sculptures of the Pori town hall
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { ?z property:depicts ?y . ?z rdf:type ontology:art_genre . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q1792379),P180,c(Q34379))
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
[]
Q5712848 Q4668641 Q3207118
SYSTEM
Self-Portrait with Monkey, Above and Below, The Ring of Fire
Q21856809 Q26267230 Q1189907 Q22677514 Q3362398 Q2963437 Q22073388 Q26318263 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q18353841 Q22915045 Q26706171 Q26928600 Q5712848 Q3900659 Q742530 Q18688281 Q742333 Q937330 Q3374376 Q1615638 Q22677763 Q22677825 Q6944995 Q248726 Q27087718 Q3207118 Q22670323 Q26317896 Q214127 Q315569 Q1353984 Q3399515 Q158607 Q659396 Q18559971 Q18917896 Q26709687 Q22575803 Q1339864 Q2415378 Q191163 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q34379))
[ANSWERS] demonstrate around the same number of musical instruments as that art genre
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { ?z property:P180 ?y . ?z rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q34379 }
Selim Palmgren Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Water Lilies Market place parliament Panorama du Caire One Thousand Pictures of the Ocean (Chie no umi) Henry M. Jackson Bust of Edward VII Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Architectural painting Zinc sculptures of the Pori town hall Sir Austen Henry Layard Existentialist literature Self-Portrait with Monkey The Miraculous Draught of Fishes idyll Portrait of A.S.Pushkin history painting kouros mythological painting submarine films Statue of Risto Ryti Maire-sculpture My Bed Venus figurine Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval The Ring of Fire JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury genre painting Karl Marx Monument landscape photography equestrian portrait marine art equestrian statue Rock art at Åbodsjön history sculpture Antoine Coypel Going swimming, from the theme mother and child sports film schutterstuk landscape art Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
Self-Portrait with Monkey, Above and Below and The Ring of Fire demonstrate around the same number of musical instruments as that art genre
Self-Portrait with Monkey Above and Below The Ring of Fire
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { ?z property:depicts ?y . ?z rdf:type ontology:art_genre . ?y rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3063618
P27
Q15617994
USER
Which administrative territory is Fabien Lafait a civilian of ?
(Q3063618,P27,c(Q15617994))
action filter_type
action find
entity Q3063618
relation P27
type Q15617994
['Q3063618', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q3063618 property:P27 ?s }
Fabien Lafait
action filter_type
action find
entity Fabien Lafait
relation country of citizenship
type designation for an administrative territorial entity
['Fabien Lafait', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fabien_Lafait property:country_of_citizenship ?s }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3063618,P27,c(Q15617994))
action filter_type
action find
entity Q3063618
relation P27
type Q15617994
[ANSWER] is Fabien Lafait a civilian of
['Q3063618', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q3063618 property:P27 ?s }
France
France is Fabien Lafait a civilian of
France
action filter_type
action find
entity Fabien Lafait
relation country of citizenship
type designation for an administrative territorial entity
['Fabien Lafait', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fabien_Lafait property:country_of_citizenship ?s }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q9052204
Q15617994
USER
And how about Olyr Zavaschi?
(Q9052204,P27,c(Q15617994))
action filter_type
action find
entity Q9052204
relation P27
type Q15617994
['Q9052204', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q9052204 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Olyr Zavaschi
action filter_type
action find
entity Olyr Zavaschi
relation country of citizenship
type designation for an administrative territorial entity
['Olyr Zavaschi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Olyr_Zavaschi property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q9052204,P27,c(Q15617994))
action filter_type
action find
entity Q9052204
relation P27
type Q15617994
[ANSWER]
['Q9052204', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q9052204 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Brazil
Brazil
action filter_type
action find
entity Olyr Zavaschi
relation country of citizenship
type designation for an administrative territorial entity
['Olyr Zavaschi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Olyr_Zavaschi property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q790
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with more number of administrative territories than Haiti ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q790
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?w ) WHERE { ?a rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?a property:P530 ?d } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Q790 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?u ) }
Haiti
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Haiti
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?w ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?d } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Haiti property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?u ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
66
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q790
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?w ) WHERE { ?a rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?a property:P530 ?d } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Q790 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?u ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
66
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Haiti
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?d ) AS ?w ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:diplomatic_relation ?d } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { resource:Haiti property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q398
P530
Q15617994 Q15617994
USER
And how about Bahrain?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q398
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?p ) WHERE { ?e property:P530 ?y . ?e rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q398 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?d ) }
Bahrain
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bahrain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?p ) WHERE { ?e property:diplomatic_relation ?y . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Bahrain property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
66
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q398
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?p ) WHERE { ?e property:P530 ?y . ?e rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q398 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?d ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
66
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Bahrain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?p ) WHERE { ?e property:diplomatic_relation ?y . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Bahrain property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q11060274 Q838948
USER
Which administrative territories are expressed in atleast 1 prints or works of art ?
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?c >= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?c ) WHERE { { ?q rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q11060274 . ?r property:P180 ?q } UNION { ?r property:P180 ?q . ?q rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q838948 } } GROUP BY ?q } }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?c >= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?c ) WHERE { { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:print . ?r property:depicts ?q } UNION { ?r property:depicts ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:work_of_art } } GROUP BY ?q } }
[]
designation for an administrative territorial entity print work of art
Q17 Q13320 Q47505
SYSTEM
Japan, Savona, Dolo
Q47505 Q131596 Q17 Q13320 Q82025 Q376896 Q34876 Q80591
(c(Q11060274)|c(Q838948),P180,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
value 1
[ANSWERS] are expressed in atleast 1 prints or works of art
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?c >= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?c ) WHERE { { ?q rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q11060274 . ?r property:P180 ?q } UNION { ?r property:P180 ?q . ?q rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q838948 } } GROUP BY ?q } }
Dolo farm Japan Savona horn Grenelle province Atrani
Japan, Savona and Dolo are expressed in atleast 1 prints or works of art
Japan Savona Dolo
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
value 1
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?c >= 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?c ) WHERE { { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:print . ?r property:depicts ?q } UNION { ?r property:depicts ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:work_of_art } } GROUP BY ?q } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with min number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?k ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?c ) WHERE { ?l property:P530 ?x . ?l rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?l } } . { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?z ) WHERE { ?y property:P530 ?v . ?y rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?z = ?k ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?k ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?c ) WHERE { ?l property:diplomatic_relation ?x . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } } . { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?z ) WHERE { ?y property:diplomatic_relation ?v . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?z = ?k ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have a diplomatic relationship with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?k ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?c ) WHERE { ?l property:P530 ?x . ?l rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?l } } . { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?z ) WHERE { ?y property:P530 ?v . ?y rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?z = ?k ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan have a diplomatic relationship with min number of administrative territories
Central African Republic Kingdom of the Netherlands Kazakhstan
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?k ) { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?c ) WHERE { ?l property:diplomatic_relation ?x . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } } . { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?z ) WHERE { ?y property:diplomatic_relation ?v . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?z = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q232
P85
Q484692
USER
What is the national anthem of Kazakhstan ?
(Q232,P85,c(Q484692))
action filter_type
action find
entity Q232
relation P85
type Q484692
['Q232', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q484692 . resource:Q232 property:P85 ?u }
Kazakhstan
action filter_type
action find
entity Kazakhstan
relation anthem
type hymn
['Kazakhstan', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:hymn . resource:Kazakhstan property:anthem ?u }
[]
hymn
Q754928
SYSTEM
Meniñ Qazaqstanım
Q754928
(Q232,P85,c(Q484692))
action filter_type
action find
entity Q232
relation P85
type Q484692
The national anthem of Kazakhstan is the [ANSWER]
['Q232', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q484692 . resource:Q232 property:P85 ?u }
Meniñ Qazaqstanım
The national anthem of Kazakhstan is the Meniñ Qazaqstanım
Meniñ Qazaqstanım
action filter_type
action find
entity Kazakhstan
relation anthem
type hymn
['Kazakhstan', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:hymn . resource:Kazakhstan property:anthem ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q232
P1027
Q618779
USER
Which award is bestowed by that administrative territory ?
(c(Q618779),P1027,Q754928)
action filter_type
action find_reverse
entity Q232
relation P1027
type Q618779
[{'concept': 'Q618779'}, 'P1027', 'Q754928']
SELECT DISTINCT ?e WHERE { ?e property:P1027 resource:Q232 . ?e rdf:type ontology:Q618779 }
Kazakhstan
action filter_type
action find_reverse
entity Kazakhstan
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'Meniñ Qazaqstanım']
SELECT DISTINCT ?e WHERE { ?e property:conferred_by resource:Kazakhstan . ?e rdf:type ontology:award }
[]
award
Q1045784
SYSTEM
Order of the Golden Eagle
Q1045784
(c(Q618779),P1027,Q754928)
action filter_type
action find_reverse
entity Q232
relation P1027
type Q618779
[ANSWER] is bestowed by that administrative territory
[{'concept': 'Q618779'}, 'P1027', 'Q754928']
SELECT DISTINCT ?e WHERE { ?e property:P1027 resource:Q232 . ?e rdf:type ontology:Q618779 }
Order of the Golden Eagle
Order of the Golden Eagle is bestowed by that administrative territory
Order of the Golden Eagle
action filter_type
action find_reverse
entity Kazakhstan
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'Meniñ Qazaqstanım']
SELECT DISTINCT ?e WHERE { ?e property:conferred_by resource:Kazakhstan . ?e rdf:type ontology:award }
[]