Simple Question (Direct)
Simple Question
Q15725598
P641
Q349
USER
What did Hasse Persson participate in ?
(Q15725598,P641,c(Q349))
action filter_type
action find
entity Q15725598
relation P641
type Q349
['Q15725598', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q15725598 property:P641 ?i . ?i rdf:type ontology:Q349 }
Hasse Persson
action filter_type
action find
entity Hasse Persson
relation sport
type sport
['Hasse Persson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Hasse_Persson property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q15725598,P641,c(Q349))
action filter_type
action find
entity Q15725598
relation P641
type Q349
Hasse Persson participated in [ANSWER]
['Q15725598', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q15725598 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
Hasse Persson participated in association football
association football
action filter_type
action find
entity Hasse Persson
relation sport
type sport
['Hasse Persson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Hasse_Persson property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15725598
P21
Q290
USER
Which sex does Hasse Persson have ?
(Q15725598,P21,c(Q290))
action filter_type
action find
entity Q15725598
relation P21
type Q290
['Q15725598', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q15725598 property:P21 ?m . ?m rdf:type ontology:Q290 }
Hasse Persson
action filter_type
action find
entity Hasse Persson
relation gender
type sex
['Hasse Persson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Hasse_Persson property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15725598,P21,c(Q290))
action filter_type
action find
entity Q15725598
relation P21
type Q290
Hasse Persson has a [ANSWER]
['Q15725598', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q15725598 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
Hasse Persson has a male
male
action filter_type
action find
entity Hasse Persson
relation gender
type sex
['Hasse Persson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Hasse_Persson property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15725598
P106
Q12737077
USER
What is the profession of Hasse Persson ?
(Q15725598,P106,c(Q12737077))
action filter_type
action find
entity Q15725598
relation P106
type Q12737077
['Q15725598', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q15725598 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Hasse Persson
action filter_type
action find
entity Hasse Persson
relation occupation
type occupation
['Hasse Persson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Hasse_Persson property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q15725598,P106,c(Q12737077))
action filter_type
action find
entity Q15725598
relation P106
type Q12737077
The profession of Hasse Persson is an [ANSWER]
['Q15725598', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q15725598 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football player
The profession of Hasse Persson is an association football player
association football player
action filter_type
action find
entity Hasse Persson
relation occupation
type occupation
['Hasse Persson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Hasse_Persson property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15725598
P734
Q82799
USER
Who is associated with Hasse Persson ?
(Q15725598,P734,c(Q82799))
action filter_type
action find
entity Q15725598
relation P734
type Q82799
['Q15725598', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . resource:Q15725598 property:P734 ?k }
Hasse Persson
action filter_type
action find
entity Hasse Persson
relation family name
type name
['Hasse Persson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . resource:Hasse_Persson property:family_name ?k }
[]
name
Q16881132
SYSTEM
Person
Q16881132
(Q15725598,P734,c(Q82799))
action filter_type
action find
entity Q15725598
relation P734
type Q82799
S [ANSWER] is associated with Hasse Persson
['Q15725598', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q82799 . resource:Q15725598 property:P734 ?k }
Person
S Person is associated with Hasse Persson
Person
action filter_type
action find
entity Hasse Persson
relation family name
type name
['Hasse Persson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:name . resource:Hasse_Persson property:family_name ?k }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q35499
P407
Q34770 Q82799
USER
Which languages are greater number of names in than Old Church Slavonic ?
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q35499
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?e ) WHERE { ?h rdf:type ontology:Q34770 . ?c rdf:type ontology:Q82799 . ?c property:P407 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q35499 property:P407 ?f . ?f rdf:type ontology:Q34770 } } . FILTER ( ?e > ?r ) }
Old Church Slavonic
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Old Church Slavonic
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?e ) WHERE { ?h rdf:type ontology:language . ?c rdf:type ontology:name . ?c property:language_of_work_or_name ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Old_Church_Slavonic property:language_of_work_or_name ?f . ?f rdf:type ontology:language } } . FILTER ( ?e > ?r ) }
[]
language name
Q1860 Q397 Q9056
SYSTEM
English, Latin, Czech
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q652 Q35505 Q56982 Q35308
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q35499
relation P407
type Q34770
[ANSWERS] are greater number of names in than Old Church Slavonic
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?e ) WHERE { ?h rdf:type ontology:Q34770 . ?c rdf:type ontology:Q82799 . ?c property:P407 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q35499 property:P407 ?f . ?f rdf:type ontology:Q34770 } } . FILTER ( ?e > ?r ) }
English Armenian Spanish Latin Czech Basque Italian Old Norse language Judaeo-Portuguese Old Irish
English, Latin and Czech are greater number of names in than Old Church Slavonic
English Latin Czech
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Old Church Slavonic
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?c ) AS ?e ) WHERE { ?h rdf:type ontology:language . ?c rdf:type ontology:name . ?c property:language_of_work_or_name ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Old_Church_Slavonic property:language_of_work_or_name ?f . ?f rdf:type ontology:language } } . FILTER ( ?e > ?r ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1860 Q397 Q9056
P37
Q15617994
USER
Which administrative territories have their official language as English, Latin and Czech ?
(c(Q15617994),P37,Q1860) (c(Q15617994),P37,Q397) (c(Q15617994),P37,Q9056)
action union
action filter_type
action find_reverse
entity Q1860
relation P37
type Q15617994
action filter_type
action find_reverse
entity Q397
relation P37
type Q15617994
action filter_type
action find_reverse
entity Q9056
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', 'Q1860'] [{'concept': 'Q15617994'}, 'P37', 'Q397'] [{'concept': 'Q15617994'}, 'P37', 'Q9056']
SELECT DISTINCT ?f WHERE { { ?f property:P37 resource:Q1860 . ?f rdf:type ontology:Q15617994 } UNION { ?f property:P37 resource:Q397 . ?f rdf:type ontology:Q15617994 } }
English Latin Czech
action union
action filter_type
action find_reverse
entity English
relation official language
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Latin
relation official language
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Czech
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'English'] [{'concept': 'designation for an administrative territorial entity'}, 'official language', 'Latin'] [{'concept': 'designation for an administrative territorial entity'}, 'official language', 'Czech']
SELECT DISTINCT ?f WHERE { { ?f property:official_language resource:English . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f property:official_language resource:Latin . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q55 Q953 Q953
SYSTEM
Netherlands for 1st, Zambia for 2nd, 3rd
Q986 Q2003 Q1904 Q963 Q2023 Q760 Q958 Q924 Q928 Q709 Q712 Q710 Q734 Q1020 Q695 Q1036 Q1033 Q1030 Q683 Q686 Q1005 Q1009 Q1013 Q1042 Q1050 Q754 Q34020 Q258 Q242 Q244 Q145 Q672 Q954 Q953 Q953 Q114 Q117 Q1014 Q668 Q678 Q27 Q1037 Q55 Q233 Q1989 Q833 Q1044 Q1951 Q1952 Q843 Q1948 Q1049 Q1979 Q1974 Q784 Q686312 Q213
(c(Q15617994),P37,Q1860) (c(Q15617994),P37,Q397) (c(Q15617994),P37,Q9056)
action union
action filter_type
action find_reverse
entity Q1860
relation P37
type Q15617994
action filter_type
action find_reverse
entity Q397
relation P37
type Q15617994
action filter_type
action find_reverse
entity Q9056
relation P37
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P37', 'Q1860'] [{'concept': 'Q15617994'}, 'P37', 'Q397'] [{'concept': 'Q15617994'}, 'P37', 'Q9056']
SELECT DISTINCT ?f WHERE { { ?f property:P37 resource:Q1860 . ?f rdf:type ontology:Q15617994 } UNION { ?f property:P37 resource:Q397 . ?f rdf:type ontology:Q15617994 } }
Eritrea Newfoundland and Labrador Ontario Botswana Nunavut Saint Lucia South Sudan Tanzania Philippines Marshall Islands Fiji Kiribati Guyana Malawi Palau Uganda Nigeria Namibia Samoa Vanuatu Gambia Cameroon Lesotho Seychelles Swaziland Trinidad and Tobago Niue South Africa Belize Barbados United Kingdom Tuvalu Zimbabwe Zambia Zambia Kenya Ghana Liberia India Tonga Ireland Rwanda Netherlands Malta Saskatchewan Malaysia Sierra Leone Alberta Nova Scotia Pakistan Manitoba Sudan Prince Edward Island British Columbia Dominica Duchy of Amalfi Czech Republic
Netherlands, Zambia and Zambia have their official language as English, Latin and Czech
Netherlands Zambia Zambia
action union
action filter_type
action find_reverse
entity English
relation official language
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Latin
relation official language
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Czech
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'English'] [{'concept': 'designation for an administrative territorial entity'}, 'official language', 'Latin'] [{'concept': 'designation for an administrative territorial entity'}, 'official language', 'Czech']
SELECT DISTINCT ?f WHERE { { ?f property:official_language resource:English . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?f property:official_language resource:Latin . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q55
P740
Q2088357
USER
Which musical ensembles were formed at that administrative territory ?
(c(Q2088357),P740,Q55)
action filter_type
action find_reverse
entity Q55
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q55']
SELECT DISTINCT ?u WHERE { ?u property:P740 resource:Q55 . ?u rdf:type ontology:Q2088357 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Netherlands']
SELECT DISTINCT ?u WHERE { ?u property:location_of_formation resource:Netherlands . ?u rdf:type ontology:musical_ensemble }
[]
musical ensemble
Clarification for simple ques.
Q953
SYSTEM
Did you mean Zambia ?
Q55 Q953 Q953
(c(Q2088357),P740,Q55) (c(Q2088357),P740,Q953) (c(Q2088357),P740,Q953)
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q55'] [{'concept': 'Q2088357'}, 'P740', 'Q953'] [{'concept': 'Q2088357'}, 'P740', 'Q953']
SELECT DISTINCT ?u WHERE { ?u property:P740 resource:Q55 . ?u rdf:type ontology:Q2088357 }
Netherlands Zambia Zambia
Did you mean Zambia ?
Zambia
[{'concept': 'musical ensemble'}, 'location of formation', 'Netherlands'] [{'concept': 'musical ensemble'}, 'location of formation', 'Zambia'] [{'concept': 'musical ensemble'}, 'location of formation', 'Zambia']
SELECT DISTINCT ?u WHERE { ?u property:location_of_formation resource:Netherlands . ?u rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
USER
No, I meant Netherlands. Could you tell me the answer for that?
(c(Q2088357),P740,Q55)
Q55
[{'concept': 'Q2088357'}, 'P740', 'Q55']
[{'concept': 'musical ensemble'}, 'location of formation', 'Netherlands']
[]
Q2177479 Q288918 Q178792
SYSTEM
De Jeugd van Tegenwoordig, Focus, Delain
Q11794159 Q4970926 Q787859 Q178792 Q456791 Q5254413 Q1759163 Q254348 Q1812812 Q2435869 Q1515919 Q477315 Q635013 Q2259411 Q5897824 Q288918 Q3339806 Q2177479 Q18391485
(c(Q2088357),P740,Q55)
action filter_type
action find_reverse
entity Q55
relation P740
type Q2088357
[ANSWERS] were formed at that administrative territory
[{'concept': 'Q2088357'}, 'P740', 'Q55']
SELECT DISTINCT ?u WHERE { ?u property:P740 resource:Q55 . ?u rdf:type ontology:Q2088357 }
Numero Uno Sonic Me Babe (Dutch band) Delain Ambeon Delphian Star One Prostitute Disfigurement Legion of the Damned ReVamp Kingfisher Sky Dance Nation Guilt Machine Djumbo Plaeto Focus Nick Vernier Band De Jeugd van Tegenwoordig NEW ID
De Jeugd van Tegenwoordig, Focus and Delain were formed at that administrative territory
De Jeugd van Tegenwoordig Focus Delain
action filter_type
action find_reverse
entity Netherlands
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Netherlands']
SELECT DISTINCT ?u WHERE { ?u property:location_of_formation resource:Netherlands . ?u rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q55
P6
Q502895
USER
How many people do Netherlands serve as the head of government for ?
(Q55,P6,c(Q502895))
action count
action filter_type
action find
entity Q55
relation P6
type Q502895
['Q55', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ontology:Q502895 . resource:Q55 property:P6 ?i }
Netherlands
action count
action filter_type
action find
entity Netherlands
relation head of government
type common name
['Netherlands', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ontology:common_name . resource:Netherlands property:head_of_government ?i }
[]
common name
SYSTEM
19
Q693053 Q686476 Q159840 Q133386 Q57792 Q345481 Q471204 Q983186 Q380970 Q951705 Q781813 Q736026 Q221411 Q634025 Q719701 Q735519 Q318320 Q318334 Q12769
(Q55,P6,c(Q502895))
action count
action filter_type
action find
entity Q55
relation P6
type Q502895
[ANSWER]
['Q55', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ontology:Q502895 . resource:Q55 property:P6 ?i }
Dirk Jan de Geer Hendrikus Colijn Ruud Lubbers Jan Peter Balkenende Mark Rutte Piet de Jong Barend Biesheuvel Charles Ruijs de Beerenbrouck Jelle Zijlstra Pieter Sjoerds Gerbrandy Jan de Quay Jo Cals Wim Kok Wim Schermerhorn Victor Marijnen Louis Beel Joop den Uyl Dries van Agt Willem Drees
19
action count
action filter_type
action find
entity Netherlands
relation head of government
type common name
['Netherlands', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { ?i rdf:type ontology:common_name . resource:Netherlands property:head_of_government ?i }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q11811
Q502895
USER
And how about El Port de la Selva?
(Q11811,P6,c(Q502895))
action count
action filter_type
action find
entity Q11811
relation P6
type Q502895
['Q11811', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:Q502895 . resource:Q11811 property:P6 ?k }
El Port de la Selva
action count
action filter_type
action find
entity El Port de la Selva
relation head of government
type common name
['El Port de la Selva', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:common_name . resource:El_Port_de_la_Selva property:head_of_government ?k }
[]
common name
SYSTEM
1
(Q11811,P6,c(Q502895))
action count
action filter_type
action find
entity Q11811
relation P6
type Q502895
[ANSWER]
['Q11811', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:Q502895 . resource:Q11811 property:P6 ?k }
1
action count
action filter_type
action find
entity El Port de la Selva
relation head of government
type common name
['El Port de la Selva', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { ?k rdf:type ontology:common_name . resource:El_Port_de_la_Selva property:head_of_government ?k }
[]