Simple Question (Direct)
Simple Question
Q6187208
P136
Q151885
USER
Which concept is the genre for Jessica Frech ?
(Q6187208,P136,c(Q151885))
action filter_type
action find
entity Q6187208
relation P136
type Q151885
['Q6187208', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q6187208 property:P136 ?z . ?z rdf:type ontology:Q151885 }
Jessica Frech
action filter_type
action find
entity Jessica Frech
relation genre
type concept
['Jessica Frech', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Jessica_Frech property:genre ?z . ?z rdf:type ontology:concept }
[]
concept
Q235858
SYSTEM
folk music
Q235858
(Q6187208,P136,c(Q151885))
action filter_type
action find
entity Q6187208
relation P136
type Q151885
So [ANSWER] is the genre for Jessica Frech
['Q6187208', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?z WHERE { resource:Q6187208 property:P136 ?z . ?z rdf:type ontology:Q151885 }
folk music
So folk music is the genre for Jessica Frech
folk music
action filter_type
action find
entity Jessica Frech
relation genre
type concept
['Jessica Frech', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?z WHERE { resource:Jessica_Frech property:genre ?z . ?z rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6187208
P21
Q290
USER
Which sex does that person possess ?
(Q235858,P21,c(Q290))
action filter_type
action find
entity Q6187208
relation P21
type Q290
['Q235858', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q6187208 property:P21 ?c }
Jessica Frech
action filter_type
action find
entity Jessica Frech
relation gender
type sex
['folk music', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Jessica_Frech property:gender ?c }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q235858,P21,c(Q290))
action filter_type
action find
entity Q6187208
relation P21
type Q290
That person possesses the [ANSWER]
['Q235858', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q6187208 property:P21 ?c }
female
That person possesses the female
female
action filter_type
action find
entity Jessica Frech
relation gender
type sex
['folk music', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Jessica_Frech property:gender ?c }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q2221906 Q151885
USER
Which geographic locations are exactly 2 concepts located on ?
(c(Q151885),P706,c(Q2221906))
action equal
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q151885
value 2
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P706 ?y . ?y rdf:type ontology:Q2221906 . ?k rdf:type ontology:Q151885 } GROUP BY ?y } . FILTER ( ?c = 2 ) }
action equal
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type concept
value 2
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:located_on_terrain_feature ?y . ?y rdf:type ontology:geographic_location . ?k rdf:type ontology:concept } GROUP BY ?y } . FILTER ( ?c = 2 ) }
[]
geographic location concept
Q46 Q81483 Q27275
SYSTEM
Europe, The Levant, Central Asia
Q46 Q81483 Q1057925 Q46519 Q27275 Q46613 Q27449
(c(Q151885),P706,c(Q2221906))
action equal
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q151885
value 2
[ANSWERS]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P706 ?y . ?y rdf:type ontology:Q2221906 . ?k rdf:type ontology:Q151885 } GROUP BY ?y } . FILTER ( ?c = 2 ) }
Europe The Levant Northeast China Southern Germany Central Asia Northern Germany Southern Europe
Which geographic locations are exactly 2 concepts located on
Europe The Levant Central Asia
action equal
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type concept
value 2
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:located_on_terrain_feature ?y . ?y rdf:type ontology:geographic_location . ?k rdf:type ontology:concept } GROUP BY ?y } . FILTER ( ?c = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19644156 Q6187208
P27 P17
Q15617994
USER
Which administrative territories are Jessica Frech an inhabitant of or are Waandersstraat a part of ?
OR((Q6187208,P27,c(Q15617994)), (Q19644156,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6187208
relation P27
action find
entity Q19644156
relation P17
type Q15617994
{'OR': [['Q6187208', 'P27', {'concept': 'Q15617994'}], ['Q19644156', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q6187208 property:P27 ?w } UNION { resource:Q19644156 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Waandersstraat Jessica Frech
action filter_type
action union
action find
entity Jessica Frech
relation country of citizenship
action find
entity Waandersstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Jessica Frech', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Waandersstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Jessica_Frech property:country_of_citizenship ?w } UNION { resource:Waandersstraat property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q55
SYSTEM
United States of America, Netherlands
Q30 Q55
OR((Q6187208,P27,c(Q15617994)), (Q19644156,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6187208
relation P27
action find
entity Q19644156
relation P17
type Q15617994
[ANSWERS] are Jessica Frech an inhabitant of or are Waandersstraat a part of
{'OR': [['Q6187208', 'P27', {'concept': 'Q15617994'}], ['Q19644156', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q6187208 property:P27 ?w } UNION { resource:Q19644156 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
United States of America Netherlands
United States of America and Netherlands are Jessica Frech an inhabitant of or are Waandersstraat a part of
United States of America Netherlands
action filter_type
action union
action find
entity Jessica Frech
relation country of citizenship
action find
entity Waandersstraat
relation country
type designation for an administrative territorial entity
{'OR': [['Jessica Frech', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Waandersstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Jessica_Frech property:country_of_citizenship ?w } UNION { resource:Waandersstraat property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q2221906 Q271669 Q355304
USER
Which geographic locations are max number of landforms or watercourses a part of ?
(c(Q271669)|c(Q355304),P361,c(Q2221906))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q271669
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q355304
[[{'concept': 'Q271669'}, {'concept': 'Q355304'}], 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?e ) { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?s ) WHERE { { ?t property:P361 ?b . ?b rdf:type ontology:Q2221906 . ?t rdf:type ontology:Q355304 } UNION { ?t property:P361 ?b . ?b rdf:type ontology:Q2221906 . ?t rdf:type ontology:Q271669 } } GROUP BY ?b } } . { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:P361 ?n . ?z rdf:type ontology:Q271669 . ?n rdf:type ontology:Q2221906 } UNION { ?n rdf:type ontology:Q2221906 . ?z rdf:type ontology:Q355304 . ?z property:P361 ?n } } GROUP BY ?n } . FILTER ( ?f = ?e ) }
action argmax
action union
action find_reverse_tuple_counts
relation part of
type geographic location
type landform
action find_reverse_tuple_counts
relation part of
type geographic location
type watercourse
[[{'concept': 'landform'}, {'concept': 'watercourse'}], 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?e ) { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?s ) WHERE { { ?t property:part_of ?b . ?b rdf:type ontology:geographic_location . ?t rdf:type ontology:watercourse } UNION { ?t property:part_of ?b . ?b rdf:type ontology:geographic_location . ?t rdf:type ontology:landform } } GROUP BY ?b } } . { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:part_of ?n . ?z rdf:type ontology:landform . ?n rdf:type ontology:geographic_location } UNION { ?n rdf:type ontology:geographic_location . ?z rdf:type ontology:watercourse . ?z property:part_of ?n } } GROUP BY ?n } . FILTER ( ?f = ?e ) }
[]
geographic location landform watercourse
Q604496 Q1134547 Q1555938
SYSTEM
Fennoscandia, Ellsworth Land, Antarctic
Q1555938 Q7699521 Q422941 Q667529 Q604496 Q8072 Q1134547 Q4930723 Q3623001 Q1437459
(c(Q271669)|c(Q355304),P361,c(Q2221906))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q271669
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q355304
Max number of landforms or watercourses a part of are [ANSWERS]
[[{'concept': 'Q271669'}, {'concept': 'Q355304'}], 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?e ) { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?s ) WHERE { { ?t property:P361 ?b . ?b rdf:type ontology:Q2221906 . ?t rdf:type ontology:Q355304 } UNION { ?t property:P361 ?b . ?b rdf:type ontology:Q2221906 . ?t rdf:type ontology:Q271669 } } GROUP BY ?b } } . { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:P361 ?n . ?z rdf:type ontology:Q271669 . ?n rdf:type ontology:Q2221906 } UNION { ?n rdf:type ontology:Q2221906 . ?z rdf:type ontology:Q355304 . ?z property:P361 ?n } } GROUP BY ?n } . FILTER ( ?f = ?e ) }
Antarctic Tenaya Canyon Central Highlands of Sri Lanka Blue Mountains Fennoscandia volcano Ellsworth Land Blum Creek Yukon Plateau mountain range
Max number of landforms or watercourses a part of are Fennoscandia, Ellsworth Land and Antarctic
Fennoscandia Ellsworth Land Antarctic
action argmax
action union
action find_reverse_tuple_counts
relation part of
type geographic location
type landform
action find_reverse_tuple_counts
relation part of
type geographic location
type watercourse
[[{'concept': 'landform'}, {'concept': 'watercourse'}], 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?e ) { SELECT DISTINCT ?b ( COUNT ( ?t ) AS ?s ) WHERE { { ?t property:part_of ?b . ?b rdf:type ontology:geographic_location . ?t rdf:type ontology:watercourse } UNION { ?t property:part_of ?b . ?b rdf:type ontology:geographic_location . ?t rdf:type ontology:landform } } GROUP BY ?b } } . { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:part_of ?n . ?z rdf:type ontology:landform . ?n rdf:type ontology:geographic_location } UNION { ?n rdf:type ontology:geographic_location . ?z rdf:type ontology:watercourse . ?z property:part_of ?n } } GROUP BY ?n } . FILTER ( ?f = ?e ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q604496 Q1134547 Q1555938
P361
Q271669
USER
What are a component of those geographic locations ?
(c(Q271669),P361,Q604496) (c(Q271669),P361,Q1134547) (c(Q271669),P361,Q1555938)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q271669
[{'concept': 'Q271669'}, 'P361', 'Q604496'] [{'concept': 'Q271669'}, 'P361', 'Q1134547'] [{'concept': 'Q271669'}, 'P361', 'Q1555938']
SELECT DISTINCT ?v WHERE { VALUES ( ?b ) { ( resource:Q1555938 ) ( resource:Q7699521 ) ( resource:Q422941 ) } . ?v rdf:type ontology:Q271669 . ?v property:P361 ?b }
Fennoscandia Ellsworth Land Antarctic
action filter_type
action find_reverse
entity prev_answer
relation part of
type landform
[{'concept': 'landform'}, 'part of', 'Fennoscandia'] [{'concept': 'landform'}, 'part of', 'Ellsworth Land'] [{'concept': 'landform'}, 'part of', 'Antarctic']
SELECT DISTINCT ?v WHERE { VALUES ( ?b ) { ( resource:Antarctic ) ( resource:Tenaya_Canyon ) ( resource:Central_Highlands_of_Sri_Lanka ) } . ?v rdf:type ontology:landform . ?v property:part_of ?b }
[]
landform
Q1575641 Q2646673 Q185605
SYSTEM
Hanko Peninsula, Bear Peninsula, Antarctic Peninsula
Q1575641 Q2646673 Q185605
(c(Q271669),P361,Q604496) (c(Q271669),P361,Q1134547) (c(Q271669),P361,Q1555938)
action filter_type
action find_reverse
entity prev_answer
relation P361
type Q271669
A component of those geographic locations are the [ANSWERS]
[{'concept': 'Q271669'}, 'P361', 'Q604496'] [{'concept': 'Q271669'}, 'P361', 'Q1134547'] [{'concept': 'Q271669'}, 'P361', 'Q1555938']
SELECT DISTINCT ?v WHERE { VALUES ( ?b ) { ( resource:Q1555938 ) ( resource:Q7699521 ) ( resource:Q422941 ) } . ?v rdf:type ontology:Q271669 . ?v property:P361 ?b }
Hanko Peninsula Bear Peninsula Antarctic Peninsula
A component of those geographic locations are the Hanko Peninsula, Bear Peninsula and Antarctic Peninsula
Hanko Peninsula Bear Peninsula Antarctic Peninsula
action filter_type
action find_reverse
entity prev_answer
relation part of
type landform
[{'concept': 'landform'}, 'part of', 'Fennoscandia'] [{'concept': 'landform'}, 'part of', 'Ellsworth Land'] [{'concept': 'landform'}, 'part of', 'Antarctic']
SELECT DISTINCT ?v WHERE { VALUES ( ?b ) { ( resource:Antarctic ) ( resource:Tenaya_Canyon ) ( resource:Central_Highlands_of_Sri_Lanka ) } . ?v rdf:type ontology:landform . ?v property:part_of ?b }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1575641 Q2646673 Q185605
P361
Q2221906
USER
Which geographic locations are Hanko Peninsula, Bear Peninsula and Antarctic Peninsula a component of ?
(Q1575641,P361,c(Q2221906)) (Q2646673,P361,c(Q2221906)) (Q185605,P361,c(Q2221906))
action union
action filter_type
action find
entity Q1575641
relation P361
type Q2221906
action filter_type
action find
entity Q2646673
relation P361
type Q2221906
action filter_type
action find
entity Q185605
relation P361
type Q2221906
['Q1575641', 'P361', {'concept': 'Q2221906'}] ['Q2646673', 'P361', {'concept': 'Q2221906'}] ['Q185605', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?y ) { ( resource:Q1575641 ) ( resource:Q2646673 ) } . ?y property:P361 ?x }
Hanko Peninsula Bear Peninsula Antarctic Peninsula
action union
action filter_type
action find
entity Hanko Peninsula
relation part of
type geographic location
action filter_type
action find
entity Bear Peninsula
relation part of
type geographic location
action filter_type
action find
entity Antarctic Peninsula
relation part of
type geographic location
['Hanko Peninsula', 'part of', {'concept': 'geographic location'}] ['Bear Peninsula', 'part of', {'concept': 'geographic location'}] ['Antarctic Peninsula', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?y ) { ( resource:Hanko_Peninsula ) ( resource:Bear_Peninsula ) } . ?y property:part_of ?x }
[]
geographic location
Q604496 Q1134547 Q1555938
SYSTEM
Fennoscandia, Ellsworth Land, Antarctic
Q604496 Q1134547 Q1555938
(Q1575641,P361,c(Q2221906)) (Q2646673,P361,c(Q2221906)) (Q185605,P361,c(Q2221906))
action union
action filter_type
action find
entity Q1575641
relation P361
type Q2221906
action filter_type
action find
entity Q2646673
relation P361
type Q2221906
action filter_type
action find
entity Q185605
relation P361
type Q2221906
[ANSWERS] are Hanko Peninsula, Bear Peninsula and Antarctic Peninsula a component of
['Q1575641', 'P361', {'concept': 'Q2221906'}] ['Q2646673', 'P361', {'concept': 'Q2221906'}] ['Q185605', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?y ) { ( resource:Q1575641 ) ( resource:Q2646673 ) } . ?y property:P361 ?x }
Fennoscandia Ellsworth Land Antarctic
Fennoscandia, Ellsworth Land and Antarctic are Hanko Peninsula, Bear Peninsula and Antarctic Peninsula a component of
Fennoscandia Ellsworth Land Antarctic
action union
action filter_type
action find
entity Hanko Peninsula
relation part of
type geographic location
action filter_type
action find
entity Bear Peninsula
relation part of
type geographic location
action filter_type
action find
entity Antarctic Peninsula
relation part of
type geographic location
['Hanko Peninsula', 'part of', {'concept': 'geographic location'}] ['Bear Peninsula', 'part of', {'concept': 'geographic location'}] ['Antarctic Peninsula', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?y ) { ( resource:Hanko_Peninsula ) ( resource:Bear_Peninsula ) } . ?y property:part_of ?x }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1555938
P138
Q2235308
USER
Which ship type has that geographic location as its namesake ?
(c(Q2235308),P138,Q1555938)
action filter_type
action find_reverse
entity Q1555938
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q1555938']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2235308 . ?b property:P138 resource:Q1555938 }
Antarctic
action filter_type
action find_reverse
entity Antarctic
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Antarctic']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:ship_type . ?b property:named_after resource:Antarctic }
[]
ship type
Clarification for simple ques.
Q1134547
SYSTEM
Did you mean Ellsworth Land ?
Q604496 Q1134547 Q1555938
(c(Q2235308),P138,Q604496) (c(Q2235308),P138,Q1134547) (c(Q2235308),P138,Q1555938)
[ANSWER]
[{'concept': 'Q2235308'}, 'P138', 'Q604496'] [{'concept': 'Q2235308'}, 'P138', 'Q1134547'] [{'concept': 'Q2235308'}, 'P138', 'Q1555938']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2235308 . ?b property:P138 resource:Q1555938 }
Fennoscandia Ellsworth Land Antarctic
Did you mean Ellsworth Land ?
Ellsworth Land
[{'concept': 'ship type'}, 'named after', 'Fennoscandia'] [{'concept': 'ship type'}, 'named after', 'Ellsworth Land'] [{'concept': 'ship type'}, 'named after', 'Antarctic']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:ship_type . ?b property:named_after resource:Antarctic }
[]
Simple Question (Coreferenced)
USER
No, I meant Antarctic. Could you tell me the answer for that?
(c(Q2235308),P138,Q1555938)
Q1555938
[{'concept': 'Q2235308'}, 'P138', 'Q1555938']
[{'concept': 'ship type'}, 'named after', 'Antarctic']
[]
Q2557165
SYSTEM
Antarctic
Q2557165
(c(Q2235308),P138,Q1555938)
action filter_type
action find_reverse
entity Q1555938
relation P138
type Q2235308
[ANSWER] has that geographic location as its namesake
[{'concept': 'Q2235308'}, 'P138', 'Q1555938']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2235308 . ?b property:P138 resource:Q1555938 }
Antarctic
Antarctic has that geographic location as its namesake
Antarctic
action filter_type
action find_reverse
entity Antarctic
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Antarctic']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:ship_type . ?b property:named_after resource:Antarctic }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q188982
P138
Q2235308 Q14524493
USER
How many terrains have lesser number of ship types as their namesake than Mount Erebus ?
(c(Q14524493),P138,c(Q2235308))
action count
action less
action find_tuple_counts
relation P138
type Q14524493
type Q2235308
action count
action filter_type
action find
entity Q188982
relation P138
type Q2235308
[{'concept': 'Q14524493'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?q ) WHERE { ?k property:P138 ?e . ?k rdf:type ontology:Q14524493 . ?e rdf:type ontology:Q2235308 } GROUP BY ?k } . FILTER ( ?q < ?g ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q188982 property:P138 ?l . ?l rdf:type ontology:Q2235308 } } }
Mount Erebus
action count
action less
action find_tuple_counts
relation named after
type terrain
type ship type
action count
action filter_type
action find
entity Mount Erebus
relation named after
type ship type
[{'concept': 'terrain'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?q ) WHERE { ?k property:named_after ?e . ?k rdf:type ontology:terrain . ?e rdf:type ontology:ship_type } GROUP BY ?k } . FILTER ( ?q < ?g ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Mount_Erebus property:named_after ?l . ?l rdf:type ontology:ship_type } } }
[]
ship type terrain
SYSTEM
157
Q7095558 Q6920614 Q260580 Q501066 Q2746234 Q185611 Q15198209 Q7145180 Q1049584 Q284882 Q500595 Q3389369 Q500982 Q8523327 Q783742 Q499158 Q20872984 Q624434 Q3002222 Q1604532 Q498967 Q21490000 Q6429490 Q209341 Q20630750 Q6922432 Q2100877 Q3321784 Q3321842 Q183027 Q826942 Q577987 Q501100 Q500388 Q1950626 Q6920288 Q1585737 Q1623447 Q5061464 Q3077516 Q16801180 Q21880667 Q499360 Q3321833 Q6920867 Q283552 Q267646 Q850051 Q3403 Q1367889 Q6921188 Q3389364 Q127579 Q1430350 Q6923098 Q18625795 Q1772545 Q6921161 Q6420719 Q772492 Q1419222 Q2133133 Q20717280 Q501042 Q1551962 Q501125 Q857077 Q500635 Q5068967 Q210722 Q138114 Q5059 Q4285549 Q499309 Q21892735 Q181252 Q3321856 Q15514329 Q7838778 Q513 Q1950619 Q30400 Q807788 Q825709 Q6921860 Q21877793 Q7652194 Q16891072 Q7584820 Q501224 Q6578099 Q6920808 Q838587 Q1258129 Q2753855 Q1472624 Q21854976 Q501152 Q499001 Q6136577 Q500300 Q624430 Q1746655 Q1718336 Q499490 Q194057 Q130018 Q500909 Q2275484 Q6923367 Q26231302 Q924312 Q1585428 Q499037 Q1545452 Q594387 Q668432 Q828411 Q500562 Q81213 Q152073 Q6920389 Q499132 Q3321974 Q1733970 Q41413 Q206161 Q831100 Q3321760 Q499521 Q6923346 Q7458114 Q13659482 Q577122 Q501012 Q4840748 Q1548802 Q8525207 Q235539 Q159860 Q3274184 Q500040 Q1472572 Q8519545 Q841110 Q6924087 Q6495867 Q21488684 Q14874702 Q21170104 Q500676 Q6924672 Q6920421 Q337946 Q6919416 Q148154 Q1862168
(c(Q14524493),P138,c(Q2235308))
action count
action less
action find_tuple_counts
relation P138
type Q14524493
type Q2235308
action count
action filter_type
action find
entity Q188982
relation P138
type Q2235308
[ANSWER]
[{'concept': 'Q14524493'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?q ) WHERE { ?k property:P138 ?e . ?k rdf:type ontology:Q14524493 . ?e rdf:type ontology:Q2235308 } GROUP BY ?k } . FILTER ( ?q < ?g ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q188982 property:P138 ?l . ?l rdf:type ontology:Q2235308 } } }
Opalchenie Peak Mount Elliot Pieter Both Montes Secchi Mount Raoul Blanchard Federation Peak Belchenflue Paton Peak Mitre Peak Montes Archimedes Mons Maraldi Piton Plaine des Fougères Montes Riphaeus Mount Field (New Hampshire) Pico Duarte Mons Blanc Mount Theodore Roosevelt Lyctos Facula Newberry Volcano Helpt Hills Montes Agricola Mount Lewis Mount Lagado Musala Mont Jean-Yves-Bérubé Mount Nivelle Pojeta Peak Mount Conness Mount Fridtjof Nansen Mount Garibaldi Mount Griggs Mons Wolff Montes Spitzbergen Mons Huygens Mount POW/MIA Mount Crean Black Elk Peak Hohe Burg Central Mount Stuart Formica Leo Linnéfjella Kalksburger Grat Mons Esam Mont François-De Laval Mount Gaston de Gerlache Gaussberg Mount Adams Mount Taranaki Dufourspitze Mount Lamington Mount Heyburn Piton Dugain Mons Herodotus Floyd Bennett Field Mount Pétain McCauley Mountain Mount McLoughlin Mount Henry Lucy Kletting Peak Mount Jefferson Newtontoppen Rauen Hills Duke Island Mons Rümker Mount Tasman Montes Taurus Bieberer Berg Mons Delisle Challenger Point Sugarloaf Mountain Thórsmörk Mount Cook Mount Peck Montes Carpatus Mount Deakin Flechtingen Hills Mount Gosford Hellandfjellet Tresidder Peak Mount Everest Mount Nansen Zumsteinspitze Barbeau Peak Gunnbjørn Fjeld Mount Lloyd George Mizzi-Langer-Wand Sverdrup Nunataks Mount Emmons (Colorado) Mount Kurchatov Mons Vitruvius Mount Rendu Mount Frederick Clarke Lenin Peak Dreispitz Mount Lyell Mons Hadley Delta Annaberg Mons Vinogradov Montes Alpes Mount Baden-Powell Mons Hansteen Ida Facula Kleiner Oderberg Mount Obama Mons Gruithuisen Gamma Mount Rainier Denali Montes Pyrenaeus Sex Rouge Mount Russell Prédikálószék Mount Sidley Harkortberg Montes Apenninus Piton des Neiges Mount Baker Schwarzsee Bertrab Nunatak Mons La Hire Gerlachovský štít Monserrate Mount Deakin Mons Argaeus Mount Nansen Karlsruher Grat Ismoil Somoni Peak Mount Herzl Mount Muir Mount Clark Mons Hadley Mount Ruegg Sevtopolis Peak Hengist Nunatak Gellért Hill Montes Rook Baden-Powell Peak Großer Oderberg Mount Tennent Mount Whitney Vaalserberg Mount Simeon Montes Haemus Mons Usov Junipero Serra Peak Mount Ritter Mount Terry Fox Latham Peak Instituto Antártico Argentino Mount Prevost Mount Cedric Wright Mons Penck Mount Wright Mount Desor Montes Teneriffe Mount Ansel Adams Paulet Island Mount Dana
157
action count
action less
action find_tuple_counts
relation named after
type terrain
type ship type
action count
action filter_type
action find
entity Mount Erebus
relation named after
type ship type
[{'concept': 'terrain'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?e ) AS ?q ) WHERE { ?k property:named_after ?e . ?k rdf:type ontology:terrain . ?e rdf:type ontology:ship_type } GROUP BY ?k } . FILTER ( ?q < ?g ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Mount_Erebus property:named_after ?l . ?l rdf:type ontology:ship_type } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P85
Q7725634 Q484692 Q15617994
USER
How many administrative territories have approximately 2 literary works or hymns as their national anthem ?
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
value 2
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?a ) WHERE { VALUES ( ?v ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?i rdf:type ?v } GROUP BY ?o } . FILTER ( ?a = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?a ) WHERE { VALUES ( ?v ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?i rdf:type ?v } GROUP BY ?o } . FILTER ( ?a = 2 ) }
[]
literary work hymn designation for an administrative territorial entity
SYSTEM
3
Q159 Q242 Q1045
(c(Q15617994),P85,c(Q7725634)|c(Q484692))
action count
action approx
action union
action find_tuple_counts
relation P85
type Q15617994
type Q7725634
action find_tuple_counts
relation P85
type Q15617994
type Q484692
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P85', [{'concept': 'Q7725634'}, {'concept': 'Q484692'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?a ) WHERE { VALUES ( ?v ) { ( ontology:Q7725634 ) ( ontology:Q484692 ) } . ?i rdf:type ?v } GROUP BY ?o } . FILTER ( ?a = 2 ) }
Russia Belize Somalia
3
action count
action approx
action union
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type literary work
action find_tuple_counts
relation anthem
type designation for an administrative territorial entity
type hymn
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'anthem', [{'concept': 'literary work'}, {'concept': 'hymn'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?a ) WHERE { VALUES ( ?v ) { ( ontology:literary_work ) ( ontology:hymn ) } . ?i rdf:type ?v } GROUP BY ?o } . FILTER ( ?a = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q277442 Q81483
P47 P17
Q15617994
USER
Which administrative territories are The Levant situated in or share border with Castellino del Biferno ?
OR((Q81483,P17,c(Q15617994)), (Q277442,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q81483
relation P17
action find
entity Q277442
relation P47
type Q15617994
{'OR': [['Q81483', 'P17', {'concept': 'Q15617994'}], ['Q277442', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q81483 property:P17 ?w } UNION { resource:Q277442 property:P47 ?w } } . ?w rdf:type ontology:Q15617994 }
Castellino del Biferno The Levant
action filter_type
action union
action find
entity The Levant
relation country
action find
entity Castellino del Biferno
relation shares border with
type designation for an administrative territorial entity
{'OR': [['The Levant', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Castellino del Biferno', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:The_Levant property:country ?w } UNION { resource:Castellino_del_Biferno property:shares_border_with ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q858 Q277684 Q801 Q277869 Q822 Q810 Q277827 Q221011 Q277413 Q176292
SYSTEM
Syria, Matrice, Israel, Petrella Tifernina, Lebanon, Jordan, Morrone del Sannio, Ripabottoni, Campolieto, Lucito
Q858 Q277684 Q801 Q277869 Q822 Q810 Q277827 Q221011 Q277413 Q176292
OR((Q81483,P17,c(Q15617994)), (Q277442,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q81483
relation P17
action find
entity Q277442
relation P47
type Q15617994
The Levant are situated share of [ANSWERS]
{'OR': [['Q81483', 'P17', {'concept': 'Q15617994'}], ['Q277442', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q81483 property:P17 ?w } UNION { resource:Q277442 property:P47 ?w } } . ?w rdf:type ontology:Q15617994 }
Syria Matrice Israel Petrella Tifernina Lebanon Jordan Morrone del Sannio Ripabottoni Campolieto Lucito
The Levant are situated share of Syria, Matrice, Israel, Petrella Tifernina, Lebanon, Jordan, Morrone del Sannio, Ripabottoni, Campolieto and Lucito
Syria Matrice Israel Petrella Tifernina Lebanon Jordan Morrone del Sannio Ripabottoni Campolieto Lucito
action filter_type
action union
action find
entity The Levant
relation country
action find
entity Castellino del Biferno
relation shares border with
type designation for an administrative territorial entity
{'OR': [['The Levant', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Castellino del Biferno', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:The_Levant property:country ?w } UNION { resource:Castellino_del_Biferno property:shares_border_with ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q18857007
P180
Q2221906 Q340169 Q2342494
USER
How many geographic locations are demonstrated in more number of medias and collectables than location of burial ?
(c(Q340169)|c(Q2342494),P180,c(Q2221906))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q340169
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q18857007
relation P180
type Q340169
type Q2342494
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?k WHERE { VALUES ( ?t ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } . ?i rdf:type ?t } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:P180 resource:Q18857007 . { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q340169 } } } } . FILTER ( ?z > ?u ) }
location of burial
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type geographic location
type media
action find_reverse_tuple_counts
relation depicts
type geographic location
type collectable
action count
action filter_multi_types
action find_reverse
entity location of burial
relation depicts
type media
type collectable
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?k WHERE { VALUES ( ?t ) { ( ontology:media ) ( ontology:collectable ) } . ?i rdf:type ?t } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:depicts resource:location_of_burial . { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:media } } } } . FILTER ( ?z > ?u ) }
[]
geographic location media collectable
SYSTEM
12
Q40357 Q48 Q51 Q828 Q107679 Q23397 Q107425 Q1507 Q15 Q46 Q15324 Q8502
(c(Q340169)|c(Q2342494),P180,c(Q2221906))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q340169
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q18857007
relation P180
type Q340169
type Q2342494
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?k WHERE { VALUES ( ?t ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } . ?i rdf:type ?t } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:P180 resource:Q18857007 . { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q340169 } } } } . FILTER ( ?z > ?u ) }
prison Asia Antarctica Americas cliff lake landscape Patagonia Africa Europe body of water mountain
12
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type geographic location
type media
action find_reverse_tuple_counts
relation depicts
type geographic location
type collectable
action count
action filter_multi_types
action find_reverse
entity location of burial
relation depicts
type media
type collectable
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) ?k WHERE { VALUES ( ?t ) { ( ontology:media ) ( ontology:collectable ) } . ?i rdf:type ?t } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:depicts resource:location_of_burial . { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:media } } } } . FILTER ( ?z > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1210950
P180
Q2221906 Q340169 Q2342494
USER
And also tell me about channel?
(c(Q340169)|c(Q2342494),P180,c(Q2221906))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q340169
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1210950
relation P180
type Q340169
type Q2342494
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { FILTER ( ?e > ?z ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P180 resource:Q1210950 . { { ?g rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q2342494 } } } } . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } } GROUP BY ?b } }
channel
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type geographic location
type media
action find_reverse_tuple_counts
relation depicts
type geographic location
type collectable
action count
action filter_multi_types
action find_reverse
entity channel
relation depicts
type media
type collectable
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { FILTER ( ?e > ?z ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:depicts resource:channel . { { ?g rdf:type ontology:media } UNION { ?g rdf:type ontology:collectable } } } } . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:media ) ( ontology:collectable ) } } GROUP BY ?b } }
[]
geographic location media collectable
SYSTEM
12
Q40357 Q48 Q51 Q828 Q107679 Q23397 Q107425 Q1507 Q15 Q46 Q15324 Q8502
(c(Q340169)|c(Q2342494),P180,c(Q2221906))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q340169
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q1210950
relation P180
type Q340169
type Q2342494
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { FILTER ( ?e > ?z ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P180 resource:Q1210950 . { { ?g rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q2342494 } } } } . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q340169 ) ( ontology:Q2342494 ) } } GROUP BY ?b } }
prison Asia Antarctica Americas cliff lake landscape Patagonia Africa Europe body of water mountain
12
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type geographic location
type media
action find_reverse_tuple_counts
relation depicts
type geographic location
type collectable
action count
action filter_multi_types
action find_reverse
entity channel
relation depicts
type media
type collectable
[[{'concept': 'media'}, {'concept': 'collectable'}], 'depicts', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { FILTER ( ?e > ?z ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:depicts resource:channel . { { ?g rdf:type ontology:media } UNION { ?g rdf:type ontology:collectable } } } } . { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:media ) ( ontology:collectable ) } } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q884
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with around the same number of administrative territories as South Korea ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q884
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P530 ?h . ?u rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Q884 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } }
South Korea
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity South Korea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:diplomatic_relation ?h . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:South_Korea property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q884
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P530 ?h . ?u rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Q884 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity South Korea
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:diplomatic_relation ?h . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:South_Korea property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1016
P530
Q15617994 Q15617994
USER
And how about Libya?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1016
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?h ) WHERE { ?i rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 . ?w property:P530 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q1016 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?n ) }
Libya
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Libya
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?h ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Libya property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?n ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1016
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?h ) WHERE { ?i rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 . ?w property:P530 ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Q1016 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?n ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Libya
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?h ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?i } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { resource:Libya property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801
P112
Q2668072
USER
Which collection was started by Israel ?
(c(Q2668072),P112,Q801)
action filter_type
action find_reverse
entity Q801
relation P112
type Q2668072
[{'concept': 'Q2668072'}, 'P112', 'Q801']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2668072 . ?o property:P112 resource:Q801 }
Israel
action filter_type
action find_reverse
entity Israel
relation founder
type collection
[{'concept': 'collection'}, 'founder', 'Israel']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:collection . ?o property:founder resource:Israel }
[]
collection
Q6518785
SYSTEM
Lehi Museum
Q6518785
(c(Q2668072),P112,Q801)
action filter_type
action find_reverse
entity Q801
relation P112
type Q2668072
[ANSWER] was started by Israel
[{'concept': 'Q2668072'}, 'P112', 'Q801']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2668072 . ?o property:P112 resource:Q801 }
Lehi Museum
Lehi Museum was started by Israel
Lehi Museum
action filter_type
action find_reverse
entity Israel
relation founder
type collection
[{'concept': 'collection'}, 'founder', 'Israel']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:collection . ?o property:founder resource:Israel }
[]