Simple Question (Direct)
Simple Question
Q7612332
P106
Q12737077
USER
What do Steve Dahl do for a living ?
(Q7612332,P106,c(Q12737077))
action filter_type
action find
entity Q7612332
relation P106
type Q12737077
['Q7612332', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q7612332 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Steve Dahl
action filter_type
action find
entity Steve Dahl
relation occupation
type occupation
['Steve Dahl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Steve_Dahl property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q36834 Q2722764 Q33999
SYSTEM
composer, radio personality, actor
Q36834 Q2722764 Q33999 Q488205 Q177220
(Q7612332,P106,c(Q12737077))
action filter_type
action find
entity Q7612332
relation P106
type Q12737077
Steve Dahl do for a living as [ANSWERS]
['Q7612332', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q7612332 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
composer radio personality actor singer-songwriter singer
Steve Dahl do for a living as composer, radio personality and actor
composer radio personality actor
action filter_type
action find
entity Steve Dahl
relation occupation
type occupation
['Steve Dahl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Steve_Dahl property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7612332
P19
Q515
USER
Where was Steve Dahl born ?
(Q7612332,P19,c(Q515))
action filter_type
action find
entity Q7612332
relation P19
type Q515
['Q7612332', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q7612332 property:P19 ?o . ?o rdf:type ontology:Q515 }
Steve Dahl
action filter_type
action find
entity Steve Dahl
relation place of birth
type city
['Steve Dahl', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Steve_Dahl property:place_of_birth ?o . ?o rdf:type ontology:city }
[]
city
Q485176
SYSTEM
Pasadena
Q485176
(Q7612332,P19,c(Q515))
action filter_type
action find
entity Q7612332
relation P19
type Q515
Steve Dahl was born in [ANSWER]
['Q7612332', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q7612332 property:P19 ?o . ?o rdf:type ontology:Q515 }
Pasadena
Steve Dahl was born in Pasadena
Pasadena
action filter_type
action find
entity Steve Dahl
relation place of birth
type city
['Steve Dahl', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Steve_Dahl property:place_of_birth ?o . ?o rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7612332
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q485176,P27,c(Q15617994))
action filter_type
action find
entity Q7612332
relation P27
type Q15617994
['Q485176', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q7612332 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Steve Dahl
action filter_type
action find
entity Steve Dahl
relation country of citizenship
type designation for an administrative territorial entity
['Pasadena', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Steve_Dahl property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q485176,P27,c(Q15617994))
action filter_type
action find
entity Q7612332
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q485176', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q7612332 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
The United States of America is the country of citizenship of that person
United States of America
action filter_type
action find
entity Steve Dahl
relation country of citizenship
type designation for an administrative territorial entity
['Pasadena', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Steve_Dahl property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q769
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with less number of administrative territories than Grenada ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?j ) WHERE { ?h rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 . ?h property:P530 ?w } GROUP BY ?h } . FILTER ( ?j < ?q ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:Q1048835 . resource:Q769 property:P530 ?o } } }
Grenada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?j ) WHERE { ?h rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?w } GROUP BY ?h } . FILTER ( ?j < ?q ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Grenada property:diplomatic_relation ?o } } }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q769
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with less number of administrative territories than Grenada
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?j ) WHERE { ?h rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 . ?h property:P530 ?w } GROUP BY ?h } . FILTER ( ?j < ?q ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:Q1048835 . resource:Q769 property:P530 ?o } } }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relations with less number of administrative territories than Grenada
Solomon Islands Papua New Guinea
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Grenada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?j ) WHERE { ?h rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?w } GROUP BY ?h } . FILTER ( ?j < ?q ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Grenada property:diplomatic_relation ?o } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q35
P530
Q1048835 Q15617994
USER
And what about Denmark?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?g ) WHERE { ?d property:P530 ?r . ?d rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { resource:Q35 property:P530 ?k . ?k rdf:type ontology:Q1048835 } } . FILTER ( ?g < ?a ) }
Denmark
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?g ) WHERE { ?d property:diplomatic_relation ?r . ?d rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { resource:Denmark property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity } } . FILTER ( ?g < ?a ) }
[]
political territorial entity designation for an administrative territorial entity
Q664 Q1000 Q769
SYSTEM
New Zealand, Gabon, Grenada
Q1000 Q781 Q778 Q769 Q685 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?g ) WHERE { ?d property:P530 ?r . ?d rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { resource:Q35 property:P530 ?k . ?k rdf:type ontology:Q1048835 } } . FILTER ( ?g < ?a ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea New Zealand Jamaica
New Zealand Gabon Grenada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?g ) WHERE { ?d property:diplomatic_relation ?r . ?d rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { resource:Denmark property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity } } . FILTER ( ?g < ?a ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P27
Q1048835 Q502895
USER
How many political territories are around the same number of people an inhabitant of as that political territory ?
(c(Q502895),P27,c(Q1048835))
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity common name
Comparative|Count over More/Less|Single entity type|Clarification
Q1000
SYSTEM
Did you mean Gabon ?
(c(Q502895),P27,c(Q1048835))
[ANSWER]
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Did you mean Gabon ?
Gabon
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant New Zealand. Could you tell me the answer for that?
(c(Q502895),P27,c(Q1048835))
Q664
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
[]
SYSTEM
65
Q635755 Q668384 Q1000 Q193714 Q1747689 Q746558 Q838261 Q785 Q193619 Q691 Q769 Q685 Q699964 Q763 Q1232887 Q664 Q766 Q22880 Q170361 Q1054923 Q10557 Q5720 Q505610 Q693551 Q13353 Q494354 Q650489 Q781 Q5705 Q757 Q168159 Q5785 Q35 Q109128 Q3306663 Q190959 Q11266977 Q223793 Q3995 Q130842 Q40 Q18221 Q650682 Q778 Q408 Q9676 Q217829 Q100166 Q9648 Q234 Q4040 Q2991382 Q309460 Q129286 Q168651 Q3908 Q9337 Q23635 Q192184 Q25228 Q31747 Q25305 Q79965 Q157070 Q170604
(c(Q502895),P27,c(Q1048835))
[ANSWER]
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Odieta Medellín Gabon Mandatory Palestine Ancient Rome Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Papua New Guinea Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis County of Savoy New Zealand Jamaica Electoral Palatinate Saar British Hong Kong Swabia Valencian Country Flintshire Landgraviate of Hesse-Darmstadt Montserrat Kara-Khanid Khanate Margraviate of Baden Antigua and Barbuda Catalonia Saint Vincent and the Grenadines Anglesey Cayman Islands Denmark Gwynedd Merthyr Tydfil County Borough Transvaal Epirus Kingdom of Etruria Basque Country Greater Lebanon Austria Turks and Caicos Islands Denbighshire The Bahamas Australia Isle of Man Ceredigion Orkney Islands Falkland Islands Flemish Region Aragon County of Provence County of Hainaut British Raj Landgraviate of Hesse-Kassel Galicia Flemish Region Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands Golden Horde County of Flanders New France
65
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4925477
P407
Q34770
USER
What is the language of John ?
(Q4925477,P407,c(Q34770))
action filter_type
action find
entity Q4925477
relation P407
type Q34770
['Q4925477', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q4925477 property:P407 ?l . ?l rdf:type ontology:Q34770 }
John
action filter_type
action find
entity John
relation language of work or name
type language
['John', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:John property:language_of_work_or_name ?l . ?l rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q4925477,P407,c(Q34770))
action filter_type
action find
entity Q4925477
relation P407
type Q34770
The language of John is the [ANSWER]
['Q4925477', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q4925477 property:P407 ?l . ?l rdf:type ontology:Q34770 }
English
The language of John is the English
English
action filter_type
action find
entity John
relation language of work or name
type language
['John', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:John property:language_of_work_or_name ?l . ?l rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4925477
P1533
Q82799
USER
Which name is identical to John ?
(Q4925477,P1533,c(Q82799))
action filter_type
action find
entity Q4925477
relation P1533
type Q82799
['Q4925477', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q4925477 property:P1533 ?k . ?k rdf:type ontology:Q82799 }
John
action filter_type
action find
entity John
relation family name identical to this first name
type name
['John', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:John property:family_name_identical_to_this_first_name ?k . ?k rdf:type ontology:name }
[]
name
Q5281981
SYSTEM
John
Q5281981
(Q4925477,P1533,c(Q82799))
action filter_type
action find
entity Q4925477
relation P1533
type Q82799
[ANSWER] is identical to [ANSWER]
['Q4925477', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q4925477 property:P1533 ?k . ?k rdf:type ontology:Q82799 }
John
John is identical to John
John
action filter_type
action find
entity John
relation family name identical to this first name
type name
['John', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:John property:family_name_identical_to_this_first_name ?k . ?k rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4925477
P1750
Q573
USER
Which day is linked with John ?
(Q4925477,P1750,c(Q573))
action filter_type
action find
entity Q4925477
relation P1750
type Q573
['Q4925477', 'P1750', {'concept': 'Q573'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q573 . resource:Q4925477 property:P1750 ?x }
John
action filter_type
action find
entity John
relation name day
type day
['John', 'name day', {'concept': 'day'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:day . resource:John property:name_day ?x }
[]
day
Q2228
SYSTEM
January 7
Q2228
(Q4925477,P1750,c(Q573))
action filter_type
action find
entity Q4925477
relation P1750
type Q573
[ANSWER] is linked with John
['Q4925477', 'P1750', {'concept': 'Q573'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q573 . resource:Q4925477 property:P1750 ?x }
January 7
January 7 is linked with John
January 7
action filter_type
action find
entity John
relation name day
type day
['John', 'name day', {'concept': 'day'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:day . resource:John property:name_day ?x }
[]