Simple Question (Direct)
Simple Question
Q27342350
P710
Q502895
USER
Which people were participants of 2016 All England Badminton Championships – Men's doubles ?
(Q27342350,P710,c(Q502895))
action filter_type
action find
entity Q27342350
relation P710
type Q502895
['Q27342350', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q27342350 property:P710 ?w . ?w rdf:type ontology:Q502895 }
2016 All England Badminton Championships – Men's doubles
action filter_type
action find
entity 2016 All England Badminton Championships – Men's doubles
relation participant
type common name
["2016 All England Badminton Championships – Men's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:2016_All_England_Badminton_Championships_–_Men's_doubles property:participant ?w . ?w rdf:type ontology:common_name }
[]
common name
Q483244 Q461654 Q515934
SYSTEM
Lee Yong-dae, Yoo Yeon-seong, Hiroyuki Endo
Q483244 Q515934 Q528315 Q2391965 Q1534357 Q516577 Q461654 Q476758
(Q27342350,P710,c(Q502895))
action filter_type
action find
entity Q27342350
relation P710
type Q502895
[ANSWERS] were participants of 2016 All England Badminton Championships – Men's doubles
['Q27342350', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q27342350 property:P710 ?w . ?w rdf:type ontology:Q502895 }
Lee Yong-dae Hiroyuki Endo Vladimir Ivanov Tan Wee Kiong Goh Wei Shem Kenichi Hayakawa Yoo Yeon-seong Ivan Sozonov
Lee Yong-dae, Yoo Yeon-seong and Hiroyuki Endo were participants of 2016 All England Badminton Championships – Men's doubles
Lee Yong-dae Yoo Yeon-seong Hiroyuki Endo
action filter_type
action find
entity 2016 All England Badminton Championships – Men's doubles
relation participant
type common name
["2016 All England Badminton Championships – Men's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:2016_All_England_Badminton_Championships_–_Men's_doubles property:participant ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27342350
P1344
Q502895
USER
Which people participated in that All England Badminton Championships ?
(c(Q502895),P1344,Q483244) (c(Q502895),P1344,Q461654) (c(Q502895),P1344,Q515934)
action filter_type
action find_reverse
entity Q27342350
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q483244'] [{'concept': 'Q502895'}, 'P1344', 'Q461654'] [{'concept': 'Q502895'}, 'P1344', 'Q515934']
SELECT DISTINCT ?q WHERE { ?q property:P1344 resource:Q27342350 . ?q rdf:type ontology:Q502895 }
2016 All England Badminton Championships – Men's doubles
action filter_type
action find_reverse
entity 2016 All England Badminton Championships – Men's doubles
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'Lee Yong-dae'] [{'concept': 'common name'}, 'participant of', 'Yoo Yeon-seong'] [{'concept': 'common name'}, 'participant of', 'Hiroyuki Endo']
SELECT DISTINCT ?q WHERE { ?q property:participant_of resource:2016_All_England_Badminton_Championships_–_Men's_doubles . ?q rdf:type ontology:common_name }
[]
common name
Q483244 Q461654 Q515934
SYSTEM
Lee Yong-dae, Yoo Yeon-seong, Hiroyuki Endo
Q483244 Q515934 Q528315 Q2391965 Q1534357 Q516577 Q461654 Q476758
(c(Q502895),P1344,Q483244) (c(Q502895),P1344,Q461654) (c(Q502895),P1344,Q515934)
action filter_type
action find_reverse
entity Q27342350
relation P1344
type Q502895
[ANSWERS] participated in that All England Badminton Championships
[{'concept': 'Q502895'}, 'P1344', 'Q483244'] [{'concept': 'Q502895'}, 'P1344', 'Q461654'] [{'concept': 'Q502895'}, 'P1344', 'Q515934']
SELECT DISTINCT ?q WHERE { ?q property:P1344 resource:Q27342350 . ?q rdf:type ontology:Q502895 }
Lee Yong-dae Hiroyuki Endo Vladimir Ivanov Tan Wee Kiong Goh Wei Shem Kenichi Hayakawa Yoo Yeon-seong Ivan Sozonov
Lee Yong-dae, Yoo Yeon-seong and Hiroyuki Endo participated in that All England Badminton Championships
Lee Yong-dae Yoo Yeon-seong Hiroyuki Endo
action filter_type
action find_reverse
entity 2016 All England Badminton Championships – Men's doubles
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', 'Lee Yong-dae'] [{'concept': 'common name'}, 'participant of', 'Yoo Yeon-seong'] [{'concept': 'common name'}, 'participant of', 'Hiroyuki Endo']
SELECT DISTINCT ?q WHERE { ?q property:participant_of resource:2016_All_England_Badminton_Championships_–_Men's_doubles . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q483244 Q461654 Q515934
P710
Q328539
USER
Which German Open Badminton Championshipss have those people as their participant ?
(c(Q328539),P710,Q483244) (c(Q328539),P710,Q461654) (c(Q328539),P710,Q515934)
action filter_type
action find_reverse
entity prev_answer
relation P710
type Q328539
[{'concept': 'Q328539'}, 'P710', 'Q483244'] [{'concept': 'Q328539'}, 'P710', 'Q461654'] [{'concept': 'Q328539'}, 'P710', 'Q515934']
SELECT DISTINCT ?v WHERE { ?v property:P710 ?n . ?v rdf:type ontology:Q328539 . VALUES ( ?n ) { ( resource:Q483244 ) ( resource:Q515934 ) ( resource:Q528315 ) } }
Lee Yong-dae Yoo Yeon-seong Hiroyuki Endo
action filter_type
action find_reverse
entity prev_answer
relation participant
type German Open Badminton Championships
[{'concept': 'German Open Badminton Championships'}, 'participant', 'Lee Yong-dae'] [{'concept': 'German Open Badminton Championships'}, 'participant', 'Yoo Yeon-seong'] [{'concept': 'German Open Badminton Championships'}, 'participant', 'Hiroyuki Endo']
SELECT DISTINCT ?v WHERE { ?v property:participant ?n . ?v rdf:type ontology:German_Open_Badminton_Championships . VALUES ( ?n ) { ( resource:Lee_Yong-dae ) ( resource:Hiroyuki_Endo ) ( resource:Vladimir_Ivanov ) } }
[]
German Open Badminton Championships
Q27570496 Q27570496 Q27570496
SYSTEM
2016 German Open Badminton Championships – Men's doubles
Q27570488 Q27570485 Q27570490 Q27570496 Q27570617 Q27570496 Q27570496 Q27570495
(c(Q328539),P710,Q483244) (c(Q328539),P710,Q461654) (c(Q328539),P710,Q515934)
action filter_type
action find_reverse
entity prev_answer
relation P710
type Q328539
[ANSWER], [ANSWER] and [ANSWER] have those people as their participant
[{'concept': 'Q328539'}, 'P710', 'Q483244'] [{'concept': 'Q328539'}, 'P710', 'Q461654'] [{'concept': 'Q328539'}, 'P710', 'Q515934']
SELECT DISTINCT ?v WHERE { ?v property:P710 ?n . ?v rdf:type ontology:Q328539 . VALUES ( ?n ) { ( resource:Q483244 ) ( resource:Q515934 ) ( resource:Q528315 ) } }
2009 German Open Badminton Championships – Men's doubles 2006 German Open Badminton Championships – Men's doubles 2011 German Open Badminton Championships – Men's doubles 2016 German Open Badminton Championships – Men's doubles 2008 German Open Badminton Championships – Mixed doubles 2016 German Open Badminton Championships – Men's doubles 2016 German Open Badminton Championships – Men's doubles 2015 German Open Badminton Championships – Men's doubles
2016 German Open Badminton Championships – Men's doubles, 2016 German Open Badminton Championships – Men's doubles and 2016 German Open Badminton Championships – Men's doubles have those people as their participant
2016 German Open Badminton Championships – Men's doubles 2016 German Open Badminton Championships – Men's doubles 2016 German Open Badminton Championships – Men's doubles
action filter_type
action find_reverse
entity prev_answer
relation participant
type German Open Badminton Championships
[{'concept': 'German Open Badminton Championships'}, 'participant', 'Lee Yong-dae'] [{'concept': 'German Open Badminton Championships'}, 'participant', 'Yoo Yeon-seong'] [{'concept': 'German Open Badminton Championships'}, 'participant', 'Hiroyuki Endo']
SELECT DISTINCT ?v WHERE { ?v property:participant ?n . ?v rdf:type ontology:German_Open_Badminton_Championships . VALUES ( ?n ) { ( resource:Lee_Yong-dae ) ( resource:Hiroyuki_Endo ) ( resource:Vladimir_Ivanov ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q483244
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Lee Yong-dae ?
(Q483244,P27,c(Q15617994))
action filter_type
action find
entity Q483244
relation P27
type Q15617994
['Q483244', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q483244 property:P27 ?j }
Lee Yong-dae
action filter_type
action find
entity Lee Yong-dae
relation country of citizenship
type designation for an administrative territorial entity
['Lee Yong-dae', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lee_Yong-dae property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q884
SYSTEM
South Korea
Q884
(Q483244,P27,c(Q15617994))
action filter_type
action find
entity Q483244
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Lee Yong-dae
['Q483244', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q483244 property:P27 ?j }
South Korea
South Korea is the country of citizenship of Lee Yong-dae
South Korea
action filter_type
action find
entity Lee Yong-dae
relation country of citizenship
type designation for an administrative territorial entity
['Lee Yong-dae', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lee_Yong-dae property:country_of_citizenship ?j }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21066500 Q461654
P1344
Q18536594
USER
Which Olympic sporting events did Yoo Yeon-seong or Muhammad Hanif Wijaya participate in ?
OR((Q461654,P1344,c(Q18536594)), (Q21066500,P1344,c(Q18536594)))
action filter_type
action union
action find
entity Q461654
relation P1344
action find
entity Q21066500
relation P1344
type Q18536594
{'OR': [['Q461654', 'P1344', {'concept': 'Q18536594'}], ['Q21066500', 'P1344', {'concept': 'Q18536594'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q18536594 . { VALUES ( ?i ) { ( resource:Q461654 ) ( resource:Q21066500 ) } . ?i property:P1344 ?u } }
Muhammad Hanif Wijaya Yoo Yeon-seong
action filter_type
action union
action find
entity Yoo Yeon-seong
relation participant of
action find
entity Muhammad Hanif Wijaya
relation participant of
type Olympic sporting event
{'OR': [['Yoo Yeon-seong', 'participant of', {'concept': 'Olympic sporting event'}], ['Muhammad Hanif Wijaya', 'participant of', {'concept': 'Olympic sporting event'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Olympic_sporting_event . { VALUES ( ?i ) { ( resource:Yoo_Yeon-seong ) ( resource:Muhammad_Hanif_Wijaya ) } . ?i property:participant_of ?u } }
[]
Olympic sporting event
Q11867265 Q1337276
SYSTEM
archery at the 2016 Summer Olympics, Badminton at the 2012 Summer Olympics – Men's doubles
Q11867265 Q1337276
OR((Q461654,P1344,c(Q18536594)), (Q21066500,P1344,c(Q18536594)))
action filter_type
action union
action find
entity Q461654
relation P1344
action find
entity Q21066500
relation P1344
type Q18536594
Yoo Yeon-seong or Muhammad Hanif Wijaya participated in [ANSWERS]
{'OR': [['Q461654', 'P1344', {'concept': 'Q18536594'}], ['Q21066500', 'P1344', {'concept': 'Q18536594'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q18536594 . { VALUES ( ?i ) { ( resource:Q461654 ) ( resource:Q21066500 ) } . ?i property:P1344 ?u } }
archery at the 2016 Summer Olympics Badminton at the 2012 Summer Olympics – Men's doubles
Yoo Yeon-seong or Muhammad Hanif Wijaya participated in archery at the 2016 Summer Olympics and Badminton at the 2012 Summer Olympics – Men's doubles
archery at the 2016 Summer Olympics Badminton at the 2012 Summer Olympics – Men's doubles
action filter_type
action union
action find
entity Yoo Yeon-seong
relation participant of
action find
entity Muhammad Hanif Wijaya
relation participant of
type Olympic sporting event
{'OR': [['Yoo Yeon-seong', 'participant of', {'concept': 'Olympic sporting event'}], ['Muhammad Hanif Wijaya', 'participant of', {'concept': 'Olympic sporting event'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Olympic_sporting_event . { VALUES ( ?i ) { ( resource:Yoo_Yeon-seong ) ( resource:Muhammad_Hanif_Wijaya ) } . ?i property:participant_of ?u } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P710
Q502895
USER
How many people were the participants of that Olympic sporting event ?
(Q1337276,P710,c(Q502895))
['Q1337276', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1337276 property:P710 ?z . ?z rdf:type ontology:Q502895 }
["Badminton at the 2012 Summer Olympics – Men's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Badminton_at_the_2012_Summer_Olympics_–_Men's_doubles property:participant ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q1337276
SYSTEM
Did you mean Badminton at the 2012 Summer Olympics – Men's doubles ?
(Q11867265,P710,c(Q502895)) (Q1337276,P710,c(Q502895))
[ANSWER]
['Q11867265', 'P710', {'concept': 'Q502895'}] ['Q1337276', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1337276 property:P710 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Badminton at the 2012 Summer Olympics – Men's doubles ?
Badminton at the 2012 Summer Olympics – Men's doubles
['archery at the 2016 Summer Olympics', 'participant', {'concept': 'common name'}] ["Badminton at the 2012 Summer Olympics – Men's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Badminton_at_the_2012_Summer_Olympics_–_Men's_doubles property:participant ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q1337276,P710,c(Q502895))
['Q1337276', 'P710', {'concept': 'Q502895'}]
["Badminton at the 2012 Summer Olympics – Men's doubles", 'participant', {'concept': 'common name'}]
[]
SYSTEM
32
Q483244 Q462946 Q443579 Q719320 Q476758 Q337654 Q463222 Q465069 Q1508426 Q707235 Q968378 Q467397 Q1851672 Q2576468 Q2167601 Q1555120 Q1531123 Q349076 Q1387653 Q185282 Q461654 Q423743 Q551379 Q824135 Q670069 Q585982 Q471111 Q528315 Q1244991 Q1395562 Q636226 Q562189
(Q1337276,P710,c(Q502895))
[ANSWER]
['Q1337276', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1337276 property:P710 ?z . ?z rdf:type ontology:Q502895 }
Lee Yong-dae Maneepong Jongjit Ingo Kindervater Tony Gunawan Ivan Sozonov Mathias Boe Chai Biao Ko Sung-hyun Howard Bach Tan Boon Heong Naoki Kawamae Bodin Issara Michał Łogosz Willem Viljoen Ross Smith Guo Zhendong Glenn Warfe Adam Cwalina Shoji Sato Muhammad Ahsan Yoo Yeon-seong Lee Sheng-Mu Cai Yun Johannes Schöttler Carsten Mogensen Bona Septano Fu Haifeng Vladimir Ivanov Dorian James Fang Chieh-Min Koo Kien Keat Jung Jae-sung
32
["Badminton at the 2012 Summer Olympics – Men's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Badminton_at_the_2012_Summer_Olympics_–_Men's_doubles property:participant ?z . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q25171 Q11867265
P47 P17
Q15617994
USER
Which administrative territories are archery at the 2016 Summer Olympics located in or are adjacent to Pezzana ?
OR((Q11867265,P17,c(Q15617994)), (Q25171,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q11867265
relation P17
action find
entity Q25171
relation P47
type Q15617994
{'OR': [['Q11867265', 'P17', {'concept': 'Q15617994'}], ['Q25171', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q11867265 property:P17 ?f } UNION { resource:Q25171 property:P47 ?f } } . ?f rdf:type ontology:Q15617994 }
Pezzana archery at the 2016 Summer Olympics
action filter_type
action union
action find
entity archery at the 2016 Summer Olympics
relation country
action find
entity Pezzana
relation shares border with
type designation for an administrative territorial entity
{'OR': [['archery at the 2016 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pezzana', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:archery_at_the_2016_Summer_Olympics property:country ?f } UNION { resource:Pezzana property:shares_border_with ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q24937 Q155 Q40679 Q25211 Q24858 Q41003 Q25176
SYSTEM
Caresana, Brazil, Rosasco, Stroppiana, Asigliano Vercellese, Palestro, Prarolo
Q24937 Q155 Q40679 Q25211 Q24858 Q41003 Q25176
OR((Q11867265,P17,c(Q15617994)), (Q25171,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q11867265
relation P17
action find
entity Q25171
relation P47
type Q15617994
[ANSWERS]
{'OR': [['Q11867265', 'P17', {'concept': 'Q15617994'}], ['Q25171', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q11867265 property:P17 ?f } UNION { resource:Q25171 property:P47 ?f } } . ?f rdf:type ontology:Q15617994 }
Caresana Brazil Rosasco Stroppiana Asigliano Vercellese Palestro Prarolo
Which administrative territories are archery at the 2016 Summer Olympics located in or are adjacent to Pezzana
Caresana Brazil Rosasco Stroppiana Asigliano Vercellese Palestro Prarolo
action filter_type
action union
action find
entity archery at the 2016 Summer Olympics
relation country
action find
entity Pezzana
relation shares border with
type designation for an administrative territorial entity
{'OR': [['archery at the 2016 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pezzana', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:archery_at_the_2016_Summer_Olympics property:country ?f } UNION { resource:Pezzana property:shares_border_with ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic associations with max number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?y ) WHERE { ?h property:P530 ?i . ?h rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?y = ?m ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?m ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?t ) WHERE { ?f property:P530 ?u . ?f rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?f } } }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?y ) WHERE { ?h property:diplomatic_relation ?i . ?h rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?y = ?m ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?m ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?t ) WHERE { ?f property:diplomatic_relation ?u . ?f rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } } }
[]
designation for an administrative territorial entity political territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have diplomatic associations with max number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?y ) WHERE { ?h property:P530 ?i . ?h rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?y = ?m ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?m ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?t ) WHERE { ?f property:P530 ?u . ?f rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?f } } }
Germany
Germany have diplomatic associations with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?i ) AS ?y ) WHERE { ?h property:diplomatic_relation ?i . ?h rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?y = ?m ) . { SELECT DISTINCT ( MAX ( ?t ) AS ?m ) { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?t ) WHERE { ?f property:diplomatic_relation ?u . ?f rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1001
Q1292279 Q820655
USER
How many political borders or statutes preside the jurisdiction over that political territory ?
(c(Q1292279),P1001,Q183) (c(Q820655),P1001,Q183) (c(Q1292279),P1001,Q183) (c(Q820655),P1001,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P1001
type Q1292279
action filter_type
action find_reverse
entity Q183
relation P1001
type Q820655
[{'concept': 'Q1292279'}, 'P1001', 'Q183'] [{'concept': 'Q820655'}, 'P1001', 'Q183'] [{'concept': 'Q1292279'}, 'P1001', 'Q183'] [{'concept': 'Q820655'}, 'P1001', 'Q183']
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { ?b property:P1001 resource:Q183 . ?b rdf:type ontology:Q1292279 } UNION { ?b rdf:type ontology:Q820655 . ?b property:P1001 resource:Q183 } }
action count
action union
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type political border
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type statute
[{'concept': 'political border'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'statute'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'statute'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { ?b property:applies_to_jurisdiction resource:Germany . ?b rdf:type ontology:political_border } UNION { ?b rdf:type ontology:statute . ?b property:applies_to_jurisdiction resource:Germany } }
[]
political border statute
SYSTEM
12
Q3088698 Q1500569 Q1991986 Q1991225 Q1991810 Q15214996 Q3088708 Q2422197 Q16025247 Q2457112 Q26720112 Q16025205
(c(Q1292279),P1001,Q183) (c(Q820655),P1001,Q183) (c(Q1292279),P1001,Q183) (c(Q820655),P1001,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P1001
type Q1292279
action filter_type
action find_reverse
entity Q183
relation P1001
type Q820655
[ANSWER]
[{'concept': 'Q1292279'}, 'P1001', 'Q183'] [{'concept': 'Q820655'}, 'P1001', 'Q183'] [{'concept': 'Q1292279'}, 'P1001', 'Q183'] [{'concept': 'Q820655'}, 'P1001', 'Q183']
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { ?b property:P1001 resource:Q183 . ?b rdf:type ontology:Q1292279 } UNION { ?b rdf:type ontology:Q820655 . ?b property:P1001 resource:Q183 } }
Belgium–Germany border Municipal Transport Financing Act Austria–Germany border France–Germany border Germany–Switzerland border Germany–Poland border Germany–Luxembourg border Denmark–Germany border Germany–Sweden border Czech Republic–Germany border Statistical Register Law Germany–United Kingdom border
12
action count
action union
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type political border
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type statute
[{'concept': 'political border'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'statute'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'political border'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'statute'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { { ?b property:applies_to_jurisdiction resource:Germany . ?b rdf:type ontology:political_border } UNION { ?b rdf:type ontology:statute . ?b property:applies_to_jurisdiction resource:Germany } }
[]