Simple Question (Direct)
Simple Question
Q912573
P19
Q56061
USER
Which administrative territory was Brian Lochore born in ?
(Q912573,P19,c(Q56061))
action filter_type
action find
entity Q912573
relation P19
type Q56061
['Q912573', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q912573 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Brian Lochore
action filter_type
action find
entity Brian Lochore
relation place of birth
type administrative territorial entity
['Brian Lochore', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Brian_Lochore property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1223916
SYSTEM
Masterton
Q1223916
(Q912573,P19,c(Q56061))
action filter_type
action find
entity Q912573
relation P19
type Q56061
Brian Lochore was born in [ANSWER]
['Q912573', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q912573 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Masterton
Brian Lochore was born in Masterton
Masterton
action filter_type
action find
entity Brian Lochore
relation place of birth
type administrative territorial entity
['Brian Lochore', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Brian_Lochore property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1223916
P1427
Q31629
USER
Which types of sport start at that administrative territory ?
(c(Q31629),P1427,Q1223916)
action filter_type
action find_reverse
entity Q1223916
relation P1427
type Q31629
[{'concept': 'Q31629'}, 'P1427', 'Q1223916']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q31629 . ?c property:P1427 resource:Q1223916 }
Masterton
action filter_type
action find_reverse
entity Masterton
relation start point
type type of sport
[{'concept': 'type of sport'}, 'start point', 'Masterton']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:type_of_sport . ?c property:start_point resource:Masterton }
[]
type of sport
Q22132648 Q22132651 Q22132650
SYSTEM
2016 New Zealand Cycle Classic, Stage 1, 2016 New Zealand Cycle Classic, Stage 4, 2016 New Zealand Cycle Classic, Stage 3
Q22132652 Q22132651 Q22132650 Q22132648 Q22132649
(c(Q31629),P1427,Q1223916)
action filter_type
action find_reverse
entity Q1223916
relation P1427
type Q31629
[ANSWERS]
[{'concept': 'Q31629'}, 'P1427', 'Q1223916']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q31629 . ?c property:P1427 resource:Q1223916 }
2016 New Zealand Cycle Classic, Stage 5 2016 New Zealand Cycle Classic, Stage 4 2016 New Zealand Cycle Classic, Stage 3 2016 New Zealand Cycle Classic, Stage 1 2016 New Zealand Cycle Classic, Stage 2
2016 New Zealand Cycle Classic, Stage 1, 2016 New Zealand Cycle Classic, Stage 4 and 2016 New Zealand Cycle Classic, Stage 3 start at that administrative territory
2016 New Zealand Cycle Classic, Stage 1 2016 New Zealand Cycle Classic, Stage 4 2016 New Zealand Cycle Classic, Stage 3
action filter_type
action find_reverse
entity Masterton
relation start point
type type of sport
[{'concept': 'type of sport'}, 'start point', 'Masterton']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:type_of_sport . ?c property:start_point resource:Masterton }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7729377 Q22132650
P161 P1346
Q502895
USER
Which people were the winner of 2016 New Zealand Cycle Classic, Stage 3 or were casted in The Deal ?
OR((Q22132650,P1346,c(Q502895)), (Q7729377,P161,c(Q502895)))
action filter_type
action union
action find
entity Q22132650
relation P1346
action find
entity Q7729377
relation P161
type Q502895
{'OR': [['Q22132650', 'P1346', {'concept': 'Q502895'}], ['Q7729377', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q22132650 property:P1346 ?c } UNION { resource:Q7729377 property:P161 ?c } } . ?c rdf:type ontology:Q502895 }
The Deal 2016 New Zealand Cycle Classic, Stage 3
action filter_type
action union
action find
entity 2016 New Zealand Cycle Classic, Stage 3
relation winner
action find
entity The Deal
relation cast member
type common name
{'OR': [['2016 New Zealand Cycle Classic, Stage 3', 'winner', {'concept': 'common name'}], ['The Deal', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:2016_New_Zealand_Cycle_Classic,_Stage_3 property:winner ?c } UNION { resource:The_Deal property:cast_member ?c } } . ?c rdf:type ontology:common_name }
[]
common name
Q7649867 Q5675225 Q5392676 Q1393963 Q16616782 Q5998407 Q27645592 Q5831371 Q5955900 Q22248616
SYSTEM
Some of them are Susú Pecoraro, Andrea Tenuta, Guillermo Marín, Federico Luppi, Pascual Pellicciotta, Mario Alarcón, José María López, Emilio Vidal, Julio de Grazia, Ryan Thomas
Q725547 Q5675225 Q22248616 Q5998407 Q5392676 Q5492906 Q3899353 Q1393963 Q27645592 Q16558086 Q16616782 Q5893015 Q27644598 Q5955900 Q7649867 Q5831371
OR((Q22132650,P1346,c(Q502895)), (Q7729377,P161,c(Q502895)))
action filter_type
action union
action find
entity Q22132650
relation P1346
action find
entity Q7729377
relation P161
type Q502895
[ANSWERS] were the winner of 2016 New Zealand Cycle Classic, Stage 3 or were casted in The Deal
{'OR': [['Q22132650', 'P1346', {'concept': 'Q502895'}], ['Q7729377', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q22132650 property:P1346 ?c } UNION { resource:Q7729377 property:P161 ?c } } . ?c rdf:type ontology:Q502895 }
Kristian House Andrea Tenuta Ryan Thomas Mario Alarcón Guillermo Marín Rodolfo Ranni Pepe Monje Federico Luppi José María López Dora Prince Pascual Pellicciotta Haydée Padilla Jorge Ochoa Julio de Grazia Susú Pecoraro Emilio Vidal
Susú Pecoraro, Andrea Tenuta, Guillermo Marín, Federico Luppi, Pascual Pellicciotta, Mario Alarcón, José María López, Emilio Vidal, Julio de Grazia and Ryan Thomas were the winner of 2016 New Zealand Cycle Classic, Stage 3 or were casted in The Deal
Susú Pecoraro Andrea Tenuta Guillermo Marín Federico Luppi Pascual Pellicciotta Mario Alarcón José María López Emilio Vidal Julio de Grazia Ryan Thomas
action filter_type
action union
action find
entity 2016 New Zealand Cycle Classic, Stage 3
relation winner
action find
entity The Deal
relation cast member
type common name
{'OR': [['2016 New Zealand Cycle Classic, Stage 3', 'winner', {'concept': 'common name'}], ['The Deal', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:2016_New_Zealand_Cycle_Classic,_Stage_3 property:winner ?c } UNION { resource:The_Deal property:cast_member ?c } } . ?c rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27645592
P1412
Q34770
USER
Which language can that person understand ?
(Q27645592,P1412,c(Q34770))
action filter_type
action find
entity Q27645592
relation P1412
type Q34770
['Q27645592', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q27645592 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
José María López
action filter_type
action find
entity José María López
relation languages spoken, written or signed
type language
['José María López', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:José_María_López property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Clarification for simple ques.
Q5392676
SYSTEM
Did you mean Guillermo Marín ?
Q7649867 Q5675225 Q5392676 Q1393963 Q16616782 Q5998407 Q27645592 Q5831371 Q5955900 Q22248616
(Q7649867,P1412,c(Q34770)) (Q5675225,P1412,c(Q34770)) (Q5392676,P1412,c(Q34770)) (Q1393963,P1412,c(Q34770)) (Q16616782,P1412,c(Q34770)) (Q5998407,P1412,c(Q34770)) (Q27645592,P1412,c(Q34770)) (Q5831371,P1412,c(Q34770)) (Q5955900,P1412,c(Q34770)) (Q22248616,P1412,c(Q34770))
[ANSWER]
['Q7649867', 'P1412', {'concept': 'Q34770'}] ['Q5675225', 'P1412', {'concept': 'Q34770'}] ['Q5392676', 'P1412', {'concept': 'Q34770'}] ['Q1393963', 'P1412', {'concept': 'Q34770'}] ['Q16616782', 'P1412', {'concept': 'Q34770'}] ['Q5998407', 'P1412', {'concept': 'Q34770'}] ['Q27645592', 'P1412', {'concept': 'Q34770'}] ['Q5831371', 'P1412', {'concept': 'Q34770'}] ['Q5955900', 'P1412', {'concept': 'Q34770'}] ['Q22248616', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q27645592 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Susú Pecoraro Andrea Tenuta Guillermo Marín Federico Luppi Pascual Pellicciotta Mario Alarcón José María López Emilio Vidal Julio de Grazia Ryan Thomas
Did you mean Guillermo Marín ?
Guillermo Marín
['Susú Pecoraro', 'languages spoken, written or signed', {'concept': 'language'}] ['Andrea Tenuta', 'languages spoken, written or signed', {'concept': 'language'}] ['Guillermo Marín', 'languages spoken, written or signed', {'concept': 'language'}] ['Federico Luppi', 'languages spoken, written or signed', {'concept': 'language'}] ['Pascual Pellicciotta', 'languages spoken, written or signed', {'concept': 'language'}] ['Mario Alarcón', 'languages spoken, written or signed', {'concept': 'language'}] ['José María López', 'languages spoken, written or signed', {'concept': 'language'}] ['Emilio Vidal', 'languages spoken, written or signed', {'concept': 'language'}] ['Julio de Grazia', 'languages spoken, written or signed', {'concept': 'language'}] ['Ryan Thomas', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:José_María_López property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Simple Question (Coreferenced)
USER
No, I meant José María López. Could you tell me the answer for that?
(Q27645592,P1412,c(Q34770))
Q27645592
['Q27645592', 'P1412', {'concept': 'Q34770'}]
['José María López', 'languages spoken, written or signed', {'concept': 'language'}]
[]
Q1321
SYSTEM
Spanish
Q1321
(Q27645592,P1412,c(Q34770))
action filter_type
action find
entity Q27645592
relation P1412
type Q34770
That person can understand in [ANSWER]
['Q27645592', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q27645592 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Spanish
That person can understand in Spanish
Spanish
action filter_type
action find
entity José María López
relation languages spoken, written or signed
type language
['José María López', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:José_María_López property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1223916
P1444
Q22348500
USER
Which cycling race class finally halts at Masterton ?
(c(Q22348500),P1444,Q1223916)
action filter_type
action find_reverse
entity Q1223916
relation P1444
type Q22348500
[{'concept': 'Q22348500'}, 'P1444', 'Q1223916']
SELECT DISTINCT ?r WHERE { ?r property:P1444 resource:Q1223916 . ?r rdf:type ontology:Q22348500 }
Masterton
action filter_type
action find_reverse
entity Masterton
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', 'Masterton']
SELECT DISTINCT ?r WHERE { ?r property:destination_point resource:Masterton . ?r rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
Q22132642
SYSTEM
2016 New Zealand Cycle Classic
Q22132642
(c(Q22348500),P1444,Q1223916)
action filter_type
action find_reverse
entity Q1223916
relation P1444
type Q22348500
[ANSWER] finally halts at Masterton
[{'concept': 'Q22348500'}, 'P1444', 'Q1223916']
SELECT DISTINCT ?r WHERE { ?r property:P1444 resource:Q1223916 . ?r rdf:type ontology:Q22348500 }
2016 New Zealand Cycle Classic
2016 New Zealand Cycle Classic finally halts at Masterton
2016 New Zealand Cycle Classic
action filter_type
action find_reverse
entity Masterton
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', 'Masterton']
SELECT DISTINCT ?r WHERE { ?r property:destination_point resource:Masterton . ?r rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1223916
P931
Q62447
USER
What city is served by that administrative territory ?
(c(Q62447),P931,Q22132642)
action filter_type
action find_reverse
entity Q1223916
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q22132642']
SELECT DISTINCT ?j WHERE { ?j property:P931 resource:Q1223916 . ?j rdf:type ontology:Q62447 }
Masterton
action filter_type
action find_reverse
entity Masterton
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', '2016 New Zealand Cycle Classic']
SELECT DISTINCT ?j WHERE { ?j property:place_served_by_airport resource:Masterton . ?j rdf:type ontology:aerodrome }
[]
aerodrome
Q3207533
SYSTEM
Hood Aerodrome
Q3207533
(c(Q62447),P931,Q22132642)
action filter_type
action find_reverse
entity Q1223916
relation P931
type Q62447
[ANSWER] is served by that administrative territory
[{'concept': 'Q62447'}, 'P931', 'Q22132642']
SELECT DISTINCT ?j WHERE { ?j property:P931 resource:Q1223916 . ?j rdf:type ontology:Q62447 }
Hood Aerodrome
Hood Aerodrome is served by that administrative territory
Hood Aerodrome
action filter_type
action find_reverse
entity Masterton
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', '2016 New Zealand Cycle Classic']
SELECT DISTINCT ?j WHERE { ?j property:place_served_by_airport resource:Masterton . ?j rdf:type ontology:aerodrome }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q465830 Q5998407
P161
Q838948
USER
Which works of art have Mario Alarcón or Sharmila Tagore as actor ?
OR((c(Q838948),P161,Q5998407), (c(Q838948),P161,Q465830))
action filter_type
action union
action find_reverse
entity Q5998407
relation P161
action find_reverse
entity Q465830
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q5998407'], [{'concept': 'Q838948'}, 'P161', 'Q465830']]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?n ) { ( resource:Q5998407 ) ( resource:Q465830 ) } . ?h property:P161 ?n } . ?h rdf:type ontology:Q838948 }
Sharmila Tagore Mario Alarcón
action filter_type
action union
action find_reverse
entity Mario Alarcón
relation cast member
action find_reverse
entity Sharmila Tagore
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Mario Alarcón'], [{'concept': 'work of art'}, 'cast member', 'Sharmila Tagore']]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?n ) { ( resource:Mario_Alarcón ) ( resource:Sharmila_Tagore ) } . ?h property:cast_member ?n } . ?h rdf:type ontology:work_of_art }
[]
work of art
Q15714723 Q7285534 Q18126857 Q4770901 Q10998279 Q5226860 Q918629 Q7635214 Q5264135 Q7504582
SYSTEM
Some of them are A Hole in the Wall, Raja Rani, Kismat Ki Baazi, Antaheen, Mausam, Dastaan, Waqt, Suhana Safar, Desh Premee, Shubho Mahurat
Q2599013 Q626101 Q18377953 Q5609137 Q624722 Q10956046 Q4663453 Q4555223 Q7504582 Q7285534 Q250418 Q7635214 Q18126857 Q4645267 Q5266514 Q482432 Q1785725 Q5350241 Q5094971 Q851407 Q4828981 Q7006847 Q3224540 Q542698 Q15714723 Q3417218 Q7859663 Q622376 Q639604 Q622380 Q6818866 Q6818865 Q3417254 Q10980838 Q4751706 Q5226860 Q7640622 Q6912911 Q10998279 Q2528045 Q5297271 Q6945940 Q4770901 Q2059136 Q7729377 Q7408420 Q5264135 Q4662706 Q918629 Q2491550 Q3417323 Q3411340 Q369413 Q7428571 Q748851 Q7426902 Q4661027 Q640276 Q4841058 Q10978818 Q960234 Q3423417 Q7462495 Q639639 Q5434677
OR((c(Q838948),P161,Q5998407), (c(Q838948),P161,Q465830))
action filter_type
action union
action find_reverse
entity Q5998407
relation P161
action find_reverse
entity Q465830
relation P161
type Q838948
[ANSWERS] have Mario Alarcón or Sharmila Tagore as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q5998407'], [{'concept': 'Q838948'}, 'P161', 'Q465830']]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?n ) { ( resource:Q5998407 ) ( resource:Q465830 ) } . ?h property:P161 ?n } . ?h rdf:type ontology:Q838948 }
Yakeen Aranyer Din Ratri Jawaani Griha Pravesh Aradhana Yeh Raat Phir Na Aayegi Abar Aranye Amanush Shubho Mahurat Raja Rani Amar Prem Suhana Safar Kismat Ki Baazi 8 x 10 Tasveer Devar An Evening in Paris Mississippi Masala Ek Se Badhkar Ek Chhoti Bahu Namkeen Avishkaar New Delhi Times Anupama Eklavya: The Royal Guard A Hole in the Wall Charitraheen Tyaag The World of Apu Nayak Pather Panchali Mere Humsafar Mere Hamdam Mere Dost Besharam Humsaya Anari Dastaan Sunny Morning Walk Mausam Viruddh... Family Comes First Doosri Dulhan My Love Antaheen Dhadkan The Deal Samaantar Desh Premee Aashiq Awara Waqt Chupke Chupke Daag: A Poem of Love Aamne Samne Mann Sawan Ki Ghata The Secret in Their Eyes Satyakam Aa Gale Lag Jaa Devi Badnam Farishte Maalik Kashmir Ki Kali Safar Shaitaan Seemabaddha Faraar
A Hole in the Wall, Raja Rani, Kismat Ki Baazi, Antaheen, Mausam, Dastaan, Waqt, Suhana Safar, Desh Premee and Shubho Mahurat have Mario Alarcón or Sharmila Tagore as actor
A Hole in the Wall Raja Rani Kismat Ki Baazi Antaheen Mausam Dastaan Waqt Suhana Safar Desh Premee Shubho Mahurat
action filter_type
action union
action find_reverse
entity Mario Alarcón
relation cast member
action find_reverse
entity Sharmila Tagore
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Mario Alarcón'], [{'concept': 'work of art'}, 'cast member', 'Sharmila Tagore']]}
SELECT DISTINCT ?h WHERE { { VALUES ( ?n ) { ( resource:Mario_Alarcón ) ( resource:Sharmila_Tagore ) } . ?h property:cast_member ?n } . ?h rdf:type ontology:work_of_art }
[]