Simple Question (Direct)
Simple Question
Q315805
P21
Q290
USER
Which sex does Nico Richter belong to ?
(Q315805,P21,c(Q290))
action filter_type
action find
entity Q315805
relation P21
type Q290
['Q315805', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q315805 property:P21 ?l . ?l rdf:type ontology:Q290 }
Nico Richter
action filter_type
action find
entity Nico Richter
relation gender
type sex
['Nico Richter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Nico_Richter property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q315805,P21,c(Q290))
action filter_type
action find
entity Q315805
relation P21
type Q290
Nico Richter belongs to [ANSWER]
['Q315805', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q315805 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Nico Richter belongs to male
male
action filter_type
action find
entity Nico Richter
relation gender
type sex
['Nico Richter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Nico_Richter property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q315805
P19
Q56061
USER
Which administrative territory is the place of birth of Nico Richter ?
(Q315805,P19,c(Q56061))
action filter_type
action find
entity Q315805
relation P19
type Q56061
['Q315805', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q315805 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Nico Richter
action filter_type
action find
entity Nico Richter
relation place of birth
type administrative territorial entity
['Nico Richter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Nico_Richter property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727
SYSTEM
Amsterdam
Q727
(Q315805,P19,c(Q56061))
action filter_type
action find
entity Q315805
relation P19
type Q56061
[ANSWER] is the place of birth of Nico Richter
['Q315805', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q315805 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Amsterdam
Amsterdam is the place of birth of Nico Richter
Amsterdam
action filter_type
action find
entity Nico Richter
relation place of birth
type administrative territorial entity
['Nico Richter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Nico_Richter property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q315805
P106
Q12737077
USER
Which occupation is the profession of Nico Richter ?
(Q315805,P106,c(Q12737077))
action filter_type
action find
entity Q315805
relation P106
type Q12737077
['Q315805', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q315805 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Nico Richter
action filter_type
action find
entity Nico Richter
relation occupation
type occupation
['Nico Richter', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Nico_Richter property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q315805,P106,c(Q12737077))
action filter_type
action find
entity Q315805
relation P106
type Q12737077
The [ANSWER] is the profession of Nico Richter
['Q315805', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q315805 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
composer
The composer is the profession of Nico Richter
composer
action filter_type
action find
entity Nico Richter
relation occupation
type occupation
['Nico Richter', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Nico_Richter property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q315805
P27
Q15617994
USER
Which administrative territory does Nico Richter belong to ?
(Q315805,P27,c(Q15617994))
action filter_type
action find
entity Q315805
relation P27
type Q15617994
['Q315805', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q315805 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Nico Richter
action filter_type
action find
entity Nico Richter
relation country of citizenship
type designation for an administrative territorial entity
['Nico Richter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Nico_Richter property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q315805,P27,c(Q15617994))
action filter_type
action find
entity Q315805
relation P27
type Q15617994
Nico Richter belongs to [ANSWER]
['Q315805', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q315805 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Nico Richter belongs to Kingdom of the Netherlands
Kingdom of the Netherlands
action filter_type
action find
entity Nico Richter
relation country of citizenship
type designation for an administrative territorial entity
['Nico Richter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Nico_Richter property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7403278
Q15617994
USER
And what about Sal Giorgianni?
(Q7403278,P27,c(Q15617994))
action filter_type
action find
entity Q7403278
relation P27
type Q15617994
['Q7403278', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q7403278 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Sal Giorgianni
action filter_type
action find
entity Sal Giorgianni
relation country of citizenship
type designation for an administrative territorial entity
['Sal Giorgianni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Sal_Giorgianni property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7403278,P27,c(Q15617994))
action filter_type
action find
entity Q7403278
relation P27
type Q15617994
[ANSWER]
['Q7403278', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q7403278 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Sal Giorgianni
relation country of citizenship
type designation for an administrative territorial entity
['Sal Giorgianni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Sal_Giorgianni property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P530
Q15617994
USER
Who holds diplomatic relationship with that one ?
(Q30,P530,c(Q15617994))
action filter_type
action find
entity Q30
relation P530
type Q15617994
['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q30 property:P530 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:United_States_of_America property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q805 Q159 Q222 Q801 Q155 Q148 Q796 Q347 Q17 Q37 Q889 Q668 Q403 Q1011 Q38 Q414 Q953
(Q30,P530,c(Q15617994))
action filter_type
action find
entity Q30
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with that one
['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q30 property:P530 ?a . ?a rdf:type ontology:Q15617994 }
Yemen Russia Albania Israel Brazil People's Republic of China Iraq Liechtenstein Japan Lithuania Afghanistan India Serbia Cape Verde Italy Argentina Zambia
Italy, Brazil and Russia hold diplomatic relationship with that one
Italy Brazil Russia
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:United_States_of_America property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q30
Q1048835
USER
And which political territory?
(Q30,P530,c(Q1048835))
action filter_type
action find
entity Q30
relation P530
type Q1048835
['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q30 property:P530 ?m . ?m rdf:type ontology:Q1048835 }
United States of America
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(Q30,P530,c(Q1048835))
action filter_type
action find
entity Q30
relation P530
type Q1048835
[ANSWERS]
['Q30', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q30 property:P530 ?m . ?m rdf:type ontology:Q1048835 }
Germany Australia Canada
Germany Australia Canada
action filter_type
action find
entity United States of America
relation diplomatic relation
type political territorial entity
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q46822
P530
Q15617994
USER
Do Sarmede have diplomatic associations with those political territories ?
(Q46822,P530,Q183) (Q46822,P530,Q408) (Q46822,P530,Q16)
action is_in
entity prev_answer
action find
entity Q46822
relation P530
['Q46822', 'P530', 'Q183'] ['Q46822', 'P530', 'Q408'] ['Q46822', 'P530', 'Q16']
ASK WHERE { resource:Q46822 property:P530 ?x . VALUES ( ?x ) { ( resource:Q183 ) ( resource:Q408 ) ( resource:Q16 ) } }
Sarmede
action is_in
entity prev_answer
action find
entity Sarmede
relation diplomatic relation
['Sarmede', 'diplomatic relation', 'Germany'] ['Sarmede', 'diplomatic relation', 'Australia'] ['Sarmede', 'diplomatic relation', 'Canada']
ASK WHERE { resource:Sarmede property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Germany ) ( resource:Australia ) ( resource:Canada ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q46822,P530,Q183) (Q46822,P530,Q408) (Q46822,P530,Q16)
action is_in
entity prev_answer
action find
entity Q46822
relation P530
[ANSWER]
['Q46822', 'P530', 'Q183'] ['Q46822', 'P530', 'Q408'] ['Q46822', 'P530', 'Q16']
ASK WHERE { resource:Q46822 property:P530 ?x . VALUES ( ?x ) { ( resource:Q183 ) ( resource:Q408 ) ( resource:Q16 ) } }
No
action is_in
entity prev_answer
action find
entity Sarmede
relation diplomatic relation
['Sarmede', 'diplomatic relation', 'Germany'] ['Sarmede', 'diplomatic relation', 'Australia'] ['Sarmede', 'diplomatic relation', 'Canada']
ASK WHERE { resource:Sarmede property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Germany ) ( resource:Australia ) ( resource:Canada ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P609
Q83620
USER
Which thoroughfares have Germany as their departure point ?
(c(Q83620),P609,Q183)
action filter_type
action find_reverse
entity Q183
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q183']
SELECT DISTINCT ?v WHERE { ?v property:P609 resource:Q183 . ?v 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 ?v WHERE { ?v property:terminus_location resource:Germany . ?v 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 departure point
[{'concept': 'Q83620'}, 'P609', 'Q183']
SELECT DISTINCT ?v WHERE { ?v property:P609 resource:Q183 . ?v 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 departure point
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 ?v WHERE { ?v property:terminus_location resource:Germany . ?v rdf:type ontology:thoroughfare }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18619599 Q18679137
P126
Q895526
USER
Which authority organs were responsible for maintaining European route E35 in the Netherlands and European route E30 in the Netherlands ?
(Q18619599,P126,c(Q895526)) (Q18679137,P126,c(Q895526))
action union
action filter_type
action find
entity Q18619599
relation P126
type Q895526
action filter_type
action find
entity Q18679137
relation P126
type Q895526
['Q18619599', 'P126', {'concept': 'Q895526'}] ['Q18679137', 'P126', {'concept': 'Q895526'}]
SELECT DISTINCT ?w WHERE { { resource:Q18679137 property:P126 ?w . ?w rdf:type ontology:Q895526 } UNION { resource:Q18619599 property:P126 ?w . ?w rdf:type ontology:Q895526 } }
European route E35 in the Netherlands European route E30 in the Netherlands
action union
action filter_type
action find
entity European route E35 in the Netherlands
relation maintained by
type authority organ
action filter_type
action find
entity European route E30 in the Netherlands
relation maintained by
type authority organ
['European route E35 in the Netherlands', 'maintained by', {'concept': 'authority organ'}] ['European route E30 in the Netherlands', 'maintained by', {'concept': 'authority organ'}]
SELECT DISTINCT ?w WHERE { { resource:European_route_E30_in_the_Netherlands property:maintained_by ?w . ?w rdf:type ontology:authority_organ } UNION { resource:European_route_E35_in_the_Netherlands property:maintained_by ?w . ?w rdf:type ontology:authority_organ } }
[]
authority organ
Q1408870 Q1408870
SYSTEM
Rijkswaterstaat
Q1408870 Q1408870
(Q18619599,P126,c(Q895526)) (Q18679137,P126,c(Q895526))
action union
action filter_type
action find
entity Q18619599
relation P126
type Q895526
action filter_type
action find
entity Q18679137
relation P126
type Q895526
[ANSWER] and [ANSWER] were responsible for maintaining European route E35 in the Netherlands and European route E30 in the Netherlands
['Q18619599', 'P126', {'concept': 'Q895526'}] ['Q18679137', 'P126', {'concept': 'Q895526'}]
SELECT DISTINCT ?w WHERE { { resource:Q18679137 property:P126 ?w . ?w rdf:type ontology:Q895526 } UNION { resource:Q18619599 property:P126 ?w . ?w rdf:type ontology:Q895526 } }
Rijkswaterstaat Rijkswaterstaat
Rijkswaterstaat and Rijkswaterstaat were responsible for maintaining European route E35 in the Netherlands and European route E30 in the Netherlands
Rijkswaterstaat Rijkswaterstaat
action union
action filter_type
action find
entity European route E35 in the Netherlands
relation maintained by
type authority organ
action filter_type
action find
entity European route E30 in the Netherlands
relation maintained by
type authority organ
['European route E35 in the Netherlands', 'maintained by', {'concept': 'authority organ'}] ['European route E30 in the Netherlands', 'maintained by', {'concept': 'authority organ'}]
SELECT DISTINCT ?w WHERE { { resource:European_route_E30_in_the_Netherlands property:maintained_by ?w . ?w rdf:type ontology:authority_organ } UNION { resource:European_route_E35_in_the_Netherlands property:maintained_by ?w . ?w rdf:type ontology:authority_organ } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18619599
P127
Q895526
USER
Who is the owner of European route E35 in the Netherlands ?
(Q18619599,P127,c(Q895526))
action filter_type
action find
entity Q18619599
relation P127
type Q895526
['Q18619599', 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ?d WHERE { resource:Q18619599 property:P127 ?d . ?d rdf:type ontology:Q895526 }
European route E35 in the Netherlands
action filter_type
action find
entity European route E35 in the Netherlands
relation owned by
type authority organ
['European route E35 in the Netherlands', 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ?d WHERE { resource:European_route_E35_in_the_Netherlands property:owned_by ?d . ?d rdf:type ontology:authority_organ }
[]
authority organ
Q1408870
SYSTEM
Rijkswaterstaat
Q1408870
(Q18619599,P127,c(Q895526))
action filter_type
action find
entity Q18619599
relation P127
type Q895526
The owner of European route E35 in the Netherlands is the [ANSWER]
['Q18619599', 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ?d WHERE { resource:Q18619599 property:P127 ?d . ?d rdf:type ontology:Q895526 }
Rijkswaterstaat
The owner of European route E35 in the Netherlands is the Rijkswaterstaat
Rijkswaterstaat
action filter_type
action find
entity European route E35 in the Netherlands
relation owned by
type authority organ
['European route E35 in the Netherlands', 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ?d WHERE { resource:European_route_E35_in_the_Netherlands property:owned_by ?d . ?d rdf:type ontology:authority_organ }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P126
Q895526 Q83620
USER
Which authority organs were the custodian of lesser number of thoroughfares than that authority organ ?
(c(Q83620),P126,c(Q895526))
action less
action find_reverse_tuple_counts
relation P126
type Q895526
type Q83620
action count
action filter_type
action find_reverse
entity Q1408870
relation P126
type Q83620
[{'concept': 'Q83620'}, 'P126', {'concept': 'Q895526'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P126 ?g . ?g rdf:type ontology:Q895526 . ?z rdf:type ontology:Q83620 } GROUP BY ?g } . FILTER ( ?y < ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P126 resource:Q1408870 . ?d rdf:type ontology:Q83620 } } }
action less
action find_reverse_tuple_counts
relation maintained by
type authority organ
type thoroughfare
action count
action filter_type
action find_reverse
entity Rijkswaterstaat
relation maintained by
type thoroughfare
[{'concept': 'thoroughfare'}, 'maintained by', {'concept': 'authority organ'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:maintained_by ?g . ?g rdf:type ontology:authority_organ . ?z rdf:type ontology:thoroughfare } GROUP BY ?g } . FILTER ( ?y < ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:maintained_by resource:Rijkswaterstaat . ?d rdf:type ontology:thoroughfare } } }
[]
authority organ thoroughfare
Q349487 Q674113 Q2928428
SYSTEM
Parks Canada, United States Fish and Wildlife Service, Bureau of Labor Statistics
Q1191482 Q6781521 Q349487 Q1677108 Q23650255 Q3454977 Q1290144 Q2543589 Q7927202 Q20734859 Q4782452 Q6936341 Q1735793 Q4705265 Q5450806 Q909090 Q1646331 Q5531834 Q1416884 Q1467508 Q111854 Q961004 Q259278 Q6827241 Q6633860 Q5461149 Q23651359 Q4999225 Q2928428 Q2963303 Q20670021 Q1058767 Q1049334 Q2933976 Q953058 Q674113 Q16434268 Q807013 Q23651617 Q6462132 Q2602778 Q2357974 Q22959610 Q7339635 Q23651594 Q9105560 Q18156807 Q7339320 Q18693786 Q23650044 Q1687698 Q3360446 Q13416600 Q540967 Q6724489 Q3364902 Q3488215 Q23649979 Q867686 Q20734796 Q5020421 Q918384 Q5161516 Q7659958 Q6081280 Q4810766 Q23651624 Q3112646 Q1010556 Q23650035 Q4294509 Q24263780 Q7013162 Q4707642 Q1988606 Q1923667 Q7510564 Q5253345 Q11886867 Q23651360 Q23651361 Q7834896
(c(Q83620),P126,c(Q895526))
action less
action find_reverse_tuple_counts
relation P126
type Q895526
type Q83620
action count
action filter_type
action find_reverse
entity Q1408870
relation P126
type Q83620
[ANSWERS] were the custodian of lesser number of thoroughfares than that authority organ
[{'concept': 'Q83620'}, 'P126', {'concept': 'Q895526'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P126 ?g . ?g rdf:type ontology:Q895526 . ?z rdf:type ontology:Q83620 } GROUP BY ?g } . FILTER ( ?y < ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P126 resource:Q1408870 . ?d rdf:type ontology:Q83620 } } }
Department of Transport and Main Roads Maryland Transportation Authority Parks Canada Swedish Transport Administration Iosco County Road Commission Buildings Agency Heritage Agency of Denmark Department of Conservation and Recreation Victorian Curriculum and Assessment Authority Northern Mariana Islands Department of Public Works Aqaba Special Economic Zone Authority Municipal government of Toronto Main Roads Western Australia Alabama Historical Commission Finnish Population Registry Centre National Property Board Pennsylvania Turnpike Commission General Directorate of Highways Fine Arts Department Wisconsin Department of Natural Resources Historic Scotland Royal Commission on the Ancient and Historical Monuments of Scotland Metropolitan Manila Development Authority Miami-Dade Expressway Authority National Astronomical Research Institute of Thailand Florida's Turnpike Enterprise Iron County Road Commission Burlington County Bridge Commission Bureau of Labor Statistics Chicago Department of Transportation Maine Turnpike Authority New York City Department of Transportation United States Army Corps of Engineers California Department of Parks and Recreation National Library of Sweden United States Fish and Wildlife Service The Botanical Garden Organization, Thailand Swedish National Rail Administration Emmet County Road Commission South Jersey Transportation Authority Ministry of Ecology, Sustainable Development and Energy Highways Department National Wildlife Refuge System Roads and Traffic Authority Cheboygan County Road Commission Taipei City Government Portland Bureau of Transportation Road Development Authority Finnish Tax Administration Chippewa County Road Commission Norwegian National Rail Administration Finnish Transport Agency North Texas Tollway Authority Roads and Maritime Services Mackinac Bridge Authority Ontario Parks Société des établissements de plein air du Québec Keweenaw County Road Commission New Jersey Turnpike Authority American Samoa Department of Public Works California Department of Fish and Wildlife Swedish Road Administration Connecticut Department of Energy and Environmental Protection Sydney Harbour Foreshore Authority Iskandar Regional Development Authority Dublin City Council Alcona County Road Commission Welsh Government Bureau of Land Management Gogebic County Road Commission Ministry of Defence United States Virgin Islands Department of Public Works New York City Department of Environmental Protection Massachusetts Highway Department Lower Saxon State Department for Waterway, Coastal and Nature Conservation Waterwegen en Zeekanaal Staatsbosbeheer Delaware River and Bay Authority Finnish Patent and Registration Office Houghton County Road Commission Ontonagon County Road Commission Transport Scotland
Parks Canada, United States Fish and Wildlife Service and Bureau of Labor Statistics were the custodian of lesser number of thoroughfares than that authority organ
Parks Canada United States Fish and Wildlife Service Bureau of Labor Statistics
action less
action find_reverse_tuple_counts
relation maintained by
type authority organ
type thoroughfare
action count
action filter_type
action find_reverse
entity Rijkswaterstaat
relation maintained by
type thoroughfare
[{'concept': 'thoroughfare'}, 'maintained by', {'concept': 'authority organ'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:maintained_by ?g . ?g rdf:type ontology:authority_organ . ?z rdf:type ontology:thoroughfare } GROUP BY ?g } . FILTER ( ?y < ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:maintained_by resource:Rijkswaterstaat . ?d rdf:type ontology:thoroughfare } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q82794 Q874405 Q15617994
USER
Which administrative territories are a component of max number of geographic regions and social groups ?
(c(Q15617994),P361,c(Q82794)|c(Q874405))
action argmax
action union
action find_tuple_counts
relation P361
type Q15617994
type Q82794
action find_tuple_counts
relation P361
type Q15617994
type Q874405
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?c ) WHERE { { ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q82794 . ?e property:P361 ?r } UNION { ?e property:P361 ?r . ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q874405 } } GROUP BY ?e } . FILTER ( ?c = ?y ) . { SELECT DISTINCT ( MAX ( ?m ) AS ?y ) { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?m ) WHERE { { ?l property:P361 ?u . ?u rdf:type ontology:Q82794 . ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q874405 . ?l property:P361 ?u } } GROUP BY ?l } } }
action argmax
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'social group'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?c ) WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:geographic_region . ?e property:part_of ?r } UNION { ?e property:part_of ?r . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:social_group } } GROUP BY ?e } . FILTER ( ?c = ?y ) . { SELECT DISTINCT ( MAX ( ?m ) AS ?y ) { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?m ) WHERE { { ?l property:part_of ?u . ?u rdf:type ontology:geographic_region . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:social_group . ?l property:part_of ?u } } GROUP BY ?l } } }
[]
geographic region social group designation for an administrative territorial entity
Q242 Q686312 Q697685
SYSTEM
Belize, Duchy of Amalfi, House of Nassau-Weilburg
Q242 Q686312 Q697685
(c(Q15617994),P361,c(Q82794)|c(Q874405))
action argmax
action union
action find_tuple_counts
relation P361
type Q15617994
type Q82794
action find_tuple_counts
relation P361
type Q15617994
type Q874405
[ANSWERS] are a component of max number of geographic regions and social groups
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?c ) WHERE { { ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q82794 . ?e property:P361 ?r } UNION { ?e property:P361 ?r . ?e rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q874405 } } GROUP BY ?e } . FILTER ( ?c = ?y ) . { SELECT DISTINCT ( MAX ( ?m ) AS ?y ) { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?m ) WHERE { { ?l property:P361 ?u . ?u rdf:type ontology:Q82794 . ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q874405 . ?l property:P361 ?u } } GROUP BY ?l } } }
Belize Duchy of Amalfi House of Nassau-Weilburg
Belize, Duchy of Amalfi and House of Nassau-Weilburg are a component of max number of geographic regions and social groups
Belize Duchy of Amalfi House of Nassau-Weilburg
action argmax
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'social group'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?c ) WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:geographic_region . ?e property:part_of ?r } UNION { ?e property:part_of ?r . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:social_group } } GROUP BY ?e } . FILTER ( ?c = ?y ) . { SELECT DISTINCT ( MAX ( ?m ) AS ?y ) { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?m ) WHERE { { ?l property:part_of ?u . ?u rdf:type ontology:geographic_region . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:social_group . ?l property:part_of ?u } } GROUP BY ?l } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q804 Q315805
P36 P20
Q56061
USER
Which administrative territories did the expiration of Nico Richter occur or are called the capital of Panama ?
OR((Q315805,P20,c(Q56061)), (Q804,P36,c(Q56061)))
action filter_type
action union
action find
entity Q315805
relation P20
action find
entity Q804
relation P36
type Q56061
{'OR': [['Q315805', 'P20', {'concept': 'Q56061'}], ['Q804', 'P36', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q315805 property:P20 ?l } UNION { resource:Q804 property:P36 ?l } } . ?l rdf:type ontology:Q56061 }
Panama Nico Richter
action filter_type
action union
action find
entity Nico Richter
relation place of death
action find
entity Panama
relation capital
type administrative territorial entity
{'OR': [['Nico Richter', 'place of death', {'concept': 'administrative territorial entity'}], ['Panama', 'capital', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Nico_Richter property:place_of_death ?l } UNION { resource:Panama property:capital ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3306 Q727
SYSTEM
Panama City, Amsterdam
Q3306 Q727
OR((Q315805,P20,c(Q56061)), (Q804,P36,c(Q56061)))
action filter_type
action union
action find
entity Q315805
relation P20
action find
entity Q804
relation P36
type Q56061
The expiration of Nico Richter occurred in [ANSWERS]
{'OR': [['Q315805', 'P20', {'concept': 'Q56061'}], ['Q804', 'P36', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q315805 property:P20 ?l } UNION { resource:Q804 property:P36 ?l } } . ?l rdf:type ontology:Q56061 }
Panama City Amsterdam
The expiration of Nico Richter occurred in Panama City and Amsterdam
Panama City Amsterdam
action filter_type
action union
action find
entity Nico Richter
relation place of death
action find
entity Panama
relation capital
type administrative territorial entity
{'OR': [['Nico Richter', 'place of death', {'concept': 'administrative territorial entity'}], ['Panama', 'capital', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Nico_Richter property:place_of_death ?l } UNION { resource:Panama property:capital ?l } } . ?l rdf:type ontology:administrative_territorial_entity }
[]