Simple Question (Direct)
Simple Question
Q18018515
P21
Q290
USER
Which sex does August Paetsch have ?
(Q18018515,P21,c(Q290))
action filter_type
action find
entity Q18018515
relation P21
type Q290
['Q18018515', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q18018515 property:P21 ?s . ?s rdf:type ontology:Q290 }
August Paetsch
action filter_type
action find
entity August Paetsch
relation gender
type sex
['August Paetsch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:August_Paetsch property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18018515,P21,c(Q290))
action filter_type
action find
entity Q18018515
relation P21
type Q290
August Paetsch has a [ANSWER]
['Q18018515', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q18018515 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
August Paetsch has a male
male
action filter_type
action find
entity August Paetsch
relation gender
type sex
['August Paetsch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:August_Paetsch property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18018515
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q18018515
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q18018515 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
August Paetsch
action filter_type
action find
entity August Paetsch
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:August_Paetsch property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q2865819 Q2259451 Q177220
SYSTEM
opera singer, stage actor, singer
Q2865819 Q2259451 Q177220
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q18018515
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q18018515 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
opera singer stage actor singer
Opera singer, stage actor and singer have that person as his/her 's career
opera singer stage actor singer
action filter_type
action find
entity August Paetsch
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:August_Paetsch property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2259451
P106
Q16979650 Q41710
USER
How many sibling groups and ethnic groups have a job as stage actor ?
(c(Q16979650),P106,Q2259451) (c(Q41710),P106,Q2259451)
action count
action union
action filter_type
action find_reverse
entity Q2259451
relation P106
type Q16979650
action filter_type
action find_reverse
entity Q2259451
relation P106
type Q41710
[{'concept': 'Q16979650'}, 'P106', 'Q2259451'] [{'concept': 'Q41710'}, 'P106', 'Q2259451']
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { ?j rdf:type ontology:Q16979650 . ?j property:P106 resource:Q2259451 } UNION { ?j property:P106 resource:Q2259451 . ?j rdf:type ontology:Q41710 } }
stage actor
action count
action union
action filter_type
action find_reverse
entity stage actor
relation occupation
type sibling group
action filter_type
action find_reverse
entity stage actor
relation occupation
type ethnic group
[{'concept': 'sibling group'}, 'occupation', 'stage actor'] [{'concept': 'ethnic group'}, 'occupation', 'stage actor']
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { ?j rdf:type ontology:sibling_group . ?j property:occupation resource:stage_actor } UNION { ?j property:occupation resource:stage_actor . ?j rdf:type ontology:ethnic_group } }
[]
sibling group ethnic group
SYSTEM
2 sibling groups and 1 ethnic groups
Q18435923 Q5955762 Q5115880
(c(Q16979650),P106,Q2259451) (c(Q41710),P106,Q2259451)
action count
action union
action filter_type
action find_reverse
entity Q2259451
relation P106
type Q16979650
action filter_type
action find_reverse
entity Q2259451
relation P106
type Q41710
[ANSWER]
[{'concept': 'Q16979650'}, 'P106', 'Q2259451'] [{'concept': 'Q41710'}, 'P106', 'Q2259451']
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { ?j rdf:type ontology:Q16979650 . ?j property:P106 resource:Q2259451 } UNION { ?j property:P106 resource:Q2259451 . ?j rdf:type ontology:Q41710 } }
Jonas Minthe Hyers Sisters Chuckle Brothers
2 sibling groups and 1 ethnic groups
action count
action union
action filter_type
action find_reverse
entity stage actor
relation occupation
type sibling group
action filter_type
action find_reverse
entity stage actor
relation occupation
type ethnic group
[{'concept': 'sibling group'}, 'occupation', 'stage actor'] [{'concept': 'ethnic group'}, 'occupation', 'stage actor']
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { ?j rdf:type ontology:sibling_group . ?j property:occupation resource:stage_actor } UNION { ?j property:occupation resource:stage_actor . ?j rdf:type ontology:ethnic_group } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18018515
P19
Q56061
USER
Which administrative territory is the place of birth of August Paetsch ?
(Q18018515,P19,c(Q56061))
action filter_type
action find
entity Q18018515
relation P19
type Q56061
['Q18018515', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q18018515 property:P19 ?p }
August Paetsch
action filter_type
action find
entity August Paetsch
relation place of birth
type administrative territorial entity
['August Paetsch', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:August_Paetsch property:place_of_birth ?p }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q18018515,P19,c(Q56061))
action filter_type
action find
entity Q18018515
relation P19
type Q56061
[ANSWER] is the place of birth of August Paetsch
['Q18018515', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q18018515 property:P19 ?p }
Berlin
Berlin is the place of birth of August Paetsch
Berlin
action filter_type
action find
entity August Paetsch
relation place of birth
type administrative territorial entity
['August Paetsch', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:August_Paetsch property:place_of_birth ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64
P36
Q183366
USER
Which territory has that administrative territory as its capital ?
(c(Q183366),P36,Q64)
action filter_type
action find_reverse
entity Q64
relation P36
type Q183366
[{'concept': 'Q183366'}, 'P36', 'Q64']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q183366 . ?e property:P36 resource:Q64 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation capital
type territory
[{'concept': 'territory'}, 'capital', 'Berlin']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:territory . ?e property:capital resource:Berlin }
[]
territory
Q2415901
SYSTEM
Allied-occupied Germany
Q2415901
(c(Q183366),P36,Q64)
action filter_type
action find_reverse
entity Q64
relation P36
type Q183366
[ANSWER] has that administrative territory as its capital
[{'concept': 'Q183366'}, 'P36', 'Q64']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q183366 . ?e property:P36 resource:Q64 }
Allied-occupied Germany
Allied-occupied Germany has that administrative territory as its capital
Allied-occupied Germany
action filter_type
action find_reverse
entity Berlin
relation capital
type territory
[{'concept': 'territory'}, 'capital', 'Berlin']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:territory . ?e property:capital resource:Berlin }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2415901
P921
Q234460
USER
What are that territory a main subject of ?
(c(Q234460),P921,Q2415901)
action filter_type
action find_reverse
entity Q2415901
relation P921
type Q234460
[{'concept': 'Q234460'}, 'P921', 'Q2415901']
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q2415901 . ?k rdf:type ontology:Q234460 }
Allied-occupied Germany
action filter_type
action find_reverse
entity Allied-occupied Germany
relation main subject
type text
[{'concept': 'text'}, 'main subject', 'Allied-occupied Germany']
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:Allied-occupied_Germany . ?k rdf:type ontology:text }
[]
text
Q514002 Q1193148 Q655773
SYSTEM
The Clown, The Silent Angel, Billiards at Half-past Nine
Q1590916 Q1149714 Q1193148 Q514002 Q655773 Q1985103
(c(Q234460),P921,Q2415901)
action filter_type
action find_reverse
entity Q2415901
relation P921
type Q234460
That territory a main subject of are also [ANSWERS]
[{'concept': 'Q234460'}, 'P921', 'Q2415901']
SELECT DISTINCT ?k WHERE { ?k property:P921 resource:Q2415901 . ?k rdf:type ontology:Q234460 }
House without Guardians And Never Said a Word The Silent Angel The Clown Billiards at Half-past Nine Christmas Not Just Once a Year
That territory a main subject of are also The Clown, The Silent Angel and Billiards at Half-past Nine
The Clown The Silent Angel Billiards at Half-past Nine
action filter_type
action find_reverse
entity Allied-occupied Germany
relation main subject
type text
[{'concept': 'text'}, 'main subject', 'Allied-occupied Germany']
SELECT DISTINCT ?k WHERE { ?k property:main_subject resource:Allied-occupied_Germany . ?k rdf:type ontology:text }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2415901
P1376
Q56061
USER
Which administrative territory is center of administration for Allied-occupied Germany ?
(c(Q56061),P1376,Q2415901)
action filter_type
action find_reverse
entity Q2415901
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q2415901']
SELECT DISTINCT ?f WHERE { ?f property:P1376 resource:Q2415901 . ?f rdf:type ontology:Q56061 }
Allied-occupied Germany
action filter_type
action find_reverse
entity Allied-occupied Germany
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Allied-occupied Germany']
SELECT DISTINCT ?f WHERE { ?f property:capital_of resource:Allied-occupied_Germany . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(c(Q56061),P1376,Q2415901)
action filter_type
action find_reverse
entity Q2415901
relation P1376
type Q56061
[ANSWER] is center of administration for Allied-occupied Germany
[{'concept': 'Q56061'}, 'P1376', 'Q2415901']
SELECT DISTINCT ?f WHERE { ?f property:P1376 resource:Q2415901 . ?f rdf:type ontology:Q56061 }
Berlin
Berlin is center of administration for Allied-occupied Germany
Berlin
action filter_type
action find_reverse
entity Allied-occupied Germany
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Allied-occupied Germany']
SELECT DISTINCT ?f WHERE { ?f property:capital_of resource:Allied-occupied_Germany . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q1048835
USER
How many administrative territories or political territories share the border with that administrative territory ?
(Q64,P47,c(Q15617994)) (Q64,P47,c(Q1048835)) (Q64,P47,c(Q15617994)) (Q64,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q64
relation P47
type Q15617994
action filter_type
action find
entity Q64
relation P47
type Q1048835
['Q64', 'P47', {'concept': 'Q15617994'}] ['Q64', 'P47', {'concept': 'Q1048835'}] ['Q64', 'P47', {'concept': 'Q15617994'}] ['Q64', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { ?w rdf:type ontology:Q15617994 . resource:Q64 property:P47 ?w } UNION { resource:Q64 property:P47 ?w . ?w rdf:type ontology:Q1048835 } }
action count
action union
action filter_type
action find
entity Berlin
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Berlin
relation shares border with
type political territorial entity
['Berlin', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Berlin', 'shares border with', {'concept': 'political territorial entity'}] ['Berlin', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Berlin', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Berlin property:shares_border_with ?w } UNION { resource:Berlin property:shares_border_with ?w . ?w rdf:type ontology:political_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
10
Q6115 Q6139 Q6142 Q6173 Q6181 Q640426 Q104192 Q6146 Q6178 Q6119
(Q64,P47,c(Q15617994)) (Q64,P47,c(Q1048835)) (Q64,P47,c(Q15617994)) (Q64,P47,c(Q1048835))
action count
action union
action filter_type
action find
entity Q64
relation P47
type Q15617994
action filter_type
action find
entity Q64
relation P47
type Q1048835
[ANSWER]
['Q64', 'P47', {'concept': 'Q15617994'}] ['Q64', 'P47', {'concept': 'Q1048835'}] ['Q64', 'P47', {'concept': 'Q15617994'}] ['Q64', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { ?w rdf:type ontology:Q15617994 . resource:Q64 property:P47 ?w } UNION { resource:Q64 property:P47 ?w . ?w rdf:type ontology:Q1048835 } }
Barnim Havelland Potsdam-Mittelmark Dahme-Spreewald Märkisch-Oderland Stahnsdorf Kleinmachnow Teltow-Fläming Oder-Spree Oberhavel
10
action count
action union
action filter_type
action find
entity Berlin
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Berlin
relation shares border with
type political territorial entity
['Berlin', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Berlin', 'shares border with', {'concept': 'political territorial entity'}] ['Berlin', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Berlin', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Berlin property:shares_border_with ?w } UNION { resource:Berlin property:shares_border_with ?w . ?w rdf:type ontology:political_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q190117 Q64
P452 P740
Q43229
USER
Which organizations originated at Berlin and are associated with the industry automotive industry ?
AND((c(Q43229),P740,Q64), (c(Q43229),P452,Q190117))
action filter_type
action intersection
action find_reverse
entity Q64
relation P740
action find_reverse
entity Q190117
relation P452
type Q43229
{'AND': [[{'concept': 'Q43229'}, 'P740', 'Q64'], [{'concept': 'Q43229'}, 'P452', 'Q190117']]}
SELECT DISTINCT ?k WHERE { ?k property:P740 resource:Q64 . ?k property:P452 resource:Q190117 . ?k rdf:type ontology:Q43229 }
automotive industry Berlin
action filter_type
action intersection
action find_reverse
entity Berlin
relation location of formation
action find_reverse
entity automotive industry
relation industry
type organization
{'AND': [[{'concept': 'organization'}, 'location of formation', 'Berlin'], [{'concept': 'organization'}, 'industry', 'automotive industry']]}
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation resource:Berlin . ?k property:industry resource:automotive_industry . ?k rdf:type ontology:organization }
[]
organization
Q541477 Q873059 Q156578 Q466871
SYSTEM
Daimler-Benz, IAV, Volkswagen Group, Siemens-Schuckert
Q541477 Q873059 Q156578 Q466871
AND((c(Q43229),P740,Q64), (c(Q43229),P452,Q190117))
action filter_type
action intersection
action find_reverse
entity Q64
relation P740
action find_reverse
entity Q190117
relation P452
type Q43229
[ANSWERS] originated at Berlin and are associated with the industry automotive industry
{'AND': [[{'concept': 'Q43229'}, 'P740', 'Q64'], [{'concept': 'Q43229'}, 'P452', 'Q190117']]}
SELECT DISTINCT ?k WHERE { ?k property:P740 resource:Q64 . ?k property:P452 resource:Q190117 . ?k rdf:type ontology:Q43229 }
Daimler-Benz IAV Volkswagen Group Siemens-Schuckert
Daimler-Benz, IAV, Volkswagen Group and Siemens-Schuckert originated at Berlin and are associated with the industry automotive industry
Daimler-Benz IAV Volkswagen Group Siemens-Schuckert
action filter_type
action intersection
action find_reverse
entity Berlin
relation location of formation
action find_reverse
entity automotive industry
relation industry
type organization
{'AND': [[{'concept': 'organization'}, 'location of formation', 'Berlin'], [{'concept': 'organization'}, 'industry', 'automotive industry']]}
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation resource:Berlin . ?k property:industry resource:automotive_industry . ?k rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q466871
P17
Q1048835
USER
Which political territory does that organization belong to ?
(Q466871,P17,c(Q1048835))
action filter_type
action find
entity Q466871
relation P17
type Q1048835
['Q466871', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q466871 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Siemens-Schuckert
action filter_type
action find
entity Siemens-Schuckert
relation country
type political territorial entity
['Siemens-Schuckert', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Siemens-Schuckert property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q541477
SYSTEM
Did you mean Daimler-Benz ?
Q541477 Q873059 Q156578 Q466871
(Q541477,P17,c(Q1048835)) (Q873059,P17,c(Q1048835)) (Q156578,P17,c(Q1048835)) (Q466871,P17,c(Q1048835))
[ANSWER]
['Q541477', 'P17', {'concept': 'Q1048835'}] ['Q873059', 'P17', {'concept': 'Q1048835'}] ['Q156578', 'P17', {'concept': 'Q1048835'}] ['Q466871', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q466871 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Daimler-Benz IAV Volkswagen Group Siemens-Schuckert
Did you mean Daimler-Benz ?
Daimler-Benz
['Daimler-Benz', 'country', {'concept': 'political territorial entity'}] ['IAV', 'country', {'concept': 'political territorial entity'}] ['Volkswagen Group', 'country', {'concept': 'political territorial entity'}] ['Siemens-Schuckert', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Siemens-Schuckert property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Siemens-Schuckert. Could you tell me the answer for that?
(Q466871,P17,c(Q1048835))
Q466871
['Q466871', 'P17', {'concept': 'Q1048835'}]
['Siemens-Schuckert', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q466871,P17,c(Q1048835))
action filter_type
action find
entity Q466871
relation P17
type Q1048835
That organization belongs to Nazi [ANSWER]
['Q466871', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q466871 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Germany
That organization belongs to Nazi Germany
Germany
action filter_type
action find
entity Siemens-Schuckert
relation country
type political territorial entity
['Siemens-Schuckert', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Siemens-Schuckert property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q156578
P176
Q836985
USER
Which car classification was produced by Volkswagen Group ?
(c(Q836985),P176,Q156578)
action filter_type
action find_reverse
entity Q156578
relation P176
type Q836985
[{'concept': 'Q836985'}, 'P176', 'Q156578']
SELECT DISTINCT ?d WHERE { ?d property:P176 resource:Q156578 . ?d rdf:type ontology:Q836985 }
Volkswagen Group
action filter_type
action find_reverse
entity Volkswagen Group
relation manufacturer
type car classification
[{'concept': 'car classification'}, 'manufacturer', 'Volkswagen Group']
SELECT DISTINCT ?d WHERE { ?d property:manufacturer resource:Volkswagen_Group . ?d rdf:type ontology:car_classification }
[]
car classification
Q748949
SYSTEM
Volkswagen Up
Q748949
(c(Q836985),P176,Q156578)
action filter_type
action find_reverse
entity Q156578
relation P176
type Q836985
[ANSWER] was produced by Volkswagen Group
[{'concept': 'Q836985'}, 'P176', 'Q156578']
SELECT DISTINCT ?d WHERE { ?d property:P176 resource:Q156578 . ?d rdf:type ontology:Q836985 }
Volkswagen Up
Volkswagen Up was produced by Volkswagen Group
Volkswagen Up
action filter_type
action find_reverse
entity Volkswagen Group
relation manufacturer
type car classification
[{'concept': 'car classification'}, 'manufacturer', 'Volkswagen Group']
SELECT DISTINCT ?d WHERE { ?d property:manufacturer resource:Volkswagen_Group . ?d rdf:type ontology:car_classification }
[]