Simple Question (Direct)
Simple Question
Q5535969
P734
Q82799
USER
Who has the surname George A. Johnson ?
(Q5535969,P734,c(Q82799))
action filter_type
action find
entity Q5535969
relation P734
type Q82799
['Q5535969', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q5535969 property:P734 ?u . ?u rdf:type ontology:Q82799 }
George A. Johnson
action filter_type
action find
entity George A. Johnson
relation family name
type name
['George A. Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:George_A._Johnson property:family_name ?u . ?u rdf:type ontology:name }
[]
name
Q1158485
SYSTEM
Johnson
Q1158485
(Q5535969,P734,c(Q82799))
action filter_type
action find
entity Q5535969
relation P734
type Q82799
[ANSWER] has the surname George A. [ANSWER]
['Q5535969', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q5535969 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Johnson
Johnson has the surname George A. Johnson
Johnson
action filter_type
action find
entity George A. Johnson
relation family name
type name
['George A. Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:George_A._Johnson property:family_name ?u . ?u rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5535969
P937
Q5119
USER
Which capital is the work location of George A. Johnson ?
(Q5535969,P937,c(Q5119))
action filter_type
action find
entity Q5535969
relation P937
type Q5119
['Q5535969', 'P937', {'concept': 'Q5119'}]
SELECT DISTINCT ?c WHERE { resource:Q5535969 property:P937 ?c . ?c rdf:type ontology:Q5119 }
George A. Johnson
action filter_type
action find
entity George A. Johnson
relation work location
type capital
['George A. Johnson', 'work location', {'concept': 'capital'}]
SELECT DISTINCT ?c WHERE { resource:George_A._Johnson property:work_location ?c . ?c rdf:type ontology:capital }
[]
capital
Q18013
SYSTEM
Sacramento
Q18013
(Q5535969,P937,c(Q5119))
action filter_type
action find
entity Q5535969
relation P937
type Q5119
[ANSWER] is the work location of George A. Johnson
['Q5535969', 'P937', {'concept': 'Q5119'}]
SELECT DISTINCT ?c WHERE { resource:Q5535969 property:P937 ?c . ?c rdf:type ontology:Q5119 }
Sacramento
Sacramento is the work location of George A. Johnson
Sacramento
action filter_type
action find
entity George A. Johnson
relation work location
type capital
['George A. Johnson', 'work location', {'concept': 'capital'}]
SELECT DISTINCT ?c WHERE { resource:George_A._Johnson property:work_location ?c . ?c rdf:type ontology:capital }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5535969
P1412
Q34770
USER
Which language can George A. Johnson understand ?
(Q5535969,P1412,c(Q34770))
action filter_type
action find
entity Q5535969
relation P1412
type Q34770
['Q5535969', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q5535969 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
George A. Johnson
action filter_type
action find
entity George A. Johnson
relation languages spoken, written or signed
type language
['George A. Johnson', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:George_A._Johnson property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5535969,P1412,c(Q34770))
action filter_type
action find
entity Q5535969
relation P1412
type Q34770
[ANSWER] can George A. Johnson understand
['Q5535969', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q5535969 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
English
English can George A. Johnson understand
English
action filter_type
action find
entity George A. Johnson
relation languages spoken, written or signed
type language
['George A. Johnson', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:George_A._Johnson property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1860 Q5972907
P361
Q5962346
USER
Is that language a component of Central Mande languages ?
(Q1860,P361,Q5972907)
action is_in
entity Q5972907
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q5972907']
ASK WHERE { resource:Q1860 property:P361 resource:Q5972907 }
English Central Mande languages
action is_in
entity Central Mande languages
action find
entity English
relation part of
['English', 'part of', 'Central Mande languages']
ASK WHERE { resource:English property:part_of resource:Central_Mande_languages }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q5972907)
action is_in
entity Q5972907
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q5972907']
ASK WHERE { resource:Q1860 property:P361 resource:Q5972907 }
No
action is_in
entity Central Mande languages
action find
entity English
relation part of
['English', 'part of', 'Central Mande languages']
ASK WHERE { resource:English property:part_of resource:Central_Mande_languages }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q107299
P37
Q34770 Q7275
USER
How many states are more number of languages associated to as the official language than Kingdom of Northumbria ?
(c(Q7275),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q107299
relation P37
type Q7275
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?k ) WHERE { ?f property:P37 ?e . ?f rdf:type ontology:Q7275 . ?e rdf:type ontology:Q34770 } GROUP BY ?f } . FILTER ( ?k > ?p ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Q107299 property:P37 ?h . ?h rdf:type ontology:Q7275 } } }
Kingdom of Northumbria
action count
action greater
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Kingdom of Northumbria
relation official language
type state
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?k ) WHERE { ?f property:official_language ?e . ?f rdf:type ontology:state . ?e rdf:type ontology:language } GROUP BY ?f } . FILTER ( ?k > ?p ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Kingdom_of_Northumbria property:official_language ?h . ?h rdf:type ontology:state } } }
[]
language state
SYSTEM
29
Q105092 Q6083755 Q33946 Q1194329 Q947153 Q172107 Q1152445 Q1617495 Q185488 Q25279 Q4948 Q1322229 Q953432 Q2353425 Q1709185 Q7251405 Q746443 Q1123960 Q1423680 Q1083009 Q26988 Q26273 Q551798 Q19801186 Q188586 Q204920 Q25227 Q744042 Q49683
(c(Q7275),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q107299
relation P37
type Q7275
[ANSWER]
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?k ) WHERE { ?f property:P37 ?e . ?f rdf:type ontology:Q7275 . ?e rdf:type ontology:Q34770 } GROUP BY ?f } . FILTER ( ?k > ?p ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Q107299 property:P37 ?h . ?h rdf:type ontology:Q7275 } } }
Kingdom of Mercia Islands of Refreshment Czechoslovakia Nova Roma Kingdom of Tavolara Polish–Lithuanian Commonwealth Aerican Empire Kingdom of Jaén Volga Bulgaria Curaçao Republic of Venice Enlightenment in Spain Couto Misto Talossa Kingdom of Spain under Joseph Bonaparte Protectorate of Peru Golden Ambrosian Republic Conch Republic Gay and Lesbian Kingdom of the Coral Sea Islands Principality of Wy Cook Islands Sint Maarten Grand Duchy of Flandrensis Liberland Kingdom of Sicily Crown of Aragon Netherlands Antilles Grand Duchy of Avram Grand Duchy of Lithuania
29
action count
action greater
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Kingdom of Northumbria
relation official language
type state
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?k ) WHERE { ?f property:official_language ?e . ?f rdf:type ontology:state . ?e rdf:type ontology:language } GROUP BY ?f } . FILTER ( ?k > ?p ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { resource:Kingdom_of_Northumbria property:official_language ?h . ?h rdf:type ontology:state } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18013
P740
Q2088357
USER
Which musical ensembles were formed at Sacramento ?
(c(Q2088357),P740,Q18013)
action filter_type
action find_reverse
entity Q18013
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q18013']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2088357 . ?l property:P740 resource:Q18013 }
Sacramento
action filter_type
action find_reverse
entity Sacramento
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Sacramento']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:musical_ensemble . ?l property:location_of_formation resource:Sacramento }
[]
musical ensemble
Q3020722 Q838206 Q15053575
SYSTEM
Death Grips, Little Charlie & the Nightcats, Killing the Dream
Q6841265 Q20014465 Q953444 Q3020722 Q838206 Q15053575 Q1103063 Q867390 Q16839573 Q4749792 Q4051718 Q7744405 Q6146524 Q1668656 Q1216920 Q5558418 Q5163192 Q16827697 Q8028035 Q3090295 Q1050910 Q7337017 Q908167
(c(Q2088357),P740,Q18013)
action filter_type
action find_reverse
entity Q18013
relation P740
type Q2088357
Death Grips, Little Charlie & the Nightcats and killing the Dream were formed at Sacramento
[{'concept': 'Q2088357'}, 'P740', 'Q18013']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2088357 . ?l property:P740 resource:Q18013 }
Middle Class Rut Secret Band Team Sleep Death Grips Little Charlie & the Nightcats Killing the Dream Club Nouveau Cimorelli Golden Youth An Angle Trash Talk The Kimberly Trip Jamie's Elsewhere The Revolution Smile Die Trying Giant Squid Consider the Thief Conducting from the Grave With Passion Hella Catherine Riven Embrace the End
Death Grips, Little Charlie & the Nightcats and killing the Dream were formed at Sacramento
Death Grips Little Charlie & the Nightcats Killing the Dream
action filter_type
action find_reverse
entity Sacramento
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Sacramento']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:musical_ensemble . ?l property:location_of_formation resource:Sacramento }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18013
P1444
Q31629
USER
Which type of sport has that capital as its destination point ?
(c(Q31629),P1444,Q3020722) (c(Q31629),P1444,Q838206) (c(Q31629),P1444,Q15053575)
action filter_type
action find_reverse
entity Q18013
relation P1444
type Q31629
[{'concept': 'Q31629'}, 'P1444', 'Q3020722'] [{'concept': 'Q31629'}, 'P1444', 'Q838206'] [{'concept': 'Q31629'}, 'P1444', 'Q15053575']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q31629 . ?b property:P1444 resource:Q18013 }
Sacramento
action filter_type
action find_reverse
entity Sacramento
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', 'Death Grips'] [{'concept': 'type of sport'}, 'destination point', 'Little Charlie & the Nightcats'] [{'concept': 'type of sport'}, 'destination point', 'Killing the Dream']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_sport . ?b property:destination_point resource:Sacramento }
[]
type of sport
Q24070603
SYSTEM
2016 Tour of California, Stage 8
Q24070603
(c(Q31629),P1444,Q3020722) (c(Q31629),P1444,Q838206) (c(Q31629),P1444,Q15053575)
action filter_type
action find_reverse
entity Q18013
relation P1444
type Q31629
[ANSWER] has that capital as its destination point
[{'concept': 'Q31629'}, 'P1444', 'Q3020722'] [{'concept': 'Q31629'}, 'P1444', 'Q838206'] [{'concept': 'Q31629'}, 'P1444', 'Q15053575']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q31629 . ?b property:P1444 resource:Q18013 }
2016 Tour of California, Stage 8
2016 Tour of California, Stage 8 has that capital as its destination point
2016 Tour of California, Stage 8
action filter_type
action find_reverse
entity Sacramento
relation destination point
type type of sport
[{'concept': 'type of sport'}, 'destination point', 'Death Grips'] [{'concept': 'type of sport'}, 'destination point', 'Little Charlie & the Nightcats'] [{'concept': 'type of sport'}, 'destination point', 'Killing the Dream']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_sport . ?b property:destination_point resource:Sacramento }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q24070603 Q3189071 Q7527174
P1346
Q502895
USER
Was that type of sport Julian Alaphilippe and Sir Henry Meux, 2nd Baronet decalred as a champion ?
(Q24070603,P1346,Q3189071) (Q24070603,P1346,Q7527174)
action is_in
entity Q24070603
action intersection
action find_reverse
entity Q3189071
relation P1346
action find_reverse
entity Q7527174
relation P1346
['Q24070603', 'P1346', 'Q3189071'] ['Q24070603', 'P1346', 'Q7527174']
ASK WHERE { resource:Q24070603 property:P1346 resource:Q3189071 . resource:Q24070603 property:P1346 resource:Q7527174 }
2016 Tour of California, Stage 8 Julian Alaphilippe Sir Henry Meux, 2nd Baronet
action is_in
entity 2016 Tour of California, Stage 8
action intersection
action find_reverse
entity Julian Alaphilippe
relation winner
action find_reverse
entity Sir Henry Meux, 2nd Baronet
relation winner
['2016 Tour of California, Stage 8', 'winner', 'Julian Alaphilippe'] ['2016 Tour of California, Stage 8', 'winner', 'Sir Henry Meux, 2nd Baronet']
ASK WHERE { resource:2016_Tour_of_California,_Stage_8 property:winner resource:Julian_Alaphilippe . resource:2016_Tour_of_California,_Stage_8 property:winner resource:Sir_Henry_Meux,_2nd_Baronet }
[]
common name
SYSTEM
YES and NO respectively
(Q24070603,P1346,Q3189071) (Q24070603,P1346,Q7527174)
action is_in
entity Q24070603
action intersection
action find_reverse
entity Q3189071
relation P1346
action find_reverse
entity Q7527174
relation P1346
[ANSWER]
['Q24070603', 'P1346', 'Q3189071'] ['Q24070603', 'P1346', 'Q7527174']
ASK WHERE { resource:Q24070603 property:P1346 resource:Q3189071 . resource:Q24070603 property:P1346 resource:Q7527174 }
YES and NO respectively
action is_in
entity 2016 Tour of California, Stage 8
action intersection
action find_reverse
entity Julian Alaphilippe
relation winner
action find_reverse
entity Sir Henry Meux, 2nd Baronet
relation winner
['2016 Tour of California, Stage 8', 'winner', 'Julian Alaphilippe'] ['2016 Tour of California, Stage 8', 'winner', 'Sir Henry Meux, 2nd Baronet']
ASK WHERE { resource:2016_Tour_of_California,_Stage_8 property:winner resource:Julian_Alaphilippe . resource:2016_Tour_of_California,_Stage_8 property:winner resource:Sir_Henry_Meux,_2nd_Baronet }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5535969 Q2526460 Q62
P20
Q56061
USER
Does George A. Johnson have Kiewit and San Francisco as place of death ?
(Q5535969,P20,Q2526460) (Q5535969,P20,Q62)
action is_in
entity Q5535969
action intersection
action find_reverse
entity Q2526460
relation P20
action find_reverse
entity Q62
relation P20
['Q5535969', 'P20', 'Q2526460'] ['Q5535969', 'P20', 'Q62']
ASK WHERE { resource:Q5535969 property:P20 resource:Q2526460 . resource:Q5535969 property:P20 resource:Q62 }
George A. Johnson Kiewit San Francisco
action is_in
entity George A. Johnson
action intersection
action find_reverse
entity Kiewit
relation place of death
action find_reverse
entity San Francisco
relation place of death
['George A. Johnson', 'place of death', 'Kiewit'] ['George A. Johnson', 'place of death', 'San Francisco']
ASK WHERE { resource:George_A._Johnson property:place_of_death resource:Kiewit . resource:George_A._Johnson property:place_of_death resource:San_Francisco }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q5535969,P20,Q2526460) (Q5535969,P20,Q62)
action is_in
entity Q5535969
action intersection
action find_reverse
entity Q2526460
relation P20
action find_reverse
entity Q62
relation P20
[ANSWER]
['Q5535969', 'P20', 'Q2526460'] ['Q5535969', 'P20', 'Q62']
ASK WHERE { resource:Q5535969 property:P20 resource:Q2526460 . resource:Q5535969 property:P20 resource:Q62 }
NO and YES respectively
action is_in
entity George A. Johnson
action intersection
action find_reverse
entity Kiewit
relation place of death
action find_reverse
entity San Francisco
relation place of death
['George A. Johnson', 'place of death', 'Kiewit'] ['George A. Johnson', 'place of death', 'San Francisco']
ASK WHERE { resource:George_A._Johnson property:place_of_death resource:Kiewit . resource:George_A._Johnson property:place_of_death resource:San_Francisco }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q24070603 Q2301224
P1444
Q56061
USER
How many administrative territories marks the end of journey for 2016 Tour of California, Stage 8 or Yukon Quest ?
(Q24070603,P1444,c(Q56061)) (Q2301224,P1444,c(Q56061))
action count
action union
action filter_type
action find
entity Q24070603
relation P1444
type Q56061
action filter_type
action find
entity Q2301224
relation P1444
type Q56061
['Q24070603', 'P1444', {'concept': 'Q56061'}] ['Q2301224', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { ?u rdf:type ontology:Q56061 . resource:Q24070603 property:P1444 ?u } UNION { resource:Q2301224 property:P1444 ?u . ?u rdf:type ontology:Q56061 } }
2016 Tour of California, Stage 8 Yukon Quest
action count
action union
action filter_type
action find
entity 2016 Tour of California, Stage 8
relation destination point
type administrative territorial entity
action filter_type
action find
entity Yukon Quest
relation destination point
type administrative territorial entity
['2016 Tour of California, Stage 8', 'destination point', {'concept': 'administrative territorial entity'}] ['Yukon Quest', 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { ?u rdf:type ontology:administrative_territorial_entity . resource:2016_Tour_of_California,_Stage_8 property:destination_point ?u } UNION { resource:Yukon_Quest property:destination_point ?u . ?u rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q2058 Q79638
(Q24070603,P1444,c(Q56061)) (Q2301224,P1444,c(Q56061))
action count
action union
action filter_type
action find
entity Q24070603
relation P1444
type Q56061
action filter_type
action find
entity Q2301224
relation P1444
type Q56061
[ANSWER]
['Q24070603', 'P1444', {'concept': 'Q56061'}] ['Q2301224', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { ?u rdf:type ontology:Q56061 . resource:Q24070603 property:P1444 ?u } UNION { resource:Q2301224 property:P1444 ?u . ?u rdf:type ontology:Q56061 } }
Whitehorse Fairbanks
2
action count
action union
action filter_type
action find
entity 2016 Tour of California, Stage 8
relation destination point
type administrative territorial entity
action filter_type
action find
entity Yukon Quest
relation destination point
type administrative territorial entity
['2016 Tour of California, Stage 8', 'destination point', {'concept': 'administrative territorial entity'}] ['Yukon Quest', 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { ?u rdf:type ontology:administrative_territorial_entity . resource:2016_Tour_of_California,_Stage_8 property:destination_point ?u } UNION { resource:Yukon_Quest property:destination_point ?u . ?u rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q850385
P40
Q502895
USER
Which person is a successor of Bryan Forbes ?
(Q850385,P40,c(Q502895))
action filter_type
action find
entity Q850385
relation P40
type Q502895
['Q850385', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q850385 property:P40 ?v . ?v rdf:type ontology:Q502895 }
Bryan Forbes
action filter_type
action find
entity Bryan Forbes
relation child
type common name
['Bryan Forbes', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Bryan_Forbes property:child ?v . ?v rdf:type ontology:common_name }
[]
common name
Q5372800
SYSTEM
Emma Forbes
Q5372800
(Q850385,P40,c(Q502895))
action filter_type
action find
entity Q850385
relation P40
type Q502895
[ANSWER] is a successor of Bryan Forbes
['Q850385', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q850385 property:P40 ?v . ?v rdf:type ontology:Q502895 }
Emma Forbes
Emma Forbes is a successor of Bryan Forbes
Emma Forbes
action filter_type
action find
entity Bryan Forbes
relation child
type common name
['Bryan Forbes', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Bryan_Forbes property:child ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5372800
P371
Q15416
USER
Which television program has that person as its host ?
(c(Q15416),P371,Q5372800)
action filter_type
action find_reverse
entity Q5372800
relation P371
type Q15416
[{'concept': 'Q15416'}, 'P371', 'Q5372800']
SELECT DISTINCT ?w WHERE { ?w property:P371 resource:Q5372800 . ?w rdf:type ontology:Q15416 }
Emma Forbes
action filter_type
action find_reverse
entity Emma Forbes
relation presenter
type television program
[{'concept': 'television program'}, 'presenter', 'Emma Forbes']
SELECT DISTINCT ?w WHERE { ?w property:presenter resource:Emma_Forbes . ?w rdf:type ontology:television_program }
[]
television program
Q3256896
SYSTEM
Live & Kicking
Q3256896
(c(Q15416),P371,Q5372800)
action filter_type
action find_reverse
entity Q5372800
relation P371
type Q15416
[ANSWER] has that person as its host
[{'concept': 'Q15416'}, 'P371', 'Q5372800']
SELECT DISTINCT ?w WHERE { ?w property:P371 resource:Q5372800 . ?w rdf:type ontology:Q15416 }
Live & Kicking
Live & Kicking has that person as its host
Live & Kicking
action filter_type
action find_reverse
entity Emma Forbes
relation presenter
type television program
[{'concept': 'television program'}, 'presenter', 'Emma Forbes']
SELECT DISTINCT ?w WHERE { ?w property:presenter resource:Emma_Forbes . ?w rdf:type ontology:television_program }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q35499
P407
Q34770 Q7725634 Q82799
USER
How many languages are greater number of literary works and names composed in than Old Church Slavonic ?
(c(Q7725634)|c(Q82799),P407,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_multi_types
action find_reverse
entity Q35499
relation P407
type Q7725634
type Q82799
[[{'concept': 'Q7725634'}, {'concept': 'Q82799'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?m WHERE { { ?d property:P407 ?m . ?m rdf:type ontology:Q34770 . ?d rdf:type ontology:Q82799 } UNION { ?m rdf:type ontology:Q34770 . ?d rdf:type ontology:Q7725634 . ?d property:P407 ?m } } GROUP BY ?m } . FILTER ( ?a > ?r ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P407 resource:Q35499 . { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q7725634 ) ( ontology:Q82799 ) } } } } }
Old Church Slavonic
action count
action greater
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_multi_types
action find_reverse
entity Old Church Slavonic
relation language of work or name
type literary work
type name
[[{'concept': 'literary work'}, {'concept': 'name'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?m WHERE { { ?d property:language_of_work_or_name ?m . ?m rdf:type ontology:language . ?d rdf:type ontology:name } UNION { ?m rdf:type ontology:language . ?d rdf:type ontology:literary_work . ?d property:language_of_work_or_name ?m } } GROUP BY ?m } . FILTER ( ?a > ?r ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:language_of_work_or_name resource:Old_Church_Slavonic . { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:literary_work ) ( ontology:name ) } } } } }
[]
language literary work name
SYSTEM
11
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q56982 Q35308
(c(Q7725634)|c(Q82799),P407,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_multi_types
action find_reverse
entity Q35499
relation P407
type Q7725634
type Q82799
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q82799'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?m WHERE { { ?d property:P407 ?m . ?m rdf:type ontology:Q34770 . ?d rdf:type ontology:Q82799 } UNION { ?m rdf:type ontology:Q34770 . ?d rdf:type ontology:Q7725634 . ?d property:P407 ?m } } GROUP BY ?m } . FILTER ( ?a > ?r ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P407 resource:Q35499 . { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q7725634 ) ( ontology:Q82799 ) } } } } }
English Armenian Spanish Latin Czech Basque classical Chinese Italian Old Norse language Judaeo-Portuguese Old Irish
11
action count
action greater
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_multi_types
action find_reverse
entity Old Church Slavonic
relation language of work or name
type literary work
type name
[[{'concept': 'literary work'}, {'concept': 'name'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) ?m WHERE { { ?d property:language_of_work_or_name ?m . ?m rdf:type ontology:language . ?d rdf:type ontology:name } UNION { ?m rdf:type ontology:language . ?d rdf:type ontology:literary_work . ?d property:language_of_work_or_name ?m } } GROUP BY ?m } . FILTER ( ?a > ?r ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:language_of_work_or_name resource:Old_Church_Slavonic . { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:literary_work ) ( ontology:name ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q21161942
P407
Q34770 Q7725634 Q82799
USER
And also tell me about Serbian written in Cyrillic?
(c(Q7725634)|c(Q82799),P407,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_multi_types
action find_reverse
entity Q21161942
relation P407
type Q7725634
type Q82799
[[{'concept': 'Q7725634'}, {'concept': 'Q82799'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?d ) WHERE { VALUES ( ?u ) { ( ontology:Q7725634 ) ( ontology:Q82799 ) } . ?x rdf:type ?u } GROUP BY ?b } . FILTER ( ?d > ?v ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P407 resource:Q21161942 . { { ?p rdf:type ontology:Q7725634 } UNION { ?p rdf:type ontology:Q82799 } } } } }
Serbian written in Cyrillic
action count
action greater
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_multi_types
action find_reverse
entity Serbian written in Cyrillic
relation language of work or name
type literary work
type name
[[{'concept': 'literary work'}, {'concept': 'name'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?d ) WHERE { VALUES ( ?u ) { ( ontology:literary_work ) ( ontology:name ) } . ?x rdf:type ?u } GROUP BY ?b } . FILTER ( ?d > ?v ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:language_of_work_or_name resource:Serbian_written_in_Cyrillic . { { ?p rdf:type ontology:literary_work } UNION { ?p rdf:type ontology:name } } } } }
[]
language literary work name
SYSTEM
11
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q56982 Q35308
(c(Q7725634)|c(Q82799),P407,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_multi_types
action find_reverse
entity Q21161942
relation P407
type Q7725634
type Q82799
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q82799'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?d ) WHERE { VALUES ( ?u ) { ( ontology:Q7725634 ) ( ontology:Q82799 ) } . ?x rdf:type ?u } GROUP BY ?b } . FILTER ( ?d > ?v ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P407 resource:Q21161942 . { { ?p rdf:type ontology:Q7725634 } UNION { ?p rdf:type ontology:Q82799 } } } } }
English Armenian Spanish Latin Czech Basque classical Chinese Italian Old Norse language Judaeo-Portuguese Old Irish
11
action count
action greater
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_multi_types
action find_reverse
entity Serbian written in Cyrillic
relation language of work or name
type literary work
type name
[[{'concept': 'literary work'}, {'concept': 'name'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?d ) WHERE { VALUES ( ?u ) { ( ontology:literary_work ) ( ontology:name ) } . ?x rdf:type ?u } GROUP BY ?b } . FILTER ( ?d > ?v ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:language_of_work_or_name resource:Serbian_written_in_Cyrillic . { { ?p rdf:type ontology:literary_work } UNION { ?p rdf:type ontology:name } } } } }
[]