Simple Question (Direct)
Simple Question
Q5498679
P39
Q12737077
USER
Which occupation was a position for which Frederick S. Gibbs was appointed ?
(Q5498679,P39,c(Q12737077))
action filter_type
action find
entity Q5498679
relation P39
type Q12737077
['Q5498679', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q5498679 property:P39 ?c }
Frederick S. Gibbs
action filter_type
action find
entity Frederick S. Gibbs
relation position held
type occupation
['Frederick S. Gibbs', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Frederick_S._Gibbs property:position_held ?c }
[]
occupation
Q18691526
SYSTEM
member of the State Senate of New York
Q18691526
(Q5498679,P39,c(Q12737077))
action filter_type
action find
entity Q5498679
relation P39
type Q12737077
A [ANSWER] was a position for which Frederick S. Gibbs was appointed
['Q5498679', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q5498679 property:P39 ?c }
member of the State Senate of New York
A member of the State Senate of New York was a position for which Frederick S. Gibbs was appointed
member of the State Senate of New York
action filter_type
action find
entity Frederick S. Gibbs
relation position held
type occupation
['Frederick S. Gibbs', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Frederick_S._Gibbs property:position_held ?c }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q326114 Q18691526
P1001 P915
Q852446
USER
Which US administrative territories are judicially linked to member of the State Senate of New York or were the locations of filming True Grit ?
OR((Q18691526,P1001,c(Q852446)), (Q326114,P915,c(Q852446)))
action filter_type
action union
action find
entity Q18691526
relation P1001
action find
entity Q326114
relation P915
type Q852446
{'OR': [['Q18691526', 'P1001', {'concept': 'Q852446'}], ['Q326114', 'P915', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q18691526 property:P1001 ?p } UNION { resource:Q326114 property:P915 ?p } } . ?p rdf:type ontology:Q852446 }
True Grit member of the State Senate of New York
action filter_type
action union
action find
entity member of the State Senate of New York
relation applies to jurisdiction
action find
entity True Grit
relation filming location
type administrative territorial entity of the United States
{'OR': [['member of the State Senate of New York', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}], ['True Grit', 'filming location', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?p WHERE { { { resource:member_of_the_State_Senate_of_New_York property:applies_to_jurisdiction ?p } UNION { resource:True_Grit property:filming_location ?p } } . ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1384 Q1522
SYSTEM
New York, New Mexico
Q1384 Q1522
OR((Q18691526,P1001,c(Q852446)), (Q326114,P915,c(Q852446)))
action filter_type
action union
action find
entity Q18691526
relation P1001
action find
entity Q326114
relation P915
type Q852446
[ANSWERS] are judicially linked to member of the State Senate of New York or were the locations of filming True Grit
{'OR': [['Q18691526', 'P1001', {'concept': 'Q852446'}], ['Q326114', 'P915', {'concept': 'Q852446'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q18691526 property:P1001 ?p } UNION { resource:Q326114 property:P915 ?p } } . ?p rdf:type ontology:Q852446 }
New York New Mexico
New York and New Mexico are judicially linked to member of the State Senate of New York or were the locations of filming True Grit
New York New Mexico
action filter_type
action union
action find
entity member of the State Senate of New York
relation applies to jurisdiction
action find
entity True Grit
relation filming location
type administrative territorial entity of the United States
{'OR': [['member of the State Senate of New York', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}], ['True Grit', 'filming location', {'concept': 'administrative territorial entity of the United States'}]]}
SELECT DISTINCT ?p WHERE { { { resource:member_of_the_State_Senate_of_New_York property:applies_to_jurisdiction ?p } UNION { resource:True_Grit property:filming_location ?p } } . ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P840
Q852446 Q166142 Q15416
USER
Which US administrative territories are more number of applications and television programs set in than that US administrative territory ?
(c(Q166142)|c(Q15416),P840,c(Q852446))
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P840 ?y } UNION { ?x property:P840 ?y } } . ?z rdf:type ontology:Q166142 . ?y rdf:type ontology:Q852446 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?y WHERE { { { ?z property:narrative_location ?y } UNION { ?x property:narrative_location ?y } } . ?z rdf:type ontology:application . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?x rdf:type ontology:television_program }
[]
administrative territorial entity of the United States application television program
Comparative|More/Less|Mult. entity type|Clarification
Q1384
SYSTEM
Did you mean New York ?
(c(Q166142)|c(Q15416),P840,c(Q852446))
[ANSWER]
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P840 ?y } UNION { ?x property:P840 ?y } } . ?z rdf:type ontology:Q166142 . ?y rdf:type ontology:Q852446 . ?x rdf:type ontology:Q15416 }
Did you mean New York ?
New York
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?y WHERE { { { ?z property:narrative_location ?y } UNION { ?x property:narrative_location ?y } } . ?z rdf:type ontology:application . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
USER
No, I meant New Mexico. Could you tell me the answer for that?
(c(Q166142)|c(Q15416),P840,c(Q852446))
Q1522
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
[]
Q1527 Q1439 Q1537
SYSTEM
Minnesota, Texas, Wisconsin
Q724 Q1537 Q1370 Q1439 Q99 Q1527 Q824 Q771 Q812 Q779 Q1408 Q173 Q797
(c(Q166142)|c(Q15416),P840,c(Q852446))
[ANSWERS] are more number of applications and television programs set in than that US administrative territory
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P840 ?y } UNION { ?x property:P840 ?y } } . ?z rdf:type ontology:Q166142 . ?y rdf:type ontology:Q852446 . ?x rdf:type ontology:Q15416 }
Maine Wisconsin Virginia Texas California Minnesota Oregon Massachusetts Florida Connecticut New Jersey Alabama Alaska
Minnesota, Texas and Wisconsin are more number of applications and television programs set in than that US administrative territory
Minnesota Texas Wisconsin
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?y WHERE { { { ?z property:narrative_location ?y } UNION { ?x property:narrative_location ?y } } . ?z rdf:type ontology:application . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?x rdf:type ontology:television_program }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q852446 Q2342494 Q15416
USER
Which US administrative territories are the narrative locations of min number of collectables and television programs ?
(c(Q2342494)|c(Q15416),P840,c(Q852446))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?a WHERE { VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?q rdf:type ?s } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?m WHERE { { ?c property:P840 ?m . ?m rdf:type ontology:Q852446 . ?c rdf:type ontology:Q2342494 } UNION { ?c property:P840 ?m . ?m rdf:type ontology:Q852446 . ?c rdf:type ontology:Q15416 } } GROUP BY ?m } . FILTER ( ?r = ?t ) }
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?a WHERE { VALUES ( ?s ) { ( ontology:collectable ) ( ontology:television_program ) } . ?q rdf:type ?s } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?m WHERE { { ?c property:narrative_location ?m . ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?c rdf:type ontology:collectable } UNION { ?c property:narrative_location ?m . ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?c rdf:type ontology:television_program } } GROUP BY ?m } . FILTER ( ?r = ?t ) }
[]
administrative territorial entity of the United States collectable television program
Q1397 Q1204 Q759
SYSTEM
Ohio, Illinois, New Hampshire
Q1397 Q7886863 Q782 Q1204 Q759 Q14710458 Q4705487 Q16551
(c(Q2342494)|c(Q15416),P840,c(Q852446))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
[ANSWERS] are the narrative locations of min number of collectables and television programs
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?a WHERE { VALUES ( ?s ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?q rdf:type ?s } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?m WHERE { { ?c property:P840 ?m . ?m rdf:type ontology:Q852446 . ?c rdf:type ontology:Q2342494 } UNION { ?c property:P840 ?m . ?m rdf:type ontology:Q852446 . ?c rdf:type ontology:Q15416 } } GROUP BY ?m } . FILTER ( ?r = ?t ) }
Ohio Unionville Hawaii Illinois New Hampshire Esperanza Aladdin, Wyoming Vermont
Ohio, Illinois and New Hampshire are the narrative locations of min number of collectables and television programs
Ohio Illinois New Hampshire
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?d ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?a WHERE { VALUES ( ?s ) { ( ontology:collectable ) ( ontology:television_program ) } . ?q rdf:type ?s } GROUP BY ?a } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) ?m WHERE { { ?c property:narrative_location ?m . ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?c rdf:type ontology:collectable } UNION { ?c property:narrative_location ?m . ?m rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?c rdf:type ontology:television_program } } GROUP BY ?m } . FILTER ( ?r = ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1439
P189
Q502895
USER
Which person was discovered at Texas ?
(c(Q502895),P189,Q1439)
action filter_type
action find_reverse
entity Q1439
relation P189
type Q502895
[{'concept': 'Q502895'}, 'P189', 'Q1439']
SELECT DISTINCT ?a WHERE { ?a property:P189 resource:Q1439 . ?a rdf:type ontology:Q502895 }
Texas
action filter_type
action find_reverse
entity Texas
relation location of discovery
type common name
[{'concept': 'common name'}, 'location of discovery', 'Texas']
SELECT DISTINCT ?a WHERE { ?a property:location_of_discovery resource:Texas . ?a rdf:type ontology:common_name }
[]
common name
Q6509547
SYSTEM
Leanderthal Lady
Q6509547
(c(Q502895),P189,Q1439)
action filter_type
action find_reverse
entity Q1439
relation P189
type Q502895
[ANSWER] was discovered at Texas
[{'concept': 'Q502895'}, 'P189', 'Q1439']
SELECT DISTINCT ?a WHERE { ?a property:P189 resource:Q1439 . ?a rdf:type ontology:Q502895 }
Leanderthal Lady
Leanderthal Lady was discovered at Texas
Leanderthal Lady
action filter_type
action find_reverse
entity Texas
relation location of discovery
type common name
[{'concept': 'common name'}, 'location of discovery', 'Texas']
SELECT DISTINCT ?a WHERE { ?a property:location_of_discovery resource:Texas . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1439
P706
Q8065
USER
Which natural disaster has its location as Texas ?
(c(Q8065),P706,Q1439)
action filter_type
action find_reverse
entity Q1439
relation P706
type Q8065
[{'concept': 'Q8065'}, 'P706', 'Q1439']
SELECT DISTINCT ?w WHERE { ?w property:P706 resource:Q1439 . ?w rdf:type ontology:Q8065 }
Texas
action filter_type
action find_reverse
entity Texas
relation located on terrain feature
type natural disaster
[{'concept': 'natural disaster'}, 'located on terrain feature', 'Texas']
SELECT DISTINCT ?w WHERE { ?w property:located_on_terrain_feature resource:Texas . ?w rdf:type ontology:natural_disaster }
[]
natural disaster
Q6312080
SYSTEM
June 2007 Texas flooding
Q6312080
(c(Q8065),P706,Q1439)
action filter_type
action find_reverse
entity Q1439
relation P706
type Q8065
[ANSWER] has its location as Texas
[{'concept': 'Q8065'}, 'P706', 'Q1439']
SELECT DISTINCT ?w WHERE { ?w property:P706 resource:Q1439 . ?w rdf:type ontology:Q8065 }
June 2007 Texas flooding
June 2007 Texas flooding has its location as Texas
June 2007 Texas flooding
action filter_type
action find_reverse
entity Texas
relation located on terrain feature
type natural disaster
[{'concept': 'natural disaster'}, 'located on terrain feature', 'Texas']
SELECT DISTINCT ?w WHERE { ?w property:located_on_terrain_feature resource:Texas . ?w rdf:type ontology:natural_disaster }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1439
P551
Q502895
USER
Who lives in Texas ?
(c(Q502895),P551,Q1439)
action filter_type
action find_reverse
entity Q1439
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1439']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q1439 . ?z rdf:type ontology:Q502895 }
Texas
action filter_type
action find_reverse
entity Texas
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Texas']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:Texas . ?z rdf:type ontology:common_name }
[]
common name
Q312995 Q787382 Q611672
SYSTEM
Bruce Sterling, Howard Waldrop, Larry McMurtry
Q6084638 Q3776670 Q110930 Q611672 Q215182 Q16010001 Q653290 Q6787501 Q215057 Q21056402 Q4731883 Q19562542 Q3248430 Q425980 Q5531366 Q312995 Q19355480 Q1075247 Q311615 Q1387059 Q25350518 Q2036942 Q1001254 Q787382
(c(Q502895),P551,Q1439)
action filter_type
action find_reverse
entity Q1439
relation P551
type Q502895
[ANSWERS] live in Texas
[{'concept': 'Q502895'}, 'P551', 'Q1439']
SELECT DISTINCT ?z WHERE { ?z property:P551 resource:Q1439 . ?z rdf:type ontology:Q502895 }
Ismael Valenzuela Gretchen Polhemus Robert Curl Larry McMurtry Michael Stipe Harry Reeks John Moore Matilda Coxe Stevenson Rick Perry Agnes Ellen Harris Allen Steen Benjamin Harper Zulfikar Ghose F. Albert Cotton Gene Nichol Bruce Sterling Alan Stevens Oliver Law Thomas Haden Church William E. Moerner Mary Meyers Rosenfield Ted Cruz Buddy Knox Howard Waldrop
Bruce Sterling, Howard Waldrop and Larry McMurtry live in Texas
Bruce Sterling Howard Waldrop Larry McMurtry
action filter_type
action find_reverse
entity Texas
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Texas']
SELECT DISTINCT ?z WHERE { ?z property:residence resource:Texas . ?z rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q787382
P1411
Q618779
USER
What awards do that person have ?
(Q787382,P1411,c(Q618779))
action filter_type
action find
entity Q787382
relation P1411
type Q618779
['Q787382', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q787382 property:P1411 ?j . ?j rdf:type ontology:Q618779 }
Howard Waldrop
action filter_type
action find
entity Howard Waldrop
relation nominated for
type award
['Howard Waldrop', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Howard_Waldrop property:nominated_for ?j . ?j rdf:type ontology:award }
[]
award
Clarification for simple ques.
Q312995
SYSTEM
Did you mean Bruce Sterling ?
Q312995 Q787382 Q611672
(Q312995,P1411,c(Q618779)) (Q787382,P1411,c(Q618779)) (Q611672,P1411,c(Q618779))
[ANSWER]
['Q312995', 'P1411', {'concept': 'Q618779'}] ['Q787382', 'P1411', {'concept': 'Q618779'}] ['Q611672', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q787382 property:P1411 ?j . ?j rdf:type ontology:Q618779 }
Bruce Sterling Howard Waldrop Larry McMurtry
Did you mean Bruce Sterling ?
Bruce Sterling
['Bruce Sterling', 'nominated for', {'concept': 'award'}] ['Howard Waldrop', 'nominated for', {'concept': 'award'}] ['Larry McMurtry', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Howard_Waldrop property:nominated_for ?j . ?j rdf:type ontology:award }
[]
Simple Question (Coreferenced)
USER
No, I meant Howard Waldrop. Could you tell me the answer for that?
(Q787382,P1411,c(Q618779))
Q787382
['Q787382', 'P1411', {'concept': 'Q618779'}]
['Howard Waldrop', 'nominated for', {'concept': 'award'}]
[]
Q936683 Q1341487 Q3405409
SYSTEM
Nebula Award for Best Novelette, Philip K. Dick Award, World Fantasy Award for Best Novella
Q1086189 Q936683 Q1341487 Q610903 Q3405409
(Q787382,P1411,c(Q618779))
action filter_type
action find
entity Q787382
relation P1411
type Q618779
That person have won [ANSWERS]
['Q787382', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { resource:Q787382 property:P1411 ?j . ?j rdf:type ontology:Q618779 }
Nebula Award for Best Novella Nebula Award for Best Novelette Philip K. Dick Award Nebula Award for Best Short Story World Fantasy Award for Best Novella
That person have won Nebula Award for Best Novelette, Philip K. Dick Award and World Fantasy Award for Best Novella
Nebula Award for Best Novelette Philip K. Dick Award World Fantasy Award for Best Novella
action filter_type
action find
entity Howard Waldrop
relation nominated for
type award
['Howard Waldrop', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { resource:Howard_Waldrop property:nominated_for ?j . ?j rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7281588
P1411
Q502895
USER
Were Radoslav Dimitrov nominated for those awards ?
(Q7281588,P1411,Q936683) (Q7281588,P1411,Q1341487) (Q7281588,P1411,Q3405409)
action is_in
entity prev_answer
action find
entity Q7281588
relation P1411
['Q7281588', 'P1411', 'Q936683'] ['Q7281588', 'P1411', 'Q1341487'] ['Q7281588', 'P1411', 'Q3405409']
ASK WHERE { resource:Q7281588 property:P1411 ?k . VALUES ( ?k ) { ( resource:Q1086189 ) ( resource:Q936683 ) ( resource:Q1341487 ) } }
Radoslav Dimitrov
action is_in
entity prev_answer
action find
entity Radoslav Dimitrov
relation nominated for
['Radoslav Dimitrov', 'nominated for', 'Nebula Award for Best Novelette'] ['Radoslav Dimitrov', 'nominated for', 'Philip K. Dick Award'] ['Radoslav Dimitrov', 'nominated for', 'World Fantasy Award for Best Novella']
ASK WHERE { resource:Radoslav_Dimitrov property:nominated_for ?k . VALUES ( ?k ) { ( resource:Nebula_Award_for_Best_Novella ) ( resource:Nebula_Award_for_Best_Novelette ) ( resource:Philip_K._Dick_Award ) } }
[]
common name
SYSTEM
NO
(Q7281588,P1411,Q936683) (Q7281588,P1411,Q1341487) (Q7281588,P1411,Q3405409)
action is_in
entity prev_answer
action find
entity Q7281588
relation P1411
[ANSWER]
['Q7281588', 'P1411', 'Q936683'] ['Q7281588', 'P1411', 'Q1341487'] ['Q7281588', 'P1411', 'Q3405409']
ASK WHERE { resource:Q7281588 property:P1411 ?k . VALUES ( ?k ) { ( resource:Q1086189 ) ( resource:Q936683 ) ( resource:Q1341487 ) } }
No
action is_in
entity prev_answer
action find
entity Radoslav Dimitrov
relation nominated for
['Radoslav Dimitrov', 'nominated for', 'Nebula Award for Best Novelette'] ['Radoslav Dimitrov', 'nominated for', 'Philip K. Dick Award'] ['Radoslav Dimitrov', 'nominated for', 'World Fantasy Award for Best Novella']
ASK WHERE { resource:Radoslav_Dimitrov property:nominated_for ?k . VALUES ( ?k ) { ( resource:Nebula_Award_for_Best_Novella ) ( resource:Nebula_Award_for_Best_Novelette ) ( resource:Philip_K._Dick_Award ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q611672 Q553225
P166
Q1788716
USER
How many military decorations were awarded to Larry McMurtry or Nikolai Berzarin ?
(Q611672,P166,c(Q1788716)) (Q553225,P166,c(Q1788716))
action count
action union
action filter_type
action find
entity Q611672
relation P166
type Q1788716
action filter_type
action find
entity Q553225
relation P166
type Q1788716
['Q611672', 'P166', {'concept': 'Q1788716'}] ['Q553225', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { ?g rdf:type ontology:Q1788716 . resource:Q553225 property:P166 ?g } UNION { resource:Q611672 property:P166 ?g . ?g rdf:type ontology:Q1788716 } }
Larry McMurtry Nikolai Berzarin
action count
action union
action filter_type
action find
entity Larry McMurtry
relation award received
type military decoration
action filter_type
action find
entity Nikolai Berzarin
relation award received
type military decoration
['Larry McMurtry', 'award received', {'concept': 'military decoration'}] ['Nikolai Berzarin', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { ?g rdf:type ontology:military_decoration . resource:Nikolai_Berzarin property:award_received ?g } UNION { resource:Larry_McMurtry property:award_received ?g . ?g rdf:type ontology:military_decoration } }
[]
military decoration
SYSTEM
6
Q1069798 Q278798 Q761641 Q21292820 Q21292821 Q21292816
(Q611672,P166,c(Q1788716)) (Q553225,P166,c(Q1788716))
action count
action union
action filter_type
action find
entity Q611672
relation P166
type Q1788716
action filter_type
action find
entity Q553225
relation P166
type Q1788716
[ANSWER]
['Q611672', 'P166', {'concept': 'Q1788716'}] ['Q553225', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { ?g rdf:type ontology:Q1788716 . resource:Q553225 property:P166 ?g } UNION { resource:Q611672 property:P166 ?g . ?g rdf:type ontology:Q1788716 } }
Medal "For the Defence of Moscow" Medal "For the Victory over Germany in the Great Patriotic War 1941–1945" Medal "For the Capture of Berlin" Order of Suvorov, 1st class Order of Suvorov, 2nd class Order of Kutuzov, 1st class
6
action count
action union
action filter_type
action find
entity Larry McMurtry
relation award received
type military decoration
action filter_type
action find
entity Nikolai Berzarin
relation award received
type military decoration
['Larry McMurtry', 'award received', {'concept': 'military decoration'}] ['Nikolai Berzarin', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { ?g rdf:type ontology:military_decoration . resource:Nikolai_Berzarin property:award_received ?g } UNION { resource:Larry_McMurtry property:award_received ?g . ?g rdf:type ontology:military_decoration } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q787382
P50
Q2342494
USER
Which collectables are Howard Waldrop an author of ?
(c(Q2342494),P50,Q787382)
action filter_type
action find_reverse
entity Q787382
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q787382']
SELECT DISTINCT ?k WHERE { ?k property:P50 resource:Q787382 . ?k rdf:type ontology:Q2342494 }
Howard Waldrop
action filter_type
action find_reverse
entity Howard Waldrop
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Howard Waldrop']
SELECT DISTINCT ?k WHERE { ?k property:author resource:Howard_Waldrop . ?k rdf:type ontology:collectable }
[]
collectable
Q15033988 Q15034311 Q7768583
SYSTEM
A Dozen Tough Jobs, Them Bones (novel), The Texas-Israeli War: 1999
Q15033988 Q15034311 Q7768583
(c(Q2342494),P50,Q787382)
action filter_type
action find_reverse
entity Q787382
relation P50
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P50', 'Q787382']
SELECT DISTINCT ?k WHERE { ?k property:P50 resource:Q787382 . ?k rdf:type ontology:Q2342494 }
A Dozen Tough Jobs Them Bones (novel) The Texas-Israeli War: 1999
Which collectables are Howard Waldrop an author of
A Dozen Tough Jobs Them Bones (novel) The Texas-Israeli War: 1999
action filter_type
action find_reverse
entity Howard Waldrop
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Howard Waldrop']
SELECT DISTINCT ?k WHERE { ?k property:author resource:Howard_Waldrop . ?k rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q787382
P1412
Q34770
USER
Which language does Howard Waldrop speak in ?
(Q787382,P1412,c(Q34770))
action filter_type
action find
entity Q787382
relation P1412
type Q34770
['Q787382', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q34770 . resource:Q787382 property:P1412 ?b }
Howard Waldrop
action filter_type
action find
entity Howard Waldrop
relation languages spoken, written or signed
type language
['Howard Waldrop', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:language . resource:Howard_Waldrop property:languages_spoken,_written_or_signed ?b }
[]
language
Q1860
SYSTEM
English
Q1860
(Q787382,P1412,c(Q34770))
action filter_type
action find
entity Q787382
relation P1412
type Q34770
Howard Waldrop speaks [ANSWER]
['Q787382', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q34770 . resource:Q787382 property:P1412 ?b }
English
Howard Waldrop speaks English
English
action filter_type
action find
entity Howard Waldrop
relation languages spoken, written or signed
type language
['Howard Waldrop', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:language . resource:Howard_Waldrop property:languages_spoken,_written_or_signed ?b }
[]