Simple Question (Direct)
Simple Question
Q824286
P21
Q290
USER
Which sex does Bernd Stellmacher have ?
(Q824286,P21,c(Q290))
action filter_type
action find
entity Q824286
relation P21
type Q290
['Q824286', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q824286 property:P21 ?b . ?b rdf:type ontology:Q290 }
Bernd Stellmacher
action filter_type
action find
entity Bernd Stellmacher
relation gender
type sex
['Bernd Stellmacher', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Bernd_Stellmacher property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q824286,P21,c(Q290))
action filter_type
action find
entity Q824286
relation P21
type Q290
Bernd Stellmacher has a [ANSWER]
['Q824286', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q824286 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Bernd Stellmacher has a male
male
action filter_type
action find
entity Bernd Stellmacher
relation gender
type sex
['Bernd Stellmacher', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Bernd_Stellmacher property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q824286
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q824286
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q824286 property:P106 ?u }
Bernd Stellmacher
action filter_type
action find
entity Bernd Stellmacher
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Bernd_Stellmacher property:occupation ?u }
[]
occupation
Q1622272 Q170790
SYSTEM
university teacher, mathematician
Q1622272 Q170790
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q824286
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q824286 property:P106 ?u }
university teacher mathematician
The professions of that person are university teacher and mathematician
university teacher mathematician
action filter_type
action find
entity Bernd Stellmacher
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Bernd_Stellmacher property:occupation ?u }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6371890 Q824286
P27
Q1048835
USER
Which political territories are the native countriesof Bernd Stellmacher or Karl Harrison ?
OR((Q824286,P27,c(Q1048835)), (Q6371890,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q824286
relation P27
action find
entity Q6371890
relation P27
type Q1048835
{'OR': [['Q824286', 'P27', {'concept': 'Q1048835'}], ['Q6371890', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q824286 property:P27 ?g } UNION { resource:Q6371890 property:P27 ?g } } . ?g rdf:type ontology:Q1048835 }
Karl Harrison Bernd Stellmacher
action filter_type
action union
action find
entity Bernd Stellmacher
relation country of citizenship
action find
entity Karl Harrison
relation country of citizenship
type political territorial entity
{'OR': [['Bernd Stellmacher', 'country of citizenship', {'concept': 'political territorial entity'}], ['Karl Harrison', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Bernd_Stellmacher property:country_of_citizenship ?g } UNION { resource:Karl_Harrison property:country_of_citizenship ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q824286,P27,c(Q1048835)), (Q6371890,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q824286
relation P27
action find
entity Q6371890
relation P27
type Q1048835
[ANSWERS] are the native countriesof Bernd Stellmacher or Karl Harrison
{'OR': [['Q824286', 'P27', {'concept': 'Q1048835'}], ['Q6371890', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q824286 property:P27 ?g } UNION { resource:Q6371890 property:P27 ?g } } . ?g rdf:type ontology:Q1048835 }
New Zealand Germany
New Zealand and Germany are the native countriesof Bernd Stellmacher or Karl Harrison
New Zealand Germany
action filter_type
action union
action find
entity Bernd Stellmacher
relation country of citizenship
action find
entity Karl Harrison
relation country of citizenship
type political territorial entity
{'OR': [['Bernd Stellmacher', 'country of citizenship', {'concept': 'political territorial entity'}], ['Karl Harrison', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Bernd_Stellmacher property:country_of_citizenship ?g } UNION { resource:Karl_Harrison property:country_of_citizenship ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6371890
P54
Q874405
USER
Which social groups are Karl Harrison a member of ?
(Q664,P54,c(Q874405)) (Q183,P54,c(Q874405))
action filter_type
action find
entity Q6371890
relation P54
type Q874405
['Q664', 'P54', {'concept': 'Q874405'}] ['Q183', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { resource:Q6371890 property:P54 ?y . ?y rdf:type ontology:Q874405 }
Karl Harrison
action filter_type
action find
entity Karl Harrison
relation member of sports team
type social group
['New Zealand', 'member of sports team', {'concept': 'social group'}] ['Germany', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { resource:Karl_Harrison property:member_of_sports_team ?y . ?y rdf:type ontology:social_group }
[]
social group
Q3125972 Q3067834 Q863661
SYSTEM
Halifax RLFC, Featherstone Rovers, Hull F.C.
Q863661 Q3125972 Q3067834 Q4956190
(Q664,P54,c(Q874405)) (Q183,P54,c(Q874405))
action filter_type
action find
entity Q6371890
relation P54
type Q874405
[ANSWERS] are Karl Harrison a member of
['Q664', 'P54', {'concept': 'Q874405'}] ['Q183', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { resource:Q6371890 property:P54 ?y . ?y rdf:type ontology:Q874405 }
Hull F.C. Halifax RLFC Featherstone Rovers Bramley Buffaloes
Halifax RLFC, Featherstone Rovers and Hull F.C. are Karl Harrison a member of
Halifax RLFC Featherstone Rovers Hull F.C.
action filter_type
action find
entity Karl Harrison
relation member of sports team
type social group
['New Zealand', 'member of sports team', {'concept': 'social group'}] ['Germany', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { resource:Karl_Harrison property:member_of_sports_team ?y . ?y rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5231951
P54
Q502895
USER
Are David Busfield one of the members of those social groups ?
(Q5231951,P54,Q3125972) (Q5231951,P54,Q3067834) (Q5231951,P54,Q863661)
action is_in
entity prev_answer
action find
entity Q5231951
relation P54
['Q5231951', 'P54', 'Q3125972'] ['Q5231951', 'P54', 'Q3067834'] ['Q5231951', 'P54', 'Q863661']
ASK WHERE { VALUES ( ?t ) { ( resource:Q863661 ) ( resource:Q3125972 ) ( resource:Q3067834 ) } . resource:Q5231951 property:P54 ?t }
David Busfield
action is_in
entity prev_answer
action find
entity David Busfield
relation member of sports team
['David Busfield', 'member of sports team', 'Halifax RLFC'] ['David Busfield', 'member of sports team', 'Featherstone Rovers'] ['David Busfield', 'member of sports team', 'Hull F.C.']
ASK WHERE { VALUES ( ?t ) { ( resource:Hull_F.C. ) ( resource:Halifax_RLFC ) ( resource:Featherstone_Rovers ) } . resource:David_Busfield property:member_of_sports_team ?t }
[]
common name
SYSTEM
YES
(Q5231951,P54,Q3125972) (Q5231951,P54,Q3067834) (Q5231951,P54,Q863661)
action is_in
entity prev_answer
action find
entity Q5231951
relation P54
[ANSWER]
['Q5231951', 'P54', 'Q3125972'] ['Q5231951', 'P54', 'Q3067834'] ['Q5231951', 'P54', 'Q863661']
ASK WHERE { VALUES ( ?t ) { ( resource:Q863661 ) ( resource:Q3125972 ) ( resource:Q3067834 ) } . resource:Q5231951 property:P54 ?t }
Yes
action is_in
entity prev_answer
action find
entity David Busfield
relation member of sports team
['David Busfield', 'member of sports team', 'Halifax RLFC'] ['David Busfield', 'member of sports team', 'Featherstone Rovers'] ['David Busfield', 'member of sports team', 'Hull F.C.']
ASK WHERE { VALUES ( ?t ) { ( resource:Hull_F.C. ) ( resource:Halifax_RLFC ) ( resource:Featherstone_Rovers ) } . resource:David_Busfield property:member_of_sports_team ?t }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P355
Q874405 Q4830453 Q43229
USER
Which social groups are subsidiaries of around 1 business enterprises or organizations ?
(c(Q4830453)|c(Q43229),P355,c(Q874405))
action approx
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
value 1
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } GROUP BY ?s } }
action approx
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
value 1
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:business_enterprise ) ( ontology:organization ) } } GROUP BY ?s } }
[]
social group business enterprise organization
Q1377855 Q15293666 Q82610
SYSTEM
Google.org, Straßenbahn Kleve, Newport News Shipbuilding
Q1114200 Q11788418 Q4929965 Q82610 Q13431465 Q2860866 Q4698479 Q3519460 Q14623752 Q2044206 Q1203555 Q2543504 Q3913196 Q3435621 Q5892736 Q4698480 Q1377855 Q408396 Q11722823 Q14334150 Q890180 Q15293666 Q10955989 Q2990871
(c(Q4830453)|c(Q43229),P355,c(Q874405))
action approx
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q874405
type Q43229
value 1
[ANSWERS] are subsidiaries of around 1 business enterprises or organizations
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } GROUP BY ?s } }
Picnik NWR Karbonia Blue Triangle Newport News Shipbuilding Thales Air Defence Areva TA Airbus ProSky Thales Underwater Systems Pink BH PIK Vrbovec Deutsche Messe AG Saturn Thales Nederland Elektrárna Dětmarovice Honda Taiwan Airbus Operations S.A.S. Google.org Airbus Transport International Centrum Holdings MediaCorp Raintree Pictures Boeing Canada Straßenbahn Kleve Media Asia Film Distribution Company Comptoir métallurgique marocain
Google.org, Straßenbahn Kleve and Newport News Shipbuilding are subsidiaries of around 1 business enterprises or organizations
Google.org Straßenbahn Kleve Newport News Shipbuilding
action approx
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type social group
type organization
value 1
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?b = 1 ) . { SELECT DISTINCT ?s ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?y . VALUES ( ?y ) { ( ontology:business_enterprise ) ( ontology:organization ) } } GROUP BY ?s } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1377855
P749
Q43229
USER
Which organization owns that social group ?
(Q1377855,P749,c(Q43229))
action filter_type
action find
entity Q1377855
relation P749
type Q43229
['Q1377855', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q1377855 property:P749 ?b . ?b rdf:type ontology:Q43229 }
Google.org
action filter_type
action find
entity Google.org
relation parent organization
type organization
['Google.org', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:Google.org property:parent_organization ?b . ?b rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q82610
SYSTEM
Did you mean Newport News Shipbuilding ?
Q1377855 Q15293666 Q82610
(Q1377855,P749,c(Q43229)) (Q15293666,P749,c(Q43229)) (Q82610,P749,c(Q43229))
[ANSWER]
['Q1377855', 'P749', {'concept': 'Q43229'}] ['Q15293666', 'P749', {'concept': 'Q43229'}] ['Q82610', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q1377855 property:P749 ?b . ?b rdf:type ontology:Q43229 }
Google.org Straßenbahn Kleve Newport News Shipbuilding
Did you mean Newport News Shipbuilding ?
Newport News Shipbuilding
['Google.org', 'parent organization', {'concept': 'organization'}] ['Straßenbahn Kleve', 'parent organization', {'concept': 'organization'}] ['Newport News Shipbuilding', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:Google.org property:parent_organization ?b . ?b rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Google.org. Could you tell me the answer for that?
(Q1377855,P749,c(Q43229))
Q1377855
['Q1377855', 'P749', {'concept': 'Q43229'}]
['Google.org', 'parent organization', {'concept': 'organization'}]
[]
Q95
SYSTEM
Google
Q95
(Q1377855,P749,c(Q43229))
action filter_type
action find
entity Q1377855
relation P749
type Q43229
[ANSWER] owns that social group
['Q1377855', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ?b WHERE { resource:Q1377855 property:P749 ?b . ?b rdf:type ontology:Q43229 }
Google
Google owns that social group
Google
action filter_type
action find
entity Google.org
relation parent organization
type organization
['Google.org', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ?b WHERE { resource:Google.org property:parent_organization ?b . ?b rdf:type ontology:organization }
[]