Simple Question (Direct)
Simple Question
Q7766944
P136
Q1792379
USER
What can be considered as category for The Stranger ?
(Q7766944,P136,c(Q1792379))
action filter_type
action find
entity Q7766944
relation P136
type Q1792379
['Q7766944', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?e WHERE { resource:Q7766944 property:P136 ?e . ?e rdf:type ontology:Q1792379 }
The Stranger
action filter_type
action find
entity The Stranger
relation genre
type art genre
['The Stranger', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?e WHERE { resource:The_Stranger property:genre ?e . ?e rdf:type ontology:art_genre }
[]
art genre
Q471839
SYSTEM
science fiction film
Q471839
(Q7766944,P136,c(Q1792379))
action filter_type
action find
entity Q7766944
relation P136
type Q1792379
[ANSWER] can be considered as category for The Stranger
['Q7766944', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?e WHERE { resource:Q7766944 property:P136 ?e . ?e rdf:type ontology:Q1792379 }
science fiction film
Science fiction film can be considered as category for The Stranger
science fiction film
action filter_type
action find
entity The Stranger
relation genre
type art genre
['The Stranger', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?e WHERE { resource:The_Stranger property:genre ?e . ?e rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P189
Q839954 Q1048835 Q838948
USER
How many works of art were found at approximately 1 archaeological sites or political territories ?
(c(Q838948),P189,c(Q839954)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P189
type Q838948
type Q839954
action find_tuple_counts
relation P189
type Q838948
type Q1048835
value 1
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q839954'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) ?d WHERE { VALUES ( ?e ) { ( ontology:Q839954 ) ( ontology:Q1048835 ) } . ?y rdf:type ?e } GROUP BY ?d } }
action count
action approx
action union
action find_tuple_counts
relation location of discovery
type work of art
type archaeological site
action find_tuple_counts
relation location of discovery
type work of art
type political territorial entity
value 1
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'archaeological site'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) ?d WHERE { VALUES ( ?e ) { ( ontology:archaeological_site ) ( ontology:political_territorial_entity ) } . ?y rdf:type ?e } GROUP BY ?d } }
[]
archaeological site political territorial entity work of art
SYSTEM
4
Q1553211 Q2635402 Q5168696 Q19280256
(c(Q838948),P189,c(Q839954)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P189
type Q838948
type Q839954
action find_tuple_counts
relation P189
type Q838948
type Q1048835
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P189', [{'concept': 'Q839954'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) ?d WHERE { VALUES ( ?e ) { ( ontology:Q839954 ) ( ontology:Q1048835 ) } . ?y rdf:type ?e } GROUP BY ?d } }
Guennol Lioness Biche of Balazote Copper Bull Bust of a male, bearded orant, found in the temple of Ishtar at Mari
4
action count
action approx
action union
action find_tuple_counts
relation location of discovery
type work of art
type archaeological site
action find_tuple_counts
relation location of discovery
type work of art
type political territorial entity
value 1
[{'concept': 'work of art'}, 'location of discovery', [{'concept': 'archaeological site'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) ?d WHERE { VALUES ( ?e ) { ( ontology:archaeological_site ) ( ontology:political_territorial_entity ) } . ?y rdf:type ?e } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7766944
P495
Q15617994
USER
What is the country of origin of The Stranger ?
(Q7766944,P495,c(Q15617994))
action filter_type
action find
entity Q7766944
relation P495
type Q15617994
['Q7766944', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q7766944 property:P495 ?d }
The Stranger
action filter_type
action find
entity The Stranger
relation country of origin
type designation for an administrative territorial entity
['The Stranger', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Stranger property:country_of_origin ?d }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q7766944,P495,c(Q15617994))
action filter_type
action find
entity Q7766944
relation P495
type Q15617994
The country of origin of The Stranger is the [ANSWER]
['Q7766944', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q7766944 property:P495 ?d }
United Kingdom
The country of origin of The Stranger is the United Kingdom
United Kingdom
action filter_type
action find
entity The Stranger
relation country of origin
type designation for an administrative territorial entity
['The Stranger', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Stranger property:country_of_origin ?d }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26821337
Q15617994
USER
And what about Histoire de Douai?
(Q26821337,P495,c(Q15617994))
action filter_type
action find
entity Q26821337
relation P495
type Q15617994
['Q26821337', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q26821337 property:P495 ?w . ?w rdf:type ontology:Q15617994 }
Histoire de Douai
action filter_type
action find
entity Histoire de Douai
relation country of origin
type designation for an administrative territorial entity
['Histoire de Douai', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Histoire_de_Douai property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q26821337,P495,c(Q15617994))
action filter_type
action find
entity Q26821337
relation P495
type Q15617994
[ANSWER]
['Q26821337', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q26821337 property:P495 ?w . ?w rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Histoire de Douai
relation country of origin
type designation for an administrative territorial entity
['Histoire de Douai', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Histoire_de_Douai property:country_of_origin ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P85
Q571
USER
Which book is the anthem for that administrative territory ?
(Q142,P85,c(Q571))
action filter_type
action find
entity Q142
relation P85
type Q571
['Q142', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?p WHERE { resource:Q142 property:P85 ?p . ?p rdf:type ontology:Q571 }
France
action filter_type
action find
entity France
relation anthem
type book
['France', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?p WHERE { resource:France property:anthem ?p . ?p rdf:type ontology:book }
[]
book
Q41180
SYSTEM
La Marseillaise
Q41180
(Q142,P85,c(Q571))
action filter_type
action find
entity Q142
relation P85
type Q571
[ANSWER] is the anthem for that administrative territory
['Q142', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?p WHERE { resource:Q142 property:P85 ?p . ?p rdf:type ontology:Q571 }
La Marseillaise
La Marseillaise is the anthem for that administrative territory
La Marseillaise
action filter_type
action find
entity France
relation anthem
type book
['France', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?p WHERE { resource:France property:anthem ?p . ?p rdf:type ontology:book }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q231250
P180
Q838948
USER
How many works of art demonstrate France or lace ?
(c(Q838948),P180,Q142) (c(Q838948),P180,Q231250)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P180
type Q838948
action filter_type
action find_reverse
entity Q231250
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q142'] [{'concept': 'Q838948'}, 'P180', 'Q231250']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:P180 resource:Q142 . ?e rdf:type ontology:Q838948 } UNION { ?e property:P180 resource:Q231250 . ?e rdf:type ontology:Q838948 } }
France lace
action count
action union
action filter_type
action find_reverse
entity France
relation depicts
type work of art
action filter_type
action find_reverse
entity lace
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'France'] [{'concept': 'work of art'}, 'depicts', 'lace']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:depicts resource:France . ?e rdf:type ontology:work_of_art } UNION { ?e property:depicts resource:lace . ?e rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
2
Q2928781 Q17418930
(c(Q838948),P180,Q142) (c(Q838948),P180,Q231250)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P180
type Q838948
action filter_type
action find_reverse
entity Q231250
relation P180
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q142'] [{'concept': 'Q838948'}, 'P180', 'Q231250']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:P180 resource:Q142 . ?e rdf:type ontology:Q838948 } UNION { ?e property:P180 resource:Q231250 . ?e rdf:type ontology:Q838948 } }
Bust of Louis XIV Cleopatra VII committing suicide
2
action count
action union
action filter_type
action find_reverse
entity France
relation depicts
type work of art
action filter_type
action find_reverse
entity lace
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'France'] [{'concept': 'work of art'}, 'depicts', 'lace']
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:depicts resource:France . ?e rdf:type ontology:work_of_art } UNION { ?e property:depicts resource:lace . ?e rdf:type ontology:work_of_art } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1348
P291
Q56061 Q571
USER
How many administrative territories were greater number of books published than Kolkata ?
(c(Q571),P291,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find
entity Q1348
relation P291
type Q56061
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P291 ?v . ?t rdf:type ontology:Q571 . ?v rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?u > ?h ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Q1348 property:P291 ?j . ?j rdf:type ontology:Q56061 } } }
Kolkata
action count
action greater
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find
entity Kolkata
relation place of publication
type administrative territorial entity
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:place_of_publication ?v . ?t rdf:type ontology:book . ?v rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?u > ?h ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Kolkata property:place_of_publication ?j . ?j rdf:type ontology:administrative_territorial_entity } } }
[]
administrative territorial entity book
SYSTEM
51
Q982367 Q23337 Q33959 Q586 Q1757 Q1754 Q1022 Q90 Q597 Q365 Q8818 Q1155 Q40347 Q8678 Q490 Q495 Q2044 Q23436 Q2280 Q3141 Q72 Q1297 Q936183 Q84 Q5112 Q2103 Q49111 Q36405 Q270 Q60 Q1492 Q1479 Q2807 Q220 Q761 Q1726 Q64 Q62 Q18125 Q12439 Q647 Q641 Q727 Q649 Q24826 Q34370 Q207639 Q100 Q3834 Q350 Q1085
(c(Q571),P291,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find
entity Q1348
relation P291
type Q56061
[ANSWER]
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:P291 ?v . ?t rdf:type ontology:Q571 . ?v rdf:type ontology:Q56061 } GROUP BY ?v } . FILTER ( ?u > ?h ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Q1348 property:P291 ?j . ?j rdf:type ontology:Q56061 } } }
Mineola Salt Lake City Nice Bonn Helsinki Stockholm Stuttgart Paris Lisbon Cologne Valencia Busto Arsizio Norman Rio de Janeiro Milan Turin Florence Edinburgh Minsk Melbourne Zürich Chicago Tonbridge London Adelaide Bochum Cambridge Aberdeen Warsaw New York City Barcelona Bordeaux Madrid Rome Białystok Munich Berlin San Francisco Manchester Detroit Rennes Venice Amsterdam Moscow Liverpool Rotterdam Chichester Boston Konstanz Cambridge Prague
51
action count
action greater
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find
entity Kolkata
relation place of publication
type administrative territorial entity
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?t ) AS ?u ) WHERE { ?t property:place_of_publication ?v . ?t rdf:type ontology:book . ?v rdf:type ontology:administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?u > ?h ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?h ) WHERE { resource:Kolkata property:place_of_publication ?j . ?j rdf:type ontology:administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3834
P291
Q56061 Q571
USER
And how about Konstanz?
(c(Q571),P291,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find
entity Q3834
relation P291
type Q56061
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { FILTER ( ?h > ?n ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a rdf:type ontology:Q56061 . resource:Q3834 property:P291 ?a } } . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:P291 ?u . ?u rdf:type ontology:Q56061 . ?d rdf:type ontology:Q571 } GROUP BY ?u } }
Konstanz
action count
action greater
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find
entity Konstanz
relation place of publication
type administrative territorial entity
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { FILTER ( ?h > ?n ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Konstanz property:place_of_publication ?a } } . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:place_of_publication ?u . ?u rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:book } GROUP BY ?u } }
[]
administrative territorial entity book
SYSTEM
31
Q586 Q1754 Q1022 Q90 Q597 Q365 Q8678 Q490 Q495 Q2044 Q23436 Q2280 Q72 Q1297 Q936183 Q84 Q2103 Q270 Q60 Q1492 Q2807 Q761 Q1726 Q64 Q18125 Q727 Q649 Q207639 Q100 Q350 Q1085
(c(Q571),P291,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P291
type Q56061
type Q571
action count
action filter_type
action find
entity Q3834
relation P291
type Q56061
[ANSWER]
[{'concept': 'Q571'}, 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { FILTER ( ?h > ?n ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a rdf:type ontology:Q56061 . resource:Q3834 property:P291 ?a } } . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:P291 ?u . ?u rdf:type ontology:Q56061 . ?d rdf:type ontology:Q571 } GROUP BY ?u } }
Bonn Stockholm Stuttgart Paris Lisbon Cologne Rio de Janeiro Milan Turin Florence Edinburgh Minsk Zürich Chicago Tonbridge London Bochum Warsaw New York City Barcelona Madrid Białystok Munich Berlin Manchester Amsterdam Moscow Chichester Boston Cambridge Prague
31
action count
action greater
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type book
action count
action filter_type
action find
entity Konstanz
relation place of publication
type administrative territorial entity
[{'concept': 'book'}, 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { FILTER ( ?h > ?n ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Konstanz property:place_of_publication ?a } } . { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?h ) WHERE { ?d property:place_of_publication ?u . ?u rdf:type ontology:administrative_territorial_entity . ?d rdf:type ontology:book } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3858197 Q142
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with France or are the countries of citizenship of Mimma Di Terlizzi ?
OR((Q142,P530,c(Q15617994)), (Q3858197,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q3858197
relation P27
type Q15617994
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q3858197', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q142 property:P530 ?b } UNION { resource:Q3858197 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Mimma Di Terlizzi France
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Mimma Di Terlizzi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mimma Di Terlizzi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:France property:diplomatic_relation ?b } UNION { resource:Mimma_Di_Terlizzi property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q399 Q403 Q801 Q228 Q27 Q32 Q17 Q1011 Q711 Q222
SYSTEM
Some of them are Armenia, Serbia, Israel, Andorra, Ireland, Luxembourg, Japan, Cape Verde, Mongolia, Albania
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q399 Q27 Q403 Q38
OR((Q142,P530,c(Q15617994)), (Q3858197,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q3858197
relation P27
type Q15617994
[ANSWERS] have diplomatic relationships with France or are the countries of citizenship of Mimma Di Terlizzi
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q3858197', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q142 property:P530 ?b } UNION { resource:Q3858197 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Armenia Ireland Serbia Italy
Armenia, Serbia, Israel, Andorra, Ireland, Luxembourg, Japan, Cape Verde, Mongolia and Albania have diplomatic relationships with France or are the countries of citizenship of Mimma Di Terlizzi
Armenia Serbia Israel Andorra Ireland Luxembourg Japan Cape Verde Mongolia Albania
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Mimma Di Terlizzi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Mimma Di Terlizzi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:France property:diplomatic_relation ?b } UNION { resource:Mimma_Di_Terlizzi property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q201658
USER
How many administrative territories are the origins of around the same number of works of art and film genres as that administrative territory ?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
designation for an administrative territorial entity work of art film genre
Comparative|Count over More/Less|Mult. entity type|Clarification
Q228
SYSTEM
Did you mean Andorra ?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Did you mean Andorra ?
Andorra
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Armenia. Could you tell me the answer for that?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
Q399
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
164
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
164
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q685
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with greater number of administrative territories than Solomon Islands ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?d ) WHERE { ?l property:P530 ?j . ?l rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Q685 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?d > ?f ) }
Solomon Islands
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?d ) WHERE { ?l property:diplomatic_relation ?j . ?l rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d > ?f ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
7
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?d ) WHERE { ?l property:P530 ?j . ?l rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Q685 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?d > ?f ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
7
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Solomon Islands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?d ) WHERE { ?l property:diplomatic_relation ?j . ?l rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d > ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q691
P530
Q15617994 Q1048835
USER
And also tell me about Papua New Guinea?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?k ) WHERE { ?i property:P530 ?m . ?i rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?k > ?l ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q691 property:P530 ?d } } }
Papua New Guinea
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?k ) WHERE { ?i property:diplomatic_relation ?m . ?i rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?k > ?l ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Papua_New_Guinea property:diplomatic_relation ?d } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
7
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q691
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?k ) WHERE { ?i property:P530 ?m . ?i rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?k > ?l ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q691 property:P530 ?d } } }
Austria Germany Australia Denmark Canada New Zealand Jamaica
7
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Papua New Guinea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?k ) WHERE { ?i property:diplomatic_relation ?m . ?i rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?k > ?l ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Papua_New_Guinea property:diplomatic_relation ?d } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q7725634 Q484692 Q15617994
USER
How many administrative territories have approximately 1 literary works or hymns as their national anthem ?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
value 1
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?z ) WHERE { { ?j property:P85 ?k . ?j rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q7725634 } UNION { ?j property:P85 ?k . ?j rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q484692 } } GROUP BY ?j } . FILTER ( ?z = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?z ) WHERE { { ?j property:anthem ?k . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:literary_work } UNION { ?j property:anthem ?k . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:hymn } } GROUP BY ?j } . FILTER ( ?z = 1 ) }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
181
Q702 Q804 Q801 Q707 Q709 Q811 Q805 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q800 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q813 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q790 Q4628 Q779011 Q794 Q954 Q889 Q884 Q881 Q739 Q826 Q796 Q241 Q244 Q1019 Q153136 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1044 Q1042 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q783 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q760 Q574 Q874 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q817 Q810 Q770 Q1014 Q1016 Q1011 Q945 Q678 Q29 Q1039 Q672 Q822 Q298 Q863 Q869 Q953
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?z ) WHERE { { ?j property:P85 ?k . ?j rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q7725634 } UNION { ?j property:P85 ?k . ?j rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q484692 } } GROUP BY ?j } . FILTER ( ?z = 1 ) }
Federated States of Micronesia Panama Israel Flevoland Marshall Islands Nicaragua Yemen Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Costa Rica Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Kyrgyzstan Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece Brazil El Salvador Haiti Faroe Islands Principality of Montenegro Iran Zimbabwe Afghanistan South Korea Vietnam Colombia Maldives Iraq Cuba Barbados Madagascar Habsburg Empire Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Sierra Leone Seychelles Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Honduras Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar Saint Lucia East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Kuwait Jordan Friesland Liberia Libya Cape Verde Togo Tonga Spain Sao Tomé and Príncipe Tuvalu Lebanon Chile Tajikistan Thailand Zambia
181
action count
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?z ) WHERE { { ?j property:anthem ?k . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:literary_work } UNION { ?j property:anthem ?k . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:hymn } } GROUP BY ?j } . FILTER ( ?z = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P17
Q15617994
USER
Which administrative territory is Japan situated in ?
(Q17,P17,c(Q15617994))
action filter_type
action find
entity Q17
relation P17
type Q15617994
['Q17', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q17 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Japan
action filter_type
action find
entity Japan
relation country
type designation for an administrative territorial entity
['Japan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Japan property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q17,P17,c(Q15617994))
action filter_type
action find
entity Q17
relation P17
type Q15617994
[ANSWER] is situated in [ANSWER]
['Q17', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q17 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Japan
Japan is situated in Japan
Japan
action filter_type
action find
entity Japan
relation country
type designation for an administrative territorial entity
['Japan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Japan property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17
P163
Q14660
USER
What is associated with that administrative territory ?
(Q17,P163,c(Q14660))
action filter_type
action find
entity Q17
relation P163
type Q14660
['Q17', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?q WHERE { resource:Q17 property:P163 ?q . ?q rdf:type ontology:Q14660 }
Japan
action filter_type
action find
entity Japan
relation flag
type flag
['Japan', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?q WHERE { resource:Japan property:flag ?q . ?q rdf:type ontology:flag }
[]
flag
Q43175
SYSTEM
Flag of Japan
Q43175
(Q17,P163,c(Q14660))
action filter_type
action find
entity Q17
relation P163
type Q14660
Japan [ANSWER] is associated with that administrative territory
['Q17', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?q WHERE { resource:Q17 property:P163 ?q . ?q rdf:type ontology:Q14660 }
Flag of Japan
Japan Flag of Japan is associated with that administrative territory
Flag of Japan
action filter_type
action find
entity Japan
relation flag
type flag
['Japan', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?q WHERE { resource:Japan property:flag ?q . ?q rdf:type ontology:flag }
[]