Simple Question (Direct)
Simple Question
Q1477248
P734
Q82799
USER
Who is associated with Georges Arnaud ?
(Q1477248,P734,c(Q82799))
action filter_type
action find
entity Q1477248
relation P734
type Q82799
['Q1477248', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q1477248 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Georges Arnaud
action filter_type
action find
entity Georges Arnaud
relation family name
type name
['Georges Arnaud', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Georges_Arnaud property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Q4794475
SYSTEM
Arnaud
Q4794475
(Q1477248,P734,c(Q82799))
action filter_type
action find
entity Q1477248
relation P734
type Q82799
[ANSWER] is associated with Georges [ANSWER]
['Q1477248', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q1477248 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Arnaud
Arnaud is associated with Georges Arnaud
Arnaud
action filter_type
action find
entity Georges Arnaud
relation family name
type name
['Georges Arnaud', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Georges_Arnaud property:family_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1477248
P1412
Q34770
USER
Which language can that person read ?
(Q4794475,P1412,c(Q34770))
action filter_type
action find
entity Q1477248
relation P1412
type Q34770
['Q4794475', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q1477248 property:P1412 ?h . ?h rdf:type ontology:Q34770 }
Georges Arnaud
action filter_type
action find
entity Georges Arnaud
relation languages spoken, written or signed
type language
['Arnaud', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Georges_Arnaud property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q4794475,P1412,c(Q34770))
action filter_type
action find
entity Q1477248
relation P1412
type Q34770
That person can read the [ANSWER]
['Q4794475', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q1477248 property:P1412 ?h . ?h rdf:type ontology:Q34770 }
Spanish
That person can read the Spanish
Spanish
action filter_type
action find
entity Georges Arnaud
relation languages spoken, written or signed
type language
['Arnaud', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Georges_Arnaud property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1321 Q2064079
P1412
Q502895
USER
Does Leonardo Rodríguez Alcaine speak that language ?
(Q2064079,P1412,Q1321)
action is_in
entity Q1321
action find
entity Q2064079
relation P1412
['Q2064079', 'P1412', 'Q1321']
ASK WHERE { resource:Q2064079 property:P1412 resource:Q1321 }
Spanish Leonardo Rodríguez Alcaine
action is_in
entity Spanish
action find
entity Leonardo Rodríguez Alcaine
relation languages spoken, written or signed
['Leonardo Rodríguez Alcaine', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Leonardo_Rodríguez_Alcaine property:languages_spoken,_written_or_signed resource:Spanish }
[]
common name
SYSTEM
YES
(Q2064079,P1412,Q1321)
action is_in
entity Q1321
action find
entity Q2064079
relation P1412
[ANSWER]
['Q2064079', 'P1412', 'Q1321']
ASK WHERE { resource:Q2064079 property:P1412 resource:Q1321 }
Yes
action is_in
entity Spanish
action find
entity Leonardo Rodríguez Alcaine
relation languages spoken, written or signed
['Leonardo Rodríguez Alcaine', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Leonardo_Rodríguez_Alcaine property:languages_spoken,_written_or_signed resource:Spanish }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q11703
P37
Q34770 Q56061
USER
Which administrative territories designates around the same number of languages as their official language as United States Virgin Islands ?
(c(Q56061),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q11703
relation P37
type Q56061
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?u ) WHERE { ?p property:P37 ?x . ?x rdf:type ontology:Q34770 . ?p rdf:type ontology:Q56061 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Q11703 property:P37 ?e . ?e rdf:type ontology:Q56061 } } . FILTER ( ?u = ?a ) }
United States Virgin Islands
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity United States Virgin Islands
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?u ) WHERE { ?p property:official_language ?x . ?x rdf:type ontology:language . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:United_States_Virgin_Islands property:official_language ?e . ?e rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?u = ?a ) }
[]
language administrative territorial entity
Q334 Q11959 Q7024
SYSTEM
Singapore, Alicante, Lugano
Q2414585 Q5813 Q68449 Q668625 Q277708 Q660999 Q6029 Q16644 Q16641 Q11703 Q1014671 Q25528 Q2604700 Q2395382 Q123709 Q2214906 Q334 Q26 Q2532285 Q11935 Q1353 Q14452 Q677935 Q26180 Q16635 Q4264 Q25230 Q49192 Q67986 Q623277 Q2499687 Q69041 Q3947670 Q668239 Q58337 Q334577 Q2217474 Q660974 Q64044 Q11959 Q1025278 Q179313 Q2215147 Q7024 Q7122288 Q67130 Q244207 Q1026296 Q2215401
(c(Q56061),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q56061
type Q34770
action count
action filter_type
action find
entity Q11703
relation P37
type Q56061
[ANSWERS] designate around the same number of languages as their official language as United States Virgin Islands
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?u ) WHERE { ?p property:P37 ?x . ?x rdf:type ontology:Q34770 . ?p rdf:type ontology:Q56061 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Q11703 property:P37 ?e . ?e rdf:type ontology:Q56061 } } . FILTER ( ?u = ?a ) }
Agarak Canary Islands Arogno Palagnedra Ozhukarai Malvaglia Acquasparta Northern Mariana Islands American Samoa United States Virgin Islands Wiwilí de Jinotega Saba San Rafael del Norte La Concordia Dundee El Cuá Singapore Northern Ireland New Cumberland Locarno Delhi Easter Island Veii Sint Eustatius Guam Mercosur Guernsey Middletown Rovio Aquila Yatton Mendrisio San Mauro Mare Borgnone Banff Quetzaltenango Santa María de Pantasma Ludiano Bellinzona Alicante Painavu Alderney San José de Bocay Lugano Pacific Alliance Riva San Vitale Campione d'Italia Jinotega San Sebastián de Yalí
Singapore, Alicante and Lugano designate around the same number of languages as their official language as United States Virgin Islands
Singapore Alicante Lugano
action approx
action find_tuple_counts
relation official language
type administrative territorial entity
type language
action count
action filter_type
action find
entity United States Virgin Islands
relation official language
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?u ) WHERE { ?p property:official_language ?x . ?x rdf:type ontology:language . ?p rdf:type ontology:administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:United_States_Virgin_Islands property:official_language ?e . ?e rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?u = ?a ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q4794475
P734 P21
Q502895
USER
Which people have Arnaud as family name and have the gender as male ?
AND((c(Q502895),P734,Q4794475), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q4794475
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q4794475'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P21 resource:Q6581097 . ?l property:P734 resource:Q4794475 }
male Arnaud
action filter_type
action intersection
action find_reverse
entity Arnaud
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Arnaud'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:gender resource:male . ?l property:family_name resource:Arnaud }
[]
common name
Q1477248 Q19279917 Q2871041 Q2850779 Q2958414 Q15973349 Q3369190 Q3056531 Q12798387 Q3645738
SYSTEM
Some of them are Georges Arnaud, Gian Aldo Arnaud, Auguste Arnaud, Anne-François Arnaud, Charles Arnaud, Jean Joseph Arnaud, Patrick Arnaud, Erik Arnaud, Paul-Gabriel Arnaud, Bruno Edmondo Arnaud
Q2301195 Q15968407 Q3022517 Q2853610 Q16798425 Q3170520 Q3369190 Q2847161 Q2376768 Q2378587 Q274889 Q3383769 Q3083839 Q1605695 Q970787 Q24287332 Q1178380 Q15973349 Q3439935 Q3579909 Q15973340 Q15973364 Q15629756 Q4025421 Q15971861 Q3308892 Q3083844 Q6711022 Q2871041 Q3089572 Q3345761 Q3170519 Q2850779 Q2853606 Q331470 Q19279917 Q3130402 Q3367251 Q12788191 Q429106 Q2897453 Q3056531 Q2708564 Q3164812 Q3379238 Q3059696 Q2958414 Q1477248 Q12798387 Q2976905 Q15772635 Q15785763 Q3158147 Q3645738 Q2895983 Q3189342
AND((c(Q502895),P734,Q4794475), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q4794475
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Arnaud as family name and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q4794475'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P21 resource:Q6581097 . ?l property:P734 resource:Q4794475 }
Loris Arnaud Joseph Arnaud Denis Arnaud Antoine Arnaud Henri Arnaud Jean Baptiste Arnaud Patrick Arnaud André Arnaud Armand Antoine Jules Arnaud Charles Arnaud Émile Arnaud Pierre Arnaud François Arnaud Henri Arnaud François Arnaud Thierry Arnaud Davy Arnaud Jean Joseph Arnaud Roland Arnaud Édouard Joseph Arnaud Désiré Arnaud Marcel Arnaud C.-P. Arnaud Étienne Arnaud Mathias Arnaud Michel Arnaud François Arnaud Léon-Albert Arnaud Auguste Arnaud Frédéric Arnaud Noël Arnaud Jean Baptiste Arnaud Anne-François Arnaud Antoine Arnaud Henri Arnaud Gian Aldo Arnaud Henri-Jean Arnaud Pascal Arnaud Edouard-Joseph Arnaud Dominique Arnaud Bernard Arnaud Erik Arnaud Georges-Jean Arnaud Jean-Claude Arnaud Philippe Arnaud Eugène Arnaud Charles Arnaud Georges Arnaud Paul-Gabriel Arnaud Claude Arnaud Lucien Arnaud Bastien Arnaud Jacques Arnaud Bruno Edmondo Arnaud Benjamin Arnaud Julien Arnaud
Georges Arnaud, Gian Aldo Arnaud, Auguste Arnaud, Anne-François Arnaud, Charles Arnaud, Jean Joseph Arnaud, Patrick Arnaud, Erik Arnaud, Paul-Gabriel Arnaud and Bruno Edmondo Arnaud have Arnaud as family name and have the gender as male
Georges Arnaud Gian Aldo Arnaud Auguste Arnaud Anne-François Arnaud Charles Arnaud Jean Joseph Arnaud Patrick Arnaud Erik Arnaud Paul-Gabriel Arnaud Bruno Edmondo Arnaud
action filter_type
action intersection
action find_reverse
entity Arnaud
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Arnaud'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:gender resource:male . ?l property:family_name resource:Arnaud }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can around 424 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 424
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?h = 424 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 424
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?h = 424 ) }
[]
musical instrument common name
SYSTEM
62
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 424
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:P1303 ?g . ?g rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?h = 424 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 424
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?c ) AS ?h ) WHERE { ?c property:instrument ?g . ?g rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?h = 424 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7026
P407
Q838948
USER
Which works of art are composed in Catalan ?
(c(Q838948),P407,Q7026)
action filter_type
action find_reverse
entity Q7026
relation P407
type Q838948
[{'concept': 'Q838948'}, 'P407', 'Q7026']
SELECT DISTINCT ?t WHERE { ?t property:P407 resource:Q7026 . ?t rdf:type ontology:Q838948 }
Catalan
action filter_type
action find_reverse
entity Catalan
relation language of work or name
type work of art
[{'concept': 'work of art'}, 'language of work or name', 'Catalan']
SELECT DISTINCT ?t WHERE { ?t property:language_of_work_or_name resource:Catalan . ?t rdf:type ontology:work_of_art }
[]
work of art
Q643805 Q1510064 Q1365797
SYSTEM
Land and Freedom, Black Bread, L'Auberge espagnole
Q666484 Q4795458 Q1807861 Q3051699 Q519910 Q7993296 Q1365797 Q10271148 Q3015593 Q1210944 Q2710114 Q21095421 Q6455906 Q643805 Q7148826 Q5856823 Q7166962 Q4156191 Q2075458 Q2938162 Q598548 Q11293893 Q593615 Q246391 Q3042451 Q5966568 Q112616 Q21647697 Q2823770 Q3393390 Q3225779 Q2984637 Q1510064 Q11053391 Q5103554 Q2850202 Q4676665 Q1107782 Q18340919 Q2616450 Q3281101 Q1216772 Q7757012 Q2990318 Q15052351 Q1215366 Q2140534 Q329805
(c(Q838948),P407,Q7026)
action filter_type
action find_reverse
entity Q7026
relation P407
type Q838948
[ANSWERS] are composed in Catalan
[{'concept': 'Q838948'}, 'P407', 'Q7026']
SELECT DISTINCT ?t WHERE { ?t property:P407 resource:Q7026 . ?t rdf:type ontology:Q838948 }
Beloved/Friend Aro Tolbukhin. En la mente del asesino Salvador Els Nens Salvatges Eva Where Is Madame Catherine? L'Auberge espagnole El método Grönholm Dansa als esperits Leaving El Coronel Macià Tchindas L'auca del senyor Esteve Land and Freedom Pau and His Brother Fausto 5.0 Peraustrínia 2004 The Bilingual Lover Life in a Day Caresses The Mosquito Net Retable of Saint Ermengol The Sea Inside REC 3: Genesis La ciutat cremada La escopeta nacional Words in Blue Capture the Flag Actrius Lisístrata Warsaw Bridge The Sea Black Bread La Torna Little World Anita Takes a Chance Act for the Immaculate Conception of Mary The Time of the Doves La plaga Eloïse's Lover Soldiers of Salamina The Tit and the Moon The Pianist Companys, procés a Catalunya Spanish Teen Rally Terra baixa The Nameless All About My Mother
Land and Freedom, Black Bread and L'Auberge espagnole are composed in Catalan
Land and Freedom Black Bread L'Auberge espagnole
action filter_type
action find_reverse
entity Catalan
relation language of work or name
type work of art
[{'concept': 'work of art'}, 'language of work or name', 'Catalan']
SELECT DISTINCT ?t WHERE { ?t property:language_of_work_or_name resource:Catalan . ?t rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q643805
P58
Q502895
USER
Who served as the screenwriter for that work of art ?
(Q643805,P58,c(Q502895))
action filter_type
action find
entity Q643805
relation P58
type Q502895
['Q643805', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q643805 property:P58 ?i . ?i rdf:type ontology:Q502895 }
Land and Freedom
action filter_type
action find
entity Land and Freedom
relation screenwriter
type common name
['Land and Freedom', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Land_and_Freedom property:screenwriter ?i . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q643805
SYSTEM
Did you mean Land and Freedom ?
Q643805 Q1510064 Q1365797
(Q643805,P58,c(Q502895)) (Q1510064,P58,c(Q502895)) (Q1365797,P58,c(Q502895))
[ANSWER]
['Q643805', 'P58', {'concept': 'Q502895'}] ['Q1510064', 'P58', {'concept': 'Q502895'}] ['Q1365797', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q643805 property:P58 ?i . ?i rdf:type ontology:Q502895 }
Land and Freedom Black Bread L'Auberge espagnole
Did you mean Land and Freedom ?
Land and Freedom
['Land and Freedom', 'screenwriter', {'concept': 'common name'}] ['Black Bread', 'screenwriter', {'concept': 'common name'}] ["L'Auberge espagnole", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Land_and_Freedom property:screenwriter ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q643805,P58,c(Q502895))
['Q643805', 'P58', {'concept': 'Q502895'}]
['Land and Freedom', 'screenwriter', {'concept': 'common name'}]
[]
Q1689022
SYSTEM
Jim Allen
Q1689022
(Q643805,P58,c(Q502895))
action filter_type
action find
entity Q643805
relation P58
type Q502895
The [ANSWER] served as the screenwriter for that work of art
['Q643805', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q643805 property:P58 ?i . ?i rdf:type ontology:Q502895 }
Jim Allen
The Jim Allen served as the screenwriter for that work of art
Jim Allen
action filter_type
action find
entity Land and Freedom
relation screenwriter
type common name
['Land and Freedom', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Land_and_Freedom property:screenwriter ?i . ?i rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1689022 Q17061066
P58
Q838948
USER
Does Sparrow Unit have that person as screenwriter ?
(Q17061066,P58,Q1689022)
action is_in
entity Q17061066
action find
entity Q1689022
relation P58
['Q17061066', 'P58', 'Q1689022']
ASK WHERE { resource:Q1689022 property:P58 resource:Q17061066 }
Jim Allen Sparrow Unit
action is_in
entity Sparrow Unit
action find
entity Jim Allen
relation screenwriter
['Sparrow Unit', 'screenwriter', 'Jim Allen']
ASK WHERE { resource:Jim_Allen property:screenwriter resource:Sparrow_Unit }
[]
work of art
SYSTEM
NO
(Q17061066,P58,Q1689022)
action is_in
entity Q17061066
action find
entity Q1689022
relation P58
[ANSWER]
['Q17061066', 'P58', 'Q1689022']
ASK WHERE { resource:Q1689022 property:P58 resource:Q17061066 }
No
action is_in
entity Sparrow Unit
action find
entity Jim Allen
relation screenwriter
['Sparrow Unit', 'screenwriter', 'Jim Allen']
ASK WHERE { resource:Jim_Allen property:screenwriter resource:Sparrow_Unit }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q334
P6
Q502895
USER
Which person is the head of government of Singapore ?
(Q334,P6,c(Q502895))
action filter_type
action find
entity Q334
relation P6
type Q502895
['Q334', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q334 property:P6 ?r }
Singapore
action filter_type
action find
entity Singapore
relation head of government
type common name
['Singapore', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Singapore property:head_of_government ?r }
[]
common name
Q57643
SYSTEM
Lee Hsien Loong
Q57643
(Q334,P6,c(Q502895))
action filter_type
action find
entity Q334
relation P6
type Q502895
[ANSWER] is the head of government of Singapore
['Q334', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q334 property:P6 ?r }
Lee Hsien Loong
Lee Hsien Loong is the head of government of Singapore
Lee Hsien Loong
action filter_type
action find
entity Singapore
relation head of government
type common name
['Singapore', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Singapore property:head_of_government ?r }
[]