Simple Question (Direct)
Simple Question
Q2755996
P27
Q1048835
USER
Which political territory does Andrew Nicholson belong to ?
(Q2755996,P27,c(Q1048835))
action filter_type
action find
entity Q2755996
relation P27
type Q1048835
['Q2755996', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q2755996 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Andrew Nicholson
action filter_type
action find
entity Andrew Nicholson
relation country of citizenship
type political territorial entity
['Andrew Nicholson', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Andrew_Nicholson property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q2755996,P27,c(Q1048835))
action filter_type
action find
entity Q2755996
relation P27
type Q1048835
Andrew Nicholson belongs to [ANSWER]
['Q2755996', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q2755996 property:P27 ?w . ?w rdf:type ontology:Q1048835 }
Canada
Andrew Nicholson belongs to Canada
Canada
action filter_type
action find
entity Andrew Nicholson
relation country of citizenship
type political territorial entity
['Andrew Nicholson', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Andrew_Nicholson property:country_of_citizenship ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2755996
P54
Q12973014
USER
Which sports team is Andrew Nicholson a member of ?
(Q2755996,P54,c(Q12973014))
action filter_type
action find
entity Q2755996
relation P54
type Q12973014
['Q2755996', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?i WHERE { resource:Q2755996 property:P54 ?i . ?i rdf:type ontology:Q12973014 }
Andrew Nicholson
action filter_type
action find
entity Andrew Nicholson
relation member of sports team
type sports team
['Andrew Nicholson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?i WHERE { resource:Andrew_Nicholson property:member_of_sports_team ?i . ?i rdf:type ontology:sports_team }
[]
sports team
Q161337
SYSTEM
Orlando Magic
Q161337
(Q2755996,P54,c(Q12973014))
action filter_type
action find
entity Q2755996
relation P54
type Q12973014
The [ANSWER] is Andrew Nicholson a member of
['Q2755996', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?i WHERE { resource:Q2755996 property:P54 ?i . ?i rdf:type ontology:Q12973014 }
Orlando Magic
The Orlando Magic is Andrew Nicholson a member of
Orlando Magic
action filter_type
action find
entity Andrew Nicholson
relation member of sports team
type sports team
['Andrew Nicholson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?i WHERE { resource:Andrew_Nicholson property:member_of_sports_team ?i . ?i rdf:type ontology:sports_team }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P641
Q31629 Q12973014
USER
Which types of sport did min number of sports teams participate in ?
(c(Q12973014),P641,Q5300110)
action argmin
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
[{'concept': 'Q12973014'}, 'P641', 'Q5300110']
SELECT DISTINCT ?c WHERE { FILTER ( ?g = ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P641 ?c . ?c rdf:type ontology:Q31629 . ?m rdf:type ontology:Q12973014 } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?r ) AS ?w ) { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P641 ?d . ?s rdf:type ontology:Q12973014 . ?d rdf:type ontology:Q31629 } GROUP BY ?d } } }
action argmin
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
[{'concept': 'sports team'}, 'sport', 'double trap']
SELECT DISTINCT ?c WHERE { FILTER ( ?g = ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:sport ?c . ?c rdf:type ontology:type_of_sport . ?m rdf:type ontology:sports_team } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?r ) AS ?w ) { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:sport ?d . ?s rdf:type ontology:sports_team . ?d rdf:type ontology:type_of_sport } GROUP BY ?d } } }
[]
type of sport sports team
Q165704 Q40244 Q271008
SYSTEM
high jump, marathon, 800 metres
Q271008 Q637186 Q170004 Q1666862 Q1154336 Q243264 Q472827 Q10980 Q217108 Q164731 Q11706688 Q14085739 Q631004 Q672066 Q1293 Q211155 Q191691 Q3817372 Q166788 Q326827 Q178131 Q187916 Q1320458 Q215184 Q1031445 Q219554 Q32485 Q706199 Q919072 Q207238 Q2094083 Q675770 Q692853 Q189472 Q180692 Q327223 Q165704 Q1049443 Q2328286 Q2164355 Q917562 Q164761 Q1798044 Q718 Q1209037 Q1707432 Q352749 Q1075998 Q1141850 Q774176 Q159354 Q1629556 Q40244 Q172809 Q16629853 Q520611 Q335638 Q1423069 Q465014 Q2261949 Q11020 Q453778 Q163892 Q1156722 Q779272 Q273285 Q50620 Q31987 Q2891117 Q179226 Q11015 Q428242 Q162883 Q5300110
(c(Q12973014),P641,Q5300110)
action argmin
action find_reverse_tuple_counts
relation P641
type Q31629
type Q12973014
[ANSWERS] min number of sports teams participated in
[{'concept': 'Q12973014'}, 'P641', 'Q5300110']
SELECT DISTINCT ?c WHERE { FILTER ( ?g = ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P641 ?c . ?c rdf:type ontology:Q31629 . ?m rdf:type ontology:Q12973014 } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?r ) AS ?w ) { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P641 ?d . ?s rdf:type ontology:Q12973014 . ?d rdf:type ontology:Q31629 } GROUP BY ?d } } }
800 metres grass skiing 110 metres hurdles International rules football rock climbing heptathlon waterskiing triathlon airsoft 100 metres hurdles sprinting sailing open water swimming downhill mountain biking draughts 200 metres 1500 metres beach run biathlon artistic gymnastics snowboarding horse racing Ice yachting bicycle motocross cross-country cycling kite surfing modern pentathlon nine-pin bowling sporting clays rafting kayaking stadion Flag football freestyle skiing synchronized swimming freestyle wrestling high jump Acrobatic gymnastics skeet shooting roller sport carom billiards 100 metres Olympic skeet chess Modern competitive archery roller skating sprint ski mountaineering canoe racing Keirin rowing 1000 metres marathon ten-pin bowling Mixed Doubles mountain biking cyclo-cross canoe camping trampolining para cycling pool Roller skiing 10,000 metres Sport aerobics ice skating luge Telemark skiing freestyle swimming dragon boat sport equestrianism snooker ski-orienteering free climbing double trap
High jump, marathon and 800 metres min number of sports teams participated in
high jump marathon 800 metres
action argmin
action find_reverse_tuple_counts
relation sport
type type of sport
type sports team
[{'concept': 'sports team'}, 'sport', 'double trap']
SELECT DISTINCT ?c WHERE { FILTER ( ?g = ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:sport ?c . ?c rdf:type ontology:type_of_sport . ?m rdf:type ontology:sports_team } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?r ) AS ?w ) { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:sport ?d . ?s rdf:type ontology:sports_team . ?d rdf:type ontology:type_of_sport } GROUP BY ?d } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3527396 Q16
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Canada and are Frank Foster an inhabitant of ?
AND((Q16,P530,c(Q15617994)), (Q3527396,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q3527396
relation P27
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q3527396', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q3527396 property:P27 ?o . resource:Q16 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Frank Foster Canada
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Frank Foster
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Frank Foster', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Frank_Foster property:country_of_citizenship ?o . resource:Canada property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q16,P530,c(Q15617994)), (Q3527396,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q3527396
relation P27
type Q15617994
[ANSWER] holds diplomatic relationship with Canada and are Frank Foster an inhabitant of
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q3527396', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { resource:Q3527396 property:P27 ?o . resource:Q16 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom holds diplomatic relationship with Canada and are Frank Foster an inhabitant of
United Kingdom
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Frank Foster
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Frank Foster', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Frank_Foster property:country_of_citizenship ?o . resource:Canada property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q21
P1532
Q502895
USER
How many people play for United Kingdom and England ?
(c(Q502895),P1532,Q145) (c(Q502895),P1532,Q21)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q21
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q145'] [{'concept': 'Q502895'}, 'P1532', 'Q21']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:P1532 resource:Q145 . ?i rdf:type ontology:Q502895 . ?i property:P1532 resource:Q21 . ?i rdf:type ontology:Q502895 }
United Kingdom England
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation country for sport
type common name
action filter_type
action find_reverse
entity England
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'United Kingdom'] [{'concept': 'common name'}, 'country for sport', 'England']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:country_for_sport resource:United_Kingdom . ?i rdf:type ontology:common_name . ?i property:country_for_sport resource:England . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
20
Q21402269 Q25841148 Q25712393 Q3489581 Q23010253 Q23933231 Q16570372 Q23899221 Q16210580 Q21675005 Q22159069 Q16019708 Q23907033 Q9140805 Q26217998 Q16197248 Q21808670 Q23839484 Q26464525 Q26217926
(c(Q502895),P1532,Q145) (c(Q502895),P1532,Q21)
action count
action intersection
action filter_type
action find_reverse
entity Q145
relation P1532
type Q502895
action filter_type
action find_reverse
entity Q21
relation P1532
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1532', 'Q145'] [{'concept': 'Q502895'}, 'P1532', 'Q21']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:P1532 resource:Q145 . ?i rdf:type ontology:Q502895 . ?i property:P1532 resource:Q21 . ?i rdf:type ontology:Q502895 }
Alison Wyeth Elliot Giles Rachel Wallader Solomon Wariso Stephi Douglas Geoff Saunders Kyle Langford John Nuttall Keri Lees Sonia McGeorge Andrew Pearson Andy Holden Simon Fairbrother Adelle Tracey Hugh Teape Lesley-Ann Skeete Donovan Reid Ray Middleton Colin Walker Ann Williams
20
action count
action intersection
action filter_type
action find_reverse
entity United Kingdom
relation country for sport
type common name
action filter_type
action find_reverse
entity England
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'United Kingdom'] [{'concept': 'common name'}, 'country for sport', 'England']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { ?i property:country_for_sport resource:United_Kingdom . ?i rdf:type ontology:common_name . ?i property:country_for_sport resource:England . ?i rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4759663 Q16
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Canada and are Andrzej Małysiak an inhabitant of ?
AND((Q16,P530,c(Q15617994)), (Q4759663,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q4759663
relation P27
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q4759663', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?q . resource:Q4759663 property:P27 ?q }
Andrzej Małysiak Canada
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Andrzej Małysiak
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Andrzej Małysiak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?q . resource:Andrzej_Małysiak property:country_of_citizenship ?q }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
AND((Q16,P530,c(Q15617994)), (Q4759663,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q4759663
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with Canada and are Andrzej Małysiak an inhabitant of
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q4759663', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?q . resource:Q4759663 property:P27 ?q }
Poland
Poland have diplomatic relationships with Canada and are Andrzej Małysiak an inhabitant of
Poland
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Andrzej Małysiak
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Andrzej Małysiak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?q . resource:Andrzej_Małysiak property:country_of_citizenship ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1000
P495
Q1048835 Q838948 Q15416
USER
How many political territories are the origins of less number of works of art and television programs than Gabon ?
(c(Q838948)|c(Q15416),P495,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1000
relation P495
type Q838948
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?z ) WHERE { { ?e rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q838948 . ?o property:P495 ?e } UNION { ?e rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15416 . ?o property:P495 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P495 resource:Q1000 . { { ?d rdf:type ontology:Q15416 } UNION { ?d rdf:type ontology:Q838948 } } } } . FILTER ( ?z < ?u ) }
Gabon
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Gabon
relation country of origin
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?z ) WHERE { { ?e rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:work_of_art . ?o property:country_of_origin ?e } UNION { ?e rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:television_program . ?o property:country_of_origin ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:country_of_origin resource:Gabon . { { ?d rdf:type ontology:television_program } UNION { ?d rdf:type ontology:work_of_art } } } } . FILTER ( ?z < ?u ) }
[]
political territorial entity work of art television program
SYSTEM
14
Q1747689 Q769 Q763 Q13353 Q781 Q5705 Q1823 Q691 Q234 Q2991382 Q9337 Q23635 Q31747 Q129286
(c(Q838948)|c(Q15416),P495,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1000
relation P495
type Q838948
type Q15416
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?z ) WHERE { { ?e rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q838948 . ?o property:P495 ?e } UNION { ?e rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15416 . ?o property:P495 ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:P495 resource:Q1000 . { { ?d rdf:type ontology:Q15416 } UNION { ?d rdf:type ontology:Q838948 } } } } . FILTER ( ?z < ?u ) }
Ancient Rome Grenada Saint Kitts and Nevis Montserrat Antigua and Barbuda Catalonia Aceh Papua New Guinea Flemish Region County of Provence Flemish Region Bermuda Irish Free State British Raj
14
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Gabon
relation country of origin
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?z ) WHERE { { ?e rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:work_of_art . ?o property:country_of_origin ?e } UNION { ?e rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:television_program . ?o property:country_of_origin ?e } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { ?d property:country_of_origin resource:Gabon . { { ?d rdf:type ontology:television_program } UNION { ?d rdf:type ontology:work_of_art } } } } . FILTER ( ?z < ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q664
P495
Q1048835 Q838948 Q15416
USER
And also tell me about New Zealand?
(c(Q838948)|c(Q15416),P495,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q664
relation P495
type Q838948
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?b ) WHERE { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:P495 resource:Q664 . { ?m rdf:type ?p . VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } } } . FILTER ( ?b < ?k ) }
New Zealand
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity New Zealand
relation country of origin
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?b ) WHERE { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:work_of_art ) ( ontology:television_program ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:country_of_origin resource:New_Zealand . { ?m rdf:type ?p . VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:television_program ) } } } } . FILTER ( ?b < ?k ) }
[]
political territorial entity work of art television program
SYSTEM
20
Q1000 Q1747689 Q838261 Q769 Q763 Q766 Q1054923 Q13353 Q781 Q5705 Q1823 Q407199 Q778 Q691 Q234 Q2991382 Q9337 Q23635 Q31747 Q129286
(c(Q838948)|c(Q15416),P495,c(Q1048835))
action count
action less
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q838948
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q664
relation P495
type Q838948
type Q15416
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?b ) WHERE { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:P495 resource:Q664 . { ?m rdf:type ?p . VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } } } . FILTER ( ?b < ?k ) }
Gabon Ancient Rome Federal Republic of Yugoslavia Grenada Saint Kitts and Nevis Jamaica British Hong Kong Montserrat Antigua and Barbuda Catalonia Aceh Palestinian territories The Bahamas Papua New Guinea Flemish Region County of Provence Flemish Region Bermuda Irish Free State British Raj
20
action count
action less
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity New Zealand
relation country of origin
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?b ) WHERE { ?f rdf:type ?i . VALUES ( ?i ) { ( ontology:work_of_art ) ( ontology:television_program ) } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:country_of_origin resource:New_Zealand . { ?m rdf:type ?p . VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:television_program ) } } } } . FILTER ( ?b < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4008356
P655
Q502895 Q7725634 Q234460
USER
How many people are the translator of greater number of literary works or texts than Valter Juva ?
(c(Q7725634)|c(Q234460),P655,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q4008356
relation P655
type Q7725634
type Q234460
[[{'concept': 'Q7725634'}, {'concept': 'Q234460'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:Q7725634 ) ( ontology:Q234460 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P655 resource:Q4008356 . { { ?i rdf:type ontology:Q7725634 } UNION { ?i rdf:type ontology:Q234460 } } } } . FILTER ( ?f > ?e ) }
Valter Juva
action count
action greater
action union
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action find_reverse_tuple_counts
relation translator
type common name
type text
action count
action filter_multi_types
action find_reverse
entity Valter Juva
relation translator
type literary work
type text
[[{'concept': 'literary work'}, {'concept': 'text'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:literary_work ) ( ontology:text ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:translator resource:Valter_Juva . { { ?i rdf:type ontology:literary_work } UNION { ?i rdf:type ontology:text } } } } . FILTER ( ?f > ?e ) }
[]
common name literary work text
SYSTEM
41
Q5545017 Q740181 Q583636 Q11892653 Q18057590 Q326446 Q19247400 Q461104 Q27210315 Q948875 Q352725 Q3750781 Q11867575 Q17384764 Q3666426 Q1291339 Q711869 Q19604039 Q4798834 Q1351224 Q15688121 Q429915 Q12032593 Q7387473 Q2495818 Q993835 Q327853 Q584292 Q1058300 Q9251137 Q600678 Q44248 Q2157568 Q263430 Q1705960 Q5497135 Q3496808 Q4066649 Q7793870 Q4231926 Q6309841
(c(Q7725634)|c(Q234460),P655,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
action count
action filter_multi_types
action find_reverse
entity Q4008356
relation P655
type Q7725634
type Q234460
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q234460'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:Q7725634 ) ( ontology:Q234460 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:P655 resource:Q4008356 . { { ?i rdf:type ontology:Q7725634 } UNION { ?i rdf:type ontology:Q234460 } } } } . FILTER ( ?f > ?e ) }
George Szirtes Karel Sabina Bernhard Severin Ingemann Sauvo Puhtila Ernest Falconnet Antonin Klášterský Friedrich Wilhelm Frommann Jaroslav Vrchlický Iain Patterson Ferenc Verseghy Richard Brinsley Sheridan Antoni Rubió i Lluch Juho Jäykkä Konrad Alexis Waaranen Charles Kenneth Scott Moncrieff Edvard Fredin Arthur Waley Marian Fell Arthur Goldhammer Pekka Hannikainen Samuel Epes Turner Alexander Sumarokov Ladislav Quis S. Foster Damon Constance Garnett Otokar Fischer C.V.A. Strandberg Louis Viardot Suematsu Kenchō Edward Porębowicz Aleksey Pleshcheyev Jerome Robert Hillyer Károly Szász Josef Václav Sládek Frederic Shoberl Stanley Chapman Alexandra Nikitichna Annenskaya Thomas Seltzer Natalia Konchalovskaïa Julius Hare
41
action count
action greater
action union
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action find_reverse_tuple_counts
relation translator
type common name
type text
action count
action filter_multi_types
action find_reverse
entity Valter Juva
relation translator
type literary work
type text
[[{'concept': 'literary work'}, {'concept': 'text'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?f ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:literary_work ) ( ontology:text ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { ?i property:translator resource:Valter_Juva . { { ?i rdf:type ontology:literary_work } UNION { ?i rdf:type ontology:text } } } } . FILTER ( ?f > ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Poland ?
(Q36,P1313,c(Q12737077))
action filter_type
action find
entity Q36
relation P1313
type Q12737077
['Q36', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q36 property:P1313 ?z . ?z rdf:type ontology:Q12737077 }
Poland
action filter_type
action find
entity Poland
relation office held by head of government
type occupation
['Poland', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Poland property:office_held_by_head_of_government ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q1054799
SYSTEM
President of Poland
Q1054799
(Q36,P1313,c(Q12737077))
action filter_type
action find
entity Q36
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Poland
['Q36', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q36 property:P1313 ?z . ?z rdf:type ontology:Q12737077 }
President of Poland
The President of Poland serves as the political office that is fulfilled by the head of the government of Poland
President of Poland
action filter_type
action find
entity Poland
relation office held by head of government
type occupation
['Poland', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Poland property:office_held_by_head_of_government ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P47
Q1048835 Q7275
USER
How many political territories and states are bordered by Poland ?
(Q36,P47,c(Q1048835)) (Q36,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q36
relation P47
type Q1048835
action filter_type
action find
entity Q36
relation P47
type Q7275
['Q36', 'P47', {'concept': 'Q1048835'}] ['Q36', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { resource:Q36 property:P47 ?p . ?p rdf:type ontology:Q1048835 } UNION { resource:Q36 property:P47 ?p . ?p rdf:type ontology:Q7275 } }
Poland
action count
action union
action filter_type
action find
entity Poland
relation shares border with
type political territorial entity
action filter_type
action find
entity Poland
relation shares border with
type state
['Poland', 'shares border with', {'concept': 'political territorial entity'}] ['Poland', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { resource:Poland property:shares_border_with ?p . ?p rdf:type ontology:political_territorial_entity } UNION { resource:Poland property:shares_border_with ?p . ?p rdf:type ontology:state } }
[]
political territorial entity state
SYSTEM
1 political territories and 5 states
Q33946 Q183 Q154401 Q15180 Q216173 Q16957
(Q36,P47,c(Q1048835)) (Q36,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q36
relation P47
type Q1048835
action filter_type
action find
entity Q36
relation P47
type Q7275
[ANSWER]
['Q36', 'P47', {'concept': 'Q1048835'}] ['Q36', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { resource:Q36 property:P47 ?p . ?p rdf:type ontology:Q1048835 } UNION { resource:Q36 property:P47 ?p . ?p rdf:type ontology:Q7275 } }
Czechoslovakia Germany Slovak Republic Soviet Union Free City of Danzig East Germany
1 political territories and 5 states
action count
action union
action filter_type
action find
entity Poland
relation shares border with
type political territorial entity
action filter_type
action find
entity Poland
relation shares border with
type state
['Poland', 'shares border with', {'concept': 'political territorial entity'}] ['Poland', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { { resource:Poland property:shares_border_with ?p . ?p rdf:type ontology:political_territorial_entity } UNION { resource:Poland property:shares_border_with ?p . ?p rdf:type ontology:state } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36
P610
Q14524493
USER
Which is the highest point of that administrative territory ?
action filter_type
action find
entity Q36
relation P610
type Q14524493
SELECT DISTINCT ?t WHERE { resource:Q36 property:P610 ?t . ?t rdf:type ontology:Q14524493 }
Poland
action filter_type
action find
entity Poland
relation highest point
type terrain
SELECT DISTINCT ?t WHERE { resource:Poland property:highest_point ?t . ?t rdf:type ontology:terrain }
[]
terrain
Q672936
SYSTEM
Rysy
Q672936
action filter_type
action find
entity Q36
relation P610
type Q14524493
The highest point of that administrative territory is the [ANSWER]
SELECT DISTINCT ?t WHERE { resource:Q36 property:P610 ?t . ?t rdf:type ontology:Q14524493 }
Rysy
The highest point of that administrative territory is the Rysy
Rysy
action filter_type
action find
entity Poland
relation highest point
type terrain
SELECT DISTINCT ?t WHERE { resource:Poland property:highest_point ?t . ?t rdf:type ontology:terrain }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q317010
P463
Q163740
USER
How many nonprofit organizations were United Kingdom or Corps Hannovera Göttingen a member of ?
(Q145,P463,c(Q163740)) (Q317010,P463,c(Q163740))
action count
action union
action filter_type
action find
entity Q145
relation P463
type Q163740
action filter_type
action find
entity Q317010
relation P463
type Q163740
['Q145', 'P463', {'concept': 'Q163740'}] ['Q317010', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { resource:Q145 property:P463 ?e . ?e rdf:type ontology:Q163740 } UNION { ?e rdf:type ontology:Q163740 . resource:Q317010 property:P463 ?e } }
United Kingdom Corps Hannovera Göttingen
action count
action union
action filter_type
action find
entity United Kingdom
relation member of
type nonprofit organization
action filter_type
action find
entity Corps Hannovera Göttingen
relation member of
type nonprofit organization
['United Kingdom', 'member of', {'concept': 'nonprofit organization'}] ['Corps Hannovera Göttingen', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { resource:United_Kingdom property:member_of ?e . ?e rdf:type ontology:nonprofit_organization } UNION { ?e rdf:type ontology:nonprofit_organization . resource:Corps_Hannovera_Göttingen property:member_of ?e } }
[]
nonprofit organization
SYSTEM
3
Q1134980 Q1134925 Q1135083
(Q145,P463,c(Q163740)) (Q317010,P463,c(Q163740))
action count
action union
action filter_type
action find
entity Q145
relation P463
type Q163740
action filter_type
action find
entity Q317010
relation P463
type Q163740
[ANSWER]
['Q145', 'P463', {'concept': 'Q163740'}] ['Q317010', 'P463', {'concept': 'Q163740'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { resource:Q145 property:P463 ?e . ?e rdf:type ontology:Q163740 } UNION { ?e rdf:type ontology:Q163740 . resource:Q317010 property:P463 ?e } }
Corps Palatia-Guestphalia Freiburg Corps Isaria München Corps Teutonia Marburg
3
action count
action union
action filter_type
action find
entity United Kingdom
relation member of
type nonprofit organization
action filter_type
action find
entity Corps Hannovera Göttingen
relation member of
type nonprofit organization
['United Kingdom', 'member of', {'concept': 'nonprofit organization'}] ['Corps Hannovera Göttingen', 'member of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { resource:United_Kingdom property:member_of ?e . ?e rdf:type ontology:nonprofit_organization } UNION { ?e rdf:type ontology:nonprofit_organization . resource:Corps_Hannovera_Göttingen property:member_of ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q145
P530
Q1048835 Q15617994
USER
How many political territories and administrative territories have diplomatic relationships with United Kingdom ?
(Q145,P530,c(Q1048835)) (Q145,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q145
relation P530
type Q1048835
action filter_type
action find
entity Q145
relation P530
type Q15617994
['Q145', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { resource:Q145 property:P530 ?w . ?w rdf:type ontology:Q1048835 } UNION { resource:Q145 property:P530 ?w . ?w rdf:type ontology:Q15617994 } }
United Kingdom
action count
action union
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { resource:United_Kingdom property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } UNION { resource:United_Kingdom property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3 political territories and 7 administrative territories
Q142 Q805 Q801 Q155 Q183 Q408 Q16 Q37 Q403 Q38
(Q145,P530,c(Q1048835)) (Q145,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q145
relation P530
type Q1048835
action filter_type
action find
entity Q145
relation P530
type Q15617994
[ANSWER]
['Q145', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { resource:Q145 property:P530 ?w . ?w rdf:type ontology:Q1048835 } UNION { resource:Q145 property:P530 ?w . ?w rdf:type ontology:Q15617994 } }
France Yemen Israel Brazil Germany Australia Canada Lithuania Serbia Italy
3 political territories and 7 administrative territories
action count
action union
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) WHERE { { resource:United_Kingdom property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } UNION { resource:United_Kingdom property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1144172
P3173
Q14524493 Q811979
USER
Which architectural structures have views of greater number of terrains than Dante's View ?
(c(Q811979),P3173,c(Q14524493))
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q14524493
action count
action filter_type
action find
entity Q1144172
relation P3173
type Q811979
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q14524493'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?t ) WHERE { ?l property:P3173 ?i . ?l rdf:type ontology:Q811979 . ?i rdf:type ontology:Q14524493 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Q1144172 property:P3173 ?n . ?n rdf:type ontology:Q811979 } } . FILTER ( ?t > ?m ) }
Dante's View
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type terrain
action count
action filter_type
action find
entity Dante's View
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'terrain'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?t ) WHERE { ?l property:offers_view_on ?i . ?l rdf:type ontology:architectural_structure . ?i rdf:type ontology:terrain } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Dante's_View property:offers_view_on ?n . ?n rdf:type ontology:architectural_structure } } . FILTER ( ?t > ?m ) }
[]
terrain architectural structure
Q7088437 Q3367142 Q2433474
SYSTEM
Olmsted Point, Pas de Bellecombe, Tunnel View
Q3367142 Q3108318 Q7088437 Q26196531 Q27267334 Q2433474
(c(Q811979),P3173,c(Q14524493))
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q14524493
action count
action filter_type
action find
entity Q1144172
relation P3173
type Q811979
[ANSWERS] have views of greater number of terrains than Dante's View
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q14524493'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?t ) WHERE { ?l property:P3173 ?i . ?l rdf:type ontology:Q811979 . ?i rdf:type ontology:Q14524493 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Q1144172 property:P3173 ?n . ?n rdf:type ontology:Q811979 } } . FILTER ( ?t > ?m ) }
Pas de Bellecombe Glacier Point Olmsted Point Washburn Point Dewey Point Tunnel View
Olmsted Point, Pas de Bellecombe and Tunnel View have views of greater number of terrains than Dante's View
Olmsted Point Pas de Bellecombe Tunnel View
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type terrain
action count
action filter_type
action find
entity Dante's View
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'terrain'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?t ) WHERE { ?l property:offers_view_on ?i . ?l rdf:type ontology:architectural_structure . ?i rdf:type ontology:terrain } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { resource:Dante's_View property:offers_view_on ?n . ?n rdf:type ontology:architectural_structure } } . FILTER ( ?t > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q27181543
P3173
Q14524493 Q811979
USER
And also tell me about Father Crowley Vista Point?
(c(Q811979),P3173,c(Q14524493))
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q14524493
action count
action filter_type
action find
entity Q27181543
relation P3173
type Q811979
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q14524493'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:Q811979 . resource:Q27181543 property:P3173 ?h } } . FILTER ( ?n > ?y ) . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?n ) WHERE { ?x rdf:type ontology:Q811979 . ?w rdf:type ontology:Q14524493 . ?x property:P3173 ?w } GROUP BY ?x } }
Father Crowley Vista Point
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type terrain
action count
action filter_type
action find
entity Father Crowley Vista Point
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'terrain'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:architectural_structure . resource:Father_Crowley_Vista_Point property:offers_view_on ?h } } . FILTER ( ?n > ?y ) . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?n ) WHERE { ?x rdf:type ontology:architectural_structure . ?w rdf:type ontology:terrain . ?x property:offers_view_on ?w } GROUP BY ?x } }
[]
terrain architectural structure
Q7088437 Q3367142 Q2433474
SYSTEM
Olmsted Point, Pas de Bellecombe, Tunnel View
Q3367142 Q3108318 Q7088437 Q26196531 Q27267334 Q2433474
(c(Q811979),P3173,c(Q14524493))
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q14524493
action count
action filter_type
action find
entity Q27181543
relation P3173
type Q811979
[ANSWERS]
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q14524493'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:Q811979 . resource:Q27181543 property:P3173 ?h } } . FILTER ( ?n > ?y ) . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?n ) WHERE { ?x rdf:type ontology:Q811979 . ?w rdf:type ontology:Q14524493 . ?x property:P3173 ?w } GROUP BY ?x } }
Pas de Bellecombe Glacier Point Olmsted Point Washburn Point Dewey Point Tunnel View
Olmsted Point Pas de Bellecombe Tunnel View
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type terrain
action count
action filter_type
action find
entity Father Crowley Vista Point
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'terrain'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { ?h rdf:type ontology:architectural_structure . resource:Father_Crowley_Vista_Point property:offers_view_on ?h } } . FILTER ( ?n > ?y ) . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?n ) WHERE { ?x rdf:type ontology:architectural_structure . ?w rdf:type ontology:terrain . ?x property:offers_view_on ?w } GROUP BY ?x } }
[]