Simple Question (Direct)
Simple Question
Q1240069
P106
Q12737077
USER
What are the job of Donald Lindsay Galbreath ?
(Q1240069,P106,c(Q12737077))
action filter_type
action find
entity Q1240069
relation P106
type Q12737077
['Q1240069', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1240069 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Donald Lindsay Galbreath
action filter_type
action find
entity Donald Lindsay Galbreath
relation occupation
type occupation
['Donald Lindsay Galbreath', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Donald_Lindsay_Galbreath property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q516463 Q27349
SYSTEM
heraldist, dentist
Q516463 Q27349
(Q1240069,P106,c(Q12737077))
action filter_type
action find
entity Q1240069
relation P106
type Q12737077
The job of Donald Lindsay Galbreath are a [ANSWERS]
['Q1240069', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1240069 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
heraldist dentist
The job of Donald Lindsay Galbreath are a heraldist and dentist
heraldist dentist
action filter_type
action find
entity Donald Lindsay Galbreath
relation occupation
type occupation
['Donald Lindsay Galbreath', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Donald_Lindsay_Galbreath property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q516463
P425
Q5962346
USER
Which classification scheme has heraldist as the associated field of occupation ?
(Q516463,P425,c(Q5962346))
action filter_type
action find
entity Q516463
relation P425
type Q5962346
['Q516463', 'P425', {'concept': 'Q5962346'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q5962346 . resource:Q516463 property:P425 ?z }
heraldist
action filter_type
action find
entity heraldist
relation field of this occupation
type classification scheme
['heraldist', 'field of this occupation', {'concept': 'classification scheme'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:classification_scheme . resource:heraldist property:field_of_this_occupation ?z }
[]
classification scheme
Q18336
SYSTEM
heraldry
Q18336
(Q516463,P425,c(Q5962346))
action filter_type
action find
entity Q516463
relation P425
type Q5962346
In [ANSWER] has heraldist as the associated field of occupation
['Q516463', 'P425', {'concept': 'Q5962346'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q5962346 . resource:Q516463 property:P425 ?z }
heraldry
In heraldry has heraldist as the associated field of occupation
heraldry
action filter_type
action find
entity heraldist
relation field of this occupation
type classification scheme
['heraldist', 'field of this occupation', {'concept': 'classification scheme'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:classification_scheme . resource:heraldist property:field_of_this_occupation ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11858202
Q5962346
USER
And also tell me about medical specialist?
(Q11858202,P425,c(Q5962346))
action filter_type
action find
entity Q11858202
relation P425
type Q5962346
['Q11858202', 'P425', {'concept': 'Q5962346'}]
SELECT DISTINCT ?m WHERE { resource:Q11858202 property:P425 ?m . ?m rdf:type ontology:Q5962346 }
medical specialist
action filter_type
action find
entity medical specialist
relation field of this occupation
type classification scheme
['medical specialist', 'field of this occupation', {'concept': 'classification scheme'}]
SELECT DISTINCT ?m WHERE { resource:medical_specialist property:field_of_this_occupation ?m . ?m rdf:type ontology:classification_scheme }
[]
classification scheme
Q930752
SYSTEM
medical specialty
Q930752
(Q11858202,P425,c(Q5962346))
action filter_type
action find
entity Q11858202
relation P425
type Q5962346
[ANSWER]
['Q11858202', 'P425', {'concept': 'Q5962346'}]
SELECT DISTINCT ?m WHERE { resource:Q11858202 property:P425 ?m . ?m rdf:type ontology:Q5962346 }
medical specialty
medical specialty
action filter_type
action find
entity medical specialist
relation field of this occupation
type classification scheme
['medical specialist', 'field of this occupation', {'concept': 'classification scheme'}]
SELECT DISTINCT ?m WHERE { resource:medical_specialist property:field_of_this_occupation ?m . ?m rdf:type ontology:classification_scheme }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q930752
P361
Q336
USER
What is that classification scheme a component of ?
(Q930752,P361,c(Q336))
action filter_type
action find
entity Q930752
relation P361
type Q336
['Q930752', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?s WHERE { resource:Q930752 property:P361 ?s . ?s rdf:type ontology:Q336 }
medical specialty
action filter_type
action find
entity medical specialty
relation part of
type science
['medical specialty', 'part of', {'concept': 'science'}]
SELECT DISTINCT ?s WHERE { resource:medical_specialty property:part_of ?s . ?s rdf:type ontology:science }
[]
science
Q11190
SYSTEM
medicine
Q11190
(Q930752,P361,c(Q336))
action filter_type
action find
entity Q930752
relation P361
type Q336
That classification scheme a component of is p [ANSWER]
['Q930752', 'P361', {'concept': 'Q336'}]
SELECT DISTINCT ?s WHERE { resource:Q930752 property:P361 ?s . ?s rdf:type ontology:Q336 }
medicine
That classification scheme a component of is p medicine
medicine
action filter_type
action find
entity medical specialty
relation part of
type science
['medical specialty', 'part of', {'concept': 'science'}]
SELECT DISTINCT ?s WHERE { resource:medical_specialty property:part_of ?s . ?s rdf:type ontology:science }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27349
P417
Q502895
USER
Which person is the patron saint of dentist ?
(Q27349,P417,c(Q502895))
action filter_type
action find
entity Q27349
relation P417
type Q502895
['Q27349', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q27349 property:P417 ?t . ?t rdf:type ontology:Q502895 }
dentist
action filter_type
action find
entity dentist
relation patron saint
type common name
['dentist', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:dentist property:patron_saint ?t . ?t rdf:type ontology:common_name }
[]
common name
Q232427
SYSTEM
Saint Apollonia
Q232427
(Q27349,P417,c(Q502895))
action filter_type
action find
entity Q27349
relation P417
type Q502895
[ANSWER] is the patron saint of dentist
['Q27349', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q27349 property:P417 ?t . ?t rdf:type ontology:Q502895 }
Saint Apollonia
Saint Apollonia is the patron saint of dentist
Saint Apollonia
action filter_type
action find
entity dentist
relation patron saint
type common name
['dentist', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:dentist property:patron_saint ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q232427
P2348
Q3024240
USER
Which former country did that person belong to ?
(Q232427,P2348,c(Q3024240))
action filter_type
action find
entity Q232427
relation P2348
type Q3024240
['Q232427', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?v WHERE { resource:Q232427 property:P2348 ?v . ?v rdf:type ontology:Q3024240 }
Saint Apollonia
action filter_type
action find
entity Saint Apollonia
relation period
type former country
['Saint Apollonia', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?v WHERE { resource:Saint_Apollonia property:period ?v . ?v rdf:type ontology:former_country }
[]
former country
Q2277
SYSTEM
Roman Empire
Q2277
(Q232427,P2348,c(Q3024240))
action filter_type
action find
entity Q232427
relation P2348
type Q3024240
That person belonged to the [ANSWER]
['Q232427', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?v WHERE { resource:Q232427 property:P2348 ?v . ?v rdf:type ontology:Q3024240 }
Roman Empire
That person belonged to the Roman Empire
Roman Empire
action filter_type
action find
entity Saint Apollonia
relation period
type former country
['Saint Apollonia', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?v WHERE { resource:Saint_Apollonia property:period ?v . ?v rdf:type ontology:former_country }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q173424
P122
Q28108 Q3024240
USER
How many political systems best describe the type of government of lesser number of former countries than autocracy ?
(c(Q3024240),P122,c(Q28108))
action count
action less
action find_reverse_tuple_counts
relation P122
type Q28108
type Q3024240
action count
action filter_type
action find_reverse
entity Q173424
relation P122
type Q3024240
[{'concept': 'Q3024240'}, 'P122', {'concept': 'Q28108'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:P122 ?h . ?h rdf:type ontology:Q28108 . ?k rdf:type ontology:Q3024240 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P122 resource:Q173424 . ?j rdf:type ontology:Q3024240 } } . FILTER ( ?v < ?e ) }
autocracy
action count
action less
action find_reverse_tuple_counts
relation basic form of government
type political system
type former country
action count
action filter_type
action find_reverse
entity autocracy
relation basic form of government
type former country
[{'concept': 'former country'}, 'basic form of government', {'concept': 'political system'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:basic_form_of_government ?h . ?h rdf:type ontology:political_system . ?k rdf:type ontology:former_country } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:basic_form_of_government resource:autocracy . ?j rdf:type ontology:former_country } } . FILTER ( ?v < ?e ) }
[]
political system former country
SYSTEM
2
Q79751 Q3446302
(c(Q3024240),P122,c(Q28108))
action count
action less
action find_reverse_tuple_counts
relation P122
type Q28108
type Q3024240
action count
action filter_type
action find_reverse
entity Q173424
relation P122
type Q3024240
[ANSWER]
[{'concept': 'Q3024240'}, 'P122', {'concept': 'Q28108'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:P122 ?h . ?h rdf:type ontology:Q28108 . ?k rdf:type ontology:Q3024240 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P122 resource:Q173424 . ?j rdf:type ontology:Q3024240 } } . FILTER ( ?v < ?e ) }
oligarchy royalty
2
action count
action less
action find_reverse_tuple_counts
relation basic form of government
type political system
type former country
action count
action filter_type
action find_reverse
entity autocracy
relation basic form of government
type former country
[{'concept': 'former country'}, 'basic form of government', {'concept': 'political system'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?v ) WHERE { ?k property:basic_form_of_government ?h . ?h rdf:type ontology:political_system . ?k rdf:type ontology:former_country } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:basic_form_of_government resource:autocracy . ?j rdf:type ontology:former_country } } . FILTER ( ?v < ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1240069
P20
Q56061
USER
Where did Donald Lindsay Galbreath die ?
(Q1240069,P20,c(Q56061))
action filter_type
action find
entity Q1240069
relation P20
type Q56061
['Q1240069', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1240069 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Donald Lindsay Galbreath
action filter_type
action find
entity Donald Lindsay Galbreath
relation place of death
type administrative territorial entity
['Donald Lindsay Galbreath', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Donald_Lindsay_Galbreath property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q1240069,P20,c(Q56061))
action filter_type
action find
entity Q1240069
relation P20
type Q56061
Donald Lindsay Galbreath died in [ANSWER]
['Q1240069', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1240069 property:P20 ?m . ?m rdf:type ontology:Q56061 }
London
Donald Lindsay Galbreath died in London
London
action filter_type
action find
entity Donald Lindsay Galbreath
relation place of death
type administrative territorial entity
['Donald Lindsay Galbreath', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Donald_Lindsay_Galbreath property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2424491
Q56061
USER
And how about Thomas Hackney?
(Q2424491,P20,c(Q56061))
action filter_type
action find
entity Q2424491
relation P20
type Q56061
['Q2424491', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q2424491 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Thomas Hackney
action filter_type
action find
entity Thomas Hackney
relation place of death
type administrative territorial entity
['Thomas Hackney', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Thomas_Hackney property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41819
SYSTEM
Kansas City
Q41819
(Q2424491,P20,c(Q56061))
action filter_type
action find
entity Q2424491
relation P20
type Q56061
[ANSWER]
['Q2424491', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q2424491 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Kansas City
Kansas City
action filter_type
action find
entity Thomas Hackney
relation place of death
type administrative territorial entity
['Thomas Hackney', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Thomas_Hackney property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q41819 Q496080
P190
Q515
USER
Is Kadoma sister town of that administrative territory ?
(Q41819,P190,Q496080)
action is_in
entity Q496080
action find
entity Q41819
relation P190
['Q41819', 'P190', 'Q496080']
ASK WHERE { resource:Q41819 property:P190 resource:Q496080 }
Kansas City Kadoma
action is_in
entity Kadoma
action find
entity Kansas City
relation sister city
['Kansas City', 'sister city', 'Kadoma']
ASK WHERE { resource:Kansas_City property:sister_city resource:Kadoma }
[]
city
SYSTEM
NO
(Q41819,P190,Q496080)
action is_in
entity Q496080
action find
entity Q41819
relation P190
[ANSWER]
['Q41819', 'P190', 'Q496080']
ASK WHERE { resource:Q41819 property:P190 resource:Q496080 }
No
action is_in
entity Kadoma
action find
entity Kansas City
relation sister city
['Kansas City', 'sister city', 'Kadoma']
ASK WHERE { resource:Kansas_City property:sister_city resource:Kadoma }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q838948 Q2342494
USER
Which occupations were discussed in min number of works of art and collectables ?
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?b ) { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?n ) WHERE { { ?x property:P921 ?i . ?i rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q838948 } UNION { ?i rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q2342494 . ?x property:P921 ?i } } GROUP BY ?i } } . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?q ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?c rdf:type ?q } GROUP BY ?j } . FILTER ( ?m = ?b ) }
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?b ) { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?n ) WHERE { { ?x property:main_subject ?i . ?i rdf:type ontology:occupation . ?x rdf:type ontology:work_of_art } UNION { ?i rdf:type ontology:occupation . ?x rdf:type ontology:collectable . ?x property:main_subject ?i } } GROUP BY ?i } } . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?q ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?c rdf:type ?q } GROUP BY ?j } . FILTER ( ?m = ?b ) }
[]
occupation work of art collectable
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q9045502 Q2666591 Q5185440 Q765778 Q3809586 Q3315094 Q622807 Q131512 Q1708232 Q2094335 Q842782 Q378622 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q618536 Q14128148 Q814356 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q486839 Q510373 Q899758 Q19185341 Q23810528 Q2306431 Q15958185 Q654291 Q483501 Q152002 Q1114448 Q16533 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q838811 Q219477 Q1006696 Q639669 Q732358 Q17143199 Q384593 Q372436 Q182436 Q361593 Q1856798 Q16707842
(c(Q838948)|c(Q2342494),P921,c(Q12737077))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
[ANSWERS] were discussed in min number of works of art and collectables
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?b ) { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?n ) WHERE { { ?x property:P921 ?i . ?i rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q838948 } UNION { ?i rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q2342494 . ?x property:P921 ?i } } GROUP BY ?i } } . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?q ) { ( ontology:Q838948 ) ( ontology:Q2342494 ) } . ?c rdf:type ?q } GROUP BY ?j } . FILTER ( ?m = ?b ) }
praetor member of the Parliament of Norway Chair of the Federal Reserve Crime scene cleanup organist Wikipedian in Residence Prime Minister of Hungary seiyū farmer medallist United States Attorney detective racing driver Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates candidate gridiron football player call girl political commissar Fletcher Christian double agent member of the Lok Sabha soldier member of parliament Lord High Steward violist Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver Deputy to the Dáil artist pastor cartoonist judge caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor peasant missionary United States federal judge musician Nomarch medical examiner police officer statesman librarian police officer baseball umpire Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were discussed in min number of works of art and collectables
Fletcher Christian farmer librarian
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?n ) AS ?b ) { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?n ) WHERE { { ?x property:main_subject ?i . ?i rdf:type ontology:occupation . ?x rdf:type ontology:work_of_art } UNION { ?i rdf:type ontology:occupation . ?x rdf:type ontology:collectable . ?x property:main_subject ?i } } GROUP BY ?i } } . { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?m ) WHERE { VALUES ( ?q ) { ( ontology:work_of_art ) ( ontology:collectable ) } . ?c rdf:type ?q } GROUP BY ?j } . FILTER ( ?m = ?b ) }
[]