Simple Question (Direct)
Simple Question
Q2060069
P19
Q56061
USER
Which administrative territory was Jon Diebler born in ?
(Q2060069,P19,c(Q56061))
action filter_type
action find
entity Q2060069
relation P19
type Q56061
['Q2060069', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q2060069 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Jon Diebler
action filter_type
action find
entity Jon Diebler
relation place of birth
type administrative territorial entity
['Jon Diebler', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jon_Diebler property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1913338
SYSTEM
Upper Sandusky
Q1913338
(Q2060069,P19,c(Q56061))
action filter_type
action find
entity Q2060069
relation P19
type Q56061
Jon Diebler was born in [ANSWER]
['Q2060069', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q2060069 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Upper Sandusky
Jon Diebler was born in Upper Sandusky
Upper Sandusky
action filter_type
action find
entity Jon Diebler
relation place of birth
type administrative territorial entity
['Jon Diebler', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jon_Diebler property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1913338
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
(Q1913338,P17,c(Q15617994))
action filter_type
action find
entity Q1913338
relation P17
type Q15617994
['Q1913338', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1913338 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Upper Sandusky
action filter_type
action find
entity Upper Sandusky
relation country
type designation for an administrative territorial entity
['Upper Sandusky', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Upper_Sandusky property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1913338,P17,c(Q15617994))
action filter_type
action find
entity Q1913338
relation P17
type Q15617994
That administrative territory is situated the [ANSWER]
['Q1913338', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1913338 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
United States of America
That administrative territory is situated the United States of America
United States of America
action filter_type
action find
entity Upper Sandusky
relation country
type designation for an administrative territorial entity
['Upper Sandusky', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Upper_Sandusky property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q7786407
P495
Q838948
USER
Did This Year's Blonde originate in that administrative territory ?
(Q7786407,P495,Q30)
action is_in
entity Q30
action find
entity Q7786407
relation P495
['Q7786407', 'P495', 'Q30']
ASK WHERE { resource:Q7786407 property:P495 resource:Q30 }
United States of America This Year's Blonde
action is_in
entity United States of America
action find
entity This Year's Blonde
relation country of origin
["This Year's Blonde", 'country of origin', 'United States of America']
ASK WHERE { resource:This_Year's_Blonde property:country_of_origin resource:United_States_of_America }
[]
work of art
SYSTEM
YES
(Q7786407,P495,Q30)
action is_in
entity Q30
action find
entity Q7786407
relation P495
[ANSWER]
['Q7786407', 'P495', 'Q30']
ASK WHERE { resource:Q7786407 property:P495 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity This Year's Blonde
relation country of origin
["This Year's Blonde", 'country of origin', 'United States of America']
ASK WHERE { resource:This_Year's_Blonde property:country_of_origin resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with around 120 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 120
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { FILTER ( ?w = 120 ) . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?w ) WHERE { ?n property:P530 ?c . ?n rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } GROUP BY ?n } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 120
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { FILTER ( ?w = 120 ) . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?w ) WHERE { ?n property:diplomatic_relation ?c . ?n rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 120
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { FILTER ( ?w = 120 ) . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?w ) WHERE { ?n property:P530 ?c . ?n rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } GROUP BY ?n } }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 120
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { FILTER ( ?w = 120 ) . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?w ) WHERE { ?n property:diplomatic_relation ?c . ?n rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q15617994 Q340169 Q838948
USER
Which administrative territories are depicted in max number of medias and works of art ?
(c(Q340169)|c(Q838948),P180,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?z ) { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?c ) WHERE { { ?d rdf:type ontology:Q340169 . ?x rdf:type ontology:Q15617994 . ?d property:P180 ?x } UNION { ?d property:P180 ?x . ?x rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q838948 } } GROUP BY ?x } } . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?a ) WHERE { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?y } . FILTER ( ?a = ?z ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?z ) { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?c ) WHERE { { ?d rdf:type ontology:media . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:depicts ?x } UNION { ?d property:depicts ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:work_of_art } } GROUP BY ?x } } . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?a ) WHERE { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?y } . FILTER ( ?a = ?z ) }
[]
designation for an administrative territorial entity media work of art
Q82025
SYSTEM
horn
Q82025
(c(Q340169)|c(Q838948),P180,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
The [ANSWER] is depicted in max number of medias and works of art
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?z ) { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?c ) WHERE { { ?d rdf:type ontology:Q340169 . ?x rdf:type ontology:Q15617994 . ?d property:P180 ?x } UNION { ?d property:P180 ?x . ?x rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q838948 } } GROUP BY ?x } } . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?a ) WHERE { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?y } . FILTER ( ?a = ?z ) }
horn
The horn is depicted in max number of medias and works of art
horn
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?z ) { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?c ) WHERE { { ?d rdf:type ontology:media . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:depicts ?x } UNION { ?d property:depicts ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:work_of_art } } GROUP BY ?x } } . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?a ) WHERE { ?e rdf:type ?f . VALUES ( ?f ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?y } . FILTER ( ?a = ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P194
Q11204
USER
Which legislature is the legislative body for United States of America ?
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P194 ?n . ?n rdf:type ontology:Q11204 }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:legislative_body ?n . ?n rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
The [ANSWER] is the legislative body for United States of America
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?n WHERE { resource:Q30 property:P194 ?n . ?n rdf:type ontology:Q11204 }
United States Congress
The United States Congress is the legislative body for United States of America
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?n WHERE { resource:United_States_of_America property:legislative_body ?n . ?n rdf:type ontology:legislature }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q40
P530
Q15617994
USER
How many administrative territories have a diplomatic relationship with United States of America and Austria ?
(Q30,P530,c(Q15617994)) (Q40,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q30
relation P530
type Q15617994
action filter_type
action find
entity Q40
relation P530
type Q15617994
['Q30', 'P530', {'concept': 'Q15617994'}] ['Q40', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Q40 property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . resource:Q30 property:P530 ?j }
United States of America Austria
action count
action intersection
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Austria property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?j }
[]
designation for an administrative territorial entity
SYSTEM
3
Q403 Q38 Q347
(Q30,P530,c(Q15617994)) (Q40,P530,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q30
relation P530
type Q15617994
action filter_type
action find
entity Q40
relation P530
type Q15617994
[ANSWER]
['Q30', 'P530', {'concept': 'Q15617994'}] ['Q40', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Q40 property:P530 ?j . ?j rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . resource:Q30 property:P530 ?j }
Serbia Italy Liechtenstein
3
action count
action intersection
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?c ) WHERE { resource:Austria property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:United_States_of_America property:diplomatic_relation ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q865
P495
Q838948
USER
How many works of art have United States of America and Taiwan as their place of origin ?
(c(Q838948),P495,Q30) (c(Q838948),P495,Q865)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P495
type Q838948
action filter_type
action find_reverse
entity Q865
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q30'] [{'concept': 'Q838948'}, 'P495', 'Q865']
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P495 resource:Q30 . ?x rdf:type ontology:Q838948 . ?x property:P495 resource:Q865 . ?x rdf:type ontology:Q838948 }
United States of America Taiwan
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation country of origin
type work of art
action filter_type
action find_reverse
entity Taiwan
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'United States of America'] [{'concept': 'work of art'}, 'country of origin', 'Taiwan']
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:country_of_origin resource:United_States_of_America . ?x rdf:type ontology:work_of_art . ?x property:country_of_origin resource:Taiwan . ?x rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
2
Q702270 Q718524
(c(Q838948),P495,Q30) (c(Q838948),P495,Q865)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P495
type Q838948
action filter_type
action find_reverse
entity Q865
relation P495
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P495', 'Q30'] [{'concept': 'Q838948'}, 'P495', 'Q865']
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:P495 resource:Q30 . ?x rdf:type ontology:Q838948 . ?x property:P495 resource:Q865 . ?x rdf:type ontology:Q838948 }
Pushing Hands Lust, Caution
2
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation country of origin
type work of art
action filter_type
action find_reverse
entity Taiwan
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'United States of America'] [{'concept': 'work of art'}, 'country of origin', 'Taiwan']
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x property:country_of_origin resource:United_States_of_America . ?x rdf:type ontology:work_of_art . ?x property:country_of_origin resource:Taiwan . ?x rdf:type ontology:work_of_art }
[]