Simple Question (Direct)
Simple Question
Q1179470
P734
Q82799
USER
Who is associated with James Brown ?
(Q1179470,P734,c(Q82799))
action filter_type
action find
entity Q1179470
relation P734
type Q82799
['Q1179470', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q1179470 property:P734 ?r . ?r rdf:type ontology:Q82799 }
James Brown
action filter_type
action find
entity James Brown
relation family name
type name
['James Brown', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:James_Brown property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q13421990
SYSTEM
Brown
Q13421990
(Q1179470,P734,c(Q82799))
action filter_type
action find
entity Q1179470
relation P734
type Q82799
[ANSWER]
['Q1179470', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q1179470 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Brown
Brown
action filter_type
action find
entity James Brown
relation family name
type name
['James Brown', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:James_Brown property:family_name ?r . ?r rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1179470
P54
Q1194951
USER
Which national sports team is James Brown a member of ?
(Q1179470,P54,c(Q1194951))
action filter_type
action find
entity Q1179470
relation P54
type Q1194951
['Q1179470', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { resource:Q1179470 property:P54 ?n . ?n rdf:type ontology:Q1194951 }
James Brown
action filter_type
action find
entity James Brown
relation member of sports team
type national sports team
['James Brown', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { resource:James_Brown property:member_of_sports_team ?n . ?n rdf:type ontology:national_sports_team }
[]
national sports team
Q47762
SYSTEM
England national football team
Q47762
(Q1179470,P54,c(Q1194951))
action filter_type
action find
entity Q1179470
relation P54
type Q1194951
[ANSWER]
['Q1179470', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?n WHERE { resource:Q1179470 property:P54 ?n . ?n rdf:type ontology:Q1194951 }
England national football team
England national football team
action filter_type
action find
entity James Brown
relation member of sports team
type national sports team
['James Brown', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?n WHERE { resource:James_Brown property:member_of_sports_team ?n . ?n rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1179470
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q47762,P19,c(Q56061))
action filter_type
action find
entity Q1179470
relation P19
type Q56061
['Q47762', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1179470 property:P19 ?k . ?k rdf:type ontology:Q56061 }
James Brown
action filter_type
action find
entity James Brown
relation place of birth
type administrative territorial entity
['England national football team', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:James_Brown property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q188313
SYSTEM
Blackburn
Q188313
(Q47762,P19,c(Q56061))
action filter_type
action find
entity Q1179470
relation P19
type Q56061
[ANSWER]
['Q47762', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q1179470 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Blackburn
Blackburn
action filter_type
action find
entity James Brown
relation place of birth
type administrative territorial entity
['England national football team', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:James_Brown property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q188313
P159
Q43229
USER
Which organizations have their head office location at that administrative territory ?
(c(Q43229),P159,Q188313)
action filter_type
action find_reverse
entity Q188313
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q188313']
SELECT DISTINCT ?r WHERE { ?r property:P159 resource:Q188313 . ?r rdf:type ontology:Q43229 }
Blackburn
action filter_type
action find_reverse
entity Blackburn
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Blackburn']
SELECT DISTINCT ?r WHERE { ?r property:headquarters_location resource:Blackburn . ?r rdf:type ontology:organization }
[]
organization
Q6444460 Q7799526 Q7249720
SYSTEM
Walkersteel, Thwaites Brewery, Promethean World
Q7249720 Q6444460 Q966166 Q5225887 Q7799526
(c(Q43229),P159,Q188313)
action filter_type
action find_reverse
entity Q188313
relation P159
type Q43229
[ANSWERS]
[{'concept': 'Q43229'}, 'P159', 'Q188313']
SELECT DISTINCT ?r WHERE { ?r property:P159 resource:Q188313 . ?r rdf:type ontology:Q43229 }
Promethean World Walkersteel East Lancashire Coachbuilders Darwen Group Thwaites Brewery
Walkersteel Thwaites Brewery Promethean World
action filter_type
action find_reverse
entity Blackburn
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Blackburn']
SELECT DISTINCT ?r WHERE { ?r property:headquarters_location resource:Blackburn . ?r rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2630299 Q1179470
P27 P495
Q15617994
USER
Which administrative territories are James Brown an inhabitant of and are the origin of Wild Side ?
AND((Q1179470,P27,c(Q15617994)), (Q2630299,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1179470
relation P27
action find
entity Q2630299
relation P495
type Q15617994
{'AND': [['Q1179470', 'P27', {'concept': 'Q15617994'}], ['Q2630299', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q1179470 property:P27 ?u . resource:Q2630299 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
Wild Side James Brown
action filter_type
action intersection
action find
entity James Brown
relation country of citizenship
action find
entity Wild Side
relation country of origin
type designation for an administrative territorial entity
{'AND': [['James Brown', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Wild Side', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:James_Brown property:country_of_citizenship ?u . resource:Wild_Side property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q1179470,P27,c(Q15617994)), (Q2630299,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q1179470
relation P27
action find
entity Q2630299
relation P495
type Q15617994
[ANSWER]
{'AND': [['Q1179470', 'P27', {'concept': 'Q15617994'}], ['Q2630299', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q1179470 property:P27 ?u . resource:Q2630299 property:P495 ?u . ?u rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action intersection
action find
entity James Brown
relation country of citizenship
action find
entity Wild Side
relation country of origin
type designation for an administrative territorial entity
{'AND': [['James Brown', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Wild Side', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:James_Brown property:country_of_citizenship ?u . resource:Wild_Side property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P101
Q1047113 Q11862829 Q43229
USER
How many organizations have field of work as around 1 special fields or academic disciplines ?
(c(Q43229),P101,c(Q1047113)|c(Q11862829))
action count
action approx
action union
action find_tuple_counts
relation P101
type Q43229
type Q1047113
action find_tuple_counts
relation P101
type Q43229
type Q11862829
value 1
[{'concept': 'Q43229'}, 'P101', [{'concept': 'Q1047113'}, {'concept': 'Q11862829'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) ?p WHERE { { ?p property:P101 ?h . ?p rdf:type ontology:Q43229 . ?h rdf:type ontology:Q1047113 } UNION { ?p property:P101 ?h . ?p rdf:type ontology:Q43229 . ?h rdf:type ontology:Q11862829 } } GROUP BY ?p } . FILTER ( ?i = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation field of work
type organization
type special field
action find_tuple_counts
relation field of work
type organization
type academic discipline
value 1
[{'concept': 'organization'}, 'field of work', [{'concept': 'special field'}, {'concept': 'academic discipline'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) ?p WHERE { { ?p property:field_of_work ?h . ?p rdf:type ontology:organization . ?h rdf:type ontology:special_field } UNION { ?p property:field_of_work ?h . ?p rdf:type ontology:organization . ?h rdf:type ontology:academic_discipline } } GROUP BY ?p } . FILTER ( ?i = 1 ) }
[]
special field academic discipline organization
SYSTEM
5
Q1202877 Q2831738 Q22669992 Q11896814 Q23894208
(c(Q43229),P101,c(Q1047113)|c(Q11862829))
action count
action approx
action union
action find_tuple_counts
relation P101
type Q43229
type Q1047113
action find_tuple_counts
relation P101
type Q43229
type Q11862829
value 1
[ANSWER]
[{'concept': 'Q43229'}, 'P101', [{'concept': 'Q1047113'}, {'concept': 'Q11862829'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) ?p WHERE { { ?p property:P101 ?h . ?p rdf:type ontology:Q43229 . ?h rdf:type ontology:Q1047113 } UNION { ?p property:P101 ?h . ?p rdf:type ontology:Q43229 . ?h rdf:type ontology:Q11862829 } } GROUP BY ?p } . FILTER ( ?i = 1 ) }
German Professional Association for Information & Knowledge Expertise Centre for Forensic Psychiatry Murdoch Childrens Research Institute Finnish Foundation for Technology Promotion Academy of Managed Care Pharmacy
5
action count
action approx
action union
action find_tuple_counts
relation field of work
type organization
type special field
action find_tuple_counts
relation field of work
type organization
type academic discipline
value 1
[{'concept': 'organization'}, 'field of work', [{'concept': 'special field'}, {'concept': 'academic discipline'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) ?p WHERE { { ?p property:field_of_work ?h . ?p rdf:type ontology:organization . ?h rdf:type ontology:special_field } UNION { ?p property:field_of_work ?h . ?p rdf:type ontology:organization . ?h rdf:type ontology:academic_discipline } } GROUP BY ?p } . FILTER ( ?i = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1179470
P106
Q12737077
USER
Which occupation has James Brown as his/her 's career ?
(Q1179470,P106,c(Q12737077))
action filter_type
action find
entity Q1179470
relation P106
type Q12737077
['Q1179470', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q1179470 property:P106 ?z }
James Brown
action filter_type
action find
entity James Brown
relation occupation
type occupation
['James Brown', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:James_Brown property:occupation ?z }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1179470,P106,c(Q12737077))
action filter_type
action find
entity Q1179470
relation P106
type Q12737077
[ANSWER]
['Q1179470', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q1179470 property:P106 ?z }
association football player
association football player
action filter_type
action find
entity James Brown
relation occupation
type occupation
['James Brown', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:James_Brown property:occupation ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1179470
P21
Q290
USER
Which sex does James Brown belong to ?
(Q1179470,P21,c(Q290))
action filter_type
action find
entity Q1179470
relation P21
type Q290
['Q1179470', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q1179470 property:P21 ?v . ?v rdf:type ontology:Q290 }
James Brown
action filter_type
action find
entity James Brown
relation gender
type sex
['James Brown', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:James_Brown property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1179470,P21,c(Q290))
action filter_type
action find
entity Q1179470
relation P21
type Q290
[ANSWER]
['Q1179470', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q1179470 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity James Brown
relation gender
type sex
['James Brown', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:James_Brown property:gender ?v . ?v rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q536025 Q1179470
P21
Q290
USER
Or N'Bushe Wright?
OR((Q1179470,P21,c(Q290)), (Q536025,P21,c(Q290)))
action filter_type
action union
action find
entity Q1179470
relation P21
action find
entity Q536025
relation P21
type Q290
{'OR': [['Q1179470', 'P21', {'concept': 'Q290'}], ['Q536025', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1179470 property:P21 ?e } UNION { resource:Q536025 property:P21 ?e } } . ?e rdf:type ontology:Q290 }
N'Bushe Wright James Brown
action filter_type
action union
action find
entity James Brown
relation gender
action find
entity N'Bushe Wright
relation gender
type sex
{'OR': [['James Brown', 'gender', {'concept': 'sex'}], ["N'Bushe Wright", 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?e WHERE { { { resource:James_Brown property:gender ?e } UNION { resource:N'Bushe_Wright property:gender ?e } } . ?e rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q1179470,P21,c(Q290)), (Q536025,P21,c(Q290)))
action filter_type
action union
action find
entity Q1179470
relation P21
action find
entity Q536025
relation P21
type Q290
[ANSWERS]
{'OR': [['Q1179470', 'P21', {'concept': 'Q290'}], ['Q536025', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1179470 property:P21 ?e } UNION { resource:Q536025 property:P21 ?e } } . ?e rdf:type ontology:Q290 }
male female
male female
action filter_type
action union
action find
entity James Brown
relation gender
action find
entity N'Bushe Wright
relation gender
type sex
{'OR': [['James Brown', 'gender', {'concept': 'sex'}], ["N'Bushe Wright", 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?e WHERE { { { resource:James_Brown property:gender ?e } UNION { resource:N'Bushe_Wright property:gender ?e } } . ?e rdf:type ontology:sex }
[]