Simple Question (Direct)
Simple Question
Q1733213
P512
Q3412758
USER
What is the name of the degree held by Karl Ubl ?
(Q1733213,P512,c(Q3412758))
action filter_type
action find
entity Q1733213
relation P512
type Q3412758
['Q1733213', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?j WHERE { resource:Q1733213 property:P512 ?j . ?j rdf:type ontology:Q3412758 }
Karl Ubl
action filter_type
action find
entity Karl Ubl
relation academic degree
type qualification
['Karl Ubl', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?j WHERE { resource:Karl_Ubl property:academic_degree ?j . ?j rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1733213,P512,c(Q3412758))
action filter_type
action find
entity Q1733213
relation P512
type Q3412758
The name of the degree held by Karl Ubl is the [ANSWER]
['Q1733213', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?j WHERE { resource:Q1733213 property:P512 ?j . ?j rdf:type ontology:Q3412758 }
doctoral degree
The name of the degree held by Karl Ubl is the doctoral degree
doctoral degree
action filter_type
action find
entity Karl Ubl
relation academic degree
type qualification
['Karl Ubl', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?j WHERE { resource:Karl_Ubl property:academic_degree ?j . ?j rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1733213
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q849697,P27,c(Q1048835))
action filter_type
action find
entity Q1733213
relation P27
type Q1048835
['Q849697', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1733213 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Karl Ubl
action filter_type
action find
entity Karl Ubl
relation country of citizenship
type political territorial entity
['doctoral degree', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Karl_Ubl property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q849697,P27,c(Q1048835))
action filter_type
action find
entity Q1733213
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q849697', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1733213 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Austria
Austria is that person an inhabitant of
Austria
action filter_type
action find
entity Karl Ubl
relation country of citizenship
type political territorial entity
['doctoral degree', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Karl_Ubl property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40
P495
Q2424752
USER
What are that political territory a country of origin of ?
(c(Q2424752),P495,Q40)
action filter_type
action find_reverse
entity Q40
relation P495
type Q2424752
[{'concept': 'Q2424752'}, 'P495', 'Q40']
SELECT DISTINCT ?z WHERE { ?z property:P495 resource:Q40 . ?z rdf:type ontology:Q2424752 }
Austria
action filter_type
action find_reverse
entity Austria
relation country of origin
type product
[{'concept': 'product'}, 'country of origin', 'Austria']
SELECT DISTINCT ?z WHERE { ?z property:country_of_origin resource:Austria . ?z rdf:type ontology:product }
[]
product
Q266540 Q877538 Q59170
SYSTEM
Kaiserschmarrn, kifli, strudel
Q59170 Q16932443 Q1401891 Q261387 Q1125542 Q266540 Q263675 Q263698 Q6436724 Q877538 Q1955357 Q3031313 Q12264276
(c(Q2424752),P495,Q40)
action filter_type
action find_reverse
entity Q40
relation P495
type Q2424752
That political territory a country of origin of are the [ANSWERS]
[{'concept': 'Q2424752'}, 'P495', 'Q40']
SELECT DISTINCT ?z WHERE { ?z property:P495 resource:Q40 . ?z rdf:type ontology:Q2424752 }
strudel Spanische Windtorte viennoiserie Apple strudel Allerheiligenstriezel Kaiserschmarrn Punschkrapfen Milk-cream strudel Kremna rezina kifli Muskazine Vienna bread palatschinke
That political territory a country of origin of are the Kaiserschmarrn, kifli and strudel
Kaiserschmarrn kifli strudel
action filter_type
action find_reverse
entity Austria
relation country of origin
type product
[{'concept': 'product'}, 'country of origin', 'Austria']
SELECT DISTINCT ?z WHERE { ?z property:country_of_origin resource:Austria . ?z rdf:type ontology:product }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40
P840
Q2342494
USER
Which collectable has its narrative set in that political territory ?
(c(Q2342494),P840,Q266540) (c(Q2342494),P840,Q877538) (c(Q2342494),P840,Q59170)
action filter_type
action find_reverse
entity Q40
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q266540'] [{'concept': 'Q2342494'}, 'P840', 'Q877538'] [{'concept': 'Q2342494'}, 'P840', 'Q59170']
SELECT DISTINCT ?a WHERE { ?a property:P840 resource:Q40 . ?a rdf:type ontology:Q2342494 }
Austria
action filter_type
action find_reverse
entity Austria
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Kaiserschmarrn'] [{'concept': 'collectable'}, 'narrative location', 'kifli'] [{'concept': 'collectable'}, 'narrative location', 'strudel']
SELECT DISTINCT ?a WHERE { ?a property:narrative_location resource:Austria . ?a rdf:type ontology:collectable }
[]
collectable
Q3563367
SYSTEM
Voyage to the Orient
Q3563367
(c(Q2342494),P840,Q266540) (c(Q2342494),P840,Q877538) (c(Q2342494),P840,Q59170)
action filter_type
action find_reverse
entity Q40
relation P840
type Q2342494
[ANSWER] has its narrative set in that political territory
[{'concept': 'Q2342494'}, 'P840', 'Q266540'] [{'concept': 'Q2342494'}, 'P840', 'Q877538'] [{'concept': 'Q2342494'}, 'P840', 'Q59170']
SELECT DISTINCT ?a WHERE { ?a property:P840 resource:Q40 . ?a rdf:type ontology:Q2342494 }
Voyage to the Orient
Voyage to the Orient has its narrative set in that political territory
Voyage to the Orient
action filter_type
action find_reverse
entity Austria
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Kaiserschmarrn'] [{'concept': 'collectable'}, 'narrative location', 'kifli'] [{'concept': 'collectable'}, 'narrative location', 'strudel']
SELECT DISTINCT ?a WHERE { ?a property:narrative_location resource:Austria . ?a rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q40 Q334
P530
Q1048835
USER
How many political territories have diplomatic relationships with Austria and Singapore ?
(Q40,P530,c(Q1048835)) (Q334,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q40
relation P530
type Q1048835
action filter_type
action find
entity Q334
relation P530
type Q1048835
['Q40', 'P530', {'concept': 'Q1048835'}] ['Q334', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q40 property:P530 ?m . ?m rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 . resource:Q334 property:P530 ?m }
Austria Singapore
action count
action intersection
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Singapore
relation diplomatic relation
type political territorial entity
['Austria', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Singapore', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Austria property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity . resource:Singapore property:diplomatic_relation ?m }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(Q40,P530,c(Q1048835)) (Q334,P530,c(Q1048835))
action count
action intersection
action filter_type
action find
entity Q40
relation P530
type Q1048835
action filter_type
action find
entity Q334
relation P530
type Q1048835
[ANSWER]
['Q40', 'P530', {'concept': 'Q1048835'}] ['Q334', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q40 property:P530 ?m . ?m rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q1048835 . resource:Q334 property:P530 ?m }
Australia Germany
2
action count
action intersection
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Singapore
relation diplomatic relation
type political territorial entity
['Austria', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Singapore', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Austria property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:political_territorial_entity . resource:Singapore property:diplomatic_relation ?m }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q155 Q40
P27
Q502895
USER
Which people are a native of Austria and Brazil ?
AND((c(Q502895),P27,Q40), (c(Q502895),P27,Q155))
action filter_type
action intersection
action find_reverse
entity Q40
relation P27
action find_reverse
entity Q155
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q40'], [{'concept': 'Q502895'}, 'P27', 'Q155']]}
SELECT DISTINCT ?k WHERE { ?k property:P27 resource:Q40 . ?k property:P27 resource:Q155 . ?k rdf:type ontology:Q502895 }
Brazil Austria
action filter_type
action intersection
action find_reverse
entity Austria
relation country of citizenship
action find_reverse
entity Brazil
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Austria'], [{'concept': 'common name'}, 'country of citizenship', 'Brazil']]}
SELECT DISTINCT ?k WHERE { ?k property:country_of_citizenship resource:Austria . ?k property:country_of_citizenship resource:Brazil . ?k rdf:type ontology:common_name }
[]
common name
Q224222 Q84239 Q968661 Q214308 Q84902 Q216342 Q21000949
SYSTEM
Erich Eliskases, Maria Leopoldina of Austria, Alexandre Altberg, Fritz Feigl, Clemens Holzmeister, Ernesto de Fiori, Felipe Dorta
Q224222 Q84239 Q968661 Q214308 Q84902 Q216342 Q21000949
AND((c(Q502895),P27,Q40), (c(Q502895),P27,Q155))
action filter_type
action intersection
action find_reverse
entity Q40
relation P27
action find_reverse
entity Q155
relation P27
type Q502895
[ANSWERS] are a native of Austria and Brazil
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q40'], [{'concept': 'Q502895'}, 'P27', 'Q155']]}
SELECT DISTINCT ?k WHERE { ?k property:P27 resource:Q40 . ?k property:P27 resource:Q155 . ?k rdf:type ontology:Q502895 }
Erich Eliskases Maria Leopoldina of Austria Alexandre Altberg Fritz Feigl Clemens Holzmeister Ernesto de Fiori Felipe Dorta
Erich Eliskases, Maria Leopoldina of Austria, Alexandre Altberg, Fritz Feigl, Clemens Holzmeister, Ernesto de Fiori and Felipe Dorta are a native of Austria and Brazil
Erich Eliskases Maria Leopoldina of Austria Alexandre Altberg Fritz Feigl Clemens Holzmeister Ernesto de Fiori Felipe Dorta
action filter_type
action intersection
action find_reverse
entity Austria
relation country of citizenship
action find_reverse
entity Brazil
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Austria'], [{'concept': 'common name'}, 'country of citizenship', 'Brazil']]}
SELECT DISTINCT ?k WHERE { ?k property:country_of_citizenship resource:Austria . ?k property:country_of_citizenship resource:Brazil . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q5292 Q11204 Q502895
USER
Which people have been recognized first in around 2 encyclopedias or legislatures ?
(c(Q502895),P248,c(Q5292)|c(Q11204))
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q5292
action find_tuple_counts
relation P248
type Q502895
type Q11204
value 2
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q5292'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?b WHERE { { ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q5292 . ?b property:P248 ?f } UNION { ?b property:P248 ?f . ?f rdf:type ontology:Q11204 . ?b rdf:type ontology:Q502895 } } GROUP BY ?b } . FILTER ( ?m = 2 ) }
action approx
action union
action find_tuple_counts
relation stated in
type common name
type encyclopedia
action find_tuple_counts
relation stated in
type common name
type legislature
value 2
[{'concept': 'common name'}, 'stated in', [{'concept': 'encyclopedia'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?b WHERE { { ?b rdf:type ontology:common_name . ?f rdf:type ontology:encyclopedia . ?b property:stated_in ?f } UNION { ?b property:stated_in ?f . ?f rdf:type ontology:legislature . ?b rdf:type ontology:common_name } } GROUP BY ?b } . FILTER ( ?m = 2 ) }
[]
encyclopedia legislature common name
Q333770
SYSTEM
Victorinus
Q333770
(c(Q502895),P248,c(Q5292)|c(Q11204))
action approx
action union
action find_tuple_counts
relation P248
type Q502895
type Q5292
action find_tuple_counts
relation P248
type Q502895
type Q11204
value 2
[ANSWER] have been recognized first in around 2 encyclopedias or legislatures
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q5292'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?b WHERE { { ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q5292 . ?b property:P248 ?f } UNION { ?b property:P248 ?f . ?f rdf:type ontology:Q11204 . ?b rdf:type ontology:Q502895 } } GROUP BY ?b } . FILTER ( ?m = 2 ) }
Victorinus
Victorinus have been recognized first in around 2 encyclopedias or legislatures
Victorinus
action approx
action union
action find_tuple_counts
relation stated in
type common name
type encyclopedia
action find_tuple_counts
relation stated in
type common name
type legislature
value 2
[{'concept': 'common name'}, 'stated in', [{'concept': 'encyclopedia'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) ?b WHERE { { ?b rdf:type ontology:common_name . ?f rdf:type ontology:encyclopedia . ?b property:stated_in ?f } UNION { ?b property:stated_in ?f . ?f rdf:type ontology:legislature . ?b rdf:type ontology:common_name } } GROUP BY ?b } . FILTER ( ?m = 2 ) }
[]