Simple Question (Direct)
Simple Question
Q835105
P27
Q1048835
USER
Which political territory does Friedrich Kurt Fiedler belong to ?
(Q835105,P27,c(Q1048835))
action filter_type
action find
entity Q835105
relation P27
type Q1048835
['Q835105', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q835105 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Friedrich Kurt Fiedler
action filter_type
action find
entity Friedrich Kurt Fiedler
relation country of citizenship
type political territorial entity
['Friedrich Kurt Fiedler', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Friedrich_Kurt_Fiedler property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q835105,P27,c(Q1048835))
action filter_type
action find
entity Q835105
relation P27
type Q1048835
Friedrich Kurt Fiedler belongs to [ANSWER]
['Q835105', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q835105 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Germany
Friedrich Kurt Fiedler belongs to Germany
Germany
action filter_type
action find
entity Friedrich Kurt Fiedler
relation country of citizenship
type political territorial entity
['Friedrich Kurt Fiedler', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Friedrich_Kurt_Fiedler property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q835105
P106
Q12737077
USER
What does that person do for a living ?
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q835105
relation P106
type Q12737077
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q835105 property:P106 ?o }
Friedrich Kurt Fiedler
action filter_type
action find
entity Friedrich Kurt Fiedler
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Friedrich_Kurt_Fiedler property:occupation ?o }
[]
occupation
Q627325
SYSTEM
graphic designer
Q627325
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q835105
relation P106
type Q12737077
That person does a [ANSWER] for a living
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q835105 property:P106 ?o }
graphic designer
That person does a graphic designer for a living
graphic designer
action filter_type
action find
entity Friedrich Kurt Fiedler
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Friedrich_Kurt_Fiedler property:occupation ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q627325 Q4478896
P106
Q502895
USER
Does Nikolai Utkin have career as that occupation ?
(Q4478896,P106,Q627325)
action is_in
entity Q627325
action find
entity Q4478896
relation P106
['Q4478896', 'P106', 'Q627325']
ASK WHERE { resource:Q4478896 property:P106 resource:Q627325 }
graphic designer Nikolai Utkin
action is_in
entity graphic designer
action find
entity Nikolai Utkin
relation occupation
['Nikolai Utkin', 'occupation', 'graphic designer']
ASK WHERE { resource:Nikolai_Utkin property:occupation resource:graphic_designer }
[]
common name
SYSTEM
YES
(Q4478896,P106,Q627325)
action is_in
entity Q627325
action find
entity Q4478896
relation P106
[ANSWER]
['Q4478896', 'P106', 'Q627325']
ASK WHERE { resource:Q4478896 property:P106 resource:Q627325 }
Yes
action is_in
entity graphic designer
action find
entity Nikolai Utkin
relation occupation
['Nikolai Utkin', 'occupation', 'graphic designer']
ASK WHERE { resource:Nikolai_Utkin property:occupation resource:graphic_designer }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q627325
P425
Q5962346
USER
Which classification scheme is associated with the field of occupation that one ?
action filter_type
action find
entity Q627325
relation P425
type Q5962346
SELECT DISTINCT ?k WHERE { resource:Q627325 property:P425 ?k . ?k rdf:type ontology:Q5962346 }
graphic designer
action filter_type
action find
entity graphic designer
relation field of this occupation
type classification scheme
SELECT DISTINCT ?k WHERE { resource:graphic_designer property:field_of_this_occupation ?k . ?k rdf:type ontology:classification_scheme }
[]
classification scheme
Q185925
SYSTEM
graphic design
Q185925
action filter_type
action find
entity Q627325
relation P425
type Q5962346
[ANSWER] is associated with the field of occupation that one
SELECT DISTINCT ?k WHERE { resource:Q627325 property:P425 ?k . ?k rdf:type ontology:Q5962346 }
graphic design
Graphic design is associated with the field of occupation that one
graphic design
action filter_type
action find
entity graphic designer
relation field of this occupation
type classification scheme
SELECT DISTINCT ?k WHERE { resource:graphic_designer property:field_of_this_occupation ?k . ?k rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P452
Q43229
USER
How many organizations belong to the industry that classification scheme ?
(c(Q43229),P452,Q185925)
action count
action filter_type
action find_reverse
entity Q185925
relation P452
type Q43229
[{'concept': 'Q43229'}, 'P452', 'Q185925']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P452 resource:Q185925 . ?o rdf:type ontology:Q43229 }
action count
action filter_type
action find_reverse
entity graphic design
relation industry
type organization
[{'concept': 'organization'}, 'industry', 'graphic design']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:industry resource:graphic_design . ?o rdf:type ontology:organization }
[]
organization
SYSTEM
6
Q6887941 Q6372604 Q5264295 Q7841179 Q21517383 Q6155246
(c(Q43229),P452,Q185925)
action count
action filter_type
action find_reverse
entity Q185925
relation P452
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P452', 'Q185925']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P452 resource:Q185925 . ?o rdf:type ontology:Q43229 }
Mod7 Karlssonwilker Design Research Unit Trickett & Webb Parnet Jannuzzi Smith
6
action count
action filter_type
action find_reverse
entity graphic design
relation industry
type organization
[{'concept': 'organization'}, 'industry', 'graphic design']
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:industry resource:graphic_design . ?o rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3110283 Q183
P161 P35
Q502895
USER
Which people are elected as the head of state of Germany or starred in Thank Your Lucky Stars ?
OR((Q183,P35,c(Q502895)), (Q3110283,P161,c(Q502895)))
action filter_type
action union
action find
entity Q183
relation P35
action find
entity Q3110283
relation P161
type Q502895
{'OR': [['Q183', 'P35', {'concept': 'Q502895'}], ['Q3110283', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q183 property:P35 ?c } UNION { resource:Q3110283 property:P161 ?c } } . ?c rdf:type ontology:Q502895 }
Thank Your Lucky Stars Germany
action filter_type
action union
action find
entity Germany
relation head of state
action find
entity Thank Your Lucky Stars
relation cast member
type common name
{'OR': [['Germany', 'head of state', {'concept': 'common name'}], ['Thank Your Lucky Stars', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Germany property:head_of_state ?c } UNION { resource:Thank_Your_Lucky_Stars property:cast_member ?c } } . ?c rdf:type ontology:common_name }
[]
common name
Q2540 Q260318 Q2571 Q43883 Q93188 Q2569 Q2542 Q148669 Q2582 Q242482
SYSTEM
Some of them are Christian Wulff, Joan Leslie, Walter Scheel, George Tobias, Errol Flynn, Karl Carstens, Horst Köhler, Ida Lupino, Heinrich Lübke, Alexis Smith
Q956920 Q16390 Q2573 Q2571 Q2538 Q95068 Q260318 Q350472 Q1971717 Q1308273 Q466502 Q93188 Q955183 Q242482 Q2542 Q2540 Q148669 Q2582 Q228904 Q2563 Q2569 Q275760 Q43883 Q3453610 Q3371436 Q1393256 Q71206 Q2567 Q2594 Q233848 Q2551 Q1292160 Q622636 Q367053
OR((Q183,P35,c(Q502895)), (Q3110283,P161,c(Q502895)))
action filter_type
action union
action find
entity Q183
relation P35
action find
entity Q3110283
relation P161
type Q502895
[ANSWERS] are elected as the head of state of Germany or starred in Thank Your Lucky Stars
{'OR': [['Q183', 'P35', {'concept': 'Q502895'}], ['Q3110283', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q183 property:P35 ?c } UNION { resource:Q3110283 property:P161 ?c } } . ?c rdf:type ontology:Q502895 }
Dennis Morgan Humphrey Bogart Gustav Heinemann Walter Scheel Joachim Gauck Olivia de Havilland Joan Leslie Eddie Cantor Alan Hale Noble Johnson Dinah Shore Errol Flynn S. Z. Sakall Alexis Smith Horst Köhler Christian Wulff Ida Lupino Heinrich Lübke Hattie McDaniel Roman Herzog Karl Carstens Henry Armetta George Tobias Ruth Donnelly Paul Harvey Jack Carson Bette Davis Richard von Weizsäcker Theodor Heuss Ann Sheridan Johannes Rau Edward Everett Horton Spike Jones John Garfield
Christian Wulff, Joan Leslie, Walter Scheel, George Tobias, Errol Flynn, Karl Carstens, Horst Köhler, Ida Lupino, Heinrich Lübke and Alexis Smith are elected as the head of state of Germany or starred in Thank Your Lucky Stars
Christian Wulff Joan Leslie Walter Scheel George Tobias Errol Flynn Karl Carstens Horst Köhler Ida Lupino Heinrich Lübke Alexis Smith
action filter_type
action union
action find
entity Germany
relation head of state
action find
entity Thank Your Lucky Stars
relation cast member
type common name
{'OR': [['Germany', 'head of state', {'concept': 'common name'}], ['Thank Your Lucky Stars', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Germany property:head_of_state ?c } UNION { resource:Thank_Your_Lucky_Stars property:cast_member ?c } } . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2571
P26
Q502895
USER
Who is the spouse of Walter Scheel ?
(c(Q502895),P26,Q2571)
action filter_type
action find
entity Q2571
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2571']
SELECT DISTINCT ?u WHERE { resource:Q2571 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Walter Scheel
action filter_type
action find
entity Walter Scheel
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Walter Scheel']
SELECT DISTINCT ?u WHERE { resource:Walter_Scheel property:spouse ?u . ?u rdf:type ontology:common_name }
[]
common name
Q66805
SYSTEM
Mildred Scheel
Q66805
(c(Q502895),P26,Q2571)
action filter_type
action find
entity Q2571
relation P26
type Q502895
The spouse of Walter Scheel is named [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q2571']
SELECT DISTINCT ?u WHERE { resource:Q2571 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Mildred Scheel
The spouse of Walter Scheel is named Mildred Scheel
Mildred Scheel
action filter_type
action find
entity Walter Scheel
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Walter Scheel']
SELECT DISTINCT ?u WHERE { resource:Walter_Scheel property:spouse ?u . ?u rdf:type ontology:common_name }
[]