Simple Question (Direct)
Simple Question
Q7629925
P641
Q349
USER
Which sport was Ståle Steen Sæthre a part of ?
(Q7629925,P641,c(Q349))
action filter_type
action find
entity Q7629925
relation P641
type Q349
['Q7629925', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q7629925 property:P641 ?h . ?h rdf:type ontology:Q349 }
Ståle Steen Sæthre
action filter_type
action find
entity Ståle Steen Sæthre
relation sport
type sport
['Ståle Steen Sæthre', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Ståle_Steen_Sæthre property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7629925,P641,c(Q349))
action filter_type
action find
entity Q7629925
relation P641
type Q349
The [ANSWER] was Ståle Steen Sæthre a part of
['Q7629925', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q7629925 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
The association football was Ståle Steen Sæthre a part of
association football
action filter_type
action find
entity Ståle Steen Sæthre
relation sport
type sport
['Ståle Steen Sæthre', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Ståle_Steen_Sæthre property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7629925
P21
Q290
USER
What is the sex of that person ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q7629925
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q7629925 property:P21 ?k . ?k rdf:type ontology:Q290 }
Ståle Steen Sæthre
action filter_type
action find
entity Ståle Steen Sæthre
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Ståle_Steen_Sæthre property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q7629925
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q7629925 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Ståle Steen Sæthre
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Ståle_Steen_Sæthre property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7629925
P106
Q12737077
USER
What does that person do for a living ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7629925
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q7629925 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Ståle Steen Sæthre
action filter_type
action find
entity Ståle Steen Sæthre
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Ståle_Steen_Sæthre property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7629925
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q7629925 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Ståle Steen Sæthre
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Ståle_Steen_Sæthre property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3776564 Q7629925
P106
Q12737077
USER
Or Gregory J. Leonard?
OR((Q7629925,P106,c(Q12737077)), (Q3776564,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q7629925
relation P106
action find
entity Q3776564
relation P106
type Q12737077
{'OR': [['Q7629925', 'P106', {'concept': 'Q12737077'}], ['Q3776564', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q7629925 property:P106 ?o } UNION { resource:Q3776564 property:P106 ?o } } . ?o rdf:type ontology:Q12737077 }
Gregory J. Leonard Ståle Steen Sæthre
action filter_type
action union
action find
entity Ståle Steen Sæthre
relation occupation
action find
entity Gregory J. Leonard
relation occupation
type occupation
{'OR': [['Ståle Steen Sæthre', 'occupation', {'concept': 'occupation'}], ['Gregory J. Leonard', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Ståle_Steen_Sæthre property:occupation ?o } UNION { resource:Gregory_J._Leonard property:occupation ?o } } . ?o rdf:type ontology:occupation }
[]
occupation
Q937857 Q11063 Q520549
SYSTEM
association football player, astronomer, geologist
Q937857 Q11063 Q520549
OR((Q7629925,P106,c(Q12737077)), (Q3776564,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q7629925
relation P106
action find
entity Q3776564
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q7629925', 'P106', {'concept': 'Q12737077'}], ['Q3776564', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q7629925 property:P106 ?o } UNION { resource:Q3776564 property:P106 ?o } } . ?o rdf:type ontology:Q12737077 }
association football player astronomer geologist
association football player astronomer geologist
action filter_type
action union
action find
entity Ståle Steen Sæthre
relation occupation
action find
entity Gregory J. Leonard
relation occupation
type occupation
{'OR': [['Ståle Steen Sæthre', 'occupation', {'concept': 'occupation'}], ['Gregory J. Leonard', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Ståle_Steen_Sæthre property:occupation ?o } UNION { resource:Gregory_J._Leonard property:occupation ?o } } . ?o rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q11063 Q3356245
P425
Q874405
USER
How many social groups are associated with the field of occupation astronomer or Civilekonom ?
(Q11063,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q11063
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
['Q11063', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { resource:Q11063 property:P425 ?n . ?n rdf:type ontology:Q874405 } UNION { ?n rdf:type ontology:Q874405 . resource:Q3356245 property:P425 ?n } }
astronomer Civilekonom
action count
action union
action filter_type
action find
entity astronomer
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['astronomer', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { resource:astronomer property:field_of_this_occupation ?n . ?n rdf:type ontology:social_group } UNION { ?n rdf:type ontology:social_group . resource:Civilekonom property:field_of_this_occupation ?n } }
[]
social group
SYSTEM
2
Q4830453 Q163740
(Q11063,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q11063
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
[ANSWER]
['Q11063', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { resource:Q11063 property:P425 ?n . ?n rdf:type ontology:Q874405 } UNION { ?n rdf:type ontology:Q874405 . resource:Q3356245 property:P425 ?n } }
business enterprise nonprofit organization
2
action count
action union
action filter_type
action find
entity astronomer
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['astronomer', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { resource:astronomer property:field_of_this_occupation ?n . ?n rdf:type ontology:social_group } UNION { ?n rdf:type ontology:social_group . resource:Civilekonom property:field_of_this_occupation ?n } }
[]