Simple Question (Direct)
Simple Question
Q1381136
P39
Q895526
USER
Which authority organ was a position for which Alexander Cameron Rutherford was appointed ?
(Q1381136,P39,c(Q895526))
action filter_type
action find
entity Q1381136
relation P39
type Q895526
['Q1381136', 'P39', {'concept': 'Q895526'}]
SELECT DISTINCT ?q WHERE { resource:Q1381136 property:P39 ?q . ?q rdf:type ontology:Q895526 }
Alexander Cameron Rutherford
action filter_type
action find
entity Alexander Cameron Rutherford
relation position held
type authority organ
['Alexander Cameron Rutherford', 'position held', {'concept': 'authority organ'}]
SELECT DISTINCT ?q WHERE { resource:Alexander_Cameron_Rutherford property:position_held ?q . ?q rdf:type ontology:authority_organ }
[]
authority organ
Q3401750
SYSTEM
Premier of Alberta
Q3401750
(Q1381136,P39,c(Q895526))
action filter_type
action find
entity Q1381136
relation P39
type Q895526
The [ANSWER] was a position for which Alexander Cameron Rutherford was appointed
['Q1381136', 'P39', {'concept': 'Q895526'}]
SELECT DISTINCT ?q WHERE { resource:Q1381136 property:P39 ?q . ?q rdf:type ontology:Q895526 }
Premier of Alberta
The Premier of Alberta was a position for which Alexander Cameron Rutherford was appointed
Premier of Alberta
action filter_type
action find
entity Alexander Cameron Rutherford
relation position held
type authority organ
['Alexander Cameron Rutherford', 'position held', {'concept': 'authority organ'}]
SELECT DISTINCT ?q WHERE { resource:Alexander_Cameron_Rutherford property:position_held ?q . ?q rdf:type ontology:authority_organ }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3401750
P1001
Q15617994
USER
Which administrative territory is linked to that authority organ ?
(Q3401750,P1001,c(Q15617994))
action filter_type
action find
entity Q3401750
relation P1001
type Q15617994
['Q3401750', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3401750 property:P1001 ?q . ?q rdf:type ontology:Q15617994 }
Premier of Alberta
action filter_type
action find
entity Premier of Alberta
relation applies to jurisdiction
type designation for an administrative territorial entity
['Premier of Alberta', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Premier_of_Alberta property:applies_to_jurisdiction ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1951
SYSTEM
Alberta
Q1951
(Q3401750,P1001,c(Q15617994))
action filter_type
action find
entity Q3401750
relation P1001
type Q15617994
[ANSWER] is linked to that authority organ
['Q3401750', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3401750 property:P1001 ?q . ?q rdf:type ontology:Q15617994 }
Alberta
Alberta is linked to that authority organ
Alberta
action filter_type
action find
entity Premier of Alberta
relation applies to jurisdiction
type designation for an administrative territorial entity
['Premier of Alberta', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Premier_of_Alberta property:applies_to_jurisdiction ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3401750
P1313
Q15617994
USER
Which administrative territory has that authority organ as office of head of government ?
(c(Q15617994),P1313,Q1951)
action filter_type
action find_reverse
entity Q3401750
relation P1313
type Q15617994
[{'concept': 'Q15617994'}, 'P1313', 'Q1951']
SELECT DISTINCT ?q WHERE { ?q property:P1313 resource:Q3401750 . ?q rdf:type ontology:Q15617994 }
Premier of Alberta
action filter_type
action find_reverse
entity Premier of Alberta
relation office held by head of government
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'office held by head of government', 'Alberta']
SELECT DISTINCT ?q WHERE { ?q property:office_held_by_head_of_government resource:Premier_of_Alberta . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1951
SYSTEM
Alberta
Q1951
(c(Q15617994),P1313,Q1951)
action filter_type
action find_reverse
entity Q3401750
relation P1313
type Q15617994
[ANSWER] has that authority organ as office of head of government
[{'concept': 'Q15617994'}, 'P1313', 'Q1951']
SELECT DISTINCT ?q WHERE { ?q property:P1313 resource:Q3401750 . ?q rdf:type ontology:Q15617994 }
Alberta
Alberta has that authority organ as office of head of government
Alberta
action filter_type
action find_reverse
entity Premier of Alberta
relation office held by head of government
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'office held by head of government', 'Alberta']
SELECT DISTINCT ?q WHERE { ?q property:office_held_by_head_of_government resource:Premier_of_Alberta . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P137
Q895526 Q62447 Q1076486
USER
Which authority organs are the facility operator of max number of aerodromes or sports venues ?
(c(Q62447)|c(Q1076486),P137,c(Q895526))
action argmax
action union
action find_reverse_tuple_counts
relation P137
type Q895526
type Q62447
action find_reverse_tuple_counts
relation P137
type Q895526
type Q1076486
[[{'concept': 'Q62447'}, {'concept': 'Q1076486'}], 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?g WHERE { VALUES ( ?y ) { ( ontology:Q62447 ) ( ontology:Q1076486 ) } . ?x rdf:type ?y } GROUP BY ?g } . FILTER ( ?e = ?r ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?a WHERE { { ?n property:P137 ?a . ?a rdf:type ontology:Q895526 . ?n rdf:type ontology:Q62447 } UNION { ?n property:P137 ?a . ?a rdf:type ontology:Q895526 . ?n rdf:type ontology:Q1076486 } } GROUP BY ?a } } }
action argmax
action union
action find_reverse_tuple_counts
relation operator
type authority organ
type aerodrome
action find_reverse_tuple_counts
relation operator
type authority organ
type sports venue
[[{'concept': 'aerodrome'}, {'concept': 'sports venue'}], 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?g WHERE { VALUES ( ?y ) { ( ontology:aerodrome ) ( ontology:sports_venue ) } . ?x rdf:type ?y } GROUP BY ?g } . FILTER ( ?e = ?r ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?a WHERE { { ?n property:operator ?a . ?a rdf:type ontology:authority_organ . ?n rdf:type ontology:aerodrome } UNION { ?n property:operator ?a . ?a rdf:type ontology:authority_organ . ?n rdf:type ontology:sports_venue } } GROUP BY ?a } } }
[]
authority organ aerodrome sports venue
Q3701698
SYSTEM
National Sports Council
Q3701698
(c(Q62447)|c(Q1076486),P137,c(Q895526))
action argmax
action union
action find_reverse_tuple_counts
relation P137
type Q895526
type Q62447
action find_reverse_tuple_counts
relation P137
type Q895526
type Q1076486
[ANSWER] is the facility operator of max number of aerodromes or sports venues
[[{'concept': 'Q62447'}, {'concept': 'Q1076486'}], 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?g WHERE { VALUES ( ?y ) { ( ontology:Q62447 ) ( ontology:Q1076486 ) } . ?x rdf:type ?y } GROUP BY ?g } . FILTER ( ?e = ?r ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?a WHERE { { ?n property:P137 ?a . ?a rdf:type ontology:Q895526 . ?n rdf:type ontology:Q62447 } UNION { ?n property:P137 ?a . ?a rdf:type ontology:Q895526 . ?n rdf:type ontology:Q1076486 } } GROUP BY ?a } } }
National Sports Council
National Sports Council is the facility operator of max number of aerodromes or sports venues
National Sports Council
action argmax
action union
action find_reverse_tuple_counts
relation operator
type authority organ
type aerodrome
action find_reverse_tuple_counts
relation operator
type authority organ
type sports venue
[[{'concept': 'aerodrome'}, {'concept': 'sports venue'}], 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?g WHERE { VALUES ( ?y ) { ( ontology:aerodrome ) ( ontology:sports_venue ) } . ?x rdf:type ?y } GROUP BY ?g } . FILTER ( ?e = ?r ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?r ) { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?a WHERE { { ?n property:operator ?a . ?a rdf:type ontology:authority_organ . ?n rdf:type ontology:aerodrome } UNION { ?n property:operator ?a . ?a rdf:type ontology:authority_organ . ?n rdf:type ontology:sports_venue } } GROUP BY ?a } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3701698
P17
Q15617994
USER
Which administrative territory is that authority organ present in ?
(Q3701698,P17,c(Q15617994))
action filter_type
action find
entity Q3701698
relation P17
type Q15617994
['Q3701698', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3701698 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
National Sports Council
action filter_type
action find
entity National Sports Council
relation country
type designation for an administrative territorial entity
['National Sports Council', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:National_Sports_Council property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q902
SYSTEM
Bangladesh
Q902
(Q3701698,P17,c(Q15617994))
action filter_type
action find
entity Q3701698
relation P17
type Q15617994
That authority organ is of [ANSWER]
['Q3701698', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3701698 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Bangladesh
That authority organ is of Bangladesh
Bangladesh
action filter_type
action find
entity National Sports Council
relation country
type designation for an administrative territorial entity
['National Sports Council', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:National_Sports_Council property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q902 Q668
P47
Q15617994
USER
Is India adjacent to that one ?
(Q902,P47,Q668)
action is_in
entity Q668
action find
entity Q902
relation P47
['Q902', 'P47', 'Q668']
ASK WHERE { resource:Q902 property:P47 resource:Q668 }
Bangladesh India
action is_in
entity India
action find
entity Bangladesh
relation shares border with
['Bangladesh', 'shares border with', 'India']
ASK WHERE { resource:Bangladesh property:shares_border_with resource:India }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q902,P47,Q668)
action is_in
entity Q668
action find
entity Q902
relation P47
[ANSWER]
['Q902', 'P47', 'Q668']
ASK WHERE { resource:Q902 property:P47 resource:Q668 }
Yes
action is_in
entity India
action find
entity Bangladesh
relation shares border with
['Bangladesh', 'shares border with', 'India']
ASK WHERE { resource:Bangladesh property:shares_border_with resource:India }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1951
P47
Q852446 Q15617994
USER
How many US administrative territories or administrative territories are next to the border of Alberta ?
(c(Q852446),P47,Q1951) (c(Q15617994),P47,Q1951)
action count
action union
action filter_type
action find_reverse
entity Q1951
relation P47
type Q852446
action filter_type
action find_reverse
entity Q1951
relation P47
type Q15617994
[{'concept': 'Q852446'}, 'P47', 'Q1951'] [{'concept': 'Q15617994'}, 'P47', 'Q1951']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { ?n property:P47 resource:Q1951 . ?n rdf:type ontology:Q852446 } UNION { ?n property:P47 resource:Q1951 . ?n rdf:type ontology:Q15617994 } }
Alberta
action count
action union
action filter_type
action find_reverse
entity Alberta
relation shares border with
type administrative territorial entity of the United States
action filter_type
action find_reverse
entity Alberta
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity of the United States'}, 'shares border with', 'Alberta'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Alberta']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { ?n property:shares_border_with resource:Alberta . ?n rdf:type ontology:administrative_territorial_entity_of_the_United_States } UNION { ?n property:shares_border_with resource:Alberta . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
administrative territorial entity of the United States designation for an administrative territorial entity
SYSTEM
4
Q1212 Q2007 Q1989 Q1974
(c(Q852446),P47,Q1951) (c(Q15617994),P47,Q1951)
action count
action union
action filter_type
action find_reverse
entity Q1951
relation P47
type Q852446
action filter_type
action find_reverse
entity Q1951
relation P47
type Q15617994
[ANSWER]
[{'concept': 'Q852446'}, 'P47', 'Q1951'] [{'concept': 'Q15617994'}, 'P47', 'Q1951']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { ?n property:P47 resource:Q1951 . ?n rdf:type ontology:Q852446 } UNION { ?n property:P47 resource:Q1951 . ?n rdf:type ontology:Q15617994 } }
Montana Northwest Territories Saskatchewan British Columbia
4
action count
action union
action filter_type
action find_reverse
entity Alberta
relation shares border with
type administrative territorial entity of the United States
action filter_type
action find_reverse
entity Alberta
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'administrative territorial entity of the United States'}, 'shares border with', 'Alberta'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Alberta']
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { ?n property:shares_border_with resource:Alberta . ?n rdf:type ontology:administrative_territorial_entity_of_the_United_States } UNION { ?n property:shares_border_with resource:Alberta . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7374037
P137
Q895526 Q2235308 Q62447
USER
Which authority organs operates around the same number of ship types and aerodromes as Royal Commission on the Ancient and Historical Monuments of Wales ?
(c(Q2235308)|c(Q62447),P137,c(Q895526))
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q895526
type Q2235308
action find_reverse_tuple_counts
relation P137
type Q895526
type Q62447
action count
action filter_multi_types
action find_reverse
entity Q7374037
relation P137
type Q2235308
type Q62447
[[{'concept': 'Q2235308'}, {'concept': 'Q62447'}], 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?v WHERE { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:Q62447 ) ( ontology:Q2235308 ) } } GROUP BY ?v } . FILTER ( ?x = ?m ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P137 resource:Q7374037 . { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:Q62447 ) ( ontology:Q2235308 ) } } } } }
Royal Commission on the Ancient and Historical Monuments of Wales
action approx
action union
action find_reverse_tuple_counts
relation operator
type authority organ
type ship type
action find_reverse_tuple_counts
relation operator
type authority organ
type aerodrome
action count
action filter_multi_types
action find_reverse
entity Royal Commission on the Ancient and Historical Monuments of Wales
relation operator
type ship type
type aerodrome
[[{'concept': 'ship type'}, {'concept': 'aerodrome'}], 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?v WHERE { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:aerodrome ) ( ontology:ship_type ) } } GROUP BY ?v } . FILTER ( ?x = ?m ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:operator resource:Royal_Commission_on_the_Ancient_and_Historical_Monuments_of_Wales . { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:aerodrome ) ( ontology:ship_type ) } } } } }
[]
authority organ ship type aerodrome
Q349487 Q207361 Q674113
SYSTEM
Parks Canada, DARPA, United States Fish and Wildlife Service
Q3869731 Q6781521 Q349487 Q5251253 Q2728585 Q1677108 Q10677695 Q1194749 Q6462132 Q6781490 Q4969732 Q7374037 Q3259709 Q7834923 Q214700 Q16827826 Q1264458 Q1967252 Q643628 Q2397965 Q6806634 Q207361 Q1646331 Q1998985 Q5598354 Q1416884 Q631844 Q3349581 Q1589820 Q7414072 Q1467508 Q193755 Q111854 Q7707904 Q7989618 Q614819 Q860935 Q3701698 Q7596470 Q21570203 Q5440270 Q1706660 Q7061278 Q6974770 Q4116375 Q5531834 Q701679 Q674113 Q2625260 Q316296 Q7488854 Q1750377 Q10635976 Q3365478 Q5251219 Q1480245 Q2122615 Q5172805 Q1058767 Q834046 Q21532960 Q1484023 Q3015291 Q538101 Q3360446 Q1063287 Q1164325 Q3785211 Q24568054 Q1770101 Q3364902 Q3488215 Q5401570 Q480214 Q1532785 Q2304226 Q5020425 Q5020422 Q60346 Q5260295 Q1010548 Q7523123 Q12041640 Q7687416 Q5161516 Q1182587 Q1466498 Q3029524 Q1117048 Q2502839 Q1010556 Q920339 Q349666 Q21532850 Q17006271 Q5062430 Q3087818 Q3306020 Q5060058 Q807013 Q21538549 Q7257666 Q7061065 Q1437507 Q1134658 Q21538546 Q1937208 Q1583868
(c(Q2235308)|c(Q62447),P137,c(Q895526))
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q895526
type Q2235308
action find_reverse_tuple_counts
relation P137
type Q895526
type Q62447
action count
action filter_multi_types
action find_reverse
entity Q7374037
relation P137
type Q2235308
type Q62447
[ANSWERS] operate around the same number of ship types and aerodromes as Royal Commission on the Ancient and Historical Monuments of Wales
[[{'concept': 'Q2235308'}, {'concept': 'Q62447'}], 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?v WHERE { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:Q62447 ) ( ontology:Q2235308 ) } } GROUP BY ?v } . FILTER ( ?x = ?m ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:P137 resource:Q7374037 . { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:Q62447 ) ( ontology:Q2235308 ) } } } } }
NYC Media Maryland Transportation Authority Parks Canada Defence Science and Technology Laboratory Norwegian Mapping and Cadastre Authority Swedish Transport Administration Swedish National Maritime Museums government of Spain South Jersey Transportation Authority Maryland Stadium Authority British Columbia Ministry of Transportation Royal Commission on the Ancient and Historical Monuments of Wales Los Angeles County Sheriff's Department Transport for New South Wales National Oceanic and Atmospheric Administration Bolivarian Agency for Space Activities Government of Slovenia U.S. National Geodetic Survey Bavarian State Office for Survey and Geoinformation Texas Historical Commission Medicare Australia DARPA Pennsylvania Turnpike Commission Sécurité Civile Grays Harbor Historical Seaport Authority Fine Arts Department Swedish National Heritage Board Tunisian Civil Aviation & Airports Authority Chief Directorate of the Northern Sea Route San Francisco Municipal Transportation Agency Wisconsin Department of Natural Resources United States Geological Survey Historic Scotland Texas Parks and Wildlife Department Westrail De Lijn Japan Meteorological Agency National Sports Council Stadium Authority of the City of Pittsburgh Department of Wildlife and National Parks Federal Judicial Center New York State Office of Parks, Recreation and Historic Preservation Norges Statsbaner National Parks and Wildlife Service East Bay Regional Park District General Directorate of Highways Civil Aeronautics Administration United States Fish and Wildlife Service Government of Åland Deutsche Post of the GDR Shannon Development Department of Justice, Rating, Titles and Qualification Swedish Polar Research Secretariat Parks Victoria Defence Materiel Administration National Defence Radio Establishment Queensland Parks and Wildlife Service Corrections Victoria New York City Department of Transportation Ministry of Land and Resources of the People's Republic of China Director of National Parks War Shipping Administration Northern Ireland Prison Service New Zealand Railways Department Finnish Transport Agency Saudi Arabia Armed Forces Danish Meteorological Institute Heritage Malta National Commission of Protected Natural Areas Brønnøysund Register Centre Ontario Parks Société des établissements de plein air du Québec Estonian Land Board State Hydraulic Works State Planning Organization Hong Kong Correctional Services California Department of Food and Agriculture California Department of Forestry and Fire Protection National Institute for Occupational Safety and Health Department of Environment, Water and Natural Resources United States Bureau of Reclamation Singapore Sports Council National Heritage Institute Tasmania Parks and Wildlife Service Connecticut Department of Energy and Environmental Protection Defence Research and Development Canada National Institute of Water and Atmospheric Research Finnish National Board of Antiquities Commonwealth Scientific and Industrial Research Organisation Space and Upper Atmosphere Research Commission Bureau of Land Management British Waterways Fisheries and Oceans Canada Great Barrier Reef Marine Park Authority Queensland Health Centre for Environment, Fisheries and Aquaculture Science Finnish Rail Administration Australian Customs and Border Protection Service Centers for Medicare and Medicaid Services Swedish National Rail Administration Parks and Wildlife Commission of the Northern Territory Public Works Department Swedish Prison and Probation Service National Research Council National Forest Corporation Department of Parks and Wildlife Ministry of War Transport London Passenger Transport Board
Parks Canada, DARPA and United States Fish and Wildlife Service operate around the same number of ship types and aerodromes as Royal Commission on the Ancient and Historical Monuments of Wales
Parks Canada DARPA United States Fish and Wildlife Service
action approx
action union
action find_reverse_tuple_counts
relation operator
type authority organ
type ship type
action find_reverse_tuple_counts
relation operator
type authority organ
type aerodrome
action count
action filter_multi_types
action find_reverse
entity Royal Commission on the Ancient and Historical Monuments of Wales
relation operator
type ship type
type aerodrome
[[{'concept': 'ship type'}, {'concept': 'aerodrome'}], 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?v WHERE { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:aerodrome ) ( ontology:ship_type ) } } GROUP BY ?v } . FILTER ( ?x = ?m ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { ?z property:operator resource:Royal_Commission_on_the_Ancient_and_Historical_Monuments_of_Wales . { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:aerodrome ) ( ontology:ship_type ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1532785
P137
Q895526 Q2235308 Q62447
USER
And also tell me about State Planning Organization?
(c(Q2235308)|c(Q62447),P137,c(Q895526))
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q895526
type Q2235308
action find_reverse_tuple_counts
relation P137
type Q895526
type Q62447
action count
action filter_multi_types
action find_reverse
entity Q1532785
relation P137
type Q2235308
type Q62447
[[{'concept': 'Q2235308'}, {'concept': 'Q62447'}], 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?k WHERE { { ?q property:P137 ?k . ?k rdf:type ontology:Q895526 . ?q rdf:type ontology:Q2235308 } UNION { ?q property:P137 ?k . ?k rdf:type ontology:Q895526 . ?q rdf:type ontology:Q62447 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:Q2235308 ) ( ontology:Q62447 ) } } . ?v property:P137 resource:Q1532785 } } . FILTER ( ?x = ?m ) }
State Planning Organization
action approx
action union
action find_reverse_tuple_counts
relation operator
type authority organ
type ship type
action find_reverse_tuple_counts
relation operator
type authority organ
type aerodrome
action count
action filter_multi_types
action find_reverse
entity State Planning Organization
relation operator
type ship type
type aerodrome
[[{'concept': 'ship type'}, {'concept': 'aerodrome'}], 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?k WHERE { { ?q property:operator ?k . ?k rdf:type ontology:authority_organ . ?q rdf:type ontology:ship_type } UNION { ?q property:operator ?k . ?k rdf:type ontology:authority_organ . ?q rdf:type ontology:aerodrome } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:ship_type ) ( ontology:aerodrome ) } } . ?v property:operator resource:State_Planning_Organization } } . FILTER ( ?x = ?m ) }
[]
authority organ ship type aerodrome
Q349487 Q207361 Q674113
SYSTEM
Parks Canada, DARPA, United States Fish and Wildlife Service
Q3869731 Q6781521 Q349487 Q5251253 Q2728585 Q1677108 Q10677695 Q1194749 Q6462132 Q6781490 Q4969732 Q7374037 Q3259709 Q7834923 Q214700 Q16827826 Q1264458 Q1967252 Q643628 Q2397965 Q6806634 Q207361 Q1646331 Q1998985 Q5598354 Q1416884 Q631844 Q3349581 Q1589820 Q7414072 Q1467508 Q193755 Q111854 Q7707904 Q7989618 Q614819 Q860935 Q3701698 Q7596470 Q21570203 Q5440270 Q1706660 Q7061278 Q6974770 Q4116375 Q5531834 Q701679 Q674113 Q2625260 Q316296 Q7488854 Q1750377 Q10635976 Q3365478 Q5251219 Q1480245 Q2122615 Q5172805 Q1058767 Q834046 Q21532960 Q1484023 Q3015291 Q538101 Q3360446 Q1063287 Q1164325 Q3785211 Q24568054 Q1770101 Q3364902 Q3488215 Q5401570 Q480214 Q1532785 Q2304226 Q5020425 Q5020422 Q60346 Q5260295 Q1010548 Q7523123 Q12041640 Q7687416 Q5161516 Q1182587 Q1466498 Q3029524 Q1117048 Q2502839 Q1010556 Q920339 Q349666 Q21532850 Q17006271 Q5062430 Q3087818 Q3306020 Q5060058 Q807013 Q21538549 Q7257666 Q7061065 Q1437507 Q1134658 Q21538546 Q1937208 Q1583868
(c(Q2235308)|c(Q62447),P137,c(Q895526))
action approx
action union
action find_reverse_tuple_counts
relation P137
type Q895526
type Q2235308
action find_reverse_tuple_counts
relation P137
type Q895526
type Q62447
action count
action filter_multi_types
action find_reverse
entity Q1532785
relation P137
type Q2235308
type Q62447
[ANSWERS]
[[{'concept': 'Q2235308'}, {'concept': 'Q62447'}], 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?k WHERE { { ?q property:P137 ?k . ?k rdf:type ontology:Q895526 . ?q rdf:type ontology:Q2235308 } UNION { ?q property:P137 ?k . ?k rdf:type ontology:Q895526 . ?q rdf:type ontology:Q62447 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:Q2235308 ) ( ontology:Q62447 ) } } . ?v property:P137 resource:Q1532785 } } . FILTER ( ?x = ?m ) }
NYC Media Maryland Transportation Authority Parks Canada Defence Science and Technology Laboratory Norwegian Mapping and Cadastre Authority Swedish Transport Administration Swedish National Maritime Museums government of Spain South Jersey Transportation Authority Maryland Stadium Authority British Columbia Ministry of Transportation Royal Commission on the Ancient and Historical Monuments of Wales Los Angeles County Sheriff's Department Transport for New South Wales National Oceanic and Atmospheric Administration Bolivarian Agency for Space Activities Government of Slovenia U.S. National Geodetic Survey Bavarian State Office for Survey and Geoinformation Texas Historical Commission Medicare Australia DARPA Pennsylvania Turnpike Commission Sécurité Civile Grays Harbor Historical Seaport Authority Fine Arts Department Swedish National Heritage Board Tunisian Civil Aviation & Airports Authority Chief Directorate of the Northern Sea Route San Francisco Municipal Transportation Agency Wisconsin Department of Natural Resources United States Geological Survey Historic Scotland Texas Parks and Wildlife Department Westrail De Lijn Japan Meteorological Agency National Sports Council Stadium Authority of the City of Pittsburgh Department of Wildlife and National Parks Federal Judicial Center New York State Office of Parks, Recreation and Historic Preservation Norges Statsbaner National Parks and Wildlife Service East Bay Regional Park District General Directorate of Highways Civil Aeronautics Administration United States Fish and Wildlife Service Government of Åland Deutsche Post of the GDR Shannon Development Department of Justice, Rating, Titles and Qualification Swedish Polar Research Secretariat Parks Victoria Defence Materiel Administration National Defence Radio Establishment Queensland Parks and Wildlife Service Corrections Victoria New York City Department of Transportation Ministry of Land and Resources of the People's Republic of China Director of National Parks War Shipping Administration Northern Ireland Prison Service New Zealand Railways Department Finnish Transport Agency Saudi Arabia Armed Forces Danish Meteorological Institute Heritage Malta National Commission of Protected Natural Areas Brønnøysund Register Centre Ontario Parks Société des établissements de plein air du Québec Estonian Land Board State Hydraulic Works State Planning Organization Hong Kong Correctional Services California Department of Food and Agriculture California Department of Forestry and Fire Protection National Institute for Occupational Safety and Health Department of Environment, Water and Natural Resources United States Bureau of Reclamation Singapore Sports Council National Heritage Institute Tasmania Parks and Wildlife Service Connecticut Department of Energy and Environmental Protection Defence Research and Development Canada National Institute of Water and Atmospheric Research Finnish National Board of Antiquities Commonwealth Scientific and Industrial Research Organisation Space and Upper Atmosphere Research Commission Bureau of Land Management British Waterways Fisheries and Oceans Canada Great Barrier Reef Marine Park Authority Queensland Health Centre for Environment, Fisheries and Aquaculture Science Finnish Rail Administration Australian Customs and Border Protection Service Centers for Medicare and Medicaid Services Swedish National Rail Administration Parks and Wildlife Commission of the Northern Territory Public Works Department Swedish Prison and Probation Service National Research Council National Forest Corporation Department of Parks and Wildlife Ministry of War Transport London Passenger Transport Board
Parks Canada DARPA United States Fish and Wildlife Service
action approx
action union
action find_reverse_tuple_counts
relation operator
type authority organ
type ship type
action find_reverse_tuple_counts
relation operator
type authority organ
type aerodrome
action count
action filter_multi_types
action find_reverse
entity State Planning Organization
relation operator
type ship type
type aerodrome
[[{'concept': 'ship type'}, {'concept': 'aerodrome'}], 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) ?k WHERE { { ?q property:operator ?k . ?k rdf:type ontology:authority_organ . ?q rdf:type ontology:ship_type } UNION { ?q property:operator ?k . ?k rdf:type ontology:authority_organ . ?q rdf:type ontology:aerodrome } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { { ?v rdf:type ?r . VALUES ( ?r ) { ( ontology:ship_type ) ( ontology:aerodrome ) } } . ?v property:operator resource:State_Planning_Organization } } . FILTER ( ?x = ?m ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q11204 Q192350 Q895526
USER
How many authority organs are a portion of approximately the same number of legislatures and ministries as that authority organ ?
(c(Q895526),P361,c(Q11204)|c(Q192350))
[{'concept': 'Q895526'}, 'P361', [{'concept': 'Q11204'}, {'concept': 'Q192350'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q895526 . ?y rdf:type ontology:Q11204 . ?x rdf:type ontology:Q192350 }
[{'concept': 'authority organ'}, 'part of', [{'concept': 'legislature'}, {'concept': 'ministry'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:authority_organ . ?y rdf:type ontology:legislature . ?x rdf:type ontology:ministry }
[]
legislature ministry authority organ
Comparative|Count over More/Less|Mult. entity type|Clarification
Q349487
SYSTEM
Did you mean Parks Canada ?
(c(Q895526),P361,c(Q11204)|c(Q192350))
[ANSWER]
[{'concept': 'Q895526'}, 'P361', [{'concept': 'Q11204'}, {'concept': 'Q192350'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q895526 . ?y rdf:type ontology:Q11204 . ?x rdf:type ontology:Q192350 }
Did you mean Parks Canada ?
Parks Canada
[{'concept': 'authority organ'}, 'part of', [{'concept': 'legislature'}, {'concept': 'ministry'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:authority_organ . ?y rdf:type ontology:legislature . ?x rdf:type ontology:ministry }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant United States Fish and Wildlife Service. Could you tell me the answer for that?
(c(Q895526),P361,c(Q11204)|c(Q192350))
Q674113
[{'concept': 'Q895526'}, 'P361', [{'concept': 'Q11204'}, {'concept': 'Q192350'}]]
[{'concept': 'authority organ'}, 'part of', [{'concept': 'legislature'}, {'concept': 'ministry'}]]
[]
SYSTEM
139
Q2292839 Q4998389 Q10677695 Q4584301 Q10658655 Q10701323 Q10655262 Q1799233 Q384242 Q10701016 Q15961203 Q4355568 Q10677706 Q10549070 Q5495902 Q2180237 Q2445509 Q1670860 Q7654827 Q6971056 Q10677697 Q3371373 Q8437714 Q13012489 Q909090 Q10621662 Q7283877 Q6970210 Q1416884 Q631844 Q2983328 Q2304163 Q5185227 Q13022689 Q10690203 Q193755 Q10405389 Q474816 Q1354321 Q3406485 Q198678 Q1408870 Q10416979 Q7079331 Q10416970 Q10638606 Q10690573 Q7654606 Q1006223 Q6971083 Q16128627 Q1172261 Q10436166 Q4411912 Q4577772 Q953058 Q15278226 Q674113 Q10677686 Q10482004 Q316296 Q6972720 Q5308010 Q3357871 Q10536287 Q6763989 Q4585222 Q10677795 Q10475844 Q15942108 Q10635976 Q5251219 Q1480245 Q3359282 Q1788830 Q2153029 Q7216254 Q918384 Q20711037 Q10658535 Q10677726 Q10709560 Q10505446 Q7079279 Q6504948 Q6573171 Q10658525 Q3480437 Q10670401 Q1259952 Q7654780 Q3370919 Q4998361 Q10677716 Q15441423 Q10484099 Q10677718 Q3881026 Q10709720 Q2324548 Q10416948 Q24008253 Q10717720 Q10713433 Q7395171 Q4998396 Q895355 Q1879124 Q10495784 Q18335798 Q10544771 Q7654818 Q18612054 Q10498149 Q10651177 Q3375451 Q21512617 Q4148745 Q18335826 Q15209927 Q1677108 Q7632057 Q3357506 Q6971047 Q10579266 Q10591748 Q807013 Q2976522 Q7061065 Q10591756 Q7864856 Q10591752 Q7079368 Q2799845 Q5162434 Q10677733 Q10623228 Q836916 Q1125991
(c(Q895526),P361,c(Q11204)|c(Q192350))
[ANSWER]
[{'concept': 'Q895526'}, 'P361', [{'concept': 'Q11204'}, {'concept': 'Q192350'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q895526 . ?y rdf:type ontology:Q11204 . ?x rdf:type ontology:Q192350 }
National Agency for Education Bureau of International Labor Affairs Swedish National Maritime Museums BIBSYS Swedish European Social Fund Council Swedish Transport Agency National Police Board Swedish Broadcasting Commission Nordic Africa Institute Transport Analysis National Institute on Disability and Rehabilitation Research Swedish Governmental Agency for Innovation Systems Swedish Population Address Register Board Swedish Emergency Management Agency Legal, Financial and Administrative Services Agency Center for the Promotion of Imports Swedish Defence Research Agency Swedish International Development Cooperation Agency Swedish Research Council National Board of Health and Welfare Swedish Media Council Swedish Defence Recruitment Agency National Public Art Council Department of Provincial Administration National Property Board Swedish Patent and Registration Office Rail Accident Investigation Branch National Agency for Higher Education Fine Arts Department Swedish National Heritage Board Swedish Meteorological and Hydrological Institute Transportation Security Administration Crime Victim Compensation and Support Authority Office of the Permanent Secretary for Interior Swedish Agency for Accessible Media United States Geological Survey Alcoholic Beverages Product Range Board Geological Survey of Sweden Swedish Integration Board Swedish Prosecution Authority Swedish Radiation Safety Authority Rijkswaterstaat Swedish Work Environment Authority Office of the Administrative Assistant to the Secretary of the Army National Labour Market Board Press Subsidies Council Dental and Pharmaceutical Benefits Agency Swedish Board of Agriculture BfR - Federal Institute for Risk Assessment Swedish Board for Study Support Office of the Chief Scientist Data Inspection Board Swedish National Council for Crime Prevention Swedish Agency for Non-Proliferation and Export Controls Swedish Enforcement Authority National Library of Sweden Swedish Higher Education Authority United States Fish and Wildlife Service National Board of Institutional Care National Electrical Safety Board Deutsche Post of the GDR National Food Agency Driver and Vehicle Licensing Agency Swedish Economic Crime Authority International Programme Office for Education and Training Marine Accident Investigation Branch Swedish Migration Board Swedish Agency for Public Management Swedish National Courts Administration Narcotics Division Swedish Polar Research Secretariat Defence Materiel Administration National Defence Radio Establishment Swedish Accident Investigation Board Swedish Consumer Agency Swedish Travelling Exhibitions Chancellor of Justice Swedish Road Administration South Dakota Legislative Research Council National Board of Forensic Medicine National Government Employee Pensions Board National Board for Youth Affairs National Rural Development Agency Office of Nuclear Energy Tourism Authority of Thailand Danish Geodata Agency National Legal Aid Authority United States Foreign Service Swedish Forest Agency Drug Commissioner of the Federal Government National Financial Management Authority Swedish Agency for Economic and Regional Growth Bureau of Counterterrorism National Government Service Centre Department of Local Administration Swedish Energy Agency National Claims Adjustment Board Office of the Comptroller of the Currency Swedish Council for Higher Education National Historical Museums Swedish Agency for Government Employers Agency for Inspection and Restoration of Monuments in Moldova Swedish National Service Administration Water District Authorities Swedish Board for Accreditation and  Conformity Assessment Bureau of Legislative Affairs National Board of Housing, Building and Planning Medical Products Agency National Board of Fisheries MFA Montenegro's Directorate General for European Integration Swedish Chemicals Agency Swedish Post and Telecom Agency Gabonese Defense Forces Swedish Council for Working Life and Social Research Travel Guarantees Board Swedish National Debt Office Delegation of Information and Communication Greek National Tourism Organization Office for assistance to the Chief Negotiator Swedish Competition Authority Swedish Transport Administration Substance Abuse and Mental Health Services Administration Safety Investigation Authority National Board for Consumer Complaints National Mediation Office Swedish Intercountry Adoptions Authority Swedish National Rail Administration Swedish Environmental Protection Agency Swedish Prison and Probation Service Swedish National Agency for Higher Vocational Education UK Debt Management Office Swedish Broadcasting Authority Office of the Historian Immigration and Naturalisation Service Office of Religious Freedom National Veterinary Institute Swedish Pensions Agency Swedish Tax Agency Congressional Budget Office
139
[{'concept': 'authority organ'}, 'part of', [{'concept': 'legislature'}, {'concept': 'ministry'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:authority_organ . ?y rdf:type ontology:legislature . ?x rdf:type ontology:ministry }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q349487 Q290195
P159
Q56061
USER
How many administrative territories are the head office for Parks Canada or Sonopresse located ?
(Q349487,P159,c(Q56061)) (Q290195,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q349487
relation P159
type Q56061
action filter_type
action find
entity Q290195
relation P159
type Q56061
['Q349487', 'P159', {'concept': 'Q56061'}] ['Q290195', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { VALUES ( ?y ) { ( resource:Q290195 ) ( resource:Q349487 ) } . ?y property:P159 ?f }
Parks Canada Sonopresse
action count
action union
action filter_type
action find
entity Parks Canada
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Sonopresse
relation headquarters location
type administrative territorial entity
['Parks Canada', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Sonopresse', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { VALUES ( ?y ) { ( resource:Sonopresse ) ( resource:Parks_Canada ) } . ?y property:headquarters_location ?f }
[]
administrative territorial entity
SYSTEM
2
Q90 Q1930
(Q349487,P159,c(Q56061)) (Q290195,P159,c(Q56061))
action count
action union
action filter_type
action find
entity Q349487
relation P159
type Q56061
action filter_type
action find
entity Q290195
relation P159
type Q56061
[ANSWER]
['Q349487', 'P159', {'concept': 'Q56061'}] ['Q290195', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { VALUES ( ?y ) { ( resource:Q290195 ) ( resource:Q349487 ) } . ?y property:P159 ?f }
Paris Ottawa
2
action count
action union
action filter_type
action find
entity Parks Canada
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Sonopresse
relation headquarters location
type administrative territorial entity
['Parks Canada', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Sonopresse', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { VALUES ( ?y ) { ( resource:Sonopresse ) ( resource:Parks_Canada ) } . ?y property:headquarters_location ?f }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1780041 Q668
P530 P17
Q1048835
USER
Which political territories have a diplomatic relationship with India or do Military Patrol and Police Command belong to ?
OR((Q668,P530,c(Q1048835)), (Q1780041,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q668
relation P530
action find
entity Q1780041
relation P17
type Q1048835
{'OR': [['Q668', 'P530', {'concept': 'Q1048835'}], ['Q1780041', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q668 property:P530 ?n } UNION { resource:Q1780041 property:P17 ?n } } . ?n rdf:type ontology:Q1048835 }
Military Patrol and Police Command India
action filter_type
action union
action find
entity India
relation diplomatic relation
action find
entity Military Patrol and Police Command
relation country
type political territorial entity
{'OR': [['India', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Military Patrol and Police Command', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:India property:diplomatic_relation ?n } UNION { resource:Military_Patrol_and_Police_Command property:country ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183 Q40
SYSTEM
Australia, Germany, Austria
Q408 Q183 Q40
OR((Q668,P530,c(Q1048835)), (Q1780041,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q668
relation P530
action find
entity Q1780041
relation P17
type Q1048835
[ANSWERS] have a diplomatic relationship with India or do Military Patrol and Police Command belong to
{'OR': [['Q668', 'P530', {'concept': 'Q1048835'}], ['Q1780041', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q668 property:P530 ?n } UNION { resource:Q1780041 property:P17 ?n } } . ?n rdf:type ontology:Q1048835 }
Australia Germany Austria
Australia, Germany and Austria have a diplomatic relationship with India or do Military Patrol and Police Command belong to
Australia Germany Austria
action filter_type
action union
action find
entity India
relation diplomatic relation
action find
entity Military Patrol and Police Command
relation country
type political territorial entity
{'OR': [['India', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Military Patrol and Police Command', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:India property:diplomatic_relation ?n } UNION { resource:Military_Patrol_and_Police_Command property:country ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q656095
P530
Q15617994
USER
Do Ueß have diplomatic relations with those political territories ?
(Q656095,P530,Q408) (Q656095,P530,Q183) (Q656095,P530,Q40)
action is_in
entity prev_answer
action find
entity Q656095
relation P530
['Q656095', 'P530', 'Q408'] ['Q656095', 'P530', 'Q183'] ['Q656095', 'P530', 'Q40']
ASK WHERE { resource:Q656095 property:P530 ?f . VALUES ( ?f ) { ( resource:Q408 ) ( resource:Q183 ) ( resource:Q40 ) } }
Ueß
action is_in
entity prev_answer
action find
entity Ueß
relation diplomatic relation
['Ueß', 'diplomatic relation', 'Australia'] ['Ueß', 'diplomatic relation', 'Germany'] ['Ueß', 'diplomatic relation', 'Austria']
ASK WHERE { resource:Ueß property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:Australia ) ( resource:Germany ) ( resource:Austria ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q656095,P530,Q408) (Q656095,P530,Q183) (Q656095,P530,Q40)
action is_in
entity prev_answer
action find
entity Q656095
relation P530
[ANSWER]
['Q656095', 'P530', 'Q408'] ['Q656095', 'P530', 'Q183'] ['Q656095', 'P530', 'Q40']
ASK WHERE { resource:Q656095 property:P530 ?f . VALUES ( ?f ) { ( resource:Q408 ) ( resource:Q183 ) ( resource:Q40 ) } }
No
action is_in
entity prev_answer
action find
entity Ueß
relation diplomatic relation
['Ueß', 'diplomatic relation', 'Australia'] ['Ueß', 'diplomatic relation', 'Germany'] ['Ueß', 'diplomatic relation', 'Austria']
ASK WHERE { resource:Ueß property:diplomatic_relation ?f . VALUES ( ?f ) { ( resource:Australia ) ( resource:Germany ) ( resource:Austria ) } }
[]