Simple Question (Direct)
Simple Question
Q3852010
P21
Q290
USER
Which sex does Matt Hindle possess ?
(Q3852010,P21,c(Q290))
action filter_type
action find
entity Q3852010
relation P21
type Q290
['Q3852010', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3852010 property:P21 ?v . ?v rdf:type ontology:Q290 }
Matt Hindle
action filter_type
action find
entity Matt Hindle
relation gender
type sex
['Matt Hindle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Matt_Hindle property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3852010,P21,c(Q290))
action filter_type
action find
entity Q3852010
relation P21
type Q290
Matt Hindle possesses un [ANSWER]
['Q3852010', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q3852010 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
Matt Hindle possesses un male
male
action filter_type
action find
entity Matt Hindle
relation gender
type sex
['Matt Hindle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Matt_Hindle property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3852010
P1344
Q15900616
USER
What event sequences did Matt Hindle participate in ?
(Q3852010,P1344,c(Q15900616))
action filter_type
action find
entity Q3852010
relation P1344
type Q15900616
['Q3852010', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?y WHERE { resource:Q3852010 property:P1344 ?y . ?y rdf:type ontology:Q15900616 }
Matt Hindle
action filter_type
action find
entity Matt Hindle
relation participant of
type event sequence
['Matt Hindle', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?y WHERE { resource:Matt_Hindle property:participant_of ?y . ?y rdf:type ontology:event_sequence }
[]
event sequence
Q9664 Q9668
SYSTEM
1998 Winter Olympics, 2002 Winter Olympics
Q9664 Q9668
(Q3852010,P1344,c(Q15900616))
action filter_type
action find
entity Q3852010
relation P1344
type Q15900616
Matt Hindle participated in [ANSWERS]
['Q3852010', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?y WHERE { resource:Q3852010 property:P1344 ?y . ?y rdf:type ontology:Q15900616 }
1998 Winter Olympics 2002 Winter Olympics
Matt Hindle participated in 1998 Winter Olympics and 2002 Winter Olympics
1998 Winter Olympics 2002 Winter Olympics
action filter_type
action find
entity Matt Hindle
relation participant of
type event sequence
['Matt Hindle', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?y WHERE { resource:Matt_Hindle property:participant_of ?y . ?y rdf:type ontology:event_sequence }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1713965
Q15900616
USER
And what about Yuriy Hayduk?
(Q1713965,P1344,c(Q15900616))
action filter_type
action find
entity Q1713965
relation P1344
type Q15900616
['Q1713965', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?j WHERE { resource:Q1713965 property:P1344 ?j . ?j rdf:type ontology:Q15900616 }
Yuriy Hayduk
action filter_type
action find
entity Yuriy Hayduk
relation participant of
type event sequence
['Yuriy Hayduk', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?j WHERE { resource:Yuriy_Hayduk property:participant_of ?j . ?j rdf:type ontology:event_sequence }
[]
event sequence
Q9672 Q9674
SYSTEM
2006 Winter Olympics, 2010 Winter Olympics
Q9672 Q9674
(Q1713965,P1344,c(Q15900616))
action filter_type
action find
entity Q1713965
relation P1344
type Q15900616
[ANSWERS]
['Q1713965', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?j WHERE { resource:Q1713965 property:P1344 ?j . ?j rdf:type ontology:Q15900616 }
2006 Winter Olympics 2010 Winter Olympics
2006 Winter Olympics 2010 Winter Olympics
action filter_type
action find
entity Yuriy Hayduk
relation participant of
type event sequence
['Yuriy Hayduk', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?j WHERE { resource:Yuriy_Hayduk property:participant_of ?j . ?j rdf:type ontology:event_sequence }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9674
P361
Q16510064
USER
What are a component of that event sequence ?
(c(Q16510064),P361,Q9674)
action filter_type
action find_reverse
entity Q9674
relation P361
type Q16510064
[{'concept': 'Q16510064'}, 'P361', 'Q9674']
SELECT DISTINCT ?o WHERE { ?o property:P361 resource:Q9674 . ?o rdf:type ontology:Q16510064 }
2010 Winter Olympics
action filter_type
action find_reverse
entity 2010 Winter Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', '2010 Winter Olympics']
SELECT DISTINCT ?o WHERE { ?o property:part_of resource:2010_Winter_Olympics . ?o rdf:type ontology:sporting_event }
[]
sporting event
Clarification for simple ques.
Q9674
SYSTEM
Did you mean 2010 Winter Olympics ?
Q9672 Q9674
(c(Q16510064),P361,Q9672) (c(Q16510064),P361,Q9674)
[ANSWER]
[{'concept': 'Q16510064'}, 'P361', 'Q9672'] [{'concept': 'Q16510064'}, 'P361', 'Q9674']
SELECT DISTINCT ?o WHERE { ?o property:P361 resource:Q9674 . ?o rdf:type ontology:Q16510064 }
2006 Winter Olympics 2010 Winter Olympics
Did you mean 2010 Winter Olympics ?
2010 Winter Olympics
[{'concept': 'sporting event'}, 'part of', '2006 Winter Olympics'] [{'concept': 'sporting event'}, 'part of', '2010 Winter Olympics']
SELECT DISTINCT ?o WHERE { ?o property:part_of resource:2010_Winter_Olympics . ?o rdf:type ontology:sporting_event }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q16510064),P361,Q9674)
[{'concept': 'Q16510064'}, 'P361', 'Q9674']
[{'concept': 'sporting event'}, 'part of', '2010 Winter Olympics']
[]
Q325843 Q841942 Q383513
SYSTEM
Speed skating at the 2010 Winter Olympics, Speed skating at the 2010 Winter Olympics – Men's 500 metres, Biathlon at the 2010 Winter Olympics – Women's sprint
Q18728 Q938791 Q938164 Q906128 Q303268 Q848689 Q916735 Q841942 Q658077 Q209356 Q841946 Q259965 Q848681 Q212916 Q916916 Q782429 Q670039 Q207765 Q215815 Q595972 Q732985 Q383120 Q938819 Q256381 Q906117 Q220386 Q843851 Q516441 Q383513 Q1064410 Q832282 Q473668 Q595962 Q905659 Q7268440 Q938779 Q325336 Q848696 Q843860 Q607635 Q614894 Q916711 Q910720 Q122704 Q1067177 Q18713 Q582450 Q917217 Q381127 Q376912 Q218258 Q691742 Q905540 Q644408 Q586729 Q325409 Q916771 Q905485 Q325843 Q848655 Q610603 Q903464 Q737863 Q225969 Q635823 Q905715 Q5194867 Q916747 Q275191 Q769542 Q918076 Q848641 Q244342 Q939181 Q379473 Q207657 Q263926 Q905561 Q548072 Q916758 Q905503 Q325276 Q2032134 Q656724 Q384953 Q905472 Q571263 Q220800 Q613571 Q905607 Q747235 Q666951 Q586832 Q580481 Q916724 Q905593 Q613470 Q841897 Q848666 Q921409 Q776835 Q385894 Q1005486 Q844101 Q429621 Q942500 Q578012
(c(Q16510064),P361,Q9674)
action filter_type
action find_reverse
entity Q9674
relation P361
type Q16510064
A component of that event sequence are [ANSWERS]
[{'concept': 'Q16510064'}, 'P361', 'Q9674']
SELECT DISTINCT ?o WHERE { ?o property:P361 resource:Q9674 . ?o rdf:type ontology:Q16510064 }
Curling at the 2010 Winter Olympics – Men's tournament Short track speed skating at the 2010 Winter Olympics – Men's 1000 metres Freestyle skiing at the 2010 Winter Olympics – Women's aerials Biathlon at the 2010 Winter Olympics – Women's mass start Nordic combined at the 2010 Winter Olympics – Individual normal hill/10 km Cross-country skiing at the 2010 Winter Olympics – Men's 30 kilometre pursuit Figure skating at the 2010 Winter Olympics – Ladies' singles Speed skating at the 2010 Winter Olympics – Men's 500 metres Figure skating at the 2010 Winter Olympics – Pair skating Ski jumping at the 2010 Winter Olympics Alpine skiing at the 2010 Winter Olympics – Women's downhill Ski jumping at the 2010 Winter Olympics – Large hill individual Alpine skiing at the 2010 Winter Olympics – Women's Super-G Curling at the 2010 Winter Olympics Cross-country skiing at the 2010 Winter Olympics – Women's 30 kilometre classical Speed skating at the 2010 Winter Olympics – Men's 1500 metres Alpine skiing at the 2010 Winter Olympics – Men's giant slalom Biathlon at the 2010 Winter Olympics Nordic combined at the 2010 Winter Olympics Speed skating at the 2010 Winter Olympics – Men's 10000 metres Freestyle skiing at the 2010 Winter Olympics – Men's ski cross Ice hockey at the 2010 Winter Olympics – Men's qualification Short track speed skating at the 2010 Winter Olympics – Women's 3000 metre relay Ice hockey at the 2010 Winter Olympics – Men's team rosters Alpine skiing at the 2010 Winter Olympics – Men's slalom Cross-country skiing at the 2010 Winter Olympics – Women's 15 kilometre pursuit Cross-country skiing at the 2010 Winter Olympics – Men's sprint Speed skating at the 2010 Winter Olympics – Women's team pursuit Biathlon at the 2010 Winter Olympics – Women's sprint Snowboarding at the 2010 Winter Olympics – Women's parallel giant slalom Alpine skiing at the 2010 Winter Olympics – Men's downhill Cross-country skiing at the 2010 Winter Olympics Cross-country skiing at the 2010 Winter Olympics – Women's 10 kilometre freestyle Biathlon at the 2010 Winter Olympics – Men's individual Quadruple jump controversy Short track speed skating at the 2010 Winter Olympics – Women's 500 metres Freestyle skiing at the 2010 Winter Olympics Speed skating at the 2010 Winter Olympics – Men's 1000 metres Biathlon at the 2010 Winter Olympics – Women's pursuit Speed skating at the 2010 Winter Olympics – Men's 5000 metres Short track speed skating at the 2010 Winter Olympics – Women's 1000 metres Cross-country skiing at the 2010 Winter Olympics – Men's team sprint Alpine skiing at the 2010 Winter Olympics – Men's combined Nordic skiing at the 2010 Winter Olympics Freestyle skiing at the 2010 Winter Olympics – Women's ski cross Curling at the 2010 Winter Olympics – Women's tournament Luge at the 2010 Winter Olympics – Doubles Biathlon at the 2010 Winter Olympics – Women's individual Snowboarding at the 2010 Winter Olympics Short track speed skating at the 2010 Winter Olympics – Men's 5000 metre relay Ice hockey at the 2010 Winter Olympics Snowboarding at the 2010 Winter Olympics – Men's halfpipe Speed skating at the 2010 Winter Olympics – Women's 1000 metres Ice hockey at the 2010 Winter Olympics – Men's tournament Speed skating at the 2010 Winter Olympics – Women's 1500 metres Figure skating at the 2010 Winter Olympics Speed skating at the 2010 Winter Olympics – Women's 5000 metres Short track speed skating at the 2010 Winter Olympics – Men's 1500 metres Speed skating at the 2010 Winter Olympics Cross-country skiing at the 2010 Winter Olympics – Women's sprint Biathlon at the 2010 Winter Olympics – Men's sprint Speed skating at the 2010 Winter Olympics – Men's team pursuit Four-man Bobsleigh at the 2010 Winter Olympics Biathlon at the 2010 Winter Olympics – Men's pursuit Snowboarding at the 2010 Winter Olympics – Men's parallel giant slalom Alpine skiing at the 2010 Winter Olympics – Women's giant slalom Curling at the 2010 Winter Olympics – Statistics Short track speed skating at the 2010 Winter Olympics – Women's 1500 metres Skeleton at the 2010 Winter Olympics Figure skating at the 2010 Winter Olympics – Men's singles Skeleton at the 2010 Winter Olympics – Men's Luge at the 2010 Winter Olympics – Men's singles Luge at the 2010 Winter Olympics Skeleton at the 2010 Winter Olympics – Women's Short track speed skating at the 2010 Winter Olympics – Men's 500 metres Alpine skiing at the 2010 Winter Olympics Snowboarding at the 2010 Winter Olympics – Women's halfpipe Freestyle skiing at the 2010 Winter Olympics – Women's moguls Snowboarding at the 2010 Winter Olympics – Women's snowboard cross Ski jumping at the 2010 Winter Olympics – Large hill team Snowboarding at the 2010 Winter Olympics – Men's snowboard cross Bobsleigh at the 2010 Winter Olympics Figure skating at the 2010 Winter Olympics – Qualification Nordic combined at the 2010 Winter Olympics – Team large hill/4 × 5 km Cross-country skiing at the 2010 Winter Olympics – Men's 15 kilometre freestyle Freestyle skiing at the 2010 Winter Olympics – Men's moguls Cross-country skiing at the 2010 Winter Olympics – Women's team sprint Short track speed skating at the 2010 Winter Olympics Biathlon at the 2010 Winter Olympics – Men's mass start Luge at the 2010 Winter Olympics – Women's singles Cross-country skiing at the 2010 Winter Olympics – Men's 4 × 10 kilometre relay Alpine skiing at the 2010 Winter Olympics – Men's Super-G Figure skating at the 2010 Winter Olympics – Ice dancing Speed skating at the 2010 Winter Olympics – Women's 3000 metres Cross-country skiing at the 2010 Winter Olympics – Men's 50 kilometre classical Cross-country skiing at the 2010 Winter Olympics – Women's 4 × 5 kilometre relay Nordic combined at the 2010 Winter Olympics – Individual large hill/10 km Alpine skiing at the 2010 Winter Olympics – Women's combined Speed skating at the 2010 Winter Olympics – Women's 500 metres Biathlon at the 2010 Winter Olympics – Men's relay Biathlon at the 2010 Winter Olympics – Women's relay Freestyle skiing at the 2010 Winter Olympics – Men's aerials Two-man Bobsleigh at the 2010 Winter Olympics Ice hockey at the 2010 Winter Olympics – Women's tournament Alpine skiing at the 2010 Winter Olympics – Women's slalom Two-woman Bobsleigh at the 2010 Winter Olympics Ski jumping at the 2010 Winter Olympics – Normal hill individual
A component of that event sequence are Speed skating at the 2010 Winter Olympics, Speed skating at the 2010 Winter Olympics – Men's 500 metres and Biathlon at the 2010 Winter Olympics – Women's sprint
Speed skating at the 2010 Winter Olympics Speed skating at the 2010 Winter Olympics – Men's 500 metres Biathlon at the 2010 Winter Olympics – Women's sprint
action filter_type
action find_reverse
entity 2010 Winter Olympics
relation part of
type sporting event
[{'concept': 'sporting event'}, 'part of', '2010 Winter Olympics']
SELECT DISTINCT ?o WHERE { ?o property:part_of resource:2010_Winter_Olympics . ?o rdf:type ontology:sporting_event }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q6581072 Q6581097
P21
Q502895
USER
Which people have male and female as the sex ?
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P21 resource:Q6581097 . ?r property:P21 resource:Q6581072 }
female male
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:gender resource:male . ?r property:gender resource:female }
[]
common name
Q18559837 Q16582167 Q242700 Q2379965 Q12966459 Q17364527 Q528434 Q6702791 Q22095108 Q17621841
SYSTEM
Some of them are Mirabel Topham, Jorge Garate, Naima Mora, Thomas Beatie, Kim Ju-yeong, Ángel Tejeda, Daniele Hypólito, Luli Bitri, Taofik Adegbite, Marta Linares
Q12966459 Q17600942 Q3260705 Q5874237 Q21391750 Q17225819 Q5972494 Q16941580 Q16733519 Q11622868 Q6702791 Q10263785 Q6571041 Q16732132 Q24264223 Q20401379 Q20119921 Q2312612 Q16164967 Q242700 Q6555624 Q12586819 Q23698979 Q17628096 Q22342662 Q525066 Q9544977 Q503007 Q22280111 Q22102078 Q5482749 Q21392153 Q201204 Q10281088 Q442804 Q16767898 Q22570074 Q21601127 Q12403076 Q14432239 Q12734885 Q734662 Q24500675 Q24034956 Q19957341 Q6258596 Q22236117 Q22808784 Q11379959 Q6003690 Q24807469 Q21857402 Q21258362 Q4979792 Q11449790 Q22001922 Q3575012 Q3764762 Q7377573 Q20068820 Q6031433 Q21794041 Q6438624 Q25768293 Q19448005 Q21503040 Q17148031 Q11604340 Q17158335 Q11815936 Q17364527 Q22280435 Q15934058 Q18559837 Q11201210 Q25748324 Q459844 Q2379965 Q3291942 Q17621841 Q20980163 Q453573 Q11531266 Q4255661 Q22675675 Q528434 Q237726 Q74813 Q2668396 Q298423 Q22073991 Q503575 Q23416861 Q15807938 Q19357604 Q18049905 Q26921704 Q2882250 Q18346977 Q2939204 Q3809749 Q12685049 Q21033490 Q5856706 Q16165783 Q5569499 Q12613187 Q7849225 Q16582167 Q19543099 Q16865281 Q22095108 Q12872947 Q15433626
AND((c(Q502895),P21,Q6581097), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q6581097
relation P21
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] have male and female as the sex
{'AND': [[{'concept': 'Q502895'}, 'P21', 'Q6581097'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P21 resource:Q6581097 . ?r property:P21 resource:Q6581072 }
Kim Ju-yeong Gert Portael Louis-Marie Autissier Hom Nguyen George Mather Luer Hajime Hyakkoku Leeland Dayton Mooring Antonio Merayo Ali Nuhu Kodai Fujii Luli Bitri Dalmau IV de Rocabertí Diemut Theato Robin Mathews Milko Tokola Hakima El Haite Lee Parkhill Floris Meydam Ivan Almeida Naima Mora Hana Shezifi Gilgun Elmo Jankari Rafeef Ziadah Magdalena Mayr Liss Eriksson Lilly Wachowski Andreja Pejić Yengkhom Roma Letebrhan Haylay Gebreslasea Francis Wheatley Jian-Huan Yang Dana International Fenedy Masauvakalo Anna Grodzka Chanmi Elisabeth Ullmann Marina Lampraki-Plaka Ángel Martínez Ortega Benny Motzfeldt Maria-Magdalena Zaharescu Joan de Munchensi Amadeus Serafini Jaki Irvine Tinne De Caigny John Spaulding Colombe Marcasiano Annegret Kuhn Kazue Itō María Elena Orantes Kudirat Akhigbe Miska Humaloja Dominique Van Der Straeten Emma Josepha Sparre Terunobu Utsunomiya Suzanne Schulting Zdeněk Koubek Shamshad Begum Rudy Autio Lesya Nikityuk Matthew W. Taylor Jelizaveta Potapova Gaz Beadle Shagdaryn Bira Juan Illas y Vidal Kenneth Neil Maria Espinalt i Font Akira Yoneda Songhaye Petia Stawrewa Ángel Tejeda Sun Vandeth Matsudaira Yoshiko Mirabel Topham Asmik Grigorian K. T. Rama Rao Norah Al Faiz Thomas Beatie Marie-Joseph Charles des Acres de l'Aigle Marta Linares Engel Reimers Vicki Richter Miki Matsumoto Adolfine Therese Leander-Flodin Nikola Jakadofsky Daniele Hypólito Rosalba Carriera Mina Caputo Parinya Charoenphol Chelsea Manning Saalumarada Thimmakka Cesare Nebbia Ivica Mavrenski Elvire De Bruyn Hamda Khamis Stanisława Witekowa Jean-Marie Aleokol Mabieme Jingjing Wang Jan Norback Carlo Guasco Jaiyah Saelua Chew Mei Fun Silke Weitendorf Ingel Fallstedt America Sanchez Glenys Barton Lee Hye-jin Kim Ye-ri Jorge Garate Ionna Stephanopoli Choi Jung-moon Taofik Adegbite Frosso Kiaou Florence Randal Livesay
Mirabel Topham, Jorge Garate, Naima Mora, Thomas Beatie, Kim Ju-yeong, Ángel Tejeda, Daniele Hypólito, Luli Bitri, Taofik Adegbite and Marta Linares have male and female as the sex
Mirabel Topham Jorge Garate Naima Mora Thomas Beatie Kim Ju-yeong Ángel Tejeda Daniele Hypólito Luli Bitri Taofik Adegbite Marta Linares
action filter_type
action intersection
action find_reverse
entity male
relation gender
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'gender', 'male'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:gender resource:male . ?r property:gender resource:female }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can min number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?u ) { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P1303 ?j . ?n rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 } GROUP BY ?j } } . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?q } . FILTER ( ?k = ?u ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?u ) { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:instrument ?j . ?n rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument } GROUP BY ?j } } . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?q } . FILTER ( ?k = ?u ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Min number of people can perform the [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?u ) { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:P1303 ?j . ?n rdf:type ontology:Q502895 . ?j rdf:type ontology:Q34379 } GROUP BY ?j } } . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?y rdf:type ontology:Q502895 } GROUP BY ?q } . FILTER ( ?k = ?u ) }
spoon cajón wind instrument
Min number of people can perform the spoon, cajón and wind instrument
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?u ) { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?g ) WHERE { ?n property:instrument ?j . ?n rdf:type ontology:common_name . ?j rdf:type ontology:musical_instrument } GROUP BY ?j } } . { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?k ) WHERE { ?y property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?y rdf:type ontology:common_name } GROUP BY ?q } . FILTER ( ?k = ?u ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9672
P466
Q811979
USER
Which architectural structures are occupied by 2006 Winter Olympics ?
(c(Q811979),P466,Q9672)
action filter_type
action find_reverse
entity Q9672
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q9672']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q811979 . ?z property:P466 resource:Q9672 }
2006 Winter Olympics
action filter_type
action find_reverse
entity 2006 Winter Olympics
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', '2006 Winter Olympics']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:architectural_structure . ?z property:occupant resource:2006_Winter_Olympics }
[]
architectural structure
Q1393382 Q978030
SYSTEM
Torino Palasport Olimpico, Oval Lingotto
Q1393382 Q978030
(c(Q811979),P466,Q9672)
action filter_type
action find_reverse
entity Q9672
relation P466
type Q811979
[ANSWERS] are occupied by 2006 Winter Olympics
[{'concept': 'Q811979'}, 'P466', 'Q9672']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q811979 . ?z property:P466 resource:Q9672 }
Torino Palasport Olimpico Oval Lingotto
Torino Palasport Olimpico and Oval Lingotto are occupied by 2006 Winter Olympics
Torino Palasport Olimpico Oval Lingotto
action filter_type
action find_reverse
entity 2006 Winter Olympics
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', '2006 Winter Olympics']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:architectural_structure . ?z property:occupant resource:2006_Winter_Olympics }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1393382
P800
Q502895
USER
Which person is accredited with being the author of the notable work that architectural structure ?
(c(Q502895),P800,Q1393382)
action filter_type
action find_reverse
entity Q1393382
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q1393382']
SELECT DISTINCT ?b WHERE { ?b property:P800 resource:Q1393382 . ?b rdf:type ontology:Q502895 }
Torino Palasport Olimpico
action filter_type
action find_reverse
entity Torino Palasport Olimpico
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Torino Palasport Olimpico']
SELECT DISTINCT ?b WHERE { ?b property:notable_work resource:Torino_Palasport_Olimpico . ?b rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1393382
SYSTEM
Did you mean Torino Palasport Olimpico ?
Q1393382 Q978030
(c(Q502895),P800,Q1393382) (c(Q502895),P800,Q978030)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q1393382'] [{'concept': 'Q502895'}, 'P800', 'Q978030']
SELECT DISTINCT ?b WHERE { ?b property:P800 resource:Q1393382 . ?b rdf:type ontology:Q502895 }
Torino Palasport Olimpico Oval Lingotto
Did you mean Torino Palasport Olimpico ?
Torino Palasport Olimpico
[{'concept': 'common name'}, 'notable work', 'Torino Palasport Olimpico'] [{'concept': 'common name'}, 'notable work', 'Oval Lingotto']
SELECT DISTINCT ?b WHERE { ?b property:notable_work resource:Torino_Palasport_Olimpico . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P800,Q1393382)
[{'concept': 'Q502895'}, 'P800', 'Q1393382']
[{'concept': 'common name'}, 'notable work', 'Torino Palasport Olimpico']
[]
Q317135
SYSTEM
Arata Isozaki
Q317135
(c(Q502895),P800,Q1393382)
action filter_type
action find_reverse
entity Q1393382
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work that architectural structure
[{'concept': 'Q502895'}, 'P800', 'Q1393382']
SELECT DISTINCT ?b WHERE { ?b property:P800 resource:Q1393382 . ?b rdf:type ontology:Q502895 }
Arata Isozaki
Arata Isozaki is accredited with being the author of the notable work that architectural structure
Arata Isozaki
action filter_type
action find_reverse
entity Torino Palasport Olimpico
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Torino Palasport Olimpico']
SELECT DISTINCT ?b WHERE { ?b property:notable_work resource:Torino_Palasport_Olimpico . ?b rdf:type ontology:common_name }
[]