Simple Question (Direct)
Simple Question
Q66329
P106
Q12737077
USER
What are the professions of Josef Scheungraber ?
(Q66329,P106,c(Q12737077))
action filter_type
action find
entity Q66329
relation P106
type Q12737077
['Q66329', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q66329 property:P106 ?t }
Josef Scheungraber
action filter_type
action find
entity Josef Scheungraber
relation occupation
type occupation
['Josef Scheungraber', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Josef_Scheungraber property:occupation ?t }
[]
occupation
Q326358 Q43845 Q189290
SYSTEM
joiner, businessperson, officer
Q326358 Q43845 Q189290
(Q66329,P106,c(Q12737077))
action filter_type
action find
entity Q66329
relation P106
type Q12737077
The professions of Josef Scheungraber are [ANSWERS]
['Q66329', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q66329 property:P106 ?t }
joiner businessperson officer
The professions of Josef Scheungraber are joiner, businessperson and officer
joiner businessperson officer
action filter_type
action find
entity Josef Scheungraber
relation occupation
type occupation
['Josef Scheungraber', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Josef_Scheungraber property:occupation ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q66329
P607
Q198
USER
What was the war that Josef Scheungraber took part in
(Q66329,P607,c(Q198))
action filter_type
action find
entity Q66329
relation P607
type Q198
['Q66329', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q198 . resource:Q66329 property:P607 ?m }
Josef Scheungraber
action filter_type
action find
entity Josef Scheungraber
relation conflict
type war
['Josef Scheungraber', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:war . resource:Josef_Scheungraber property:conflict ?m }
[]
war
Q362
SYSTEM
World War II
Q362
(Q66329,P607,c(Q198))
action filter_type
action find
entity Q66329
relation P607
type Q198
The war that Josef Scheungraber took part in was during [ANSWER]
['Q66329', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q198 . resource:Q66329 property:P607 ?m }
World War II
The war that Josef Scheungraber took part in was during World War II
World War II
action filter_type
action find
entity Josef Scheungraber
relation conflict
type war
['Josef Scheungraber', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:war . resource:Josef_Scheungraber property:conflict ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q66329
P20
Q15617994
USER
Where did that person die ?
(Q362,P20,c(Q15617994))
action filter_type
action find
entity Q66329
relation P20
type Q15617994
['Q362', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q66329 property:P20 ?p . ?p rdf:type ontology:Q15617994 }
Josef Scheungraber
action filter_type
action find
entity Josef Scheungraber
relation place of death
type designation for an administrative territorial entity
['World War II', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Josef_Scheungraber property:place_of_death ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q506388
SYSTEM
Ottobrunn
Q506388
(Q362,P20,c(Q15617994))
action filter_type
action find
entity Q66329
relation P20
type Q15617994
That person died in [ANSWER]
['Q362', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q66329 property:P20 ?p . ?p rdf:type ontology:Q15617994 }
Ottobrunn
That person died in Ottobrunn
Ottobrunn
action filter_type
action find
entity Josef Scheungraber
relation place of death
type designation for an administrative territorial entity
['World War II', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Josef_Scheungraber property:place_of_death ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q35
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with greater number of administrative territories than Denmark ?
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?y ) WHERE { ?q property:P530 ?o . ?q rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q35 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?y > ?n ) }
Denmark
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?y ) WHERE { ?q property:diplomatic_relation ?o . ?q rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Denmark property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?y > ?n ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
4
Q40 Q183 Q408 Q16
(c(Q1048835),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?y ) WHERE { ?q property:P530 ?o . ?q rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Q35 property:P530 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?y > ?n ) }
Austria Germany Australia Canada
4
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?o ) AS ?y ) WHERE { ?q property:diplomatic_relation ?o . ?q rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { resource:Denmark property:diplomatic_relation ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?y > ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q66329
P27
Q1048835
USER
Which political territory does Josef Scheungraber belong to ?
(Q66329,P27,c(Q1048835))
action filter_type
action find
entity Q66329
relation P27
type Q1048835
['Q66329', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q66329 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Josef Scheungraber
action filter_type
action find
entity Josef Scheungraber
relation country of citizenship
type political territorial entity
['Josef Scheungraber', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Josef_Scheungraber property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q66329,P27,c(Q1048835))
action filter_type
action find
entity Q66329
relation P27
type Q1048835
Josef Scheungraber belongs to [ANSWER]
['Q66329', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q66329 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Germany
Josef Scheungraber belongs to Germany
Germany
action filter_type
action find
entity Josef Scheungraber
relation country of citizenship
type political territorial entity
['Josef Scheungraber', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Josef_Scheungraber property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q664
P530
Q1048835 Q1048835
USER
How many political territories have diplomatic relations with greater number of political territories than New Zealand ?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?f ) WHERE { ?c rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q1048835 . ?c property:P530 ?n } GROUP BY ?c } . FILTER ( ?f > ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q664 property:P530 ?k . ?k rdf:type ontology:Q1048835 } } }
New Zealand
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?f ) WHERE { ?c rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation ?n } GROUP BY ?c } . FILTER ( ?f > ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:New_Zealand property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity political territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?f ) WHERE { ?c rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q1048835 . ?c property:P530 ?n } GROUP BY ?c } . FILTER ( ?f > ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q664 property:P530 ?k . ?k rdf:type ontology:Q1048835 } } }
Germany Australia Canada
3
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?f ) WHERE { ?c rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation ?n } GROUP BY ?c } . FILTER ( ?f > ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:New_Zealand property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q766
P530
Q1048835 Q1048835
USER
And what about Jamaica?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Q766 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?o > ?y ) . { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?o ) WHERE { ?x property:P530 ?r . ?r rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1048835 } GROUP BY ?x } }
Jamaica
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Jamaica property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?o > ?y ) . { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?o ) WHERE { ?x property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?x } }
[]
political territorial entity political territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Q766 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?o > ?y ) . { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?o ) WHERE { ?x property:P530 ?r . ?r rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q1048835 } GROUP BY ?x } }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Jamaica property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?o > ?y ) . { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?o ) WHERE { ?x property:diplomatic_relation ?r . ?r rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?x } }
[]