Simple Question (Direct)
Simple Question
Q4714853
P734
Q82799
USER
Who has the surname Aleksandar Pravdić ?
(Q4714853,P734,c(Q82799))
action filter_type
action find
entity Q4714853
relation P734
type Q82799
['Q4714853', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q4714853 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Aleksandar Pravdić
action filter_type
action find
entity Aleksandar Pravdić
relation family name
type name
['Aleksandar Pravdić', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Aleksandar_Pravdić property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q16798443
SYSTEM
Pravdić
Q16798443
(Q4714853,P734,c(Q82799))
action filter_type
action find
entity Q4714853
relation P734
type Q82799
[ANSWER] has the surname Aleksandar [ANSWER]
['Q4714853', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q4714853 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Pravdić
Pravdić has the surname Aleksandar Pravdić
Pravdić
action filter_type
action find
entity Aleksandar Pravdić
relation family name
type name
['Aleksandar Pravdić', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Aleksandar_Pravdić property:family_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4714853
P39
Q12737077
USER
What was the position held by Aleksandar Pravdić ?
(Q4714853,P39,c(Q12737077))
action filter_type
action find
entity Q4714853
relation P39
type Q12737077
['Q4714853', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q4714853 property:P39 ?a }
Aleksandar Pravdić
action filter_type
action find
entity Aleksandar Pravdić
relation position held
type occupation
['Aleksandar Pravdić', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Aleksandar_Pravdić property:position_held ?a }
[]
occupation
Q16799332
SYSTEM
Deputy Prime Minister of Serbia
Q16799332
(Q4714853,P39,c(Q12737077))
action filter_type
action find
entity Q4714853
relation P39
type Q12737077
The position held by Aleksandar Pravdić was the [ANSWER]
['Q4714853', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q4714853 property:P39 ?a }
Deputy Prime Minister of Serbia
The position held by Aleksandar Pravdić was the Deputy Prime Minister of Serbia
Deputy Prime Minister of Serbia
action filter_type
action find
entity Aleksandar Pravdić
relation position held
type occupation
['Aleksandar Pravdić', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Aleksandar_Pravdić property:position_held ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4714853
P19
Q56061
USER
Where was Aleksandar Pravdić born ?
(Q4714853,P19,c(Q56061))
action filter_type
action find
entity Q4714853
relation P19
type Q56061
['Q4714853', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q4714853 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Aleksandar Pravdić
action filter_type
action find
entity Aleksandar Pravdić
relation place of birth
type administrative territorial entity
['Aleksandar Pravdić', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Aleksandar_Pravdić property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q208038
SYSTEM
Čačak
Q208038
(Q4714853,P19,c(Q56061))
action filter_type
action find
entity Q4714853
relation P19
type Q56061
Aleksandar Pravdić was born in [ANSWER]
['Q4714853', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q4714853 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Čačak
Aleksandar Pravdić was born in Čačak
Čačak
action filter_type
action find
entity Aleksandar Pravdić
relation place of birth
type administrative territorial entity
['Aleksandar Pravdić', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Aleksandar_Pravdić property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4714853
P106
Q12737077
USER
What are the professions of that person ?
(Q208038,P106,c(Q12737077))
action filter_type
action find
entity Q4714853
relation P106
type Q12737077
['Q208038', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q4714853 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Aleksandar Pravdić
action filter_type
action find
entity Aleksandar Pravdić
relation occupation
type occupation
['Čačak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Aleksandar_Pravdić property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q188094 Q82955
SYSTEM
economist, politician
Q188094 Q82955
(Q208038,P106,c(Q12737077))
action filter_type
action find
entity Q4714853
relation P106
type Q12737077
The professions of that person are an [ANSWERS]
['Q208038', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q4714853 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
economist politician
The professions of that person are an economist and politician
economist politician
action filter_type
action find
entity Aleksandar Pravdić
relation occupation
type occupation
['Čačak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Aleksandar_Pravdić property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q188094
P512
Q502895
USER
Which people are the recepient of that occupation as academic degree ?
(c(Q502895),P512,Q188094)
action filter_type
action find_reverse
entity Q188094
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q188094']
SELECT DISTINCT ?w WHERE { ?w property:P512 resource:Q188094 . ?w rdf:type ontology:Q502895 }
economist
action filter_type
action find_reverse
entity economist
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'economist']
SELECT DISTINCT ?w WHERE { ?w property:academic_degree resource:economist . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q82955
SYSTEM
Did you mean politician ?
Q188094 Q82955
(c(Q502895),P512,Q188094) (c(Q502895),P512,Q82955)
[ANSWER]
[{'concept': 'Q502895'}, 'P512', 'Q188094'] [{'concept': 'Q502895'}, 'P512', 'Q82955']
SELECT DISTINCT ?w WHERE { ?w property:P512 resource:Q188094 . ?w rdf:type ontology:Q502895 }
economist politician
Did you mean politician ?
politician
[{'concept': 'common name'}, 'academic degree', 'economist'] [{'concept': 'common name'}, 'academic degree', 'politician']
SELECT DISTINCT ?w WHERE { ?w property:academic_degree resource:economist . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant economist. Could you tell me the answer for that?
(c(Q502895),P512,Q188094)
Q188094
[{'concept': 'Q502895'}, 'P512', 'Q188094']
[{'concept': 'common name'}, 'academic degree', 'economist']
[]
Q1599898 Q16957199 Q1728542
SYSTEM
Heinz-Josef Bontrup, Pablo Rieznik, Muhterem Aras
Q1599898 Q16957199 Q1728542
(c(Q502895),P512,Q188094)
action filter_type
action find_reverse
entity Q188094
relation P512
type Q502895
[ANSWERS] are the recepient of that occupation as academic degree
[{'concept': 'Q502895'}, 'P512', 'Q188094']
SELECT DISTINCT ?w WHERE { ?w property:P512 resource:Q188094 . ?w rdf:type ontology:Q502895 }
Heinz-Josef Bontrup Pablo Rieznik Muhterem Aras
Heinz-Josef Bontrup, Pablo Rieznik and Muhterem Aras are the recepient of that occupation as academic degree
Heinz-Josef Bontrup Pablo Rieznik Muhterem Aras
action filter_type
action find_reverse
entity economist
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'economist']
SELECT DISTINCT ?w WHERE { ?w property:academic_degree resource:economist . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q13218361 Q82955
P106
Q502895
USER
Which people have the profession of politician and polo player ?
AND((c(Q502895),P106,Q82955), (c(Q502895),P106,Q13218361))
action filter_type
action intersection
action find_reverse
entity Q82955
relation P106
action find_reverse
entity Q13218361
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q82955'], [{'concept': 'Q502895'}, 'P106', 'Q13218361']]}
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q82955 . ?g property:P106 resource:Q13218361 . ?g rdf:type ontology:Q502895 }
polo player politician
action filter_type
action intersection
action find_reverse
entity politician
relation occupation
action find_reverse
entity polo player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'politician'], [{'concept': 'common name'}, 'occupation', 'polo player']]}
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:politician . ?g property:occupation resource:polo_player . ?g rdf:type ontology:common_name }
[]
common name
Q17322488 Q37391 Q3611111 Q3425074 Q336065 Q4027103 Q5734052 Q336783 Q345531
SYSTEM
Ivor Guest, 1st Viscount Wimborne, Robert Fournier-Sarlovèze, Alfio Marchini, Frederick Guest, Hugh Trenchard, 1st Viscount Trenchard, Stephen Sanford, Herbert F. Lemp, George Mountbatten, 4th Marquess of Milford Haven, William Averell Harriman
Q17322488 Q37391 Q3611111 Q3425074 Q336065 Q4027103 Q5734052 Q336783 Q345531
AND((c(Q502895),P106,Q82955), (c(Q502895),P106,Q13218361))
action filter_type
action intersection
action find_reverse
entity Q82955
relation P106
action find_reverse
entity Q13218361
relation P106
type Q502895
The [ANSWERS] have the profession of politician and polo player
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q82955'], [{'concept': 'Q502895'}, 'P106', 'Q13218361']]}
SELECT DISTINCT ?g WHERE { ?g property:P106 resource:Q82955 . ?g property:P106 resource:Q13218361 . ?g rdf:type ontology:Q502895 }
Ivor Guest, 1st Viscount Wimborne Robert Fournier-Sarlovèze Alfio Marchini Frederick Guest Hugh Trenchard, 1st Viscount Trenchard Stephen Sanford Herbert F. Lemp George Mountbatten, 4th Marquess of Milford Haven William Averell Harriman
The Ivor Guest, 1st Viscount Wimborne, Robert Fournier-Sarlovèze, Alfio Marchini, Frederick Guest, Hugh Trenchard, 1st Viscount Trenchard, Stephen Sanford, Herbert F. Lemp, George Mountbatten, 4th Marquess of Milford Haven and William Averell Harriman have the profession of politician and polo player
Ivor Guest, 1st Viscount Wimborne Robert Fournier-Sarlovèze Alfio Marchini Frederick Guest Hugh Trenchard, 1st Viscount Trenchard Stephen Sanford Herbert F. Lemp George Mountbatten, 4th Marquess of Milford Haven William Averell Harriman
action filter_type
action intersection
action find_reverse
entity politician
relation occupation
action find_reverse
entity polo player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'politician'], [{'concept': 'common name'}, 'occupation', 'polo player']]}
SELECT DISTINCT ?g WHERE { ?g property:occupation resource:politician . ?g property:occupation resource:polo_player . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
How many works did approximately 13 people do the dubbing for ?
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 13
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?l ) WHERE { ?i property:P725 ?p . ?i rdf:type ontology:Q386724 . ?p rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?l = 13 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
value 13
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?l ) WHERE { ?i property:voice_actor ?p . ?i rdf:type ontology:work . ?p rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?l = 13 ) }
[]
common name work
SYSTEM
12
Q26987217 Q26331781 Q26701981 Q23752771 Q27627540 Q26712000 Q26390366 Q26299860 Q26457246 Q26301623 Q26829863 Q23894983
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 13
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?l ) WHERE { ?i property:P725 ?p . ?i rdf:type ontology:Q386724 . ?p rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?l = 13 ) }
Hércules y la visita de Zeus Hércules y el examen de conducir Hércules y el grifo Iron Man Doctor Strange (Doctor Extraño) Hércules y los Tecno-Griegos Hércules y el rey de Tesalia Hércules y el primer médico del mundo Hércules y el arma secreta Hércules y el primer día de escuela Angry Birds: La película Iron Man 2
12
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
value 13
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?l ) WHERE { ?i property:voice_actor ?p . ?i rdf:type ontology:work . ?p rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?l = 13 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15961987
USER
Which television genres had min number of people as the dubbing artist ?
(c(Q15961987),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q15961987
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?o ) { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?v ) WHERE { ?z property:P725 ?y . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q502895 } GROUP BY ?z } } . { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?g ) WHERE { ?w property:P725 ?j . ?w rdf:type ontology:Q15961987 . ?j rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?g = ?o ) }
action argmin
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?o ) { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?v ) WHERE { ?z property:voice_actor ?y . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:common_name } GROUP BY ?z } } . { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?g ) WHERE { ?w property:voice_actor ?j . ?w rdf:type ontology:television_genre . ?j rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?g = ?o ) }
[]
common name television genre
Q11572 Q847219 Q917543
SYSTEM
Avatar: The Last Airbender, Pururun! Shizuku-chan, The Garfield Show
Q11572 Q847219 Q917543
(c(Q15961987),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q15961987
type Q502895
[ANSWERS] had min number of people as the dubbing artist
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?o ) { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?v ) WHERE { ?z property:P725 ?y . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q502895 } GROUP BY ?z } } . { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?g ) WHERE { ?w property:P725 ?j . ?w rdf:type ontology:Q15961987 . ?j rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?g = ?o ) }
Avatar: The Last Airbender Pururun! Shizuku-chan The Garfield Show
Avatar: The Last Airbender, Pururun! Shizuku-chan and The Garfield Show had min number of people as the dubbing artist
Avatar: The Last Airbender Pururun! Shizuku-chan The Garfield Show
action argmin
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?o ) { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?v ) WHERE { ?z property:voice_actor ?y . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:common_name } GROUP BY ?z } } . { SELECT DISTINCT ?w ( COUNT ( ?j ) AS ?g ) WHERE { ?w property:voice_actor ?j . ?w rdf:type ontology:television_genre . ?j rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?g = ?o ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P170
Q502895
USER
How many people are the creators of that television genre ?
(Q11572,P170,c(Q502895))
['Q11572', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2601847 property:Q2500638 ?z . ?z rdf:type ontology:Q502895 }
['Avatar: The Last Airbender', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Avatar:_The_Last_Airbender property:creator ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q847219
SYSTEM
Did you mean Pururun! Shizuku-chan ?
(Q11572,P170,c(Q502895)) (Q847219,P170,c(Q502895)) (Q917543,P170,c(Q502895))
[ANSWER]
['Q11572', 'P170', {'concept': 'Q502895'}] ['Q847219', 'P170', {'concept': 'Q502895'}] ['Q917543', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2601847 property:Q2500638 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Pururun! Shizuku-chan ?
Pururun! Shizuku-chan
['Avatar: The Last Airbender', 'creator', {'concept': 'common name'}] ['Pururun! Shizuku-chan', 'creator', {'concept': 'common name'}] ['The Garfield Show', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Avatar:_The_Last_Airbender property:creator ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Avatar: The Last Airbender. Could you tell me the answer for that?
(Q11572,P170,c(Q502895))
Q11572
['Q11572', 'P170', {'concept': 'Q502895'}]
['Avatar: The Last Airbender', 'creator', {'concept': 'common name'}]
[]
SYSTEM
2
Q85175 Q85178
(Q11572,P170,c(Q502895))
[ANSWER]
['Q11572', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2601847 property:Q2500638 ?z . ?z rdf:type ontology:Q502895 }
Bryan Konietzko Michael Dante DiMartino
2
['Avatar: The Last Airbender', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Avatar:_The_Last_Airbender property:creator ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q178706 Q1307214 Q12737077
USER
Which occupations were appointed by atleast 1 institutions or forms of government ?
(c(Q12737077),P748,c(Q178706)|c(Q1307214))
action atleast
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?p >= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?o ) { ( ontology:Q178706 ) ( ontology:Q1307214 ) } . ?e rdf:type ?o } GROUP BY ?j } }
action atleast
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type form of government
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?p >= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?o ) { ( ontology:institution ) ( ontology:form_of_government ) } . ?e rdf:type ?o } GROUP BY ?j } }
[]
institution form of government occupation
Q81066 Q217217 Q1281611
SYSTEM
United Nations Secretary-General, Lord Chancellor, Lieutenant Governor of Jersey
Q1355456 Q1507619 Q740126 Q910308 Q1753754 Q943379 Q1161813 Q583809 Q2962001 Q8882 Q213107 Q162754 Q217217 Q634291 Q735587 Q1281611 Q81066 Q1752225 Q687908
(c(Q12737077),P748,c(Q178706)|c(Q1307214))
action atleast
action union
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
value 1
[ANSWERS] were appointed by atleast 1 institutions or forms of government
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q178706'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?p >= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?o ) { ( ontology:Q178706 ) ( ontology:Q1307214 ) } . ?e rdf:type ?o } GROUP BY ?j } }
Lord Chamberlain Deputy Prime Minister of the United Kingdom President of the European Parliament Lord Privy Seal Master of the Rolls Lord President of the Council President of the United Nations General Assembly Solicitor General for England and Wales Chief of the Defence Staff President of the European Commission Prime Minister of Belgium Chancellor of the Duchy of Lancaster Lord Chancellor High Representative of the Union for Foreign Affairs and Security Policy President of the European Council Lieutenant Governor of Jersey United Nations Secretary-General Lord Lieutenant of Ireland Lord Chief Justice of England and Wales
United Nations Secretary-General, Lord Chancellor and Lieutenant Governor of Jersey were appointed by atleast 1 institutions or forms of government
United Nations Secretary-General Lord Chancellor Lieutenant Governor of Jersey
action atleast
action union
action find_tuple_counts
relation appointed by
type occupation
type institution
action find_tuple_counts
relation appointed by
type occupation
type form of government
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'institution'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?p >= 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?o ) { ( ontology:institution ) ( ontology:form_of_government ) } . ?e rdf:type ?o } GROUP BY ?j } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q885033 Q847219
P161 P725
Q502895
USER
Which people did the voice dubbing for Pururun! Shizuku-chan or are in Everyone Dies Alone ?
OR((Q847219,P725,c(Q502895)), (Q885033,P161,c(Q502895)))
action filter_type
action union
action find
entity Q847219
relation P725
action find
entity Q885033
relation P161
type Q502895
{'OR': [['Q847219', 'P725', {'concept': 'Q502895'}], ['Q885033', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . { { resource:Q847219 property:P725 ?q } UNION { resource:Q885033 property:P161 ?q } } }
Everyone Dies Alone Pururun! Shizuku-chan
action filter_type
action union
action find
entity Pururun! Shizuku-chan
relation voice actor
action find
entity Everyone Dies Alone
relation cast member
type common name
{'OR': [['Pururun! Shizuku-chan', 'voice actor', {'concept': 'common name'}], ['Everyone Dies Alone', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . { { resource:Pururun!_Shizuku-chan property:voice_actor ?q } UNION { resource:Everyone_Dies_Alone property:cast_member ?q } } }
[]
common name
Q118392 Q3140773 Q86952 Q105052 Q104476 Q102530 Q72888 Q110568 Q57604 Q97712
SYSTEM
Some of them are Pinkas Braun, Rikako Aikawa, Jacques Breuer, Beate Hasenau, Wilhelm Borchert, Gerd Böckmann, Carl Raddatz, Arnold Marquis, Hildegard Knef, Hans Korte
Q2642888 Q89189 Q102530 Q1442893 Q3140773 Q69648 Q110568 Q118392 Q105052 Q97712 Q57604 Q2038460 Q104476 Q86952 Q1600997 Q99719 Q1745459 Q72888
OR((Q847219,P725,c(Q502895)), (Q885033,P161,c(Q502895)))
action filter_type
action union
action find
entity Q847219
relation P725
action find
entity Q885033
relation P161
type Q502895
[ANSWERS] did the voice dubbing for Pururun! Shizuku-chan or are in Everyone Dies Alone
{'OR': [['Q847219', 'P725', {'concept': 'Q502895'}], ['Q885033', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . { { resource:Q847219 property:P725 ?q } UNION { resource:Q885033 property:P161 ?q } } }
Alexander Radszun Heinz Reincke Gerd Böckmann Martin Hirthe Rikako Aikawa Brigitte Mira Arnold Marquis Pinkas Braun Beate Hasenau Hans Korte Hildegard Knef Otto Czarski Wilhelm Borchert Jacques Breuer Heinz Spitzner Rudolf Fernau Klaus Miedel Carl Raddatz
Pinkas Braun, Rikako Aikawa, Jacques Breuer, Beate Hasenau, Wilhelm Borchert, Gerd Böckmann, Carl Raddatz, Arnold Marquis, Hildegard Knef and Hans Korte did the voice dubbing for Pururun! Shizuku-chan or are in Everyone Dies Alone
Pinkas Braun Rikako Aikawa Jacques Breuer Beate Hasenau Wilhelm Borchert Gerd Böckmann Carl Raddatz Arnold Marquis Hildegard Knef Hans Korte
action filter_type
action union
action find
entity Pururun! Shizuku-chan
relation voice actor
action find
entity Everyone Dies Alone
relation cast member
type common name
{'OR': [['Pururun! Shizuku-chan', 'voice actor', {'concept': 'common name'}], ['Everyone Dies Alone', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . { { resource:Pururun!_Shizuku-chan property:voice_actor ?q } UNION { resource:Everyone_Dies_Alone property:cast_member ?q } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q118392
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q118392,P20,c(Q56061))
action filter_type
action find
entity Q118392
relation P20
type Q56061
['Q118392', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q118392 property:P20 ?v }
Pinkas Braun
action filter_type
action find
entity Pinkas Braun
relation place of death
type administrative territorial entity
['Pinkas Braun', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Pinkas_Braun property:place_of_death ?v }
[]
administrative territorial entity
Clarification for simple ques.
Q118392
SYSTEM
Did you mean Pinkas Braun ?
Q118392 Q3140773 Q86952 Q105052 Q104476 Q102530 Q72888 Q110568 Q57604 Q97712
(Q118392,P20,c(Q56061)) (Q3140773,P20,c(Q56061)) (Q86952,P20,c(Q56061)) (Q105052,P20,c(Q56061)) (Q104476,P20,c(Q56061)) (Q102530,P20,c(Q56061)) (Q72888,P20,c(Q56061)) (Q110568,P20,c(Q56061)) (Q57604,P20,c(Q56061)) (Q97712,P20,c(Q56061))
[ANSWER]
['Q118392', 'P20', {'concept': 'Q56061'}] ['Q3140773', 'P20', {'concept': 'Q56061'}] ['Q86952', 'P20', {'concept': 'Q56061'}] ['Q105052', 'P20', {'concept': 'Q56061'}] ['Q104476', 'P20', {'concept': 'Q56061'}] ['Q102530', 'P20', {'concept': 'Q56061'}] ['Q72888', 'P20', {'concept': 'Q56061'}] ['Q110568', 'P20', {'concept': 'Q56061'}] ['Q57604', 'P20', {'concept': 'Q56061'}] ['Q97712', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q118392 property:P20 ?v }
Pinkas Braun Rikako Aikawa Jacques Breuer Beate Hasenau Wilhelm Borchert Gerd Böckmann Carl Raddatz Arnold Marquis Hildegard Knef Hans Korte
Did you mean Pinkas Braun ?
Pinkas Braun
['Pinkas Braun', 'place of death', {'concept': 'administrative territorial entity'}] ['Rikako Aikawa', 'place of death', {'concept': 'administrative territorial entity'}] ['Jacques Breuer', 'place of death', {'concept': 'administrative territorial entity'}] ['Beate Hasenau', 'place of death', {'concept': 'administrative territorial entity'}] ['Wilhelm Borchert', 'place of death', {'concept': 'administrative territorial entity'}] ['Gerd Böckmann', 'place of death', {'concept': 'administrative territorial entity'}] ['Carl Raddatz', 'place of death', {'concept': 'administrative territorial entity'}] ['Arnold Marquis', 'place of death', {'concept': 'administrative territorial entity'}] ['Hildegard Knef', 'place of death', {'concept': 'administrative territorial entity'}] ['Hans Korte', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Pinkas_Braun property:place_of_death ?v }
[]
Simple Question (Coreferenced)
USER
Yes
(Q118392,P20,c(Q56061))
['Q118392', 'P20', {'concept': 'Q56061'}]
['Pinkas Braun', 'place of death', {'concept': 'administrative territorial entity'}]
[]
Q1726
SYSTEM
Munich
Q1726
(Q118392,P20,c(Q56061))
action filter_type
action find
entity Q118392
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q118392', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q118392 property:P20 ?v }
Munich
The expiration of that person occurred in Munich
Munich
action filter_type
action find
entity Pinkas Braun
relation place of death
type administrative territorial entity
['Pinkas Braun', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Pinkas_Braun property:place_of_death ?v }
[]