Simple Question (Direct)
Simple Question
Q81770
P21
Q290
USER
Which sex does Majid Majidi have ?
(Q81770,P21,c(Q290))
action filter_type
action find
entity Q81770
relation P21
type Q290
['Q81770', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q81770 property:P21 ?t . ?t rdf:type ontology:Q290 }
Majid Majidi
action filter_type
action find
entity Majid Majidi
relation gender
type sex
['Majid Majidi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Majid_Majidi property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q81770,P21,c(Q290))
action filter_type
action find
entity Q81770
relation P21
type Q290
[ANSWER]
['Q81770', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q81770 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Majid Majidi
relation gender
type sex
['Majid Majidi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Majid_Majidi property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81770
P106
Q28640
USER
What are the job of Majid Majidi ?
(Q81770,P106,c(Q28640))
action filter_type
action find
entity Q81770
relation P106
type Q28640
['Q81770', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?o WHERE { resource:Q81770 property:P106 ?o . ?o rdf:type ontology:Q28640 }
Majid Majidi
action filter_type
action find
entity Majid Majidi
relation occupation
type profession
['Majid Majidi', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?o WHERE { resource:Majid_Majidi property:occupation ?o . ?o rdf:type ontology:profession }
[]
profession
Q2526255 Q3282637 Q28389
SYSTEM
film director, film producer, screenwriter
Q2526255 Q3282637 Q28389
(Q81770,P106,c(Q28640))
action filter_type
action find
entity Q81770
relation P106
type Q28640
[ANSWERS]
['Q81770', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?o WHERE { resource:Q81770 property:P106 ?o . ?o rdf:type ontology:Q28640 }
film director film producer screenwriter
film director film producer screenwriter
action filter_type
action find
entity Majid Majidi
relation occupation
type profession
['Majid Majidi', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?o WHERE { resource:Majid_Majidi property:occupation ?o . ?o rdf:type ontology:profession }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q81770
Q12737077
USER
And which occupation?
(Q81770,P106,c(Q12737077))
action filter_type
action find
entity Q81770
relation P106
type Q12737077
['Q81770', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q81770 property:P106 ?i }
Majid Majidi
action filter_type
action find
entity Majid Majidi
relation occupation
type occupation
['Majid Majidi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Majid_Majidi property:occupation ?i }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q81770,P106,c(Q12737077))
action filter_type
action find
entity Q81770
relation P106
type Q12737077
[ANSWER]
['Q81770', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q81770 property:P106 ?i }
actor
actor
action filter_type
action find
entity Majid Majidi
relation occupation
type occupation
['Majid Majidi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Majid_Majidi property:occupation ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33999
P921
Q15416
USER
Which television programs have that occupation as their principal topic ?
(c(Q15416),P921,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P921
type Q15416
[{'concept': 'Q15416'}, 'P921', 'Q33999']
SELECT DISTINCT ?v WHERE { ?v property:P921 resource:Q33999 . ?v rdf:type ontology:Q15416 }
actor
action filter_type
action find_reverse
entity actor
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'actor']
SELECT DISTINCT ?v WHERE { ?v property:main_subject resource:actor . ?v rdf:type ontology:television_program }
[]
television program
Q2165334 Q7527938 Q15052328
SYSTEM
Romy: Anatomy of a Face, Sir John Mills' Moving Memories, Love, Marilyn
Q5002160 Q7527938 Q15052328 Q14954363 Q16901768 Q2165334
(c(Q15416),P921,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P921
type Q15416
[ANSWERS]
[{'concept': 'Q15416'}, 'P921', 'Q33999']
SELECT DISTINCT ?v WHERE { ?v property:P921 resource:Q33999 . ?v rdf:type ontology:Q15416 }
Buster Keaton: A Hard Act to Follow Sir John Mills' Moving Memories Love, Marilyn When Steptoe Met Son The Baldwin Brothers Romy: Anatomy of a Face
Romy: Anatomy of a Face Sir John Mills' Moving Memories Love, Marilyn
action filter_type
action find_reverse
entity actor
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'actor']
SELECT DISTINCT ?v WHERE { ?v property:main_subject resource:actor . ?v rdf:type ontology:television_program }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q15416 Q15416 Q15961987
USER
Which television programs are exactly 1 television programs and television genres a fork of ?
(c(Q15416)|c(Q15961987),P144,c(Q15416))
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15416
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15961987
value 1
[[{'concept': 'Q15416'}, {'concept': 'Q15961987'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?p WHERE { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } } GROUP BY ?p } . FILTER ( ?d = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation based on
type television program
type television program
action find_reverse_tuple_counts
relation based on
type television program
type television genre
value 1
[[{'concept': 'television program'}, {'concept': 'television genre'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?p WHERE { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:television_program ) ( ontology:television_genre ) } } GROUP BY ?p } . FILTER ( ?d = 1 ) }
[]
television program television program television genre
Q4846058 Q1171033 Q649097
SYSTEM
Aquí no hay quien viva, The Burning Bed, Física o Química
Q16070164 Q2613769 Q3281746 Q5785110 Q732383 Q715723 Q26693418 Q13923 Q697135 Q387943 Q23605 Q139849 Q17091414 Q1190630 Q811225 Q4300886 Q5554642 Q17104814 Q812805 Q1171033 Q7039588 Q24156458 Q2690883 Q2533572 Q732063 Q4351904 Q10292622 Q921889 Q92096 Q6422347 Q484020 Q6011000 Q3962025 Q649097 Q776608 Q1152081 Q207746 Q1571849 Q4543361 Q1286698 Q4846058 Q23829 Q18608849 Q3853767 Q3527986 Q638590 Q13419757 Q3052933 Q1141930 Q2022612 Q3234199 Q922713 Q1193499 Q217246 Q461100 Q1193889 Q6857960 Q7737672 Q679623 Q586491 Q488652 Q1138953 Q3273305 Q245996 Q773202 Q1156862 Q1156866 Q272015 Q1211796 Q3555437 Q7711682 Q3794953 Q6900695 Q1623411 Q375062 Q714753 Q244511 Q617251 Q203707 Q5990513 Q1203502 Q3784600 Q591029 Q1193356 Q23623 Q1190971 Q2367132 Q956446 Q1156849 Q16756 Q202577 Q366375 Q1156853 Q217250 Q1215573 Q53110 Q752365 Q1055984 Q1041541 Q3311904
(c(Q15416)|c(Q15961987),P144,c(Q15416))
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15416
action find_reverse_tuple_counts
relation P144
type Q15416
type Q15961987
value 1
[ANSWERS]
[[{'concept': 'Q15416'}, {'concept': 'Q15961987'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?p WHERE { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15416 ) ( ontology:Q15961987 ) } } GROUP BY ?p } . FILTER ( ?d = 1 ) }
Cordon The Famous Jett Jackson Ti lascio una canzone Contra Las Cuerdas Yes Minister Urusei Yatsura The Way to Dusty Death The Grim Adventures of Billy & Mandy Bayside Shakedown Tiny Toon Adventures Shameless The Suite Life on Deck Nearest and Dearest Chōriki Sentai Ohranger Farmer Wants a Wife I Am a Singer Getting On series 12 of Strictly Come Dancing BeTipul The Burning Bed Sabri Maranan Maniac Real Humans Go Ask Alice Cheers Big Brother Australia Guerra dos Sexos Johnny Tsunami Fort Boyard Knightmare Mr. Bean In Time with You Sirens Física o Química George and Mildred Tensou Sentai Goseiger Ben 10 Halloweentown The Magicians QI Aquí no hay quien viva The Office Angry Birds Stella The Returned Ti Ti Ti Those Who Kill Secret Story Antiques Roadshow Juken Sentai Gekiranger Juukou B-Fighter Hi-5 Whose Line Is It Anyway? Kamen Rider Black RX The Suite Life of Zack & Cody The Restless Years Samurai Sentai Shinkenger Miljoenenjacht The Great British Bake Off Hyakujuu Sentai Gaoranger Denji Sentai Megaranger 49 Days Kyōryū Sentai Zyuranger B-Fighter Kabuto Three's Company Yo soy Betty, la fea Tokusou Sentai Dekaranger Seijuu Sentai Gingaman Ranma ½ The Bridge Anything Goes The $1,000,000 Chance of a Lifetime Robin's Nest Monkey-ed Movies Who's the Boss? Engine Sentai Go-onger The Prisoner Twitches Zyuden Sentai Kyoryuger Kim Possible If I Ruled the World Mahou Sentai Magiranger Hell's Kitchen Ninpuu Sentai Hurricaneger Bakuryū Sentai Abaranger Queer as Folk Mirai Sentai Timeranger Battlestar Galactica The Killing Kyuukyuu Sentai GoGoFive Modern Family Till Death Us Do Part Good Luck Charlie Gekisou Sentai Carranger Camp Rock The Proud Family High School Musical Mad About You House of Cards Yama Onna Kabe Onna Ana y los 7
Aquí no hay quien viva The Burning Bed Física o Química
action equal
action union
action find_reverse_tuple_counts
relation based on
type television program
type television program
action find_reverse_tuple_counts
relation based on
type television program
type television genre
value 1
[[{'concept': 'television program'}, {'concept': 'television genre'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) ?p WHERE { ?r rdf:type ?i . VALUES ( ?i ) { ( ontology:television_program ) ( ontology:television_genre ) } } GROUP BY ?p } . FILTER ( ?d = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2165334
P915
Q1048835
USER
How many political territories were Romy: Anatomy of a Face filmed at ?
(Q2165334,P915,c(Q1048835))
action count
action filter_type
action find
entity Q2165334
relation P915
type Q1048835
['Q2165334', 'P915', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q2165334 property:P915 ?x . ?x rdf:type ontology:Q1048835 }
Romy: Anatomy of a Face
action count
action filter_type
action find
entity Romy: Anatomy of a Face
relation filming location
type political territorial entity
['Romy: Anatomy of a Face', 'filming location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Romy:_Anatomy_of_a_Face property:filming_location ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q40
(Q2165334,P915,c(Q1048835))
action count
action filter_type
action find
entity Q2165334
relation P915
type Q1048835
[ANSWER]
['Q2165334', 'P915', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q2165334 property:P915 ?x . ?x rdf:type ontology:Q1048835 }
Austria
1
action count
action filter_type
action find
entity Romy: Anatomy of a Face
relation filming location
type political territorial entity
['Romy: Anatomy of a Face', 'filming location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Romy:_Anatomy_of_a_Face property:filming_location ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q277527
P915
Q1048835
USER
And how about Love in Paris?
(Q277527,P915,c(Q1048835))
action count
action filter_type
action find
entity Q277527
relation P915
type Q1048835
['Q277527', 'P915', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q277527 property:P915 ?o . ?o rdf:type ontology:Q1048835 }
Love in Paris
action count
action filter_type
action find
entity Love in Paris
relation filming location
type political territorial entity
['Love in Paris', 'filming location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Love_in_Paris property:filming_location ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q40
(Q277527,P915,c(Q1048835))
action count
action filter_type
action find
entity Q277527
relation P915
type Q1048835
[ANSWER]
['Q277527', 'P915', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q277527 property:P915 ?o . ?o rdf:type ontology:Q1048835 }
Austria
1
action count
action filter_type
action find
entity Love in Paris
relation filming location
type political territorial entity
['Love in Paris', 'filming location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Love_in_Paris property:filming_location ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1219423
Q1048835
USER
And also tell me about Lovers Like Us?
(Q1219423,P915,c(Q1048835))
action count
action filter_type
action find
entity Q1219423
relation P915
type Q1048835
['Q1219423', 'P915', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b rdf:type ontology:Q1048835 . resource:Q1219423 property:P915 ?b }
Lovers Like Us
action count
action filter_type
action find
entity Lovers Like Us
relation filming location
type political territorial entity
['Lovers Like Us', 'filming location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Lovers_Like_Us property:filming_location ?b }
[]
political territorial entity
SYSTEM
1
(Q1219423,P915,c(Q1048835))
action count
action filter_type
action find
entity Q1219423
relation P915
type Q1048835
[ANSWER]
['Q1219423', 'P915', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b rdf:type ontology:Q1048835 . resource:Q1219423 property:P915 ?b }
1
action count
action filter_type
action find
entity Lovers Like Us
relation filming location
type political territorial entity
['Lovers Like Us', 'filming location', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b rdf:type ontology:political_territorial_entity . resource:Lovers_Like_Us property:filming_location ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2526255
P39
Q502895
USER
Who held the position of film director ?
(c(Q502895),P39,Q2526255)
action filter_type
action find_reverse
entity Q2526255
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q2526255']
SELECT DISTINCT ?g WHERE { ?g property:P39 resource:Q2526255 . ?g rdf:type ontology:Q502895 }
film director
action filter_type
action find_reverse
entity film director
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'film director']
SELECT DISTINCT ?g WHERE { ?g property:position_held resource:film_director . ?g rdf:type ontology:common_name }
[]
common name
Q20630782 Q3446637 Q21575014
SYSTEM
Émilie Sengelin, Ruddy Pomarède, Mollie Miller
Q20630782 Q3446637 Q21575014
(c(Q502895),P39,Q2526255)
action filter_type
action find_reverse
entity Q2526255
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q2526255']
SELECT DISTINCT ?g WHERE { ?g property:P39 resource:Q2526255 . ?g rdf:type ontology:Q502895 }
Émilie Sengelin Ruddy Pomarède Mollie Miller
Émilie Sengelin Ruddy Pomarède Mollie Miller
action filter_type
action find_reverse
entity film director
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'film director']
SELECT DISTINCT ?g WHERE { ?g property:position_held resource:film_director . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2526255
P425
Q268592
USER
Who has film director as the associated field of occupation ?
(Q2526255,P425,c(Q268592))
action filter_type
action find
entity Q2526255
relation P425
type Q268592
['Q2526255', 'P425', {'concept': 'Q268592'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q268592 . resource:Q2526255 property:P425 ?n }
film director
action filter_type
action find
entity film director
relation field of this occupation
type economic branch
['film director', 'field of this occupation', {'concept': 'economic branch'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:economic_branch . resource:film_director property:field_of_this_occupation ?n }
[]
economic branch
Q932586
SYSTEM
filmmaking
Q932586
(Q2526255,P425,c(Q268592))
action filter_type
action find
entity Q2526255
relation P425
type Q268592
[ANSWER]
['Q2526255', 'P425', {'concept': 'Q268592'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q268592 . resource:Q2526255 property:P425 ?n }
filmmaking
filmmaking
action filter_type
action find
entity film director
relation field of this occupation
type economic branch
['film director', 'field of this occupation', {'concept': 'economic branch'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:economic_branch . resource:film_director property:field_of_this_occupation ?n }
[]