Simple Question (Direct)
Simple Question
Q1799459
P9
Q6619679
USER
Who has Buffy Summers as thier sibling ?
(Q1799459,P9,c(Q6619679))
action filter_type
action find
entity Q1799459
relation P9
type Q6619679
['Q1799459', 'P9', {'concept': 'Q6619679'}]
SELECT DISTINCT ?u WHERE { resource:Q1799459 property:P9 ?u . ?u rdf:type ontology:Q6619679 }
Buffy Summers
action filter_type
action find
entity Buffy Summers
relation sister
type fictional humanoid
['Buffy Summers', 'sister', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?u WHERE { resource:Buffy_Summers property:sister ?u . ?u rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q2337703
SYSTEM
Dawn Summers
Q2337703
(Q1799459,P9,c(Q6619679))
action filter_type
action find
entity Q1799459
relation P9
type Q6619679
[ANSWER] has Buffy Summers as thier sibling
['Q1799459', 'P9', {'concept': 'Q6619679'}]
SELECT DISTINCT ?u WHERE { resource:Q1799459 property:P9 ?u . ?u rdf:type ontology:Q6619679 }
Dawn Summers
Dawn Summers has Buffy Summers as thier sibling
Dawn Summers
action filter_type
action find
entity Buffy Summers
relation sister
type fictional humanoid
['Buffy Summers', 'sister', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?u WHERE { resource:Buffy_Summers property:sister ?u . ?u rdf:type ontology:fictional_humanoid }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1799459
P40
Q15619164
USER
Which abstract being has Buffy Summers as a child ?
(c(Q15619164),P40,Q1799459)
action filter_type
action find_reverse
entity Q1799459
relation P40
type Q15619164
[{'concept': 'Q15619164'}, 'P40', 'Q1799459']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q1799459 . ?n rdf:type ontology:Q15619164 }
Buffy Summers
action filter_type
action find_reverse
entity Buffy Summers
relation child
type abstract being
[{'concept': 'abstract being'}, 'child', 'Buffy Summers']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Buffy_Summers . ?n rdf:type ontology:abstract_being }
[]
abstract being
Q2715089
SYSTEM
Joyce Summers
Q2715089
(c(Q15619164),P40,Q1799459)
action filter_type
action find_reverse
entity Q1799459
relation P40
type Q15619164
[ANSWER] has Buffy Summers as a child
[{'concept': 'Q15619164'}, 'P40', 'Q1799459']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q1799459 . ?n rdf:type ontology:Q15619164 }
Joyce Summers
Joyce Summers has Buffy Summers as a child
Joyce Summers
action filter_type
action find_reverse
entity Buffy Summers
relation child
type abstract being
[{'concept': 'abstract being'}, 'child', 'Buffy Summers']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Buffy_Summers . ?n rdf:type ontology:abstract_being }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1799459
P27
Q15617994
USER
Which administrative territory is the native country of Buffy Summers ?
(Q1799459,P27,c(Q15617994))
action filter_type
action find
entity Q1799459
relation P27
type Q15617994
['Q1799459', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1799459 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Buffy Summers
action filter_type
action find
entity Buffy Summers
relation country of citizenship
type designation for an administrative territorial entity
['Buffy Summers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Buffy_Summers property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1799459,P27,c(Q15617994))
action filter_type
action find
entity Q1799459
relation P27
type Q15617994
[ANSWER] is the native country of Buffy Summers
['Q1799459', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q1799459 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
United States of America is the native country of Buffy Summers
United States of America
action filter_type
action find
entity Buffy Summers
relation country of citizenship
type designation for an administrative territorial entity
['Buffy Summers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Buffy_Summers property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1799459
P734
Q82799
USER
Who has the surname that abstract being ?
(Q30,P734,c(Q82799))
action filter_type
action find
entity Q1799459
relation P734
type Q82799
['Q30', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q1799459 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Buffy Summers
action filter_type
action find
entity Buffy Summers
relation family name
type name
['United States of America', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Buffy_Summers property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Q16036681
SYSTEM
Summers
Q16036681
(Q30,P734,c(Q82799))
action filter_type
action find
entity Q1799459
relation P734
type Q82799
[ANSWER] has the surname that abstract being
['Q30', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q1799459 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Summers
Summers has the surname that abstract being
Summers
action filter_type
action find
entity Buffy Summers
relation family name
type name
['United States of America', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Buffy_Summers property:family_name ?b . ?b rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2767872 Q1799459
P1441
Q15416
USER
Which television programs do Buffy Summers or Ivo Courtois appear ?
OR((Q1799459,P1441,c(Q15416)), (Q2767872,P1441,c(Q15416)))
action filter_type
action union
action find
entity Q1799459
relation P1441
action find
entity Q2767872
relation P1441
type Q15416
{'OR': [['Q1799459', 'P1441', {'concept': 'Q15416'}], ['Q2767872', 'P1441', {'concept': 'Q15416'}]]}
SELECT DISTINCT ?x WHERE { { ?l property:P1441 ?x . VALUES ( ?l ) { ( resource:Q1799459 ) ( resource:Q2767872 ) } } . ?x rdf:type ontology:Q15416 }
Ivo Courtois Buffy Summers
action filter_type
action union
action find
entity Buffy Summers
relation present in work
action find
entity Ivo Courtois
relation present in work
type television program
{'OR': [['Buffy Summers', 'present in work', {'concept': 'television program'}], ['Ivo Courtois', 'present in work', {'concept': 'television program'}]]}
SELECT DISTINCT ?x WHERE { { ?l property:present_in_work ?x . VALUES ( ?l ) { ( resource:Buffy_Summers ) ( resource:Ivo_Courtois ) } } . ?x rdf:type ontology:television_program }
[]
television program
Q2128714 Q183513 Q212156
SYSTEM
Thuis, Buffy the Vampire Slayer, Angel
Q2128714 Q183513 Q212156
OR((Q1799459,P1441,c(Q15416)), (Q2767872,P1441,c(Q15416)))
action filter_type
action union
action find
entity Q1799459
relation P1441
action find
entity Q2767872
relation P1441
type Q15416
Buffy Summers or Ivo Courtois appear in [ANSWERS]
{'OR': [['Q1799459', 'P1441', {'concept': 'Q15416'}], ['Q2767872', 'P1441', {'concept': 'Q15416'}]]}
SELECT DISTINCT ?x WHERE { { ?l property:P1441 ?x . VALUES ( ?l ) { ( resource:Q1799459 ) ( resource:Q2767872 ) } } . ?x rdf:type ontology:Q15416 }
Thuis Buffy the Vampire Slayer Angel
Buffy Summers or Ivo Courtois appear in Thuis, Buffy the Vampire Slayer and Angel
Thuis Buffy the Vampire Slayer Angel
action filter_type
action union
action find
entity Buffy Summers
relation present in work
action find
entity Ivo Courtois
relation present in work
type television program
{'OR': [['Buffy Summers', 'present in work', {'concept': 'television program'}], ['Ivo Courtois', 'present in work', {'concept': 'television program'}]]}
SELECT DISTINCT ?x WHERE { { ?l property:present_in_work ?x . VALUES ( ?l ) { ( resource:Buffy_Summers ) ( resource:Ivo_Courtois ) } } . ?x rdf:type ontology:television_program }
[]
Clarification
Simple Question|Single Entity|Indirect
Q212156
P449
Q1616075
USER
Which network did that television program originally air in ?
(Q212156,P449,c(Q1616075))
action filter_type
action find
entity Q212156
relation P449
type Q1616075
['Q212156', 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?l WHERE { resource:Q212156 property:P449 ?l . ?l rdf:type ontology:Q1616075 }
Angel
action filter_type
action find
entity Angel
relation original network
type television station
['Angel', 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?l WHERE { resource:Angel property:original_network ?l . ?l rdf:type ontology:television_station }
[]
television station
Clarification for simple ques.
Q183513
SYSTEM
Did you mean Buffy the Vampire Slayer ?
Q2128714 Q183513 Q212156
(Q2128714,P449,c(Q1616075)) (Q183513,P449,c(Q1616075)) (Q212156,P449,c(Q1616075))
[ANSWER]
['Q2128714', 'P449', {'concept': 'Q1616075'}] ['Q183513', 'P449', {'concept': 'Q1616075'}] ['Q212156', 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?l WHERE { resource:Q212156 property:P449 ?l . ?l rdf:type ontology:Q1616075 }
Thuis Buffy the Vampire Slayer Angel
Did you mean Buffy the Vampire Slayer ?
Buffy the Vampire Slayer
['Thuis', 'original network', {'concept': 'television station'}] ['Buffy the Vampire Slayer', 'original network', {'concept': 'television station'}] ['Angel', 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?l WHERE { resource:Angel property:original_network ?l . ?l rdf:type ontology:television_station }
[]
Simple Question (Coreferenced)
USER
No, I meant Angel. Could you tell me the answer for that?
(Q212156,P449,c(Q1616075))
Q212156
['Q212156', 'P449', {'concept': 'Q1616075'}]
['Angel', 'original network', {'concept': 'television station'}]
[]
Q844972
SYSTEM
The WB
Q844972
(Q212156,P449,c(Q1616075))
action filter_type
action find
entity Q212156
relation P449
type Q1616075
Originally that television program aired on [ANSWER]
['Q212156', 'P449', {'concept': 'Q1616075'}]
SELECT DISTINCT ?l WHERE { resource:Q212156 property:P449 ?l . ?l rdf:type ontology:Q1616075 }
The WB
Originally that television program aired on The WB
The WB
action filter_type
action find
entity Angel
relation original network
type television station
['Angel', 'original network', {'concept': 'television station'}]
SELECT DISTINCT ?l WHERE { resource:Angel property:original_network ?l . ?l rdf:type ontology:television_station }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q151885 Q15617994 Q82799
USER
How many names come from around 1 concepts and administrative territories ?
(c(Q82799),P138,c(Q151885)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q151885
action find_tuple_counts
relation P138
type Q82799
type Q15617994
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q151885'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?w WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:Q151885 ) ( ontology:Q15617994 ) } } GROUP BY ?w } . FILTER ( ?e = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type concept
action find_tuple_counts
relation named after
type name
type designation for an administrative territorial entity
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'concept'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?w WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:concept ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?w } . FILTER ( ?e = 1 ) }
[]
concept designation for an administrative territorial entity name
SYSTEM
2
Q13626156 Q24229341
(c(Q82799),P138,c(Q151885)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q151885
action find_tuple_counts
relation P138
type Q82799
type Q15617994
value 1
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q151885'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?w WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:Q151885 ) ( ontology:Q15617994 ) } } GROUP BY ?w } . FILTER ( ?e = 1 ) }
Ackermann Toscano
2
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type concept
action find_tuple_counts
relation named after
type name
type designation for an administrative territorial entity
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'concept'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) ?w WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:concept ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?w } . FILTER ( ?e = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q212156
P361
Q15416
USER
How many television programs are a portion of Angel ?
(c(Q15416),P361,Q212156)
action count
action filter_type
action find_reverse
entity Q212156
relation P361
type Q15416
[{'concept': 'Q15416'}, 'P361', 'Q212156']
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P361 resource:Q212156 . ?j rdf:type ontology:Q15416 }
Angel
action count
action filter_type
action find_reverse
entity Angel
relation part of
type television program
[{'concept': 'television program'}, 'part of', 'Angel']
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:part_of resource:Angel . ?j rdf:type ontology:television_program }
[]
television program
SYSTEM
5
Q2086434 Q2086127 Q430356 Q2086092 Q2086415
(c(Q15416),P361,Q212156)
action count
action filter_type
action find_reverse
entity Q212156
relation P361
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P361', 'Q212156']
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P361 resource:Q212156 . ?j rdf:type ontology:Q15416 }
Angel (season 2) Angel (season 4) Angel (season 1) Angel (season 5) Angel, season 3
5
action count
action filter_type
action find_reverse
entity Angel
relation part of
type television program
[{'concept': 'television program'}, 'part of', 'Angel']
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:part_of resource:Angel . ?j rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q212156
P364
Q34770
USER
Which language was used originally for the creation of that television program ?
action filter_type
action find
entity Q212156
relation P364
type Q34770
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q34770 . resource:Q212156 property:P364 ?v }
Angel
action filter_type
action find
entity Angel
relation original language of work
type language
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:language . resource:Angel property:original_language_of_work ?v }
[]
language
Q1860
SYSTEM
English
Q1860
action filter_type
action find
entity Q212156
relation P364
type Q34770
[ANSWER] was used originally for the creation of that television program
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q34770 . resource:Q212156 property:P364 ?v }
English
English was used originally for the creation of that television program
English
action filter_type
action find
entity Angel
relation original language of work
type language
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:language . resource:Angel property:original_language_of_work ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q212156
P915
Q811430
USER
Which city was that television program filmed on ?
(Q1860,P915,c(Q811430))
action filter_type
action find
entity Q212156
relation P915
type Q811430
['Q1860', 'P915', {'concept': 'Q811430'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q811430 . resource:Q212156 property:P915 ?x }
Angel
action filter_type
action find
entity Angel
relation filming location
type construction
['English', 'filming location', {'concept': 'construction'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:construction . resource:Angel property:filming_location ?x }
[]
construction
Q456685
SYSTEM
Ambassador Hotel
Q456685
(Q1860,P915,c(Q811430))
action filter_type
action find
entity Q212156
relation P915
type Q811430
That television program was filmed at [ANSWER]
['Q1860', 'P915', {'concept': 'Q811430'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q811430 . resource:Q212156 property:P915 ?x }
Ambassador Hotel
That television program was filmed at Ambassador Hotel
Ambassador Hotel
action filter_type
action find
entity Angel
relation filming location
type construction
['English', 'filming location', {'concept': 'construction'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:construction . resource:Angel property:filming_location ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q212156 Q17166095
P364
Q34770
USER
How many languages are the original languages of creation of Angel or Timeline of science fiction ?
(Q212156,P364,c(Q34770)) (Q17166095,P364,c(Q34770))
action count
action union
action filter_type
action find
entity Q212156
relation P364
type Q34770
action filter_type
action find
entity Q17166095
relation P364
type Q34770
['Q212156', 'P364', {'concept': 'Q34770'}] ['Q17166095', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { resource:Q212156 property:P364 ?y . ?y rdf:type ontology:Q34770 } UNION { resource:Q17166095 property:P364 ?y . ?y rdf:type ontology:Q34770 } }
Angel Timeline of science fiction
action count
action union
action filter_type
action find
entity Angel
relation original language of work
type language
action filter_type
action find
entity Timeline of science fiction
relation original language of work
type language
['Angel', 'original language of work', {'concept': 'language'}] ['Timeline of science fiction', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { resource:Angel property:original_language_of_work ?y . ?y rdf:type ontology:language } UNION { resource:Timeline_of_science_fiction property:original_language_of_work ?y . ?y rdf:type ontology:language } }
[]
language
SYSTEM
2
Q397 Q1860
(Q212156,P364,c(Q34770)) (Q17166095,P364,c(Q34770))
action count
action union
action filter_type
action find
entity Q212156
relation P364
type Q34770
action filter_type
action find
entity Q17166095
relation P364
type Q34770
[ANSWER]
['Q212156', 'P364', {'concept': 'Q34770'}] ['Q17166095', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { resource:Q212156 property:P364 ?y . ?y rdf:type ontology:Q34770 } UNION { resource:Q17166095 property:P364 ?y . ?y rdf:type ontology:Q34770 } }
Latin English
2
action count
action union
action filter_type
action find
entity Angel
relation original language of work
type language
action filter_type
action find
entity Timeline of science fiction
relation original language of work
type language
['Angel', 'original language of work', {'concept': 'language'}] ['Timeline of science fiction', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { resource:Angel property:original_language_of_work ?y . ?y rdf:type ontology:language } UNION { resource:Timeline_of_science_fiction property:original_language_of_work ?y . ?y rdf:type ontology:language } }
[]