Simple Question (Direct)
Simple Question
Q93718
P119
Q43229
USER
Which organization is the tomb of Ludwig Anzengruber ?
(Q93718,P119,c(Q43229))
action filter_type
action find
entity Q93718
relation P119
type Q43229
['Q93718', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { resource:Q93718 property:P119 ?r . ?r rdf:type ontology:Q43229 }
Ludwig Anzengruber
action filter_type
action find
entity Ludwig Anzengruber
relation place of burial
type organization
['Ludwig Anzengruber', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { resource:Ludwig_Anzengruber property:place_of_burial ?r . ?r rdf:type ontology:organization }
[]
organization
Q240744
SYSTEM
Zentralfriedhof
Q240744
(Q93718,P119,c(Q43229))
action filter_type
action find
entity Q93718
relation P119
type Q43229
The [ANSWER] is the tomb of Ludwig Anzengruber
['Q93718', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { resource:Q93718 property:P119 ?r . ?r rdf:type ontology:Q43229 }
Zentralfriedhof
The Zentralfriedhof is the tomb of Ludwig Anzengruber
Zentralfriedhof
action filter_type
action find
entity Ludwig Anzengruber
relation place of burial
type organization
['Ludwig Anzengruber', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { resource:Ludwig_Anzengruber property:place_of_burial ?r . ?r rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q93718
P19
Q56061
USER
Which administrative territory was Ludwig Anzengruber born in ?
(Q93718,P19,c(Q56061))
action filter_type
action find
entity Q93718
relation P19
type Q56061
['Q93718', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q93718 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Ludwig Anzengruber
action filter_type
action find
entity Ludwig Anzengruber
relation place of birth
type administrative territorial entity
['Ludwig Anzengruber', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ludwig_Anzengruber property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q93718,P19,c(Q56061))
action filter_type
action find
entity Q93718
relation P19
type Q56061
Ludwig Anzengruber was born in [ANSWER]
['Q93718', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q93718 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Vienna
Ludwig Anzengruber was born in Vienna
Vienna
action filter_type
action find
entity Ludwig Anzengruber
relation place of birth
type administrative territorial entity
['Ludwig Anzengruber', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ludwig_Anzengruber property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P750
Q43229 Q201658 Q166142
USER
How many organizations are the distributors of atleast 15 film genres or applications ?
(c(Q201658)|c(Q166142),P750,c(Q43229))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P750
type Q43229
type Q201658
action find_reverse_tuple_counts
relation P750
type Q43229
type Q166142
value 15
[[{'concept': 'Q201658'}, {'concept': 'Q166142'}], 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:Q201658 ) ( ontology:Q166142 ) } . ?v rdf:type ?k } GROUP BY ?p } . FILTER ( ?t >= 15 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation distributor
type organization
type film genre
action find_reverse_tuple_counts
relation distributor
type organization
type application
value 15
[[{'concept': 'film genre'}, {'concept': 'application'}], 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:film_genre ) ( ontology:application ) } . ?v rdf:type ?k } GROUP BY ?p } . FILTER ( ?t >= 15 ) }
[]
organization film genre application
SYSTEM
9
Q1414304 Q2264873 Q179922 Q1323594 Q650331 Q540590 Q312 Q6715746 Q1200552
(c(Q201658)|c(Q166142),P750,c(Q43229))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P750
type Q43229
type Q201658
action find_reverse_tuple_counts
relation P750
type Q43229
type Q166142
value 15
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q166142'}], 'P750', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:Q201658 ) ( ontology:Q166142 ) } . ?v rdf:type ?k } GROUP BY ?p } . FILTER ( ?t >= 15 ) }
Film Booking Offices of America Vivendi Games Goldwyn Pictures Walt Disney Studios Motion Pictures Metro Pictures Mutual Film Apple MGM Interactive Marvel Entertainment
9
action count
action atleast
action union
action find_reverse_tuple_counts
relation distributor
type organization
type film genre
action find_reverse_tuple_counts
relation distributor
type organization
type application
value 15
[[{'concept': 'film genre'}, {'concept': 'application'}], 'distributor', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:film_genre ) ( ontology:application ) } . ?v rdf:type ?k } GROUP BY ?p } . FILTER ( ?t >= 15 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q240744
P17
Q1048835
USER
Which political territory does Zentralfriedhof belong to ?
(Q240744,P17,c(Q1048835))
action filter_type
action find
entity Q240744
relation P17
type Q1048835
['Q240744', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q240744 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
Zentralfriedhof
action filter_type
action find
entity Zentralfriedhof
relation country
type political territorial entity
['Zentralfriedhof', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Zentralfriedhof property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q240744,P17,c(Q1048835))
action filter_type
action find
entity Q240744
relation P17
type Q1048835
Zentralfriedhof belongs to [ANSWER]
['Q240744', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q240744 property:P17 ?m . ?m rdf:type ontology:Q1048835 }
Austria
Zentralfriedhof belongs to Austria
Austria
action filter_type
action find
entity Zentralfriedhof
relation country
type political territorial entity
['Zentralfriedhof', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Zentralfriedhof property:country ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q40 Q38 Q243266
P47
Q15617994
USER
Does Austria have an adjacent border with Italy and Kranenburg ?
(Q40,P47,Q38) (Q40,P47,Q243266)
action is_in
entity Q40
action intersection
action find_reverse
entity Q38
relation P47
action find_reverse
entity Q243266
relation P47
['Q40', 'P47', 'Q38'] ['Q40', 'P47', 'Q243266']
ASK WHERE { resource:Q40 property:P47 resource:Q38 . resource:Q40 property:P47 resource:Q243266 }
Austria Italy Kranenburg
action is_in
entity Austria
action intersection
action find_reverse
entity Italy
relation shares border with
action find_reverse
entity Kranenburg
relation shares border with
['Austria', 'shares border with', 'Italy'] ['Austria', 'shares border with', 'Kranenburg']
ASK WHERE { resource:Austria property:shares_border_with resource:Italy . resource:Austria property:shares_border_with resource:Kranenburg }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q40,P47,Q38) (Q40,P47,Q243266)
action is_in
entity Q40
action intersection
action find_reverse
entity Q38
relation P47
action find_reverse
entity Q243266
relation P47
[ANSWER]
['Q40', 'P47', 'Q38'] ['Q40', 'P47', 'Q243266']
ASK WHERE { resource:Q40 property:P47 resource:Q38 . resource:Q40 property:P47 resource:Q243266 }
YES and NO respectively
action is_in
entity Austria
action intersection
action find_reverse
entity Italy
relation shares border with
action find_reverse
entity Kranenburg
relation shares border with
['Austria', 'shares border with', 'Italy'] ['Austria', 'shares border with', 'Kranenburg']
ASK WHERE { resource:Austria property:shares_border_with resource:Italy . resource:Austria property:shares_border_with resource:Kranenburg }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40
P159
Q874405
USER
Which social groups have their HQ location at that political territory ?
action filter_type
action find_reverse
entity Q40
relation P159
type Q874405
SELECT DISTINCT ?f WHERE { ?f property:P159 resource:Q40 . ?f rdf:type ontology:Q874405 }
Austria
action filter_type
action find_reverse
entity Austria
relation headquarters location
type social group
SELECT DISTINCT ?f WHERE { ?f property:headquarters_location resource:Austria . ?f rdf:type ontology:social_group }
[]
social group
Q2737122 Q304062 Q303786
SYSTEM
Jugend Eine Welt, Austrian Physical Society, Austrian Mathematical Society
Q2737122 Q304062 Q303786
action filter_type
action find_reverse
entity Q40
relation P159
type Q874405
[ANSWERS] have their HQ location at that political territory
SELECT DISTINCT ?f WHERE { ?f property:P159 resource:Q40 . ?f rdf:type ontology:Q874405 }
Jugend Eine Welt Austrian Physical Society Austrian Mathematical Society
Jugend Eine Welt, Austrian Physical Society and Austrian Mathematical Society have their HQ location at that political territory
Jugend Eine Welt Austrian Physical Society Austrian Mathematical Society
action filter_type
action find_reverse
entity Austria
relation headquarters location
type social group
SELECT DISTINCT ?f WHERE { ?f property:headquarters_location resource:Austria . ?f rdf:type ontology:social_group }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q374772
P138
Q355304 Q874405
USER
How many watercourses are the origin of more number of social groups than Yellowstone River ?
(c(Q874405),P138,c(Q355304))
action count
action greater
action find_reverse_tuple_counts
relation P138
type Q355304
type Q874405
action count
action filter_type
action find
entity Q374772
relation P138
type Q355304
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d rdf:type ontology:Q355304 . resource:Q374772 property:P138 ?d } } . FILTER ( ?z > ?r ) . { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?z ) WHERE { ?i rdf:type ontology:Q355304 . ?u rdf:type ontology:Q874405 . ?u property:P138 ?i } GROUP BY ?i } }
Yellowstone River
action count
action greater
action find_reverse_tuple_counts
relation named after
type watercourse
type social group
action count
action filter_type
action find
entity Yellowstone River
relation named after
type watercourse
[{'concept': 'social group'}, 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d rdf:type ontology:watercourse . resource:Yellowstone_River property:named_after ?d } } . FILTER ( ?z > ?r ) . { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?z ) WHERE { ?i rdf:type ontology:watercourse . ?u rdf:type ontology:social_group . ?u property:named_after ?i } GROUP BY ?i } }
[]
watercourse social group
SYSTEM
2
Q209540 Q1664
(c(Q874405),P138,c(Q355304))
action count
action greater
action find_reverse_tuple_counts
relation P138
type Q355304
type Q874405
action count
action filter_type
action find
entity Q374772
relation P138
type Q355304
[ANSWER]
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d rdf:type ontology:Q355304 . resource:Q374772 property:P138 ?d } } . FILTER ( ?z > ?r ) . { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?z ) WHERE { ?i rdf:type ontology:Q355304 . ?u rdf:type ontology:Q874405 . ?u property:P138 ?i } GROUP BY ?i } }
Scioto River Ruhr
2
action count
action greater
action find_reverse_tuple_counts
relation named after
type watercourse
type social group
action count
action filter_type
action find
entity Yellowstone River
relation named after
type watercourse
[{'concept': 'social group'}, 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { ?d rdf:type ontology:watercourse . resource:Yellowstone_River property:named_after ?d } } . FILTER ( ?z > ?r ) . { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?z ) WHERE { ?i rdf:type ontology:watercourse . ?u rdf:type ontology:social_group . ?u property:named_after ?i } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1267964
P138
Q355304 Q874405
USER
And how about Menthue?
(c(Q874405),P138,c(Q355304))
action count
action greater
action find_reverse_tuple_counts
relation P138
type Q355304
type Q874405
action count
action filter_type
action find
entity Q1267964
relation P138
type Q355304
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P138 ?k . ?k rdf:type ontology:Q355304 . ?b rdf:type ontology:Q874405 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Q1267964 property:P138 ?u . ?u rdf:type ontology:Q355304 } } . FILTER ( ?y > ?z ) }
Menthue
action count
action greater
action find_reverse_tuple_counts
relation named after
type watercourse
type social group
action count
action filter_type
action find
entity Menthue
relation named after
type watercourse
[{'concept': 'social group'}, 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:named_after ?k . ?k rdf:type ontology:watercourse . ?b rdf:type ontology:social_group } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Menthue property:named_after ?u . ?u rdf:type ontology:watercourse } } . FILTER ( ?y > ?z ) }
[]
watercourse social group
SYSTEM
2
Q209540 Q1664
(c(Q874405),P138,c(Q355304))
action count
action greater
action find_reverse_tuple_counts
relation P138
type Q355304
type Q874405
action count
action filter_type
action find
entity Q1267964
relation P138
type Q355304
[ANSWER]
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:P138 ?k . ?k rdf:type ontology:Q355304 . ?b rdf:type ontology:Q874405 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Q1267964 property:P138 ?u . ?u rdf:type ontology:Q355304 } } . FILTER ( ?y > ?z ) }
Scioto River Ruhr
2
action count
action greater
action find_reverse_tuple_counts
relation named after
type watercourse
type social group
action count
action filter_type
action find
entity Menthue
relation named after
type watercourse
[{'concept': 'social group'}, 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?y ) WHERE { ?b property:named_after ?k . ?k rdf:type ontology:watercourse . ?b rdf:type ontology:social_group } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { resource:Menthue property:named_after ?u . ?u rdf:type ontology:watercourse } } . FILTER ( ?y > ?z ) }
[]