Simple Question (Direct)
Simple Question
Q5562587
P119
Q43229
USER
Which organization is the tomb of Bengt Aurivillius ?
(Q5562587,P119,c(Q43229))
action filter_type
action find
entity Q5562587
relation P119
type Q43229
['Q5562587', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q5562587 property:P119 ?i . ?i rdf:type ontology:Q43229 }
Bengt Aurivillius
action filter_type
action find
entity Bengt Aurivillius
relation place of burial
type organization
['Bengt Aurivillius', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:Bengt_Aurivillius property:place_of_burial ?i . ?i rdf:type ontology:organization }
[]
organization
Q10602635
SYSTEM
Norra cemetery
Q10602635
(Q5562587,P119,c(Q43229))
action filter_type
action find
entity Q5562587
relation P119
type Q43229
[ANSWER] is the tomb of Bengt Aurivillius
['Q5562587', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q5562587 property:P119 ?i . ?i rdf:type ontology:Q43229 }
Norra cemetery
Norra cemetery is the tomb of Bengt Aurivillius
Norra cemetery
action filter_type
action find
entity Bengt Aurivillius
relation place of burial
type organization
['Bengt Aurivillius', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:Bengt_Aurivillius property:place_of_burial ?i . ?i rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5562587
P26
Q502895
USER
Who is the spouse of that one ?
(Q10602635,P26,c(Q502895))
action filter_type
action find
entity Q5562587
relation P26
type Q502895
['Q10602635', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q5562587 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Bengt Aurivillius
action filter_type
action find
entity Bengt Aurivillius
relation spouse
type common name
['Norra cemetery', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Bengt_Aurivillius property:spouse ?u . ?u rdf:type ontology:common_name }
[]
common name
Q18699544
SYSTEM
Karin Aurivillius
Q18699544
(Q10602635,P26,c(Q502895))
action filter_type
action find
entity Q5562587
relation P26
type Q502895
The spouse of that one is Princess [ANSWER]
['Q10602635', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q5562587 property:P26 ?u . ?u rdf:type ontology:Q502895 }
Karin Aurivillius
The spouse of that one is Princess Karin Aurivillius
Karin Aurivillius
action filter_type
action find
entity Bengt Aurivillius
relation spouse
type common name
['Norra cemetery', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Bengt_Aurivillius property:spouse ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atmost 2170 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2170
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { FILTER ( ?m <= 2170 ) . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?l } }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2170
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { FILTER ( ?m <= 2170 ) . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?l } }
[]
musical instrument common name
SYSTEM
63
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2170
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { FILTER ( ?m <= 2170 ) . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?l } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
63
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2170
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { FILTER ( ?m <= 2170 ) . { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?l } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7862646 Q5562587
P27 P17
Q15617994
USER
Which administrative territories are Bengt Aurivillius a civilian of or do Tōdera Station belong to ?
OR((Q5562587,P27,c(Q15617994)), (Q7862646,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5562587
relation P27
action find
entity Q7862646
relation P17
type Q15617994
{'OR': [['Q5562587', 'P27', {'concept': 'Q15617994'}], ['Q7862646', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q5562587 property:P27 ?u } UNION { resource:Q7862646 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Tōdera Station Bengt Aurivillius
action filter_type
action union
action find
entity Bengt Aurivillius
relation country of citizenship
action find
entity Tōdera Station
relation country
type designation for an administrative territorial entity
{'OR': [['Bengt Aurivillius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tōdera Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Bengt_Aurivillius property:country_of_citizenship ?u } UNION { resource:Tōdera_Station property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q34
SYSTEM
Japan, Sweden
Q17 Q34
OR((Q5562587,P27,c(Q15617994)), (Q7862646,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5562587
relation P27
action find
entity Q7862646
relation P17
type Q15617994
[ANSWERS] are Bengt Aurivillius a civilian of or do Tōdera Station belong to
{'OR': [['Q5562587', 'P27', {'concept': 'Q15617994'}], ['Q7862646', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q5562587 property:P27 ?u } UNION { resource:Q7862646 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Japan Sweden
Japan and Sweden are Bengt Aurivillius a civilian of or do Tōdera Station belong to
Japan Sweden
action filter_type
action union
action find
entity Bengt Aurivillius
relation country of citizenship
action find
entity Tōdera Station
relation country
type designation for an administrative territorial entity
{'OR': [['Bengt Aurivillius', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Tōdera Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Bengt_Aurivillius property:country_of_citizenship ?u } UNION { resource:Tōdera_Station property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5562587
P734
Q82799
USER
Which name is associated with Bengt Aurivillius ?
(Q5562587,P734,c(Q82799))
action filter_type
action find
entity Q5562587
relation P734
type Q82799
['Q5562587', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q5562587 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Bengt Aurivillius
action filter_type
action find
entity Bengt Aurivillius
relation family name
type name
['Bengt Aurivillius', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Bengt_Aurivillius property:family_name ?y . ?y rdf:type ontology:name }
[]
name
Q27180489
SYSTEM
Aurivillius
Q27180489
(Q5562587,P734,c(Q82799))
action filter_type
action find
entity Q5562587
relation P734
type Q82799
Llius [ANSWER] is associated with Bengt [ANSWER]
['Q5562587', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q5562587 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Aurivillius
Llius Aurivillius is associated with Bengt Aurivillius
Aurivillius
action filter_type
action find
entity Bengt Aurivillius
relation family name
type name
['Bengt Aurivillius', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Bengt_Aurivillius property:family_name ?y . ?y rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P287
Q43229 Q14660 Q4407246
USER
How many organizations designed atleast 1 flags and armored personnel carriers ?
(c(Q14660)|c(Q4407246),P287,c(Q43229))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P287
type Q43229
type Q14660
action find_reverse_tuple_counts
relation P287
type Q43229
type Q4407246
value 1
[[{'concept': 'Q14660'}, {'concept': 'Q4407246'}], 'P287', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:Q14660 ) ( ontology:Q4407246 ) } . ?g rdf:type ?k } GROUP BY ?i } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation designer
type organization
type flag
action find_reverse_tuple_counts
relation designer
type organization
type armored personnel carrier
value 1
[[{'concept': 'flag'}, {'concept': 'armored personnel carrier'}], 'designer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:flag ) ( ontology:armored_personnel_carrier ) } . ?g rdf:type ?k } GROUP BY ?i } }
[]
organization flag armored personnel carrier
SYSTEM
14
Q161544 Q2562433 Q28616 Q6809977 Q162257 Q4231577 Q3519453 Q163580 Q29739 Q1969091 Q3129142 Q600277 Q3484940 Q597047
(c(Q14660)|c(Q4407246),P287,c(Q43229))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P287
type Q43229
type Q14660
action find_reverse_tuple_counts
relation P287
type Q43229
type Q4407246
value 1
[ANSWER]
[[{'concept': 'Q14660'}, {'concept': 'Q4407246'}], 'P287', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:Q14660 ) ( ontology:Q4407246 ) } . ?g rdf:type ?k } GROUP BY ?i } }
Rheinmetall Volgograd Tractor Factory GAZ Meier & Frank Komatsu Limited Omsktransmash Thales Australia Henschel & Sohn Navistar International Oshkosh Corporation Heavy Industries Taxila Chelyabinsk Tractor Plant ST Kinetics GKN
14
action count
action atleast
action union
action find_reverse_tuple_counts
relation designer
type organization
type flag
action find_reverse_tuple_counts
relation designer
type organization
type armored personnel carrier
value 1
[[{'concept': 'flag'}, {'concept': 'armored personnel carrier'}], 'designer', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { FILTER ( ?t >= 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:flag ) ( ontology:armored_personnel_carrier ) } . ?g rdf:type ?k } GROUP BY ?i } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P1532
Q6979593
USER
Who represent Japan ?
(c(Q6979593),P1532,Q17)
action filter_type
action find_reverse
entity Q17
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q17']
SELECT DISTINCT ?b WHERE { ?b property:P1532 resource:Q17 . ?b rdf:type ontology:Q6979593 }
Japan
action filter_type
action find_reverse
entity Japan
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Japan']
SELECT DISTINCT ?b WHERE { ?b property:country_for_sport resource:Japan . ?b rdf:type ontology:national_association_football_team }
[]
national association football team
Q11251662 Q1683282 Q388232
SYSTEM
Japan women's national under-17 football team, Japan women's national under-20 football team, Japan women's national football team
Q11251662 Q1683282 Q388232
(c(Q6979593),P1532,Q17)
action filter_type
action find_reverse
entity Q17
relation P1532
type Q6979593
[ANSWERS] represent Japan
[{'concept': 'Q6979593'}, 'P1532', 'Q17']
SELECT DISTINCT ?b WHERE { ?b property:P1532 resource:Q17 . ?b rdf:type ontology:Q6979593 }
Japan women's national under-17 football team Japan women's national under-20 football team Japan women's national football team
Japan women's national under-17 football team, Japan women's national under-20 football team and Japan women's national football team represent Japan
Japan women's national under-17 football team Japan women's national under-20 football team Japan women's national football team
action filter_type
action find_reverse
entity Japan
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Japan']
SELECT DISTINCT ?b WHERE { ?b property:country_for_sport resource:Japan . ?b rdf:type ontology:national_association_football_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1683282
P54
Q502895
USER
Which people are one of the members of that national association football team ?
(c(Q502895),P54,Q1683282)
action filter_type
action find_reverse
entity Q1683282
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q1683282']
SELECT DISTINCT ?v WHERE { ?v property:P54 resource:Q1683282 . ?v rdf:type ontology:Q502895 }
Japan women's national under-20 football team
action filter_type
action find_reverse
entity Japan women's national under-20 football team
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', "Japan women's national under-20 football team"]
SELECT DISTINCT ?v WHERE { ?v property:member_of_sports_team resource:Japan_women's_national_under-20_football_team . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1683282
SYSTEM
Did you mean Japan women's national under-20 football team ?
Q11251662 Q1683282 Q388232
(c(Q502895),P54,Q11251662) (c(Q502895),P54,Q1683282) (c(Q502895),P54,Q388232)
[ANSWER]
[{'concept': 'Q502895'}, 'P54', 'Q11251662'] [{'concept': 'Q502895'}, 'P54', 'Q1683282'] [{'concept': 'Q502895'}, 'P54', 'Q388232']
SELECT DISTINCT ?v WHERE { ?v property:P54 resource:Q1683282 . ?v rdf:type ontology:Q502895 }
Japan women's national under-17 football team Japan women's national under-20 football team Japan women's national football team
Did you mean Japan women's national under-20 football team ?
Japan women's national under-20 football team
[{'concept': 'common name'}, 'member of sports team', "Japan women's national under-17 football team"] [{'concept': 'common name'}, 'member of sports team', "Japan women's national under-20 football team"] [{'concept': 'common name'}, 'member of sports team', "Japan women's national football team"]
SELECT DISTINCT ?v WHERE { ?v property:member_of_sports_team resource:Japan_women's_national_under-20_football_team . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P54,Q1683282)
[{'concept': 'Q502895'}, 'P54', 'Q1683282']
[{'concept': 'common name'}, 'member of sports team', "Japan women's national under-20 football team"]
[]
Q440500 Q270767 Q10545503
SYSTEM
Rumi Utsugi, Mana Iwabuchi, Yuika Sugasawa
Q6443864 Q440500 Q2003822 Q1618035 Q515984 Q510869 Q10545503 Q11364399 Q1574180 Q1726206 Q270767
(c(Q502895),P54,Q1683282)
action filter_type
action find_reverse
entity Q1683282
relation P54
type Q502895
[ANSWERS] are one of the members of that national association football team
[{'concept': 'Q502895'}, 'P54', 'Q1683282']
SELECT DISTINCT ?v WHERE { ?v property:P54 resource:Q1683282 . ?v rdf:type ontology:Q502895 }
Kumi Yokoyama Rumi Utsugi Nozomi Fujita Hikaru Naomoto Ayu Nakada Yōko Tanaka Yuika Sugasawa Emi Nakajima Hanae Shibata Mina Tanaka Mana Iwabuchi
Rumi Utsugi, Mana Iwabuchi and Yuika Sugasawa are one of the members of that national association football team
Rumi Utsugi Mana Iwabuchi Yuika Sugasawa
action filter_type
action find_reverse
entity Japan women's national under-20 football team
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', "Japan women's national under-20 football team"]
SELECT DISTINCT ?v WHERE { ?v property:member_of_sports_team resource:Japan_women's_national_under-20_football_team . ?v rdf:type ontology:common_name }
[]