Simple Question (Direct)
Simple Question
Q6791147
P54
Q12973014
USER
Which sports teams are Matthew Robinson a member of ?
(Q6791147,P54,c(Q12973014))
action filter_type
action find
entity Q6791147
relation P54
type Q12973014
['Q6791147', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q6791147 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
Matthew Robinson
action filter_type
action find
entity Matthew Robinson
relation member of sports team
type sports team
['Matthew Robinson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Matthew_Robinson property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
sports team
Q822877 Q1518257
SYSTEM
Wales national rugby union team, Ospreys
Q822877 Q1518257
(Q6791147,P54,c(Q12973014))
action filter_type
action find
entity Q6791147
relation P54
type Q12973014
And [ANSWERS] are Matthew Robinson a member of
['Q6791147', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?z WHERE { resource:Q6791147 property:P54 ?z . ?z rdf:type ontology:Q12973014 }
Wales national rugby union team Ospreys
And Wales national rugby union team and Ospreys are Matthew Robinson a member of
Wales national rugby union team Ospreys
action filter_type
action find
entity Matthew Robinson
relation member of sports team
type sports team
['Matthew Robinson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?z WHERE { resource:Matthew_Robinson property:member_of_sports_team ?z . ?z rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6791147
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q822877,P27,c(Q15617994)) (Q1518257,P27,c(Q15617994))
action filter_type
action find
entity Q6791147
relation P27
type Q15617994
['Q822877', 'P27', {'concept': 'Q15617994'}] ['Q1518257', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q6791147 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Matthew Robinson
action filter_type
action find
entity Matthew Robinson
relation country of citizenship
type designation for an administrative territorial entity
['Wales national rugby union team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ospreys', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Matthew_Robinson property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q822877,P27,c(Q15617994)) (Q1518257,P27,c(Q15617994))
action filter_type
action find
entity Q6791147
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q822877', 'P27', {'concept': 'Q15617994'}] ['Q1518257', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q6791147 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person an inhabitant of
United Kingdom
action filter_type
action find
entity Matthew Robinson
relation country of citizenship
type designation for an administrative territorial entity
['Wales national rugby union team', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ospreys', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Matthew_Robinson property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P609
Q83620
USER
Which thoroughfares have Germany as their destination ?
(c(Q83620),P609,Q183)
action filter_type
action find_reverse
entity Q183
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q183']
SELECT DISTINCT ?m WHERE { ?m property:P609 resource:Q183 . ?m rdf:type ontology:Q83620 }
Germany
action filter_type
action find_reverse
entity Germany
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Germany']
SELECT DISTINCT ?m WHERE { ?m property:terminus_location resource:Germany . ?m rdf:type ontology:thoroughfare }
[]
thoroughfare
Q18619599 Q18679137
SYSTEM
European route E35 in the Netherlands, European route E30 in the Netherlands
Q18619599 Q18679137
(c(Q83620),P609,Q183)
action filter_type
action find_reverse
entity Q183
relation P609
type Q83620
[ANSWERS] have Germany as their destination
[{'concept': 'Q83620'}, 'P609', 'Q183']
SELECT DISTINCT ?m WHERE { ?m property:P609 resource:Q183 . ?m rdf:type ontology:Q83620 }
European route E35 in the Netherlands European route E30 in the Netherlands
European route E35 in the Netherlands and European route E30 in the Netherlands have Germany as their destination
European route E35 in the Netherlands European route E30 in the Netherlands
action filter_type
action find_reverse
entity Germany
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Germany']
SELECT DISTINCT ?m WHERE { ?m property:terminus_location resource:Germany . ?m rdf:type ontology:thoroughfare }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18679137
P127
Q895526
USER
Which authority organ does that thoroughfare belong to ?
(Q18679137,P127,c(Q895526))
action filter_type
action find
entity Q18679137
relation P127
type Q895526
['Q18679137', 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ?s WHERE { resource:Q18679137 property:P127 ?s . ?s rdf:type ontology:Q895526 }
European route E30 in the Netherlands
action filter_type
action find
entity European route E30 in the Netherlands
relation owned by
type authority organ
['European route E30 in the Netherlands', 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ?s WHERE { resource:European_route_E30_in_the_Netherlands property:owned_by ?s . ?s rdf:type ontology:authority_organ }
[]
authority organ
Clarification for simple ques.
Q18619599
SYSTEM
Did you mean European route E35 in the Netherlands ?
Q18619599 Q18679137
(Q18619599,P127,c(Q895526)) (Q18679137,P127,c(Q895526))
[ANSWER]
['Q18619599', 'P127', {'concept': 'Q895526'}] ['Q18679137', 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ?s WHERE { resource:Q18679137 property:P127 ?s . ?s rdf:type ontology:Q895526 }
European route E35 in the Netherlands European route E30 in the Netherlands
Did you mean European route E35 in the Netherlands ?
European route E35 in the Netherlands
['European route E35 in the Netherlands', 'owned by', {'concept': 'authority organ'}] ['European route E30 in the Netherlands', 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ?s WHERE { resource:European_route_E30_in_the_Netherlands property:owned_by ?s . ?s rdf:type ontology:authority_organ }
[]
Simple Question (Coreferenced)
USER
No, I meant European route E30 in the Netherlands. Could you tell me the answer for that?
(Q18679137,P127,c(Q895526))
Q18679137
['Q18679137', 'P127', {'concept': 'Q895526'}]
['European route E30 in the Netherlands', 'owned by', {'concept': 'authority organ'}]
[]
Q1408870
SYSTEM
Rijkswaterstaat
Q1408870
(Q18679137,P127,c(Q895526))
action filter_type
action find
entity Q18679137
relation P127
type Q895526
That thoroughfare belongs to the [ANSWER]
['Q18679137', 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ?s WHERE { resource:Q18679137 property:P127 ?s . ?s rdf:type ontology:Q895526 }
Rijkswaterstaat
That thoroughfare belongs to the Rijkswaterstaat
Rijkswaterstaat
action filter_type
action find
entity European route E30 in the Netherlands
relation owned by
type authority organ
['European route E30 in the Netherlands', 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ?s WHERE { resource:European_route_E30_in_the_Netherlands property:owned_by ?s . ?s rdf:type ontology:authority_organ }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P85
Q7725634 Q484692 Q15617994
USER
Which administrative territories have an anthem named max number of literary works or hymns ?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action argmax
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?q WHERE { { ?q property:P85 ?j . ?j rdf:type ontology:Q7725634 . ?q rdf:type ontology:Q15617994 } UNION { ?q property:P85 ?j . ?q rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q484692 } } GROUP BY ?q } . FILTER ( ?i = ?z ) . { SELECT DISTINCT ( MAX ( ?l ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?k WHERE { { ?k property:P85 ?m . ?k rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q7725634 } UNION { ?m rdf:type ontology:Q484692 . ?k rdf:type ontology:Q15617994 . ?k property:P85 ?m } } GROUP BY ?k } } }
action argmax
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
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?q WHERE { { ?q property:anthem ?j . ?j rdf:type ontology:literary_work . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:anthem ?j . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:hymn } } GROUP BY ?q } . FILTER ( ?i = ?z ) . { SELECT DISTINCT ( MAX ( ?l ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?k WHERE { { ?k property:anthem ?m . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:literary_work } UNION { ?m rdf:type ontology:hymn . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:anthem ?m } } GROUP BY ?k } } }
[]
literary work hymn designation for an administrative territorial entity
Q159 Q242 Q1045
SYSTEM
Russia, Belize, Somalia
Q159 Q242 Q1045
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action argmax
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
[ANSWERS] have an anthem named max number of literary works or hymns
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?q WHERE { { ?q property:P85 ?j . ?j rdf:type ontology:Q7725634 . ?q rdf:type ontology:Q15617994 } UNION { ?q property:P85 ?j . ?q rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q484692 } } GROUP BY ?q } . FILTER ( ?i = ?z ) . { SELECT DISTINCT ( MAX ( ?l ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?k WHERE { { ?k property:P85 ?m . ?k rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q7725634 } UNION { ?m rdf:type ontology:Q484692 . ?k rdf:type ontology:Q15617994 . ?k property:P85 ?m } } GROUP BY ?k } } }
Russia Belize Somalia
Russia, Belize and Somalia have an anthem named max number of literary works or hymns
Russia Belize Somalia
action argmax
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
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) ?q WHERE { { ?q property:anthem ?j . ?j rdf:type ontology:literary_work . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:anthem ?j . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:hymn } } GROUP BY ?q } . FILTER ( ?i = ?z ) . { SELECT DISTINCT ( MAX ( ?l ) AS ?z ) { SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) ?k WHERE { { ?k property:anthem ?m . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:literary_work } UNION { ?m rdf:type ontology:hymn . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:anthem ?m } } GROUP BY ?k } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with exactly 27 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 27
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { FILTER ( ?x = 27 ) . { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?f property:P530 ?z } GROUP BY ?f } }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 27
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { FILTER ( ?x = 27 ) . { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?z } GROUP BY ?f } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 27
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { FILTER ( ?x = 27 ) . { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?f property:P530 ?z } GROUP BY ?f } }
Russia United States of America
2
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 27
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { FILTER ( ?x = 27 ) . { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?z } GROUP BY ?f } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P137
Q895526 Q62447 Q811979
USER
Which authority organs operate min number of aerodromes or architectural structures ?
(c(Q62447)|c(Q811979),P137,c(Q895526))
action argmin
action union
action find_reverse_tuple_counts
relation P137
type Q895526
type Q62447
action find_reverse_tuple_counts
relation P137
type Q895526
type Q811979
[[{'concept': 'Q62447'}, {'concept': 'Q811979'}], 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?c ) { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?t ) WHERE { { ?q rdf:type ontology:Q895526 . ?l rdf:type ontology:Q62447 . ?l property:P137 ?q } UNION { ?l property:P137 ?q . ?q rdf:type ontology:Q895526 . ?l rdf:type ontology:Q811979 } } GROUP BY ?q } } . FILTER ( ?j = ?c ) . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?j ) WHERE { { ?m property:P137 ?b . ?b rdf:type ontology:Q895526 . ?m rdf:type ontology:Q62447 } UNION { ?b rdf:type ontology:Q895526 . ?m rdf:type ontology:Q811979 . ?m property:P137 ?b } } GROUP BY ?b } }
action argmin
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 architectural structure
[[{'concept': 'aerodrome'}, {'concept': 'architectural structure'}], 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?c ) { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?t ) WHERE { { ?q rdf:type ontology:authority_organ . ?l rdf:type ontology:aerodrome . ?l property:operator ?q } UNION { ?l property:operator ?q . ?q rdf:type ontology:authority_organ . ?l rdf:type ontology:architectural_structure } } GROUP BY ?q } } . FILTER ( ?j = ?c ) . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?j ) WHERE { { ?m property:operator ?b . ?b rdf:type ontology:authority_organ . ?m rdf:type ontology:aerodrome } UNION { ?b rdf:type ontology:authority_organ . ?m rdf:type ontology:architectural_structure . ?m property:operator ?b } } GROUP BY ?b } }
[]
authority organ aerodrome architectural structure
Q349487 Q207361 Q674113
SYSTEM
Parks Canada, DARPA, United States Fish and Wildlife Service
Q3869731 Q6781521 Q349487 Q5251253 Q2728585 Q1677108 Q10677695 Q1194749 Q6781490 Q4969732 Q7374037 Q3259709 Q7834923 Q214700 Q16827826 Q1264458 Q1967252 Q643628 Q2397965 Q6806634 Q207361 Q1646331 Q1998985 Q5598354 Q1416884 Q631844 Q1589820 Q7414072 Q1467508 Q193755 Q111854 Q7707904 Q7989618 Q614819 Q383520 Q860935 Q7596470 Q21570203 Q5440270 Q1706660 Q7061278 Q6974770 Q4116375 Q5531834 Q674113 Q316296 Q1750377 Q10635976 Q3365478 Q1480245 Q2122615 Q5172805 Q1058767 Q834046 Q21532960 Q1484023 Q3015291 Q538101 Q1164325 Q3785211 Q24568054 Q1770101 Q3364902 Q3488215 Q5401570 Q480214 Q1532785 Q2304226 Q5020425 Q5020422 Q60346 Q5260295 Q1010548 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(Q62447)|c(Q811979),P137,c(Q895526))
action argmin
action union
action find_reverse_tuple_counts
relation P137
type Q895526
type Q62447
action find_reverse_tuple_counts
relation P137
type Q895526
type Q811979
[ANSWERS] operate min number of aerodromes or architectural structures
[[{'concept': 'Q62447'}, {'concept': 'Q811979'}], 'P137', {'concept': 'Q895526'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?c ) { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?t ) WHERE { { ?q rdf:type ontology:Q895526 . ?l rdf:type ontology:Q62447 . ?l property:P137 ?q } UNION { ?l property:P137 ?q . ?q rdf:type ontology:Q895526 . ?l rdf:type ontology:Q811979 } } GROUP BY ?q } } . FILTER ( ?j = ?c ) . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?j ) WHERE { { ?m property:P137 ?b . ?b rdf:type ontology:Q895526 . ?m rdf:type ontology:Q62447 } UNION { ?b rdf:type ontology:Q895526 . ?m rdf:type ontology:Q811979 . ?m property:P137 ?b } } GROUP BY ?b } }
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 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 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 Canadian Coast Guard Japan Meteorological Agency 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 United States Fish and Wildlife Service Deutsche Post of the GDR Department of Justice, Rating, Titles and Qualification Swedish Polar Research Secretariat Parks Victoria 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 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 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 min number of aerodromes or architectural structures
Parks Canada DARPA United States Fish and Wildlife Service
action argmin
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 architectural structure
[[{'concept': 'aerodrome'}, {'concept': 'architectural structure'}], 'operator', {'concept': 'authority organ'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?c ) { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?t ) WHERE { { ?q rdf:type ontology:authority_organ . ?l rdf:type ontology:aerodrome . ?l property:operator ?q } UNION { ?l property:operator ?q . ?q rdf:type ontology:authority_organ . ?l rdf:type ontology:architectural_structure } } GROUP BY ?q } } . FILTER ( ?j = ?c ) . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?j ) WHERE { { ?m property:operator ?b . ?b rdf:type ontology:authority_organ . ?m rdf:type ontology:aerodrome } UNION { ?b rdf:type ontology:authority_organ . ?m rdf:type ontology:architectural_structure . ?m property:operator ?b } } GROUP BY ?b } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q1190554 Q41176 Q895526
USER
Which authority organs are a part of approximately the same number of events and buildings as that authority organ ?
(c(Q895526),P361,c(Q1190554)|c(Q41176))
[{'concept': 'Q895526'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q41176'}]]
SELECT DISTINCT ?z WHERE { { ?z property:P361 ?s . VALUES ( ?s ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q895526 . ?y rdf:type ontology:Q5416694 . ?x rdf:type ontology:Q41176 }
[{'concept': 'authority organ'}, 'part of', [{'concept': 'event'}, {'concept': 'building'}]]
SELECT DISTINCT ?z WHERE { { ?z property:part_of ?s . VALUES ( ?s ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:authority_organ . ?y rdf:type ontology:event . ?x rdf:type ontology:building }
[]
event building authority organ
Comparative|More/Less|Mult. entity type|Clarification
Q674113
SYSTEM
Did you mean United States Fish and Wildlife Service ?
(c(Q895526),P361,c(Q1190554)|c(Q41176))
[ANSWER]
[{'concept': 'Q895526'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q41176'}]]
SELECT DISTINCT ?z WHERE { { ?z property:P361 ?s . VALUES ( ?s ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:Q895526 . ?y rdf:type ontology:Q5416694 . ?x rdf:type ontology:Q41176 }
Did you mean United States Fish and Wildlife Service ?
United States Fish and Wildlife Service
[{'concept': 'authority organ'}, 'part of', [{'concept': 'event'}, {'concept': 'building'}]]
SELECT DISTINCT ?z WHERE { { ?z property:part_of ?s . VALUES ( ?s ) { ( ?y ) ( ?x ) } } . ?z rdf:type ontology:authority_organ . ?y rdf:type ontology:event . ?x rdf:type ontology:building }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q895526),P361,c(Q1190554)|c(Q41176))
[{'concept': 'Q895526'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q41176'}]]
[{'concept': 'authority organ'}, 'part of', [{'concept': 'event'}, {'concept': 'building'}]]
[]
SYSTEM
240
Q1009333 Q2292839 Q1191489 Q4998389 Q1851579 Q1589437 Q2743535 Q4294571 Q23700899 Q10677695 Q7251399 Q4584301 Q10658655 Q19819925 Q10701323 Q854201 Q14213 Q1227512 Q10655262 Q1799233 Q1875618 Q384242 Q10701016 Q15961203 Q4355568 Q1005416 Q10677706 Q10549070 Q5495902 Q18483981 Q2180237 Q2445509 Q1670860 Q7921708 Q19828545 Q69968 Q15984844 Q9134365 Q8079265 Q7654827 Q6971056 Q7061045 Q3259709 Q12333322 Q3173114 Q10677697 Q3371373 Q11144 Q8437714 Q13012489 Q909090 Q10621662 Q6971388 Q3778860 Q7283877 Q6970210 Q1416884 Q20829648 Q631844 Q2983328 Q2304163 Q5185227 Q13022689 Q11983971 Q10690203 Q193755 Q7891195 Q2462220 Q10405389 Q474816 Q16304226 Q218707 Q1354321 Q3406485 Q2029358 Q198678 Q1408870 Q10416979 Q20853538 Q740574 Q190816 Q7079331 Q10416970 Q2986525 Q10638606 Q11888560 Q10690573 Q1977218 Q7654606 Q206946 Q1006223 Q6971083 Q16128627 Q1172261 Q13384978 Q14944295 Q10436166 Q2512489 Q4411912 Q7654686 Q4577772 Q953058 Q15278226 Q674113 Q4683474 Q692173 Q10677686 Q16434268 Q10482004 Q316296 Q327333 Q6972720 Q5531666 Q5308010 Q3357871 Q8727648 Q10536287 Q16933548 Q10547348 Q6763989 Q4585222 Q10677795 Q10475844 Q15942108 Q10635976 Q20191826 Q22959610 Q5251219 Q1480245 Q3359282 Q1354730 Q828518 Q1788830 Q5589338 Q2153029 Q7216254 Q918384 Q20711037 Q206634 Q2367258 Q10658535 Q10677726 Q1450662 Q192350 Q1802122 Q10709560 Q10505446 Q7079279 Q18762396 Q10650489 Q16251481 Q5589009 Q6504948 Q6573171 Q10658525 Q1595322 Q19828505 Q3480437 Q10670401 Q18388399 Q3155127 Q18125492 Q1259952 Q10926033 Q7654780 Q905379 Q2369041 Q3370919 Q4998361 Q6019257 Q10677716 Q15441423 Q10484099 Q10677718 Q2572330 Q7889463 Q3881026 Q10709720 Q2826641 Q2324548 Q10416948 Q1010549 Q24008253 Q10717720 Q10713433 Q3398800 Q7395171 Q3308934 Q878087 Q4998396 Q7889793 Q895355 Q2550202 Q1879124 Q10495784 Q18335798 Q10544771 Q7654818 Q18612054 Q10498149 Q10651177 Q3477339 Q2182976 Q3375451 Q3349554 Q21512617 Q4148745 Q18335826 Q15209927 Q1677108 Q7632057 Q10553309 Q3357506 Q784271 Q6971047 Q20857085 Q19828520 Q4708529 Q2984911 Q10579266 Q10591748 Q3522446 Q807013 Q2976522 Q7061065 Q10591756 Q1923667 Q4329294 Q7864856 Q10591752 Q7079368 Q23497869 Q2799845 Q5162434 Q10677733 Q1359213 Q15811618 Q10623228 Q836916 Q1125991
(c(Q895526),P361,c(Q1190554)|c(Q41176))
[ANSWER]
[{'concept': 'Q895526'}, 'P361', [{'concept': 'Q1190554'}, {'concept': 'Q41176'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q895526 . ?y rdf:type ontology:Q5416694 . ?x rdf:type ontology:Q41176 }
Bundeszollverwaltung National Agency for Education Department of the Prime Minister and Cabinet Bureau of International Labor Affairs Secretariat of the Central Committee of the Communist Party of the Soviet Union Department of Peacekeeping Operations Roads and Traffic Agency Secretariat for Administration and Justice Commissary General of Musters Swedish National Maritime Museums Protectorate of Emigrants Pakistan BIBSYS Swedish European Social Fund Council Flanders Geographical Information Agency Swedish Transport Agency district mayor United States Secretary of State Directorate General for Civil Aviation National Police Board Swedish Broadcasting Commission aviation authority Nordic Africa Institute Transport Analysis National Institute on Disability and Rehabilitation Research Swedish Governmental Agency for Innovation Systems federal agency Swedish Population Address Register Board Swedish Emergency Management Agency Legal, Financial and Administrative Services Agency National Center for Risk and Disasters Management Center for the Promotion of Imports Swedish Defence Research Agency Swedish International Development Cooperation Agency Vermont Department of Liquor Control Separate Operating Agency General Register Office 18F Monarch of the United Kingdom Østfold kollektivtrafikk Swedish Research Council National Board of Health and Welfare Norwegian Centre for Violence and Traumatic Stress Studies Los Angeles County Sheriff's Department Court of Lyngby Flemish Agency for Care and Health Swedish Media Council Swedish Defence Recruitment Agency Associate Justice of the Supreme Court of the United States National Public Art Council Department of Provincial Administration National Property Board Swedish Patent and Registration Office National Center for the Analysis of Violent Crime High Court Rail Accident Investigation Branch National Agency for Higher Education Fine Arts Department South Dakota Game, Fish and Parks 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 Gender Equality Ombud Swedish Agency for Accessible Media United States Geological Survey United States President's Council of Advisors on Science and Technology Agency for Innovation by Science and Technology Alcoholic Beverages Product Range Board Geological Survey of Sweden Royal Thai Army Ordnance Department Zollkommissariat Swedish Integration Board Swedish Prosecution Authority Code enforcement Swedish Radiation Safety Authority Rijkswaterstaat Swedish Work Environment Authority federal authority General Court Central Office for Jewish Emigration Office of the Administrative Assistant to the Secretary of the Army National Labour Market Board Sociaal en Cultureel Planbureau Press Subsidies Council National Police Board Dental and Pharmaceutical Benefits Agency NV De Scheepvaart Swedish Board of Agriculture Zivilstandsamt BfR - Federal Institute for Risk Assessment Swedish Board for Study Support Office of the Chief Scientist Data Inspection Board Landgericht Federal Agency Swedish National Council for Crime Prevention Flemish Environment Agency Swedish Agency for Non-Proliferation and Export Controls National Fortifications Administration Swedish Enforcement Authority National Library of Sweden Swedish Higher Education Authority United States Fish and Wildlife Service Administrative Office of the United States Courts Bureau for Economic Policy Analysis National Board of Institutional Care The Botanical Garden Organization, Thailand National Electrical Safety Board Deutsche Post of the GDR government agency National Food Agency General Administration of Press and Publication Driver and Vehicle Licensing Agency Swedish Economic Crime Authority regional state archives International Programme Office for Education and Training NHS Scotland National Board of Trade Marine Accident Investigation Branch Swedish Migration Board Swedish Agency for Public Management Swedish National Courts Administration Narcotics Division Swedish Polar Research Secretariat Cabinet Office National Wildlife Refuge System Defence Materiel Administration National Defence Radio Establishment Swedish Accident Investigation Board Hauptzollamt Institut national de physique nucléaire et de physique des particules Swedish Consumer Agency Government of Vietnam Swedish Travelling Exhibitions Chancellor of Justice Swedish Road Administration South Dakota Legislative Research Council Court of Common Pleas Netherlands Environmental Assessment Agency National Board of Forensic Medicine National Government Employee Pensions Board Government of France ministry German state agency National Board for Youth Affairs National Rural Development Agency Office of Nuclear Energy Maharashtra State Warehousing Corporation Swedish Government Offices National Health Service in England Government Office for Science Tourism Authority of Thailand Danish Geodata Agency National Legal Aid Authority Department of Justice Field Operating Agency United States Foreign Service Swedish Forest Agency Telangana Department of Agriculture Flemish Agency for Disabled Persons Hawks Drug Commissioner of the Federal Government State Administration of Press National Financial Management Authority State Administration for Religious Affairs Netherlands Government Information Service Swedish Agency for Economic and Regional Growth Bureau of Counterterrorism India Board National Government Service Centre Department of Local Administration Swedish Energy Agency National Claims Adjustment Board Ministry of education (France) United States Army Center of Military History Office of the Comptroller of the Currency Swedish Council for Higher Education executive agency National Historical Museums Swedish Agency for Government Employers Bureau of Ships Agency for Inspection and Restoration of Monuments in Moldova Swedish National Service Administration Water District Authorities Ministry of Presidency, Civil Service and Justice Swedish Board for Accreditation and  Conformity Assessment state court Haus der Bayerischen Geschichte Bureau of Legislative Affairs United States District Court for the District of Utah National Board of Housing, Building and Planning Department of Culture, Youth, Sport and Media 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 Secrétariat général du gouvernement Bloso Swedish National Debt Office Central Office for the Prevention of Illegal Working 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 legislative house Safety Investigation Authority diplomatic service National Board for Consumer Complaints state agency of the United States Direct Reporting Unit Alaska Department of Health and Social Services Council of State National Mediation Office Swedish Intercountry Adoptions Authority Flanders Investment and Trade Swedish National Rail Administration Swedish Environmental Protection Agency Swedish Prison and Probation Service Swedish National Agency for Higher Vocational Education Waterwegen en Zeekanaal regional committee of CPSU UK Debt Management Office Swedish Broadcasting Authority Office of the Historian Michigan Liquor Control Commission Immigration and Naturalisation Service Office of Religious Freedom National Veterinary Institute Saeculum obscurum Directorate-General for Energy Swedish Pensions Agency Swedish Tax Agency Congressional Budget Office
240
[{'concept': 'authority organ'}, 'part of', [{'concept': 'event'}, {'concept': 'building'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:authority_organ . ?y rdf:type ontology:event . ?x rdf:type ontology:building }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2511183
P1382
Q83620 Q83620 Q34442
USER
Which thoroughfares are concurrent with approximately the same number of thoroughfares and roads as Vasse Highway ?
(c(Q83620)|c(Q34442),P1382,c(Q83620))
action approx
action union
action find_reverse_tuple_counts
relation P1382
type Q83620
type Q83620
action find_reverse_tuple_counts
relation P1382
type Q83620
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q2511183
relation P1382
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P1382', {'concept': 'Q83620'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?s ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?r rdf:type ?s } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { { ?v rdf:type ontology:Q83620 } UNION { ?v rdf:type ontology:Q34442 } } . ?v property:P1382 resource:Q2511183 } } . FILTER ( ?e = ?n ) }
Vasse Highway
action approx
action union
action find_reverse_tuple_counts
relation coincident with
type thoroughfare
type thoroughfare
action find_reverse_tuple_counts
relation coincident with
type thoroughfare
type road
action count
action filter_multi_types
action find_reverse
entity Vasse Highway
relation coincident with
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'coincident with', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?s ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?r rdf:type ?s } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { { ?v rdf:type ontology:thoroughfare } UNION { ?v rdf:type ontology:road } } . ?v property:coincident_with resource:Vasse_Highway } } . FILTER ( ?e = ?n ) }
[]
thoroughfare thoroughfare road
Q18014905 Q18002953 Q18014906
SYSTEM
Walcott Street, London Street, Green Street
Q2304388 Q6666719 Q18001824 Q4877484 Q1318331 Q2350332 Q7292563 Q18028165 Q1544325 Q17854950 Q18002881 Q18002880 Q18002883 Q18002882 Q18002884 Q18002887 Q18002886 Q17846269 Q17853012 Q18014906 Q18014905 Q17836398 Q17835802 Q16363585 Q15099440 Q4792523 Q7148467 Q4879615 Q17865733 Q7338476 Q5756322 Q18010274 Q2603399 Q5646280 Q1503388 Q14935913 Q6772138 Q18002894 Q18002953 Q18014916 Q18014917 Q18013867 Q18014913 Q18014867 Q1661251 Q18015090 Q18028149 Q1939502 Q18003083 Q17865725 Q17865726 Q18014863 Q897747 Q17852687 Q14935927 Q8018909 Q1666215 Q923878 Q5731807 Q18013878 Q17847965 Q1535664 Q1640721 Q17848513 Q749132 Q18002943 Q7430263 Q1437953 Q16362152 Q1754006 Q17837087 Q7355401 Q7076057 Q1660968 Q17837732 Q1544264 Q14935831 Q6373377 Q475712 Q6912523 Q17865123 Q17865124 Q1017692 Q5000055 Q2511183 Q5139553 Q18002888 Q7793574 Q1368991 Q18028129 Q18010030 Q18010035 Q7996478 Q7270544 Q18014866 Q7398601 Q18014862 Q14935829 Q17805627 Q17853211 Q7982062 Q4863162 Q379376 Q7794240 Q6748251 Q5574078 Q1736261 Q17832861 Q18003102 Q18010023 Q18001615 Q18001617 Q18001613 Q18001612 Q4718762 Q7054116 Q18001640 Q1028793 Q16363942 Q5685878 Q5379185 Q17850130 Q18003095 Q18003094 Q18003097 Q18003096 Q5389268 Q18015101 Q7026627 Q7986623 Q8026556 Q17979362 Q17979363 Q17979360 Q17979361 Q17979366 Q17979364 Q929940 Q2564182 Q1553997 Q18001830 Q18003087 Q18003085 Q18001633 Q18001838 Q18001630 Q17875567 Q16354840 Q1129704 Q17833914 Q5757160 Q18010034 Q18010270 Q6914046 Q7971178 Q17846349 Q18001841 Q1033401
(c(Q83620)|c(Q34442),P1382,c(Q83620))
action approx
action union
action find_reverse_tuple_counts
relation P1382
type Q83620
type Q83620
action find_reverse_tuple_counts
relation P1382
type Q83620
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q2511183
relation P1382
type Q83620
type Q34442
[ANSWERS] are concurrent with approximately the same number of thoroughfares and roads as Vasse Highway
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P1382', {'concept': 'Q83620'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?s ) { ( ontology:Q83620 ) ( ontology:Q34442 ) } . ?r rdf:type ?s } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { { ?v rdf:type ontology:Q83620 } UNION { ?v rdf:type ontology:Q34442 } } . ?v property:P1382 resource:Q2511183 } } . FILTER ( ?e = ?n ) }
South Coast Highway Loftus Street Meadow Street Beaufort Street Great Eastern Highway Bypass Stirling Highway Ranford Road Rutland Road Great Northern Highway Jarrahdale Road Railway Parade Grand Promenade Garratt Road Whatley Crescent Grandstand Road Belgravia Street Stoneham Street James Street Kulija Road Green Street Walcott Street Zamia Street Pemberton–Northcliffe Road Guildford Road Abernethy Road Armadale Road Patterson Road Beechboro Road Corfield Street Riverside Drive High Road East Parade Albany Highway Hampton Road Graham Farmer Freeway Stock Road Marmion Avenue Fitzgerald Street London Street Lord Street Benara Road Eric Street Morley Drive East The Boulevard Indian Ocean Drive Balcatta Road Muchea South Road Mitchell Freeway Cedric Street Spencer Road Fremantle Road Lake Monger Drive Brand Highway Dixon Road Wellington Street William Street Mandjoogoordap Drive Brockman Highway Hepburn Avenue Curtin Avenue Beeliar Drive Goldfields Highway North West Coastal Highway Spearwood Avenue Old Coast Road Charles Street Scarborough Beach Road Forrest Highway Mounts Bay Road Leach Highway Wheatley Coast Road Rockingham Road Ocean Reef Road South Western Highway Middleton Road Great Eastern Highway Kalamunda Road Karrinyup Road Victoria Highway Morley Drive Shepperton Road Kenwick Link Bussell Highway Burns Beach Road Vasse Highway Cockburn Road Fairbrother Street Thomas Road Muirs Highway Neaves Road Underwood Avenue Rochdale Road Whitfords Avenue Queen Victoria Street Grantham Street Safety Bay Road Bulwer Street Joondalup Drive Manning Road Mundijong Road Welshpool Road Barrack Street Kwinana Freeway Thomas Street Mandurah Road Gnangara Road Tonkin Highway The Esplanade Rokeby Road Roberts Road Lord Street Victoria Street Wittenoom Street Hill Street Alexander Drive North Beach Road East Street Wanneroo Road Vincent Street Hay Street Ennis Avenue Parkin Street Flynn Street Pearson Street Nash Street Selby Street Erindale Road Marangaroo Drive Nicholson Road West Swan Road Winthrop Avenue Kondinin Hyden Road Hyden Lake King Road Brookton Corrigin Road Corrigin Kondinin Road Canning Road Newdegate Ravensthorpe Road Brookton Highway West Coast Highway Toodyay Road Brisbane Street Stephenson Avenue Odin Road James Street Broun Avenue Bridge Street Robertson Drive South Street Coolgardie–Esperance Highway Orrong Road High Street Stephenson Avenue Plain Street Morrison Road Warwick Road Ord Street Walter Road East Canning Highway
Walcott Street, London Street and Green Street are concurrent with approximately the same number of thoroughfares and roads as Vasse Highway
Walcott Street London Street Green Street
action approx
action union
action find_reverse_tuple_counts
relation coincident with
type thoroughfare
type thoroughfare
action find_reverse_tuple_counts
relation coincident with
type thoroughfare
type road
action count
action filter_multi_types
action find_reverse
entity Vasse Highway
relation coincident with
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'coincident with', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?e ) WHERE { VALUES ( ?s ) { ( ontology:thoroughfare ) ( ontology:road ) } . ?r rdf:type ?s } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { { ?v rdf:type ontology:thoroughfare } UNION { ?v rdf:type ontology:road } } . ?v property:coincident_with resource:Vasse_Highway } } . FILTER ( ?e = ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q7971178
P1382
Q83620 Q83620 Q34442
USER
And how about Warwick Road?
(c(Q83620)|c(Q34442),P1382,c(Q83620))
action approx
action union
action find_reverse_tuple_counts
relation P1382
type Q83620
type Q83620
action find_reverse_tuple_counts
relation P1382
type Q83620
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q7971178
relation P1382
type Q83620
type Q34442
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P1382', {'concept': 'Q83620'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?a WHERE { ?x rdf:type ?v . VALUES ( ?v ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { { ?y rdf:type ontology:Q83620 } UNION { ?y rdf:type ontology:Q34442 } } . ?y property:P1382 resource:Q7971178 } } . FILTER ( ?i = ?p ) }
Warwick Road
action approx
action union
action find_reverse_tuple_counts
relation coincident with
type thoroughfare
type thoroughfare
action find_reverse_tuple_counts
relation coincident with
type thoroughfare
type road
action count
action filter_multi_types
action find_reverse
entity Warwick Road
relation coincident with
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'coincident with', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?a WHERE { ?x rdf:type ?v . VALUES ( ?v ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { { ?y rdf:type ontology:thoroughfare } UNION { ?y rdf:type ontology:road } } . ?y property:coincident_with resource:Warwick_Road } } . FILTER ( ?i = ?p ) }
[]
thoroughfare thoroughfare road
Q18014905 Q18002953 Q18014906
SYSTEM
Walcott Street, London Street, Green Street
Q2304388 Q6666719 Q18001824 Q4877484 Q1318331 Q2350332 Q7292563 Q18028165 Q1544325 Q17854950 Q18002881 Q18002880 Q18002883 Q18002882 Q18002884 Q18002887 Q18002886 Q17846269 Q17853012 Q18014906 Q18014905 Q17836398 Q17835802 Q16363585 Q15099440 Q4792523 Q7148467 Q4879615 Q17865733 Q7338476 Q5756322 Q18010274 Q2603399 Q5646280 Q1503388 Q14935913 Q6772138 Q18002894 Q18002953 Q18014916 Q18014917 Q18013867 Q18014913 Q18014867 Q1661251 Q18015090 Q18028149 Q1939502 Q18003083 Q17865725 Q17865726 Q18014863 Q897747 Q17852687 Q14935927 Q8018909 Q1666215 Q923878 Q5731807 Q18013878 Q17847965 Q1535664 Q1640721 Q17848513 Q749132 Q18002943 Q7430263 Q1437953 Q16362152 Q1754006 Q17837087 Q7355401 Q7076057 Q1660968 Q17837732 Q1544264 Q14935831 Q6373377 Q475712 Q6912523 Q17865123 Q17865124 Q1017692 Q5000055 Q2511183 Q5139553 Q18002888 Q7793574 Q1368991 Q18028129 Q18010030 Q18010035 Q7996478 Q7270544 Q18014866 Q7398601 Q18014862 Q14935829 Q17805627 Q17853211 Q7982062 Q4863162 Q379376 Q7794240 Q6748251 Q5574078 Q1736261 Q17832861 Q18003102 Q18010023 Q18001615 Q18001617 Q18001613 Q18001612 Q4718762 Q7054116 Q18001640 Q1028793 Q16363942 Q5685878 Q5379185 Q17850130 Q18003095 Q18003094 Q18003097 Q18003096 Q5389268 Q18015101 Q7026627 Q7986623 Q8026556 Q17979362 Q17979363 Q17979360 Q17979361 Q17979366 Q17979364 Q929940 Q2564182 Q1553997 Q18001830 Q18003087 Q18003085 Q18001633 Q18001838 Q18001630 Q17875567 Q16354840 Q1129704 Q17833914 Q5757160 Q18010034 Q18010270 Q6914046 Q7971178 Q17846349 Q18001841 Q1033401
(c(Q83620)|c(Q34442),P1382,c(Q83620))
action approx
action union
action find_reverse_tuple_counts
relation P1382
type Q83620
type Q83620
action find_reverse_tuple_counts
relation P1382
type Q83620
type Q34442
action count
action filter_multi_types
action find_reverse
entity Q7971178
relation P1382
type Q83620
type Q34442
[ANSWERS]
[[{'concept': 'Q83620'}, {'concept': 'Q34442'}], 'P1382', {'concept': 'Q83620'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?a WHERE { ?x rdf:type ?v . VALUES ( ?v ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { { ?y rdf:type ontology:Q83620 } UNION { ?y rdf:type ontology:Q34442 } } . ?y property:P1382 resource:Q7971178 } } . FILTER ( ?i = ?p ) }
South Coast Highway Loftus Street Meadow Street Beaufort Street Great Eastern Highway Bypass Stirling Highway Ranford Road Rutland Road Great Northern Highway Jarrahdale Road Railway Parade Grand Promenade Garratt Road Whatley Crescent Grandstand Road Belgravia Street Stoneham Street James Street Kulija Road Green Street Walcott Street Zamia Street Pemberton–Northcliffe Road Guildford Road Abernethy Road Armadale Road Patterson Road Beechboro Road Corfield Street Riverside Drive High Road East Parade Albany Highway Hampton Road Graham Farmer Freeway Stock Road Marmion Avenue Fitzgerald Street London Street Lord Street Benara Road Eric Street Morley Drive East The Boulevard Indian Ocean Drive Balcatta Road Muchea South Road Mitchell Freeway Cedric Street Spencer Road Fremantle Road Lake Monger Drive Brand Highway Dixon Road Wellington Street William Street Mandjoogoordap Drive Brockman Highway Hepburn Avenue Curtin Avenue Beeliar Drive Goldfields Highway North West Coastal Highway Spearwood Avenue Old Coast Road Charles Street Scarborough Beach Road Forrest Highway Mounts Bay Road Leach Highway Wheatley Coast Road Rockingham Road Ocean Reef Road South Western Highway Middleton Road Great Eastern Highway Kalamunda Road Karrinyup Road Victoria Highway Morley Drive Shepperton Road Kenwick Link Bussell Highway Burns Beach Road Vasse Highway Cockburn Road Fairbrother Street Thomas Road Muirs Highway Neaves Road Underwood Avenue Rochdale Road Whitfords Avenue Queen Victoria Street Grantham Street Safety Bay Road Bulwer Street Joondalup Drive Manning Road Mundijong Road Welshpool Road Barrack Street Kwinana Freeway Thomas Street Mandurah Road Gnangara Road Tonkin Highway The Esplanade Rokeby Road Roberts Road Lord Street Victoria Street Wittenoom Street Hill Street Alexander Drive North Beach Road East Street Wanneroo Road Vincent Street Hay Street Ennis Avenue Parkin Street Flynn Street Pearson Street Nash Street Selby Street Erindale Road Marangaroo Drive Nicholson Road West Swan Road Winthrop Avenue Kondinin Hyden Road Hyden Lake King Road Brookton Corrigin Road Corrigin Kondinin Road Canning Road Newdegate Ravensthorpe Road Brookton Highway West Coast Highway Toodyay Road Brisbane Street Stephenson Avenue Odin Road James Street Broun Avenue Bridge Street Robertson Drive South Street Coolgardie–Esperance Highway Orrong Road High Street Stephenson Avenue Plain Street Morrison Road Warwick Road Ord Street Walter Road East Canning Highway
Walcott Street London Street Green Street
action approx
action union
action find_reverse_tuple_counts
relation coincident with
type thoroughfare
type thoroughfare
action find_reverse_tuple_counts
relation coincident with
type thoroughfare
type road
action count
action filter_multi_types
action find_reverse
entity Warwick Road
relation coincident with
type thoroughfare
type road
[[{'concept': 'thoroughfare'}, {'concept': 'road'}], 'coincident with', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?a WHERE { ?x rdf:type ?v . VALUES ( ?v ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { { ?y rdf:type ontology:thoroughfare } UNION { ?y rdf:type ontology:road } } . ?y property:coincident_with resource:Warwick_Road } } . FILTER ( ?i = ?p ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P669
Q83620 Q3914
USER
Which schools have their location as min number of thoroughfares ?
(c(Q3914),P669,c(Q83620))
action argmin
action find_tuple_counts
relation P669
type Q3914
type Q83620
[{'concept': 'Q3914'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?g ) { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?n ) WHERE { ?k property:P669 ?z . ?k rdf:type ontology:Q3914 . ?z rdf:type ontology:Q83620 } GROUP BY ?k } } . { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?f ) WHERE { ?h property:P669 ?e . ?e rdf:type ontology:Q83620 . ?h rdf:type ontology:Q3914 } GROUP BY ?h } . FILTER ( ?f = ?g ) }
action argmin
action find_tuple_counts
relation located on street
type school
type thoroughfare
[{'concept': 'school'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?g ) { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?n ) WHERE { ?k property:located_on_street ?z . ?k rdf:type ontology:school . ?z rdf:type ontology:thoroughfare } GROUP BY ?k } } . { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?f ) WHERE { ?h property:located_on_street ?e . ?e rdf:type ontology:thoroughfare . ?h rdf:type ontology:school } GROUP BY ?h } . FILTER ( ?f = ?g ) }
[]
thoroughfare school
Q273626 Q17574356 Q49126
SYSTEM
École Polytechnique, Haagaas School, Harvard Business School
Q7628092 Q1641001 Q17574356 Q7649450 Q49126 Q6514349 Q273626 Q16259388 Q1816228 Q3276962 Q3268696 Q16258686 Q337454 Q19830060
(c(Q3914),P669,c(Q83620))
action argmin
action find_tuple_counts
relation P669
type Q3914
type Q83620
[ANSWERS] have their location as min number of thoroughfares
[{'concept': 'Q3914'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?g ) { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?n ) WHERE { ?k property:P669 ?z . ?k rdf:type ontology:Q3914 . ?z rdf:type ontology:Q83620 } GROUP BY ?k } } . { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?f ) WHERE { ?h property:P669 ?e . ?e rdf:type ontology:Q83620 . ?h rdf:type ontology:Q3914 } GROUP BY ?h } . FILTER ( ?f = ?g ) }
Studieskolen Royal Danish Academy of Fine Arts Haagaas School Sussex House School Harvard Business School Lee Kuan Yew School of Public Policy École Polytechnique Lee Kong Chian School of Business Royal Academy of Art Hartvig Nissen School lycée Georges-Clemenceau College of Visual Arts Académie Colarossi 6e Montessorischool Anne Frank
École Polytechnique, Haagaas School and Harvard Business School have their location as min number of thoroughfares
École Polytechnique Haagaas School Harvard Business School
action argmin
action find_tuple_counts
relation located on street
type school
type thoroughfare
[{'concept': 'school'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?g ) { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?n ) WHERE { ?k property:located_on_street ?z . ?k rdf:type ontology:school . ?z rdf:type ontology:thoroughfare } GROUP BY ?k } } . { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?f ) WHERE { ?h property:located_on_street ?e . ?e rdf:type ontology:thoroughfare . ?h rdf:type ontology:school } GROUP BY ?h } . FILTER ( ?f = ?g ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17574356
P69
Q502895
USER
Which people were educated at that school ?
(c(Q502895),P69,Q17574356)
action filter_type
action find_reverse
entity Q17574356
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q17574356']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P69 resource:Q17574356 }
Haagaas School
action filter_type
action find_reverse
entity Haagaas School
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Haagaas School']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:educated_at resource:Haagaas_School }
[]
common name
Clarification for simple ques.
Q49126
SYSTEM
Did you mean Harvard Business School ?
Q273626 Q17574356 Q49126
(c(Q502895),P69,Q273626) (c(Q502895),P69,Q17574356) (c(Q502895),P69,Q49126)
[ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q273626'] [{'concept': 'Q502895'}, 'P69', 'Q17574356'] [{'concept': 'Q502895'}, 'P69', 'Q49126']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P69 resource:Q17574356 }
École Polytechnique Haagaas School Harvard Business School
Did you mean Harvard Business School ?
Harvard Business School
[{'concept': 'common name'}, 'educated at', 'École Polytechnique'] [{'concept': 'common name'}, 'educated at', 'Haagaas School'] [{'concept': 'common name'}, 'educated at', 'Harvard Business School']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:educated_at resource:Haagaas_School }
[]
Simple Question (Coreferenced)
USER
No, I meant Haagaas School. Could you tell me the answer for that?
(c(Q502895),P69,Q17574356)
Q17574356
[{'concept': 'Q502895'}, 'P69', 'Q17574356']
[{'concept': 'common name'}, 'educated at', 'Haagaas School']
[]
Q6519369 Q674027 Q6519478
SYSTEM
Leif B. Lillegaard, Finn Alnæs, Leif Tronstad
Q11992707 Q4955952 Q674027 Q6519478 Q6519369 Q16899859 Q4580665 Q5722010 Q14950978 Q17064454
(c(Q502895),P69,Q17574356)
action filter_type
action find_reverse
entity Q17574356
relation P69
type Q502895
[ANSWERS] were educated at that school
[{'concept': 'Q502895'}, 'P69', 'Q17574356']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P69 resource:Q17574356 }
Notto Normann Thelle Ellen Isefiær Finn Alnæs Leif Tronstad Leif B. Lillegaard Ragnhild Knagenhjelm Mosse Jørgensen Henry Gleditsch Lydolf Lind Meløy Sverre Glomnes
Leif B. Lillegaard, Finn Alnæs and Leif Tronstad were educated at that school
Leif B. Lillegaard Finn Alnæs Leif Tronstad
action filter_type
action find_reverse
entity Haagaas School
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Haagaas School']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:educated_at resource:Haagaas_School }
[]