Simple Question (Direct)
Simple Question
Q982493
P1196
Q1931388
USER
What situation did Stephen Schneider die in ?
(Q982493,P1196,c(Q1931388))
action filter_type
action find
entity Q982493
relation P1196
type Q1931388
['Q982493', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q982493 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
Stephen Schneider
action filter_type
action find
entity Stephen Schneider
relation manner of death
type cause of death
['Stephen Schneider', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Stephen_Schneider property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q982493,P1196,c(Q1931388))
action filter_type
action find
entity Q982493
relation P1196
type Q1931388
Stephen Schneider died in [ANSWER]
['Q982493', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q982493 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
natural causes
Stephen Schneider died in natural causes
natural causes
action filter_type
action find
entity Stephen Schneider
relation manner of death
type cause of death
['Stephen Schneider', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Stephen_Schneider property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q982493
P21
Q290
USER
What is the sex of Stephen Schneider ?
(Q982493,P21,c(Q290))
action filter_type
action find
entity Q982493
relation P21
type Q290
['Q982493', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q982493 property:P21 ?k . ?k rdf:type ontology:Q290 }
Stephen Schneider
action filter_type
action find
entity Stephen Schneider
relation gender
type sex
['Stephen Schneider', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Stephen_Schneider property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q982493,P21,c(Q290))
action filter_type
action find
entity Q982493
relation P21
type Q290
The sex of Stephen Schneider is a [ANSWER]
['Q982493', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q982493 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of Stephen Schneider is a male
male
action filter_type
action find
entity Stephen Schneider
relation gender
type sex
['Stephen Schneider', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Stephen_Schneider property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q106230
Q290
USER
And what about Arnold Schottländer?
(Q106230,P21,c(Q290))
action filter_type
action find
entity Q106230
relation P21
type Q290
['Q106230', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q106230 property:P21 ?r . ?r rdf:type ontology:Q290 }
Arnold Schottländer
action filter_type
action find
entity Arnold Schottländer
relation gender
type sex
['Arnold Schottländer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Arnold_Schottländer property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q106230,P21,c(Q290))
action filter_type
action find
entity Q106230
relation P21
type Q290
[ANSWER]
['Q106230', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q106230 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Arnold Schottländer
relation gender
type sex
['Arnold Schottländer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Arnold_Schottländer property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q982493
P106
Q12737077
USER
Which occupations have Stephen Schneider as his/her 's career ?
(Q982493,P106,c(Q12737077))
action filter_type
action find
entity Q982493
relation P106
type Q12737077
['Q982493', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q982493 property:P106 ?i }
Stephen Schneider
action filter_type
action find
entity Stephen Schneider
relation occupation
type occupation
['Stephen Schneider', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Stephen_Schneider property:occupation ?i }
[]
occupation
Q81096 Q1622272
SYSTEM
engineer, university teacher
Q81096 Q1622272
(Q982493,P106,c(Q12737077))
action filter_type
action find
entity Q982493
relation P106
type Q12737077
The [ANSWERS] have Stephen Schneider as his/her 's career
['Q982493', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q982493 property:P106 ?i }
engineer university teacher
The engineer and university teacher have Stephen Schneider as his/her 's career
engineer university teacher
action filter_type
action find
entity Stephen Schneider
relation occupation
type occupation
['Stephen Schneider', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Stephen_Schneider property:occupation ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q982493
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q81096,P27,c(Q15617994)) (Q1622272,P27,c(Q15617994))
action filter_type
action find
entity Q982493
relation P27
type Q15617994
['Q81096', 'P27', {'concept': 'Q15617994'}] ['Q1622272', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q982493 property:P27 ?d }
Stephen Schneider
action filter_type
action find
entity Stephen Schneider
relation country of citizenship
type designation for an administrative territorial entity
['engineer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['university teacher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Stephen_Schneider property:country_of_citizenship ?d }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q81096,P27,c(Q15617994)) (Q1622272,P27,c(Q15617994))
action filter_type
action find
entity Q982493
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q81096', 'P27', {'concept': 'Q15617994'}] ['Q1622272', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q982493 property:P27 ?d }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity Stephen Schneider
relation country of citizenship
type designation for an administrative territorial entity
['engineer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['university teacher', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Stephen_Schneider property:country_of_citizenship ?d }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q30 Q4439391 Q16
P530
Q1048835
USER
Does that administrative territory have diplomatic associations with Stanislavka and Canada ?
(Q30,P530,Q4439391) (Q30,P530,Q16)
action is_in
entity Q30
action intersection
action find_reverse
entity Q4439391
relation P530
action find_reverse
entity Q16
relation P530
['Q30', 'P530', 'Q4439391'] ['Q30', 'P530', 'Q16']
ASK WHERE { resource:Q30 property:P530 resource:Q4439391 . resource:Q30 property:P530 resource:Q16 }
United States of America Stanislavka Canada
action is_in
entity United States of America
action intersection
action find_reverse
entity Stanislavka
relation diplomatic relation
action find_reverse
entity Canada
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Stanislavka'] ['United States of America', 'diplomatic relation', 'Canada']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Stanislavka . resource:United_States_of_America property:diplomatic_relation resource:Canada }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q30,P530,Q4439391) (Q30,P530,Q16)
action is_in
entity Q30
action intersection
action find_reverse
entity Q4439391
relation P530
action find_reverse
entity Q16
relation P530
[ANSWER]
['Q30', 'P530', 'Q4439391'] ['Q30', 'P530', 'Q16']
ASK WHERE { resource:Q30 property:P530 resource:Q4439391 . resource:Q30 property:P530 resource:Q16 }
NO and YES respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Stanislavka
relation diplomatic relation
action find_reverse
entity Canada
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Stanislavka'] ['United States of America', 'diplomatic relation', 'Canada']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Stanislavka . resource:United_States_of_America property:diplomatic_relation resource:Canada }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with approximately 17 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 17
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?z = 17 ) . { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?z ) WHERE { ?b property:P530 ?u . ?b rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?b } }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?z = 17 ) . { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?z ) WHERE { ?b property:diplomatic_relation ?u . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q142 Q148 Q801
SYSTEM
France, People's Republic of China, Israel
Q801 Q805 Q142 Q145 Q148 Q403 Q17 Q1011
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 17
[ANSWERS] have diplomatic relationships with approximately 17 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?z = 17 ) . { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?z ) WHERE { ?b property:P530 ?u . ?b rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?b } }
Israel Yemen France United Kingdom People's Republic of China Serbia Japan Cape Verde
France, People's Republic of China and Israel have diplomatic relationships with approximately 17 administrative territories
France People's Republic of China Israel
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?z = 17 ) . { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?z ) WHERE { ?b property:diplomatic_relation ?u . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have tactful political relations with those ones ?
(Q184,P530,Q142) (Q184,P530,Q148) (Q184,P530,Q801)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q142'] ['Q184', 'P530', 'Q148'] ['Q184', 'P530', 'Q801']
ASK WHERE { resource:Q184 property:P530 ?r . VALUES ( ?r ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q142 ) } }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'France'] ['Belarus', 'diplomatic relation', "People's Republic of China"] ['Belarus', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Belarus property:diplomatic_relation ?r . VALUES ( ?r ) { ( resource:Israel ) ( resource:Yemen ) ( resource:France ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q142) (Q184,P530,Q148) (Q184,P530,Q801)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q142'] ['Q184', 'P530', 'Q148'] ['Q184', 'P530', 'Q801']
ASK WHERE { resource:Q184 property:P530 ?r . VALUES ( ?r ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q142 ) } }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'France'] ['Belarus', 'diplomatic relation', "People's Republic of China"] ['Belarus', 'diplomatic relation', 'Israel']
ASK WHERE { resource:Belarus property:diplomatic_relation ?r . VALUES ( ?r ) { ( resource:Israel ) ( resource:Yemen ) ( resource:France ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P138
Q874405
USER
Which social group is France named after ?
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q142 property:P138 ?k . ?k rdf:type ontology:Q874405 }
France
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:France property:named_after ?k . ?k rdf:type ontology:social_group }
[]
social group
Q43482
SYSTEM
Franks
Q43482
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
France is named for [ANSWER]
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q142 property:P138 ?k . ?k rdf:type ontology:Q874405 }
Franks
France is named for Franks
Franks
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:France property:named_after ?k . ?k rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P610
Q14524493
USER
Which terrain is the highest point of France ?
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q14524493 . resource:Q142 property:P610 ?d }
France
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:terrain . resource:France property:highest_point ?d }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
[ANSWER] is the highest point of France
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q14524493 . resource:Q142 property:P610 ?d }
Mont Blanc
Mont Blanc is the highest point of France
Mont Blanc
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:terrain . resource:France property:highest_point ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P3179
Q7275
USER
Which state has an overlap with that administrative territory ?
(c(Q7275),P3179,Q583)
action filter_type
action find_reverse
entity Q142
relation P3179
type Q7275
[{'concept': 'Q7275'}, 'P3179', 'Q583']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7275 . ?r property:P3179 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation territory overlaps
type state
[{'concept': 'state'}, 'territory overlaps', 'Mont Blanc']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:state . ?r property:territory_overlaps resource:France }
[]
state
Q70972
SYSTEM
Kingdom of France
Q70972
(c(Q7275),P3179,Q583)
action filter_type
action find_reverse
entity Q142
relation P3179
type Q7275
[ANSWER] has an overlap with that administrative territory
[{'concept': 'Q7275'}, 'P3179', 'Q583']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7275 . ?r property:P3179 resource:Q142 }
Kingdom of France
Kingdom of France has an overlap with that administrative territory
Kingdom of France
action filter_type
action find_reverse
entity France
relation territory overlaps
type state
[{'concept': 'state'}, 'territory overlaps', 'Mont Blanc']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:state . ?r property:territory_overlaps resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q70972
P127
Q7743
USER
Which home belongs to that state ?
(c(Q7743),P127,Q70972)
action filter_type
action find_reverse
entity Q70972
relation P127
type Q7743
[{'concept': 'Q7743'}, 'P127', 'Q70972']
SELECT DISTINCT ?h WHERE { ?h property:P127 resource:Q70972 . ?h rdf:type ontology:Q7743 }
Kingdom of France
action filter_type
action find_reverse
entity Kingdom of France
relation owned by
type home
[{'concept': 'home'}, 'owned by', 'Kingdom of France']
SELECT DISTINCT ?h WHERE { ?h property:owned_by resource:Kingdom_of_France . ?h rdf:type ontology:home }
[]
home
Q205367
SYSTEM
Château de Chambord
Q205367
(c(Q7743),P127,Q70972)
action filter_type
action find_reverse
entity Q70972
relation P127
type Q7743
[ANSWER] belongs to that state
[{'concept': 'Q7743'}, 'P127', 'Q70972']
SELECT DISTINCT ?h WHERE { ?h property:P127 resource:Q70972 . ?h rdf:type ontology:Q7743 }
Château de Chambord
Château de Chambord belongs to that state
Château de Chambord
action filter_type
action find_reverse
entity Kingdom of France
relation owned by
type home
[{'concept': 'home'}, 'owned by', 'Kingdom of France']
SELECT DISTINCT ?h WHERE { ?h property:owned_by resource:Kingdom_of_France . ?h rdf:type ontology:home }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1070686
P706
Q271669 Q82794 Q15617994
USER
How many administrative territories have their location as less number of landforms or geographic regions than Leivathos ?
(c(Q15617994),P706,c(Q271669)|c(Q82794))
action count
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q271669
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q1070686
relation P706
type Q271669
type Q82794
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ?e . VALUES ( ?e ) { ( ontology:Q271669 ) ( ontology:Q82794 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q1070686 property:P706 ?g . { { ?g rdf:type ontology:Q271669 } UNION { ?g rdf:type ontology:Q82794 } } } } . FILTER ( ?m < ?o ) }
Leivathos
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Leivathos
relation located on terrain feature
type landform
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ?e . VALUES ( ?e ) { ( ontology:landform ) ( ontology:geographic_region ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Leivathos property:located_on_terrain_feature ?g . { { ?g rdf:type ontology:landform } UNION { ?g rdf:type ontology:geographic_region } } } } . FILTER ( ?m < ?o ) }
[]
landform geographic region designation for an administrative territorial entity
SYSTEM
80
Q695445 Q2712111 Q489215 Q525879 Q24846 Q267993 Q637400 Q632868 Q148 Q784 Q786 Q25129 Q7042 Q312335 Q525945 Q3003231 Q505665 Q1462 Q521132 Q790 Q555609 Q267005 Q1619957 Q204529 Q244 Q501683 Q582690 Q216422 Q5000224 Q33 Q633162 Q3146 Q520347 Q598754 Q21074475 Q3942 Q333149 Q565749 Q4770750 Q20836 Q20837 Q769680 Q502662 Q47821 Q3038 Q3068 Q331886 Q25130 Q588957 Q25135 Q3218 Q112019 Q704288 Q25125 Q29931 Q754 Q25082 Q558787 Q14892 Q180271 Q262684 Q628095 Q3923 Q27649869 Q3193 Q522992 Q23968 Q760 Q489865 Q518171 Q46870 Q7561974 Q72432 Q504134 Q20754 Q153969 Q481758 Q55416 Q31640 Q376823
(c(Q15617994),P706,c(Q271669)|c(Q82794))
action count
action less
action union
action find_tuple_counts
relation P706
type Q15617994
type Q271669
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q1070686
relation P706
type Q271669
type Q82794
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ?e . VALUES ( ?e ) { ( ontology:Q271669 ) ( ontology:Q82794 ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Q1070686 property:P706 ?g . { { ?g rdf:type ontology:Q271669 } UNION { ?g rdf:type ontology:Q82794 } } } } . FILTER ( ?m < ?o ) }
Langen Zagori Oberhof Haundorf Juist Muhr am See Hohenwarte Sasbach People's Republic of China Dominica Dominican Republic Langeoog Amberg Spalt Pfofeld Croisset Bergen Sardinia Hilpoltstein Haiti Magdala Moneglia Hippelsbach Zingst Barbados Rosengarten Neuenhagen bei Berlin Samsø Burnt River, Ontario Finland Drestedt Pellworm Röttenbach, Roth Undeloh Nenndorf Aschaffenburg Abstatt Erden Ansons Bay Hallig Hooge Fanø Bornholm Bad Salzungen Malcesine Helgoland Loire-Atlantique Absberg Spiekeroog Allersberg Wangerooge Insel Hiddensee Sirmione Duchy of Holstein Baltrum Langeneß Trinidad and Tobago Borkum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Nürburg Bayreuth Teglkås Ostseebad Insel Poel Braunlage Norderney Saint Lucia Isola delle Femmine Ellhofen Bardolino Sonning Eye Procida Kirchlinteln Gröde Lindau Pantelleria Chioggia Unterschwaningen Wenzendorf
80
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Leivathos
relation located on terrain feature
type landform
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?m ) WHERE { ?i rdf:type ?e . VALUES ( ?e ) { ( ontology:landform ) ( ontology:geographic_region ) } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { resource:Leivathos property:located_on_terrain_feature ?g . { { ?g rdf:type ontology:landform } UNION { ?g rdf:type ontology:geographic_region } } } } . FILTER ( ?m < ?o ) }
[]