Simple Question (Direct)
Simple Question
Q5162532
P1196
Q1190554
USER
What manner did Conrad Hendricks die ?
(Q5162532,P1196,c(Q1190554))
action filter_type
action find
entity Q5162532
relation P1196
type Q1190554
['Q5162532', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?p WHERE { resource:Q5162532 property:P1196 ?p . ?p rdf:type ontology:Q1190554 }
Conrad Hendricks
action filter_type
action find
entity Conrad Hendricks
relation manner of death
type event
['Conrad Hendricks', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?p WHERE { resource:Conrad_Hendricks property:manner_of_death ?p . ?p rdf:type ontology:event }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q5162532,P1196,c(Q1190554))
action filter_type
action find
entity Q5162532
relation P1196
type Q1190554
Conrad Hendricks died in [ANSWER]
['Q5162532', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?p WHERE { resource:Q5162532 property:P1196 ?p . ?p rdf:type ontology:Q1190554 }
accident
Conrad Hendricks died in accident
accident
action filter_type
action find
entity Conrad Hendricks
relation manner of death
type event
['Conrad Hendricks', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?p WHERE { resource:Conrad_Hendricks property:manner_of_death ?p . ?p rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5162532
P106
Q12737077
USER
What is the job of Conrad Hendricks ?
(Q5162532,P106,c(Q12737077))
action filter_type
action find
entity Q5162532
relation P106
type Q12737077
['Q5162532', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q5162532 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Conrad Hendricks
action filter_type
action find
entity Conrad Hendricks
relation occupation
type occupation
['Conrad Hendricks', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Conrad_Hendricks property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5162532,P106,c(Q12737077))
action filter_type
action find
entity Q5162532
relation P106
type Q12737077
The job of Conrad Hendricks is an [ANSWER]
['Q5162532', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q5162532 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
association football player
The job of Conrad Hendricks is an association football player
association football player
action filter_type
action find
entity Conrad Hendricks
relation occupation
type occupation
['Conrad Hendricks', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Conrad_Hendricks property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q13744574
Q12737077
USER
And how about Koen Fillet?
(Q13744574,P106,c(Q12737077))
action filter_type
action find
entity Q13744574
relation P106
type Q12737077
['Q13744574', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q13744574 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Koen Fillet
action filter_type
action find
entity Koen Fillet
relation occupation
type occupation
['Koen Fillet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Koen_Fillet property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q2722764
SYSTEM
radio personality
Q2722764
(Q13744574,P106,c(Q12737077))
action filter_type
action find
entity Q13744574
relation P106
type Q12737077
[ANSWER]
['Q13744574', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q13744574 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
radio personality
radio personality
action filter_type
action find
entity Koen Fillet
relation occupation
type occupation
['Koen Fillet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Koen_Fillet property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2722764
P425
Q58778
USER
Which system is associated with the field of occupation that one ?
(Q2722764,P425,c(Q58778))
action filter_type
action find
entity Q2722764
relation P425
type Q58778
['Q2722764', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ?k WHERE { resource:Q2722764 property:P425 ?k . ?k rdf:type ontology:Q58778 }
radio personality
action filter_type
action find
entity radio personality
relation field of this occupation
type system
['radio personality', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ?k WHERE { resource:radio_personality property:field_of_this_occupation ?k . ?k rdf:type ontology:system }
[]
system
Q872
SYSTEM
radio broadcasting
Q872
(Q2722764,P425,c(Q58778))
action filter_type
action find
entity Q2722764
relation P425
type Q58778
[ANSWER] is associated with the field of occupation that one
['Q2722764', 'P425', {'concept': 'Q58778'}]
SELECT DISTINCT ?k WHERE { resource:Q2722764 property:P425 ?k . ?k rdf:type ontology:Q58778 }
radio broadcasting
Radio broadcasting is associated with the field of occupation that one
radio broadcasting
action filter_type
action find
entity radio personality
relation field of this occupation
type system
['radio personality', 'field of this occupation', {'concept': 'system'}]
SELECT DISTINCT ?k WHERE { resource:radio_personality property:field_of_this_occupation ?k . ?k rdf:type ontology:system }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P1056
Q58778 Q1269299
USER
Which systems are produced by approximately the same number of business organizations as that system ?
(c(Q1269299),P1056,c(Q58778))
action approx
action find_reverse_tuple_counts
relation P1056
type Q58778
type Q1269299
action count
action filter_type
action find
entity Q872
relation P1056
type Q58778
[{'concept': 'Q1269299'}, 'P1056', {'concept': 'Q58778'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:Q58778 . resource:Q872 property:P1056 ?h } } . FILTER ( ?v = ?p ) . { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?v ) WHERE { ?g rdf:type ontology:Q58778 . ?a rdf:type ontology:Q1269299 . ?a property:P1056 ?g } GROUP BY ?g } }
action approx
action find_reverse_tuple_counts
relation product
type system
type type of business entity
action count
action filter_type
action find
entity radio broadcasting
relation product
type system
[{'concept': 'type of business entity'}, 'product', {'concept': 'system'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:system . resource:radio_broadcasting property:product ?h } } . FILTER ( ?v = ?p ) . { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?v ) WHERE { ?g rdf:type ontology:system . ?a rdf:type ontology:type_of_business_entity . ?a property:product ?g } GROUP BY ?g } }
[]
system type of business entity
Q8148 Q1540863 Q80638
SYSTEM
industry, information technology consulting, hydroelectricity
Q1540863 Q8148 Q80638 Q872
(c(Q1269299),P1056,c(Q58778))
action approx
action find_reverse_tuple_counts
relation P1056
type Q58778
type Q1269299
action count
action filter_type
action find
entity Q872
relation P1056
type Q58778
And [ANSWERS] are produced by approximately the same number of business organizations as that system
[{'concept': 'Q1269299'}, 'P1056', {'concept': 'Q58778'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:Q58778 . resource:Q872 property:P1056 ?h } } . FILTER ( ?v = ?p ) . { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?v ) WHERE { ?g rdf:type ontology:Q58778 . ?a rdf:type ontology:Q1269299 . ?a property:P1056 ?g } GROUP BY ?g } }
information technology consulting industry hydroelectricity radio broadcasting
And industry, information technology consulting and hydroelectricity are produced by approximately the same number of business organizations as that system
industry information technology consulting hydroelectricity
action approx
action find_reverse_tuple_counts
relation product
type system
type type of business entity
action count
action filter_type
action find
entity radio broadcasting
relation product
type system
[{'concept': 'type of business entity'}, 'product', {'concept': 'system'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { ?h rdf:type ontology:system . resource:radio_broadcasting property:product ?h } } . FILTER ( ?v = ?p ) . { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?v ) WHERE { ?g rdf:type ontology:system . ?a rdf:type ontology:type_of_business_entity . ?a property:product ?g } GROUP BY ?g } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1540863
P452
Q43229
USER
Which organizations belong to the industry that system ?
(c(Q43229),P452,Q1540863)
action filter_type
action find_reverse
entity Q1540863
relation P452
type Q43229
[{'concept': 'Q43229'}, 'P452', 'Q1540863']
SELECT DISTINCT ?p WHERE { ?p property:P452 resource:Q1540863 . ?p rdf:type ontology:Q43229 }
information technology consulting
action filter_type
action find_reverse
entity information technology consulting
relation industry
type organization
[{'concept': 'organization'}, 'industry', 'information technology consulting']
SELECT DISTINCT ?p WHERE { ?p property:industry resource:information_technology_consulting . ?p rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q80638
SYSTEM
Did you mean hydroelectricity ?
Q8148 Q1540863 Q80638
(c(Q43229),P452,Q8148) (c(Q43229),P452,Q1540863) (c(Q43229),P452,Q80638)
[ANSWER]
[{'concept': 'Q43229'}, 'P452', 'Q8148'] [{'concept': 'Q43229'}, 'P452', 'Q1540863'] [{'concept': 'Q43229'}, 'P452', 'Q80638']
SELECT DISTINCT ?p WHERE { ?p property:P452 resource:Q1540863 . ?p rdf:type ontology:Q43229 }
industry information technology consulting hydroelectricity
Did you mean hydroelectricity ?
hydroelectricity
[{'concept': 'organization'}, 'industry', 'industry'] [{'concept': 'organization'}, 'industry', 'information technology consulting'] [{'concept': 'organization'}, 'industry', 'hydroelectricity']
SELECT DISTINCT ?p WHERE { ?p property:industry resource:information_technology_consulting . ?p rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant information technology consulting. Could you tell me the answer for that?
(c(Q43229),P452,Q1540863)
Q1540863
[{'concept': 'Q43229'}, 'P452', 'Q1540863']
[{'concept': 'organization'}, 'industry', 'information technology consulting']
[]
Q7554165 Q7662679 Q21517383
SYSTEM
Softtek, Syntel, Parnet
Q7554165 Q21517383 Q7662679
(c(Q43229),P452,Q1540863)
action filter_type
action find_reverse
entity Q1540863
relation P452
type Q43229
[ANSWERS] belong to the industry that system
[{'concept': 'Q43229'}, 'P452', 'Q1540863']
SELECT DISTINCT ?p WHERE { ?p property:P452 resource:Q1540863 . ?p rdf:type ontology:Q43229 }
Softtek Parnet Syntel
Softtek, Syntel and Parnet belong to the industry that system
Softtek Syntel Parnet
action filter_type
action find_reverse
entity information technology consulting
relation industry
type organization
[{'concept': 'organization'}, 'industry', 'information technology consulting']
SELECT DISTINCT ?p WHERE { ?p property:industry resource:information_technology_consulting . ?p rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7554165 Q7662679 Q21517383
P452
Q58778
USER
What are the industries Softtek, Syntel and Parnet belongs to ?
(Q7554165,P452,c(Q58778)) (Q7662679,P452,c(Q58778)) (Q21517383,P452,c(Q58778))
action union
action filter_type
action find
entity Q7554165
relation P452
type Q58778
action filter_type
action find
entity Q7662679
relation P452
type Q58778
action filter_type
action find
entity Q21517383
relation P452
type Q58778
['Q7554165', 'P452', {'concept': 'Q58778'}] ['Q7662679', 'P452', {'concept': 'Q58778'}] ['Q21517383', 'P452', {'concept': 'Q58778'}]
SELECT DISTINCT ?c WHERE { { resource:Q7554165 property:P452 ?c . ?c rdf:type ontology:Q58778 } UNION { resource:Q7662679 property:P452 ?c . ?c rdf:type ontology:Q58778 } }
Softtek Syntel Parnet
action union
action filter_type
action find
entity Softtek
relation industry
type system
action filter_type
action find
entity Syntel
relation industry
type system
action filter_type
action find
entity Parnet
relation industry
type system
['Softtek', 'industry', {'concept': 'system'}] ['Syntel', 'industry', {'concept': 'system'}] ['Parnet', 'industry', {'concept': 'system'}]
SELECT DISTINCT ?c WHERE { { resource:Softtek property:industry ?c . ?c rdf:type ontology:system } UNION { resource:Syntel property:industry ?c . ?c rdf:type ontology:system } }
[]
system
Q880371 Q1540863 Q1540863
SYSTEM
information technology consulting for 2nd, 3rd, software industry for 1st
Q1540863 Q880371 Q1540863 Q1540863
(Q7554165,P452,c(Q58778)) (Q7662679,P452,c(Q58778)) (Q21517383,P452,c(Q58778))
action union
action filter_type
action find
entity Q7554165
relation P452
type Q58778
action filter_type
action find
entity Q7662679
relation P452
type Q58778
action filter_type
action find
entity Q21517383
relation P452
type Q58778
[ANSWERS]
['Q7554165', 'P452', {'concept': 'Q58778'}] ['Q7662679', 'P452', {'concept': 'Q58778'}] ['Q21517383', 'P452', {'concept': 'Q58778'}]
SELECT DISTINCT ?c WHERE { { resource:Q7554165 property:P452 ?c . ?c rdf:type ontology:Q58778 } UNION { resource:Q7662679 property:P452 ?c . ?c rdf:type ontology:Q58778 } }
information technology consulting software industry information technology consulting information technology consulting
The industries Softtek , Syntel and Parnet belongs to are the software industry, information technology consulting and information technology consulting
software industry information technology consulting information technology consulting
action union
action filter_type
action find
entity Softtek
relation industry
type system
action filter_type
action find
entity Syntel
relation industry
type system
action filter_type
action find
entity Parnet
relation industry
type system
['Softtek', 'industry', {'concept': 'system'}] ['Syntel', 'industry', {'concept': 'system'}] ['Parnet', 'industry', {'concept': 'system'}]
SELECT DISTINCT ?c WHERE { { resource:Softtek property:industry ?c . ?c rdf:type ontology:system } UNION { resource:Syntel property:industry ?c . ?c rdf:type ontology:system } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7662679
P108
Q502895
USER
What is the name of person who works for Syntel ?
(c(Q502895),P108,Q7662679)
action filter_type
action find_reverse
entity Q7662679
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q7662679']
SELECT DISTINCT ?j WHERE { ?j property:P108 resource:Q7662679 . ?j rdf:type ontology:Q502895 }
Syntel
action filter_type
action find_reverse
entity Syntel
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Syntel']
SELECT DISTINCT ?j WHERE { ?j property:employer resource:Syntel . ?j rdf:type ontology:common_name }
[]
common name
Q17152073
SYSTEM
Nitin Rakesh
Q17152073
(c(Q502895),P108,Q7662679)
action filter_type
action find_reverse
entity Q7662679
relation P108
type Q502895
The name of person works for Syntel is [ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q7662679']
SELECT DISTINCT ?j WHERE { ?j property:P108 resource:Q7662679 . ?j rdf:type ontology:Q502895 }
Nitin Rakesh
The name of person works for Syntel is Nitin Rakesh
Nitin Rakesh
action filter_type
action find_reverse
entity Syntel
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Syntel']
SELECT DISTINCT ?j WHERE { ?j property:employer resource:Syntel . ?j rdf:type ontology:common_name }
[]