Simple Question (Direct)
Simple Question
Q3809678
P106
Q12737077
USER
What does John Williams do for a living ?
(Q3809678,P106,c(Q12737077))
action filter_type
action find
entity Q3809678
relation P106
type Q12737077
['Q3809678', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3809678 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
John Williams
action filter_type
action find
entity John Williams
relation occupation
type occupation
['John Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:John_Williams property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q3809678,P106,c(Q12737077))
action filter_type
action find
entity Q3809678
relation P106
type Q12737077
John Williams does a [ANSWER] for a living
['Q3809678', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3809678 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
basketball player
John Williams does a basketball player for a living
basketball player
action filter_type
action find
entity John Williams
relation occupation
type occupation
['John Williams', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:John_Williams property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3809678
P54
Q12973014
USER
Which sports teams are John Williams a member of ?
(Q3809678,P54,c(Q12973014))
action filter_type
action find
entity Q3809678
relation P54
type Q12973014
['Q3809678', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { resource:Q3809678 property:P54 ?n . ?n rdf:type ontology:Q12973014 }
John Williams
action filter_type
action find
entity John Williams
relation member of sports team
type sports team
['John Williams', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { resource:John_Williams property:member_of_sports_team ?n . ?n rdf:type ontology:sports_team }
[]
sports team
Q170329 Q2318786 Q54912
SYSTEM
Indiana Pacers, CB Granada, Bàsquet Manresa
Q2318786 Q54912 Q170329 Q54944 Q643748 Q976396
(Q3809678,P54,c(Q12973014))
action filter_type
action find
entity Q3809678
relation P54
type Q12973014
[ANSWERS] are John Williams a member of
['Q3809678', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?n WHERE { resource:Q3809678 property:P54 ?n . ?n rdf:type ontology:Q12973014 }
CB Granada Bàsquet Manresa Indiana Pacers CB Valladolid CB Lucentum Alicante Los Angeles Clippers
Indiana Pacers, CB Granada and Bàsquet Manresa are John Williams a member of
Indiana Pacers CB Granada Bàsquet Manresa
action filter_type
action find
entity John Williams
relation member of sports team
type sports team
['John Williams', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?n WHERE { resource:John_Williams property:member_of_sports_team ?n . ?n rdf:type ontology:sports_team }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6211726
Q12973014
USER
And also tell me about Joe Paterson?
(Q6211726,P54,c(Q12973014))
action filter_type
action find
entity Q6211726
relation P54
type Q12973014
['Q6211726', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?f WHERE { resource:Q6211726 property:P54 ?f . ?f rdf:type ontology:Q12973014 }
Joe Paterson
action filter_type
action find
entity Joe Paterson
relation member of sports team
type sports team
['Joe Paterson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?f WHERE { resource:Joe_Paterson property:member_of_sports_team ?f . ?f rdf:type ontology:sports_team }
[]
sports team
Q194116 Q192083 Q203008
SYSTEM
Detroit Red Wings, Philadelphia Flyers, Los Angeles Kings
Q203008 Q188984 Q194116 Q192083
(Q6211726,P54,c(Q12973014))
action filter_type
action find
entity Q6211726
relation P54
type Q12973014
[ANSWERS]
['Q6211726', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?f WHERE { resource:Q6211726 property:P54 ?f . ?f rdf:type ontology:Q12973014 }
Los Angeles Kings New York Rangers Detroit Red Wings Philadelphia Flyers
Detroit Red Wings Philadelphia Flyers Los Angeles Kings
action filter_type
action find
entity Joe Paterson
relation member of sports team
type sports team
['Joe Paterson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?f WHERE { resource:Joe_Paterson property:member_of_sports_team ?f . ?f rdf:type ontology:sports_team }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5300390
P54
Q502895
USER
Does Doug Crossman play for those sports teams ?
(Q5300390,P54,Q194116) (Q5300390,P54,Q192083) (Q5300390,P54,Q203008)
action is_in
entity prev_answer
action find
entity Q5300390
relation P54
['Q5300390', 'P54', 'Q194116'] ['Q5300390', 'P54', 'Q192083'] ['Q5300390', 'P54', 'Q203008']
ASK WHERE { VALUES ( ?s ) { ( resource:Q203008 ) ( resource:Q188984 ) ( resource:Q194116 ) } . resource:Q5300390 property:P54 ?s }
Doug Crossman
action is_in
entity prev_answer
action find
entity Doug Crossman
relation member of sports team
['Doug Crossman', 'member of sports team', 'Detroit Red Wings'] ['Doug Crossman', 'member of sports team', 'Philadelphia Flyers'] ['Doug Crossman', 'member of sports team', 'Los Angeles Kings']
ASK WHERE { VALUES ( ?s ) { ( resource:Los_Angeles_Kings ) ( resource:New_York_Rangers ) ( resource:Detroit_Red_Wings ) } . resource:Doug_Crossman property:member_of_sports_team ?s }
[]
common name
SYSTEM
YES
(Q5300390,P54,Q194116) (Q5300390,P54,Q192083) (Q5300390,P54,Q203008)
action is_in
entity prev_answer
action find
entity Q5300390
relation P54
[ANSWER]
['Q5300390', 'P54', 'Q194116'] ['Q5300390', 'P54', 'Q192083'] ['Q5300390', 'P54', 'Q203008']
ASK WHERE { VALUES ( ?s ) { ( resource:Q203008 ) ( resource:Q188984 ) ( resource:Q194116 ) } . resource:Q5300390 property:P54 ?s }
Yes
action is_in
entity prev_answer
action find
entity Doug Crossman
relation member of sports team
['Doug Crossman', 'member of sports team', 'Detroit Red Wings'] ['Doug Crossman', 'member of sports team', 'Philadelphia Flyers'] ['Doug Crossman', 'member of sports team', 'Los Angeles Kings']
ASK WHERE { VALUES ( ?s ) { ( resource:Los_Angeles_Kings ) ( resource:New_York_Rangers ) ( resource:Detroit_Red_Wings ) } . resource:Doug_Crossman property:member_of_sports_team ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q476300 Q163740 Q12973014
USER
How many sports teams are a component of approximately 1 competitions or nonprofit organizations ?
(c(Q12973014),P361,c(Q476300)|c(Q163740))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q12973014
type Q476300
action find_tuple_counts
relation P361
type Q12973014
type Q163740
value 1
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q476300'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?q ) WHERE { { ?s property:P361 ?k . ?s rdf:type ontology:Q12973014 . ?k rdf:type ontology:Q476300 } UNION { ?s property:P361 ?k . ?k rdf:type ontology:Q163740 . ?s rdf:type ontology:Q12973014 } } GROUP BY ?s } . FILTER ( ?q = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type sports team
type competition
action find_tuple_counts
relation part of
type sports team
type nonprofit organization
value 1
[{'concept': 'sports team'}, 'part of', [{'concept': 'competition'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?q ) WHERE { { ?s property:part_of ?k . ?s rdf:type ontology:sports_team . ?k rdf:type ontology:competition } UNION { ?s property:part_of ?k . ?k rdf:type ontology:nonprofit_organization . ?s rdf:type ontology:sports_team } } GROUP BY ?s } . FILTER ( ?q = 1 ) }
[]
competition nonprofit organization sports team
SYSTEM
2
Q16197479 Q18125078
(c(Q12973014),P361,c(Q476300)|c(Q163740))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q12973014
type Q476300
action find_tuple_counts
relation P361
type Q12973014
type Q163740
value 1
[ANSWER]
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q476300'}, {'concept': 'Q163740'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?q ) WHERE { { ?s property:P361 ?k . ?s rdf:type ontology:Q12973014 . ?k rdf:type ontology:Q476300 } UNION { ?s property:P361 ?k . ?k rdf:type ontology:Q163740 . ?s rdf:type ontology:Q12973014 } } GROUP BY ?s } . FILTER ( ?q = 1 ) }
High Point Panthers men's basketball Germany at the 2016 Summer Paralympics
2
action count
action approx
action union
action find_tuple_counts
relation part of
type sports team
type competition
action find_tuple_counts
relation part of
type sports team
type nonprofit organization
value 1
[{'concept': 'sports team'}, 'part of', [{'concept': 'competition'}, {'concept': 'nonprofit organization'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?q ) WHERE { { ?s property:part_of ?k . ?s rdf:type ontology:sports_team . ?k rdf:type ontology:competition } UNION { ?s property:part_of ?k . ?k rdf:type ontology:nonprofit_organization . ?s rdf:type ontology:sports_team } } GROUP BY ?s } . FILTER ( ?q = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170329
P647
Q502895
USER
Who were Indiana Pacers drafted by ?
(c(Q502895),P647,Q170329)
action filter_type
action find_reverse
entity Q170329
relation P647
type Q502895
[{'concept': 'Q502895'}, 'P647', 'Q170329']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P647 resource:Q170329 }
Indiana Pacers
action filter_type
action find_reverse
entity Indiana Pacers
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Indiana Pacers']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:drafted_by resource:Indiana_Pacers }
[]
common name
Q3493017 Q270966 Q1089188
SYSTEM
Spencer Dunkley, Reggie Miller, Chuck Person
Q2450451 Q3810125 Q1627840 Q19564111 Q3808382 Q3568850 Q1693481 Q2652381 Q3993330 Q374536 Q2569322 Q3644482 Q962408 Q3639989 Q931525 Q1075984 Q1607728 Q13605982 Q1626497 Q6999966 Q17403499 Q3493017 Q3849539 Q781069 Q1445827 Q440332 Q1458359 Q443716 Q1608013 Q3814636 Q2735590 Q13563911 Q521908 Q2345237 Q3930613 Q1089188 Q278203 Q973121 Q2627251 Q1385557 Q3807297 Q270966 Q3934866 Q3706956 Q3612910 Q375189 Q926248 Q1458320 Q975550 Q1628192 Q42065 Q968705 Q601776 Q517350 Q1327649 Q2620594 Q744920 Q2241174 Q7287706 Q3953567 Q14425059 Q580808 Q3262413 Q2294935 Q318929 Q2337380 Q3716813 Q461574 Q1389621 Q5605791 Q2553181 Q2345652 Q1825983 Q3776403
(c(Q502895),P647,Q170329)
action filter_type
action find_reverse
entity Q170329
relation P647
type Q502895
Indiana Pacers were drafted by players [ANSWERS]
[{'concept': 'Q502895'}, 'P647', 'Q170329']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P647 resource:Q170329 }
Ryan Reid Jose Slaughter Brian Rowsom Joseph Young Jim Thomas William Njoku Shawne Williams Damon Bailey Tony Zeno Rik Smits Rick Robey Brian Martin Vern Fleming Bill Martin Jerryd Bayless Alexander Johnson Dudley Bradley Solomon Hill Scott Haskin Kenton Edelin Myles Turner Spencer Dunkley Mark Pope Austin Croshere Kenny Williams James Jones Clark Kellogg Primož Brezec George McCloud Kenny Natt Vonteego Cummings Colton Iverson Erick Dampier Herb Williams Ray Blume Chuck Person Malik Sealy Paul George Lance Stephenson Fred Jones Jaquay Walls Reggie Miller Richard Rellford Dick Miller Alonzo Bradley Erazem Lorbek Kawhi Leonard Steve Stipanovich Jamison Brewer Devin Durrant Michael Anderson Wayman Tisdale Antonio Davis Tyler Hansbrough Dale Davis A. J. Price Dāvis Bertāns Tom Scheffler Ralph Jackson Sean Green Herbert Crook Fred Hoiberg Louis Labeyrie Travis Best Danny Granger David Harrison Dwayne McClain Al Harrington Rashad Wright Greg Jones Eric Piatkowski Stuart Gray Nathan Jawai Greg Dreiling
Indiana Pacers were drafted by players Spencer Dunkley, Reggie Miller and Chuck Person
Spencer Dunkley Reggie Miller Chuck Person
action filter_type
action find_reverse
entity Indiana Pacers
relation drafted by
type common name
[{'concept': 'common name'}, 'drafted by', 'Indiana Pacers']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:drafted_by resource:Indiana_Pacers }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q170329
P17
Q15617994
USER
Which administrative territory is that sports team located in ?
(Q3493017,P17,c(Q15617994)) (Q270966,P17,c(Q15617994)) (Q1089188,P17,c(Q15617994))
action filter_type
action find
entity Q170329
relation P17
type Q15617994
['Q3493017', 'P17', {'concept': 'Q15617994'}] ['Q270966', 'P17', {'concept': 'Q15617994'}] ['Q1089188', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q170329 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Indiana Pacers
action filter_type
action find
entity Indiana Pacers
relation country
type designation for an administrative territorial entity
['Spencer Dunkley', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Reggie Miller', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Chuck Person', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Indiana_Pacers property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3493017,P17,c(Q15617994)) (Q270966,P17,c(Q15617994)) (Q1089188,P17,c(Q15617994))
action filter_type
action find
entity Q170329
relation P17
type Q15617994
That sports team is located in [ANSWER]
['Q3493017', 'P17', {'concept': 'Q15617994'}] ['Q270966', 'P17', {'concept': 'Q15617994'}] ['Q1089188', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q170329 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
That sports team is located in United States of America
United States of America
action filter_type
action find
entity Indiana Pacers
relation country
type designation for an administrative territorial entity
['Spencer Dunkley', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Reggie Miller', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Chuck Person', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Indiana_Pacers property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q332922 Q1089188
P47 P27
Q15617994
USER
Which administrative territories are Chuck Person an inhabitant of or are adjacent to Cattolica Eraclea ?
OR((Q1089188,P27,c(Q15617994)), (Q332922,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1089188
relation P27
action find
entity Q332922
relation P47
type Q15617994
{'OR': [['Q1089188', 'P27', {'concept': 'Q15617994'}], ['Q332922', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q1089188 property:P27 ?o } UNION { resource:Q332922 property:P47 ?o } } . ?o rdf:type ontology:Q15617994 }
Cattolica Eraclea Chuck Person
action filter_type
action union
action find
entity Chuck Person
relation country of citizenship
action find
entity Cattolica Eraclea
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Chuck Person', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Cattolica Eraclea', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Chuck_Person property:country_of_citizenship ?o } UNION { resource:Cattolica_Eraclea property:shares_border_with ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q432678 Q328241 Q30 Q431492 Q432527
SYSTEM
Sant'Angelo Muxaro, Montallegro, United States of America, Cianciana, Ribera
Q432678 Q328241 Q30 Q431492 Q432527
OR((Q1089188,P27,c(Q15617994)), (Q332922,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1089188
relation P27
action find
entity Q332922
relation P47
type Q15617994
[ANSWERS] are Chuck Person an inhabitant of or are adjacent to Cattolica Eraclea
{'OR': [['Q1089188', 'P27', {'concept': 'Q15617994'}], ['Q332922', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q1089188 property:P27 ?o } UNION { resource:Q332922 property:P47 ?o } } . ?o rdf:type ontology:Q15617994 }
Sant'Angelo Muxaro Montallegro United States of America Cianciana Ribera
Sant'Angelo Muxaro, Montallegro, United States of America, Cianciana and Ribera are Chuck Person an inhabitant of or are adjacent to Cattolica Eraclea
Sant'Angelo Muxaro Montallegro United States of America Cianciana Ribera
action filter_type
action union
action find
entity Chuck Person
relation country of citizenship
action find
entity Cattolica Eraclea
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Chuck Person', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Cattolica Eraclea', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Chuck_Person property:country_of_citizenship ?o } UNION { resource:Cattolica_Eraclea property:shares_border_with ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories have a shared border with that administrative territory ?
(Q432678,P47,c(Q15617994))
['Q432678', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q432678 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
["Sant'Angelo Muxaro", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sant'Angelo_Muxaro property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q432678
SYSTEM
Did you mean Sant'Angelo Muxaro ?
(Q432678,P47,c(Q15617994)) (Q328241,P47,c(Q15617994)) (Q30,P47,c(Q15617994)) (Q431492,P47,c(Q15617994)) (Q432527,P47,c(Q15617994))
[ANSWER]
['Q432678', 'P47', {'concept': 'Q15617994'}] ['Q328241', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}] ['Q431492', 'P47', {'concept': 'Q15617994'}] ['Q432527', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q432678 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Sant'Angelo Muxaro ?
Sant'Angelo Muxaro
["Sant'Angelo Muxaro", 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Montallegro', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Cianciana', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Ribera', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sant'Angelo_Muxaro property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q432678,P47,c(Q15617994))
['Q432678', 'P47', {'concept': 'Q15617994'}]
["Sant'Angelo Muxaro", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
8
Q432667 Q432676 Q432367 Q430988 Q431446 Q332922 Q323231 Q431492
(Q432678,P47,c(Q15617994))
[ANSWER]
['Q432678', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q432678 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
San Biagio Platani Santa Elisabetta Raffadali Alessandria della Rocca Casteltermini Cattolica Eraclea Aragona Cianciana
8
["Sant'Angelo Muxaro", 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Sant'Angelo_Muxaro property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q347
P206
Q355304 Q337567 Q15617994
USER
Which administrative territories are located next to approximately the same number of watercourses and still waterss as Liechtenstein ?
(c(Q15617994),P206,c(Q355304)|c(Q337567))
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q347
relation P206
type Q355304
type Q337567
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { { ?c rdf:type ontology:Q355304 } UNION { ?c rdf:type ontology:Q337567 } } . resource:Q347 property:P206 ?c } } . FILTER ( ?h = ?e ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) ?z WHERE { { ?z property:P206 ?i . ?z rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q355304 } UNION { ?z property:P206 ?i . ?z rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q337567 } } GROUP BY ?z } }
Liechtenstein
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Liechtenstein
relation located next to body of water
type watercourse
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { { ?c rdf:type ontology:watercourse } UNION { ?c rdf:type ontology:still_waters } } . resource:Liechtenstein property:located_next_to_body_of_water ?c } } . FILTER ( ?h = ?e ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) ?z WHERE { { ?z property:located_next_to_body_of_water ?i . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:watercourse } UNION { ?z property:located_next_to_body_of_water ?i . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:still_waters } } GROUP BY ?z } }
[]
watercourse still waters designation for an administrative territorial entity
Q38 Q55 Q801
SYSTEM
Italy, Netherlands, Israel
Q21111 Q505785 Q104577 Q446425 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q55 Q801 Q487328 Q47585 Q1604782 Q241358 Q6237 Q2316529 Q525945 Q14859 Q508863 Q568926 Q1650693 Q1009384 Q657 Q622487 Q4628 Q503693 Q4391124 Q884 Q664950 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q216422 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q34 Q38 Q6685 Q3352704 Q252772 Q769680 Q104192 Q519663 Q2360428 Q255698 Q236 Q681329 Q1984541 Q560870 Q20 Q621469 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q14889 Q229 Q347 Q17 Q338094 Q3939 Q1577 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q516567 Q507258 Q547059 Q215 Q269010 Q262684 Q573230 Q1604772 Q174307 Q522992 Q1009 Q1438 Q20267 Q522677 Q194136 Q257859 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q355304)|c(Q337567))
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q347
relation P206
type Q355304
type Q337567
[ANSWERS] are located next to approximately the same number of watercourses and still waterss as Liechtenstein
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { { ?c rdf:type ontology:Q355304 } UNION { ?c rdf:type ontology:Q337567 } } . resource:Q347 property:P206 ?c } } . FILTER ( ?h = ?e ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) ?z WHERE { { ?z property:P206 ?i . ?z rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q355304 } UNION { ?z property:P206 ?i . ?z rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q337567 } } GROUP BY ?z } }
Corn Islands Pförring Desenzano del Garda Altwarp Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Netherlands Israel Marktl Garda Ulul Schleiden Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Maasholm Niamey III Weno Chad Päwesin Faroe Islands Riedenburg Rakhlitsy South Korea Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Samsø Bellagio Fischen South Bay Shillingford Yepifan Sweden Italy Dorfhain Oneop Eichstätt Bornholm Kleinmachnow Kösching Tijuana Municipality Abensberg Montenegro Dümmer Niamey II Owschlag Norway Wennigsen Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Schwabach Cyprus Liechtenstein Japan Polsingen Dinslaken Neuwerk Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kappeln Kipfenberg Gnotzheim Slovenia Neustadt an der Donau Füssen Beilngries Moch Essing Braunlage Cameroon Campania Schwarz Nassenfels Riva del Garda Cham Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
Italy, Netherlands and Israel are located next to approximately the same number of watercourses and still waterss as Liechtenstein
Italy Netherlands Israel
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Liechtenstein
relation located next to body of water
type watercourse
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { { ?c rdf:type ontology:watercourse } UNION { ?c rdf:type ontology:still_waters } } . resource:Liechtenstein property:located_next_to_body_of_water ?c } } . FILTER ( ?h = ?e ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) ?z WHERE { { ?z property:located_next_to_body_of_water ?i . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:watercourse } UNION { ?z property:located_next_to_body_of_water ?i . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:still_waters } } GROUP BY ?z } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q12753
P1001
Q15617994 Q4164871 Q11204
USER
Which administrative territories apply to jurisdiction of around the same number of positions and legislatures as Seine-et-Marne ?
(c(Q4164871)|c(Q11204),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action count
action filter_multi_types
action find_reverse
entity Q12753
relation P1001
type Q4164871
type Q11204
[[{'concept': 'Q4164871'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) ?l WHERE { { ?t property:P1001 ?l . ?l rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q4164871 } UNION { ?t property:P1001 ?l . ?l rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q11204 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:P1001 resource:Q12753 . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:Q4164871 ) ( ontology:Q11204 ) } } } } . FILTER ( ?c = ?w ) }
Seine-et-Marne
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action count
action filter_multi_types
action find_reverse
entity Seine-et-Marne
relation applies to jurisdiction
type position
type legislature
[[{'concept': 'position'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) ?l WHERE { { ?t property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:position } UNION { ?t property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:legislature } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:applies_to_jurisdiction resource:Seine-et-Marne . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:position ) ( ontology:legislature ) } } } } . FILTER ( ?c = ?w ) }
[]
designation for an administrative territorial entity position legislature
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q668 Q163012 Q414 Q142 Q22273061 Q55 Q2871 Q262 Q148 Q189 Q784 Q265 Q24764 Q2742 Q842 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q258 Q6465 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q1965 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q1952 Q813 Q218 Q921 Q4712 Q30 Q924 Q34 Q928 Q155019 Q39 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q1093 Q238 Q119284 Q20 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q212 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q176 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q4164871)|c(Q11204),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action count
action filter_multi_types
action find_reverse
entity Q12753
relation P1001
type Q4164871
type Q11204
[ANSWERS] apply to jurisdiction of around the same number of positions and legislatures as Seine-et-Marne
[[{'concept': 'Q4164871'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) ?l WHERE { { ?t property:P1001 ?l . ?l rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q4164871 } UNION { ?t property:P1001 ?l . ?l rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q11204 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:P1001 resource:Q12753 . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:Q4164871 ) ( ontology:Q11204 ) } } } } . FILTER ( ?c = ?w ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru India Pankow Argentina France Duchy of Nemours Netherlands Hagen Algeria People's Republic of China Iceland Dominica Uzbekistan municipality of the Philippines Münster Oman Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad South Africa department of France Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba New Brunswick Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Nova Scotia Kyrgyzstan Romania Brunei Duchy of Burgundy United States of America Tanzania Sweden Philippines Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Limburg San Marino Marzahn-Hellersdorf Norway Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Ukraine Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu Quebec New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Brazil, United States of America and Georgia apply to jurisdiction of around the same number of positions and legislatures as Seine-et-Marne
Brazil United States of America Georgia
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action count
action filter_multi_types
action find_reverse
entity Seine-et-Marne
relation applies to jurisdiction
type position
type legislature
[[{'concept': 'position'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) ?l WHERE { { ?t property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:position } UNION { ?t property:applies_to_jurisdiction ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:legislature } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g property:applies_to_jurisdiction resource:Seine-et-Marne . { ?g rdf:type ?z . VALUES ( ?z ) { ( ontology:position ) ( ontology:legislature ) } } } } . FILTER ( ?c = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q697
P1001
Q15617994 Q4164871 Q11204
USER
And also tell me about Nauru?
(c(Q4164871)|c(Q11204),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action count
action filter_multi_types
action find_reverse
entity Q697
relation P1001
type Q4164871
type Q11204
[[{'concept': 'Q4164871'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?h WHERE { { ?j property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q4164871 } UNION { ?j property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q11204 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { { ?v rdf:type ontology:Q4164871 } UNION { ?v rdf:type ontology:Q11204 } } . ?v property:P1001 resource:Q697 } } . FILTER ( ?q = ?a ) }
Nauru
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action count
action filter_multi_types
action find_reverse
entity Nauru
relation applies to jurisdiction
type position
type legislature
[[{'concept': 'position'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?h WHERE { { ?j property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:position } UNION { ?j property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:legislature } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { { ?v rdf:type ontology:position } UNION { ?v rdf:type ontology:legislature } } . ?v property:applies_to_jurisdiction resource:Nauru } } . FILTER ( ?q = ?a ) }
[]
designation for an administrative territorial entity position legislature
Q155 Q230 Q55
SYSTEM
Brazil, Georgia, Netherlands
Q701 Q702 Q804 Q705 Q801 Q707 Q709 Q811 Q706679 Q805 Q2765 Q419 Q668 Q163012 Q414 Q22273061 Q55 Q2871 Q262 Q784 Q265 Q24764 Q2742 Q842 Q398 Q874 Q712 Q711 Q710 Q717 Q837 Q213 Q443815 Q50198 Q1028 Q187035 Q252 Q22274206 Q399 Q1462 Q403 Q657 Q6465 Q1979 Q43 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q7688 Q739 Q3097 Q826 Q158893 Q2942 Q822 Q241 Q817 Q11340 Q244 Q11343 Q1142326 Q1974 Q1019 Q2899 Q2758 Q813 Q218 Q921 Q4712 Q924 Q34 Q928 Q155019 Q39 Q3389 Q986 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q163966 Q769680 Q3068 Q730 Q1013 Q11323 Q236 Q230 Q1948 Q232 Q1093 Q238 Q119284 Q1045 Q3403547 Q1042 Q1041 Q27 Q28 Q2667658 Q1049 Q1025 Q1027 Q783 Q1020 Q2009 Q843 Q2007 Q184 Q1101 Q1029 Q2003 Q736 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q347 Q1050 Q17 Q1989 Q2838 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q697 Q694 Q695 Q115 Q114 Q117 Q754 Q752 Q750 Q22274534 Q11337 Q211 Q11331 Q217 Q214 Q215 Q12642 Q219 Q154547 Q683 Q242 Q1216 Q12753 Q912 Q2805 Q917 Q916 Q2107 Q1007 Q1006 Q1005 Q833 Q977 Q1951 Q1009 Q1008 Q971 Q970 Q1438 Q34020 Q2380910 Q686 Q836 Q760 Q574 Q11301 Q2904 Q158095 Q1044 Q79 Q77 Q858 Q878 Q775 Q774 Q948 Q776 Q810 Q770 Q773 Q772 Q1014 Q1016 Q158083 Q1011 Q1243 Q945 Q72449 Q12549 Q22273285 Q678 Q129003 Q800 Q1039 Q672 Q33788 Q929 Q1267638 Q298 Q329609 Q863 Q2938 Q2023 Q869 Q1231 Q953 Q1237
(c(Q4164871)|c(Q11204),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action count
action filter_multi_types
action find_reverse
entity Q697
relation P1001
type Q4164871
type Q11204
[ANSWERS]
[[{'concept': 'Q4164871'}, {'concept': 'Q11204'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?h WHERE { { ?j property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q4164871 } UNION { ?j property:P1001 ?h . ?h rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q11204 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { { ?v rdf:type ontology:Q4164871 } UNION { ?v rdf:type ontology:Q11204 } } . ?v property:P1001 resource:Q697 } } . FILTER ( ?q = ?a ) }
North Holland Federated States of Micronesia Panama Zeeland Israel Flevoland Marshall Islands Nicaragua Duchy of Bar Yemen Gelsenkirchen Peru India Pankow Argentina Duchy of Nemours Netherlands Hagen Algeria Dominica Uzbekistan municipality of the Philippines Münster Oman Bahrain Turkmenistan Fiji Mongolia Kiribati Venezuela Nepal Czech Republic Altomünster province of Thailand Morocco Principality of Albania Indonesia Duchy of Mercoeur Armenia Sardinia Serbia Chad department of France Prince Edward Island Turkey Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam raion Colombia Remscheid Maldives Friedrichshain-Kreuzberg Solingen Lebanon Cuba Kuwait Sprockhövel Barbados Wetter (Ruhr) Seine British Columbia Madagascar Mülheim an der Ruhr Mönchengladbach Kyrgyzstan Romania Brunei Duchy of Burgundy Tanzania Sweden Philippines Duchy of Lorraine Switzerland Finistère Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Mitte Bornholm Loire-Atlantique Suriname Lesotho Breckerfeld Montenegro Georgia Manitoba Kazakhstan Limburg San Marino Marzahn-Hellersdorf Somalia principality of Phalsbourg and Lixheim Seychelles Senegal Ireland Hungary Shushary, Saint Petersburg Sudan Mauritania Mauritius Honduras Malawi Yukon Pakistan Northwest Territories Belarus North Brabant Mozambique Newfoundland and Labrador Ecuador Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Liechtenstein Swaziland Japan Saskatchewan Oberhausen Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Nauru South Holland Palau Ethiopia Kenya Ghana Trinidad and Tobago Groningen Bolivia Duchy of Elbeuf Herdecke Latvia Gevelsberg Republic of Moldova Slovakia Slovenia Morbihan Bulgaria duchy Samoa Belize Piedmont Seine-et-Marne Mali Krefeld Bhutan Angola Wuppertal Guinea-Bissau Guinea Gambia Malaysia Djibouti Alberta Cameroon Côte d'Ivoire Republic of the Congo Comoros Campania Niue Duchy of Zaslawye Vanuatu Myanmar Saint Lucia East Timor Ennepetal Herne Charlottenburg-Wilmersdorf Sierra Leone Egypt Uruguay Syria United Arab Emirates Gelderland Guatemala Tunisia Utrecht Jordan Friesland Overijssel Drenthe Liberia Libya Spandau Cape Verde Veneto Togo Roccarainola Ille-et-Vilaine Duchy of Guise Tonga French Southern and Antarctic Lands Costa Rica Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Beloostrov Chile Lichtenberg Tajikistan Leverkusen Nunavut Thailand Kosovo Region Zambia Trentino-South Tyrol
Brazil Georgia Netherlands
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action count
action filter_multi_types
action find_reverse
entity Nauru
relation applies to jurisdiction
type position
type legislature
[[{'concept': 'position'}, {'concept': 'legislature'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?h WHERE { { ?j property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:position } UNION { ?j property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:legislature } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { { ?v rdf:type ontology:position } UNION { ?v rdf:type ontology:legislature } } . ?v property:applies_to_jurisdiction resource:Nauru } } . FILTER ( ?q = ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with approximately 81 political territories or administrative territories ?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 81
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?l WHERE { { ?l property:P530 ?b . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } UNION { ?l property:P530 ?b . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } } GROUP BY ?l } . FILTER ( ?y = 81 ) }
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 81
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?l WHERE { { ?l property:diplomatic_relation ?b . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l property:diplomatic_relation ?b . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } } GROUP BY ?l } . FILTER ( ?y = 81 ) }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q230
SYSTEM
Italy, Georgia
Q38 Q230
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 81
[ANSWERS] have diplomatic relations with approximately 81 political territories or administrative territories
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?l WHERE { { ?l property:P530 ?b . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } UNION { ?l property:P530 ?b . ?l rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } } GROUP BY ?l } . FILTER ( ?y = 81 ) }
Italy Georgia
Italy and Georgia have diplomatic relations with approximately 81 political territories or administrative territories
Italy Georgia
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 81
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) ?l WHERE { { ?l property:diplomatic_relation ?b . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l property:diplomatic_relation ?b . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } } GROUP BY ?l } . FILTER ( ?y = 81 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have ambassadorial relations with those administrative territories ?
(Q183,P530,Q38) (Q183,P530,Q230)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q38'] ['Q183', 'P530', 'Q230']
ASK WHERE { resource:Q183 property:P530 ?b . VALUES ( ?b ) { ( resource:Q38 ) ( resource:Q230 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Italy'] ['Germany', 'diplomatic relation', 'Georgia']
ASK WHERE { resource:Germany property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Italy ) ( resource:Georgia ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q38) (Q183,P530,Q230)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q38'] ['Q183', 'P530', 'Q230']
ASK WHERE { resource:Q183 property:P530 ?b . VALUES ( ?b ) { ( resource:Q38 ) ( resource:Q230 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Italy'] ['Germany', 'diplomatic relation', 'Georgia']
ASK WHERE { resource:Germany property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Italy ) ( resource:Georgia ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q432678 Q13678 Q4815602
P47
Q56061
USER
Does Sant'Angelo Muxaro have an adjacent border with Agrigento and Athlone, Cape Town ?
(Q432678,P47,Q13678) (Q432678,P47,Q4815602)
action is_in
entity Q432678
action intersection
action find_reverse
entity Q13678
relation P47
action find_reverse
entity Q4815602
relation P47
['Q432678', 'P47', 'Q13678'] ['Q432678', 'P47', 'Q4815602']
ASK WHERE { resource:Q432678 property:P47 resource:Q4815602 . resource:Q432678 property:P47 resource:Q13678 }
Sant'Angelo Muxaro Agrigento Athlone, Cape Town
action is_in
entity Sant'Angelo Muxaro
action intersection
action find_reverse
entity Agrigento
relation shares border with
action find_reverse
entity Athlone, Cape Town
relation shares border with
["Sant'Angelo Muxaro", 'shares border with', 'Agrigento'] ["Sant'Angelo Muxaro", 'shares border with', 'Athlone, Cape Town']
ASK WHERE { resource:Sant'Angelo_Muxaro property:shares_border_with resource:Athlone,_Cape_Town . resource:Sant'Angelo_Muxaro property:shares_border_with resource:Agrigento }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q432678,P47,Q13678) (Q432678,P47,Q4815602)
action is_in
entity Q432678
action intersection
action find_reverse
entity Q13678
relation P47
action find_reverse
entity Q4815602
relation P47
[ANSWER]
['Q432678', 'P47', 'Q13678'] ['Q432678', 'P47', 'Q4815602']
ASK WHERE { resource:Q432678 property:P47 resource:Q4815602 . resource:Q432678 property:P47 resource:Q13678 }
YES and NO respectively
action is_in
entity Sant'Angelo Muxaro
action intersection
action find_reverse
entity Agrigento
relation shares border with
action find_reverse
entity Athlone, Cape Town
relation shares border with
["Sant'Angelo Muxaro", 'shares border with', 'Agrigento'] ["Sant'Angelo Muxaro", 'shares border with', 'Athlone, Cape Town']
ASK WHERE { resource:Sant'Angelo_Muxaro property:shares_border_with resource:Athlone,_Cape_Town . resource:Sant'Angelo_Muxaro property:shares_border_with resource:Agrigento }
[]