Simple Question (Direct)
Simple Question
Q1267446
P81
Q728937
USER
What are the railroad lines that Duroc are connected to ?
(Q1267446,P81,c(Q728937))
action filter_type
action find
entity Q1267446
relation P81
type Q728937
['Q1267446', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?w WHERE { resource:Q1267446 property:P81 ?w . ?w rdf:type ontology:Q728937 }
Duroc
action filter_type
action find
entity Duroc
relation connecting line
type railroad line
['Duroc', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?w WHERE { resource:Duroc property:connecting_line ?w . ?w rdf:type ontology:railroad_line }
[]
railroad line
Q50754 Q50759
SYSTEM
Paris Métro Line 10, Paris Métro Line 13
Q50754 Q50759
(Q1267446,P81,c(Q728937))
action filter_type
action find
entity Q1267446
relation P81
type Q728937
The railroad lines that Duroc are connected to are [ANSWERS]
['Q1267446', 'P81', {'concept': 'Q728937'}]
SELECT DISTINCT ?w WHERE { resource:Q1267446 property:P81 ?w . ?w rdf:type ontology:Q728937 }
Paris Métro Line 10 Paris Métro Line 13
The railroad lines that Duroc are connected to are Paris Métro Line 10 and Paris Métro Line 13
Paris Métro Line 10 Paris Métro Line 13
action filter_type
action find
entity Duroc
relation connecting line
type railroad line
['Duroc', 'connecting line', {'concept': 'railroad line'}]
SELECT DISTINCT ?w WHERE { resource:Duroc property:connecting_line ?w . ?w rdf:type ontology:railroad_line }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1267446
P197
Q55488
USER
Which railway stations can be found in the neighborhood of Duroc ?
(Q1267446,P197,c(Q55488))
action filter_type
action find
entity Q1267446
relation P197
type Q55488
['Q1267446', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?y WHERE { resource:Q1267446 property:P197 ?y . ?y rdf:type ontology:Q55488 }
Duroc
action filter_type
action find
entity Duroc
relation adjacent station
type railway station
['Duroc', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?y WHERE { resource:Duroc property:adjacent_station ?y . ?y rdf:type ontology:railway_station }
[]
railway station
Q764465 Q1511414 Q1392295
SYSTEM
Montparnasse – Bienvenüe, Vaneau, Saint-François-Xavier
Q1511414 Q1511392 Q764465 Q1392295
(Q1267446,P197,c(Q55488))
action filter_type
action find
entity Q1267446
relation P197
type Q55488
[ANSWERS] can be found in the neighborhood of Duroc
['Q1267446', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?y WHERE { resource:Q1267446 property:P197 ?y . ?y rdf:type ontology:Q55488 }
Vaneau Ségur Montparnasse – Bienvenüe Saint-François-Xavier
Montparnasse – Bienvenüe, Vaneau and Saint-François-Xavier can be found in the neighborhood of Duroc
Montparnasse – Bienvenüe Vaneau Saint-François-Xavier
action filter_type
action find
entity Duroc
relation adjacent station
type railway station
['Duroc', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?y WHERE { resource:Duroc property:adjacent_station ?y . ?y rdf:type ontology:railway_station }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q13141057
Q55488
USER
And also tell me about Waterloo tube station?
(Q13141057,P197,c(Q55488))
action filter_type
action find
entity Q13141057
relation P197
type Q55488
['Q13141057', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?x WHERE { resource:Q13141057 property:P197 ?x . ?x rdf:type ontology:Q55488 }
Waterloo tube station
action filter_type
action find
entity Waterloo tube station
relation adjacent station
type railway station
['Waterloo tube station', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?x WHERE { resource:Waterloo_tube_station property:adjacent_station ?x . ?x rdf:type ontology:railway_station }
[]
railway station
Q990658
SYSTEM
Aldwych tube station
Q990658
(Q13141057,P197,c(Q55488))
action filter_type
action find
entity Q13141057
relation P197
type Q55488
[ANSWER]
['Q13141057', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?x WHERE { resource:Q13141057 property:P197 ?x . ?x rdf:type ontology:Q55488 }
Aldwych tube station
Aldwych tube station
action filter_type
action find
entity Waterloo tube station
relation adjacent station
type railway station
['Waterloo tube station', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?x WHERE { resource:Waterloo_tube_station property:adjacent_station ?x . ?x rdf:type ontology:railway_station }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P84
Q4830453 Q502895 Q55488
USER
Which railway stations have their designs created by lesser number of business enterprises or people than that railway station ?
(c(Q55488),P84,c(Q4830453)|c(Q502895))
action less
action union
action find_tuple_counts
relation P84
type Q55488
type Q4830453
action find_tuple_counts
relation P84
type Q55488
type Q502895
action count
action filter_multi_types
action find
entity Q990658
relation P84
type Q4830453
type Q502895
[{'concept': 'Q55488'}, 'P84', [{'concept': 'Q4830453'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?f WHERE { VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q4830453 ) } . ?s rdf:type ?x } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q990658 property:P84 ?a . { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:Q4830453 ) ( ontology:Q502895 ) } } } } . FILTER ( ?r < ?u ) }
action less
action union
action find_tuple_counts
relation architect
type railway station
type business enterprise
action find_tuple_counts
relation architect
type railway station
type common name
action count
action filter_multi_types
action find
entity Aldwych tube station
relation architect
type business enterprise
type common name
[{'concept': 'railway station'}, 'architect', [{'concept': 'business enterprise'}, {'concept': 'common name'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?f WHERE { VALUES ( ?x ) { ( ontology:common_name ) ( ontology:business_enterprise ) } . ?s rdf:type ?x } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Aldwych_tube_station property:architect ?a . { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:business_enterprise ) ( ontology:common_name ) } } } } . FILTER ( ?r < ?u ) }
[]
business enterprise common name railway station
SYSTEM
8
Q2097912 Q1702643 Q2711214 Q1180127 Q640755 Q1550415 Q1798572 Q2169211
(c(Q55488),P84,c(Q4830453)|c(Q502895))
action less
action union
action find_tuple_counts
relation P84
type Q55488
type Q4830453
action find_tuple_counts
relation P84
type Q55488
type Q502895
action count
action filter_multi_types
action find
entity Q990658
relation P84
type Q4830453
type Q502895
[ANSWER]
[{'concept': 'Q55488'}, 'P84', [{'concept': 'Q4830453'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?f WHERE { VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q4830453 ) } . ?s rdf:type ?x } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q990658 property:P84 ?a . { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:Q4830453 ) ( ontology:Q502895 ) } } } } . FILTER ( ?r < ?u ) }
Vijfsluizen Jolicoeur Yelizarovskaya De L'Église Vasileostrovskaya Monk LaSalle Wilhelminaplein
8
action less
action union
action find_tuple_counts
relation architect
type railway station
type business enterprise
action find_tuple_counts
relation architect
type railway station
type common name
action count
action filter_multi_types
action find
entity Aldwych tube station
relation architect
type business enterprise
type common name
[{'concept': 'railway station'}, 'architect', [{'concept': 'business enterprise'}, {'concept': 'common name'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) ?f WHERE { VALUES ( ?x ) { ( ontology:common_name ) ( ontology:business_enterprise ) } . ?s rdf:type ?x } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Aldwych_tube_station property:architect ?a . { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:business_enterprise ) ( ontology:common_name ) } } } } . FILTER ( ?r < ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q990658
P800
Q502895
USER
Who has Aldwych tube station as their notable work ?
(c(Q502895),P800,Q990658)
action filter_type
action find_reverse
entity Q990658
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q990658']
SELECT DISTINCT ?i WHERE { ?i property:P800 resource:Q990658 . ?i rdf:type ontology:Q502895 }
Aldwych tube station
action filter_type
action find_reverse
entity Aldwych tube station
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Aldwych tube station']
SELECT DISTINCT ?i WHERE { ?i property:notable_work resource:Aldwych_tube_station . ?i rdf:type ontology:common_name }
[]
common name
Q376964
SYSTEM
Leslie Green
Q376964
(c(Q502895),P800,Q990658)
action filter_type
action find_reverse
entity Q990658
relation P800
type Q502895
[ANSWER] has Aldwych tube station as their notable work
[{'concept': 'Q502895'}, 'P800', 'Q990658']
SELECT DISTINCT ?i WHERE { ?i property:P800 resource:Q990658 . ?i rdf:type ontology:Q502895 }
Leslie Green
Leslie Green has Aldwych tube station as their notable work
Leslie Green
action filter_type
action find_reverse
entity Aldwych tube station
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Aldwych tube station']
SELECT DISTINCT ?i WHERE { ?i property:notable_work resource:Aldwych_tube_station . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q376964
P463
Q43229
USER
Which organization had that person as its member ?
(Q376964,P463,c(Q43229))
action filter_type
action find
entity Q376964
relation P463
type Q43229
['Q376964', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { resource:Q376964 property:P463 ?z . ?z rdf:type ontology:Q43229 }
Leslie Green
action filter_type
action find
entity Leslie Green
relation member of
type organization
['Leslie Green', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { resource:Leslie_Green property:member_of ?z . ?z rdf:type ontology:organization }
[]
organization
Q1067943
SYSTEM
Royal Institute of British Architects
Q1067943
(Q376964,P463,c(Q43229))
action filter_type
action find
entity Q376964
relation P463
type Q43229
[ANSWER] had that person as its member
['Q376964', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?z WHERE { resource:Q376964 property:P463 ?z . ?z rdf:type ontology:Q43229 }
Royal Institute of British Architects
Royal Institute of British Architects had that person as its member
Royal Institute of British Architects
action filter_type
action find
entity Leslie Green
relation member of
type organization
['Leslie Green', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?z WHERE { resource:Leslie_Green property:member_of ?z . ?z rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q990658
P495 P915
Q838948
USER
Which works of art were filmed at Aldwych tube station and are United States of America a country of origin of ?
AND((c(Q838948),P915,Q990658), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q990658
relation P915
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q990658'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?c WHERE { ?c property:P915 resource:Q990658 . ?c property:P495 resource:Q30 . ?c rdf:type ontology:Q838948 }
United States of America Aldwych tube station
action filter_type
action intersection
action find_reverse
entity Aldwych tube station
relation filming location
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'Aldwych tube station'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?c WHERE { ?c property:filming_location resource:Aldwych_tube_station . ?c property:country_of_origin resource:United_States_of_America . ?c rdf:type ontology:work_of_art }
[]
work of art
Q5890 Q14918344
SYSTEM
V for Vendetta, The Imitation Game
Q5890 Q14918344
AND((c(Q838948),P915,Q990658), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q990658
relation P915
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] were filmed at Aldwych tube station and are United States of America a country of origin of
{'AND': [[{'concept': 'Q838948'}, 'P915', 'Q990658'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?c WHERE { ?c property:P915 resource:Q990658 . ?c property:P495 resource:Q30 . ?c rdf:type ontology:Q838948 }
V for Vendetta The Imitation Game
V for Vendetta and The Imitation Game were filmed at Aldwych tube station and are United States of America a country of origin of
V for Vendetta The Imitation Game
action filter_type
action intersection
action find_reverse
entity Aldwych tube station
relation filming location
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'filming location', 'Aldwych tube station'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?c WHERE { ?c property:filming_location resource:Aldwych_tube_station . ?c property:country_of_origin resource:United_States_of_America . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1267446
P17
Q15617994
USER
Which administrative territory is Duroc a part of ?
(Q1267446,P17,c(Q15617994))
action filter_type
action find
entity Q1267446
relation P17
type Q15617994
['Q1267446', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q1267446 property:P17 ?n }
Duroc
action filter_type
action find
entity Duroc
relation country
type designation for an administrative territorial entity
['Duroc', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Duroc property:country ?n }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1267446,P17,c(Q15617994))
action filter_type
action find
entity Q1267446
relation P17
type Q15617994
[ANSWER] is Duroc a part of
['Q1267446', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q1267446 property:P17 ?n }
France
France is Duroc a part of
France
action filter_type
action find
entity Duroc
relation country
type designation for an administrative territorial entity
['Duroc', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Duroc property:country ?n }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q201658
USER
Which administrative territories did greater number of releases or film genres originate than that administrative territory ?
(c(Q2031291)|c(Q201658),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q2031291
type Q201658
[[{'concept': 'Q2031291'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?f WHERE { VALUES ( ?t ) { ( ontology:Q201658 ) ( ontology:Q2031291 ) } . ?y rdf:type ?t } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P495 resource:Q142 . { { ?i rdf:type ontology:Q2031291 } UNION { ?i rdf:type ontology:Q201658 } } } } . FILTER ( ?u > ?n ) }
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type release
type film genre
[[{'concept': 'release'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?f WHERE { VALUES ( ?t ) { ( ontology:film_genre ) ( ontology:release ) } . ?y rdf:type ?t } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:country_of_origin resource:France . { { ?i rdf:type ontology:release } UNION { ?i rdf:type ontology:film_genre } } } } . FILTER ( ?u > ?n ) }
[]
designation for an administrative territorial entity release film genre
Q38 Q30 Q145
SYSTEM
Italy, United States of America, United Kingdom
Q145 Q30 Q34 Q38
(c(Q2031291)|c(Q201658),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q2031291
type Q201658
Greater number of releases or film genres originated in [ANSWERS] than that administrative territory
[[{'concept': 'Q2031291'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?f WHERE { VALUES ( ?t ) { ( ontology:Q201658 ) ( ontology:Q2031291 ) } . ?y rdf:type ?t } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P495 resource:Q142 . { { ?i rdf:type ontology:Q2031291 } UNION { ?i rdf:type ontology:Q201658 } } } } . FILTER ( ?u > ?n ) }
United Kingdom United States of America Sweden Italy
Greater number of releases or film genres originated in Italy, United States of America and United Kingdom than that administrative territory
Italy United States of America United Kingdom
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type release
type film genre
[[{'concept': 'release'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) ?f WHERE { VALUES ( ?t ) { ( ontology:film_genre ) ( ontology:release ) } . ?y rdf:type ?t } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:country_of_origin resource:France . { { ?i rdf:type ontology:release } UNION { ?i rdf:type ontology:film_genre } } } } . FILTER ( ?u > ?n ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5065966
P495
Q838948
USER
Does Chaahat – Ek Nasha originate at those administrative territories ?
(Q5065966,P495,Q38) (Q5065966,P495,Q30) (Q5065966,P495,Q145)
action is_in
entity prev_answer
action find
entity Q5065966
relation P495
['Q5065966', 'P495', 'Q38'] ['Q5065966', 'P495', 'Q30'] ['Q5065966', 'P495', 'Q145']
ASK WHERE { VALUES ( ?u ) { ( resource:Q145 ) ( resource:Q30 ) ( resource:Q34 ) } . resource:Q5065966 property:P495 ?u }
Chaahat – Ek Nasha
action is_in
entity prev_answer
action find
entity Chaahat – Ek Nasha
relation country of origin
['Chaahat – Ek Nasha', 'country of origin', 'Italy'] ['Chaahat – Ek Nasha', 'country of origin', 'United States of America'] ['Chaahat – Ek Nasha', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?u ) { ( resource:United_Kingdom ) ( resource:United_States_of_America ) ( resource:Sweden ) } . resource:Chaahat_–_Ek_Nasha property:country_of_origin ?u }
[]
work of art
SYSTEM
NO
(Q5065966,P495,Q38) (Q5065966,P495,Q30) (Q5065966,P495,Q145)
action is_in
entity prev_answer
action find
entity Q5065966
relation P495
[ANSWER]
['Q5065966', 'P495', 'Q38'] ['Q5065966', 'P495', 'Q30'] ['Q5065966', 'P495', 'Q145']
ASK WHERE { VALUES ( ?u ) { ( resource:Q145 ) ( resource:Q30 ) ( resource:Q34 ) } . resource:Q5065966 property:P495 ?u }
No
action is_in
entity prev_answer
action find
entity Chaahat – Ek Nasha
relation country of origin
['Chaahat – Ek Nasha', 'country of origin', 'Italy'] ['Chaahat – Ek Nasha', 'country of origin', 'United States of America'] ['Chaahat – Ek Nasha', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?u ) { ( resource:United_Kingdom ) ( resource:United_States_of_America ) ( resource:Sweden ) } . resource:Chaahat_–_Ek_Nasha property:country_of_origin ?u }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q50754 Q142 Q26218413
P17
Q15617994
USER
Is Paris Métro Line 10 present in France and Zubovo ?
(Q50754,P17,Q142) (Q50754,P17,Q26218413)
action is_in
entity Q50754
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q26218413
relation P17
['Q50754', 'P17', 'Q142'] ['Q50754', 'P17', 'Q26218413']
ASK WHERE { resource:Q50754 property:P17 resource:Q142 . resource:Q50754 property:P17 resource:Q26218413 }
Paris Métro Line 10 France Zubovo
action is_in
entity Paris Métro Line 10
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Zubovo
relation country
['Paris Métro Line 10', 'country', 'France'] ['Paris Métro Line 10', 'country', 'Zubovo']
ASK WHERE { resource:Paris_Métro_Line_10 property:country resource:France . resource:Paris_Métro_Line_10 property:country resource:Zubovo }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q50754,P17,Q142) (Q50754,P17,Q26218413)
action is_in
entity Q50754
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q26218413
relation P17
[ANSWER]
['Q50754', 'P17', 'Q142'] ['Q50754', 'P17', 'Q26218413']
ASK WHERE { resource:Q50754 property:P17 resource:Q142 . resource:Q50754 property:P17 resource:Q26218413 }
YES and NO respectively
action is_in
entity Paris Métro Line 10
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Zubovo
relation country
['Paris Métro Line 10', 'country', 'France'] ['Paris Métro Line 10', 'country', 'Zubovo']
ASK WHERE { resource:Paris_Métro_Line_10 property:country resource:France . resource:Paris_Métro_Line_10 property:country resource:Zubovo }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with atmost 24 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 24
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?j ) WHERE { ?x property:P530 ?z . ?x rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?j <= 24 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 24
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?j ) WHERE { ?x property:diplomatic_relation ?z . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?j <= 24 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q55
SYSTEM
United States of America, Russia, Netherlands
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 24
[ANSWERS] have tactful political relations with atmost 24 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?j ) WHERE { ?x property:P530 ?z . ?x rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?j <= 24 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia 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 Nauru Chile Palau 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 Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
United States of America, Russia and Netherlands have tactful political relations with atmost 24 administrative territories
United States of America Russia Netherlands
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 24
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?j ) WHERE { ?x property:diplomatic_relation ?z . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?j <= 24 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q540860
P530
Q15617994
USER
Do Kaub have ambassadorial relations with those ones ?
(Q540860,P530,Q30) (Q540860,P530,Q159) (Q540860,P530,Q55)
action is_in
entity prev_answer
action find
entity Q540860
relation P530
['Q540860', 'P530', 'Q30'] ['Q540860', 'P530', 'Q159'] ['Q540860', 'P530', 'Q55']
ASK WHERE { resource:Q540860 property:P530 ?t . VALUES ( ?t ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
Kaub
action is_in
entity prev_answer
action find
entity Kaub
relation diplomatic relation
['Kaub', 'diplomatic relation', 'United States of America'] ['Kaub', 'diplomatic relation', 'Russia'] ['Kaub', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Kaub property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q540860,P530,Q30) (Q540860,P530,Q159) (Q540860,P530,Q55)
action is_in
entity prev_answer
action find
entity Q540860
relation P530
[ANSWER]
['Q540860', 'P530', 'Q30'] ['Q540860', 'P530', 'Q159'] ['Q540860', 'P530', 'Q55']
ASK WHERE { resource:Q540860 property:P530 ?t . VALUES ( ?t ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
No
action is_in
entity prev_answer
action find
entity Kaub
relation diplomatic relation
['Kaub', 'diplomatic relation', 'United States of America'] ['Kaub', 'diplomatic relation', 'Russia'] ['Kaub', 'diplomatic relation', 'Netherlands']
ASK WHERE { resource:Kaub property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]