Simple Question (Direct)
Simple Question
Q1969058
P69
Q1935049
USER
Which military school was Vasily Gurko educated at ?
(Q1969058,P69,c(Q1935049))
action filter_type
action find
entity Q1969058
relation P69
type Q1935049
['Q1969058', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?y WHERE { resource:Q1969058 property:P69 ?y . ?y rdf:type ontology:Q1935049 }
Vasily Gurko
action filter_type
action find
entity Vasily Gurko
relation educated at
type military school
['Vasily Gurko', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?y WHERE { resource:Vasily_Gurko property:educated_at ?y . ?y rdf:type ontology:military_school }
[]
military school
Q2996600
SYSTEM
General Staff Academy
Q2996600
(Q1969058,P69,c(Q1935049))
action filter_type
action find
entity Q1969058
relation P69
type Q1935049
Vasily Gurko was educated at [ANSWER]
['Q1969058', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?y WHERE { resource:Q1969058 property:P69 ?y . ?y rdf:type ontology:Q1935049 }
General Staff Academy
Vasily Gurko was educated at General Staff Academy
General Staff Academy
action filter_type
action find
entity Vasily Gurko
relation educated at
type military school
['Vasily Gurko', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?y WHERE { resource:Vasily_Gurko property:educated_at ?y . ?y rdf:type ontology:military_school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1969058
P40
Q502895
USER
Which person has Vasily Gurko as an offspring ?
(c(Q502895),P40,Q1969058)
action filter_type
action find_reverse
entity Q1969058
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1969058']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P40 resource:Q1969058 }
Vasily Gurko
action filter_type
action find_reverse
entity Vasily Gurko
relation child
type common name
[{'concept': 'common name'}, 'child', 'Vasily Gurko']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:child resource:Vasily_Gurko }
[]
common name
Q701635
SYSTEM
Iosif Gurko
Q701635
(c(Q502895),P40,Q1969058)
action filter_type
action find_reverse
entity Q1969058
relation P40
type Q502895
[ANSWER] has Vasily Gurko as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q1969058']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P40 resource:Q1969058 }
Iosif Gurko
Iosif Gurko has Vasily Gurko as an offspring
Iosif Gurko
action filter_type
action find_reverse
entity Vasily Gurko
relation child
type common name
[{'concept': 'common name'}, 'child', 'Vasily Gurko']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:child resource:Vasily_Gurko }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q701635
P22
Q502895
USER
Who are the offspring of that one ?
(c(Q502895),P22,Q701635)
action filter_type
action find_reverse
entity Q701635
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q701635']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q701635 . ?n rdf:type ontology:Q502895 }
Iosif Gurko
action filter_type
action find_reverse
entity Iosif Gurko
relation father
type common name
[{'concept': 'common name'}, 'father', 'Iosif Gurko']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Iosif_Gurko . ?n rdf:type ontology:common_name }
[]
common name
Q4152415 Q4152419 Q1969058
SYSTEM
Dmitry I. Gurke, Vladimir Gurko, Vasily Gurko
Q4152415 Q4152419 Q1969058
(c(Q502895),P22,Q701635)
action filter_type
action find_reverse
entity Q701635
relation P22
type Q502895
The offspring of that one are the [ANSWERS]
[{'concept': 'Q502895'}, 'P22', 'Q701635']
SELECT DISTINCT ?n WHERE { ?n property:P22 resource:Q701635 . ?n rdf:type ontology:Q502895 }
Dmitry I. Gurke Vladimir Gurko Vasily Gurko
The offspring of that one are the Dmitry I. Gurke, Vladimir Gurko and Vasily Gurko
Dmitry I. Gurke Vladimir Gurko Vasily Gurko
action filter_type
action find_reverse
entity Iosif Gurko
relation father
type common name
[{'concept': 'common name'}, 'father', 'Iosif Gurko']
SELECT DISTINCT ?n WHERE { ?n property:father resource:Iosif_Gurko . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q36180 Q2996600
P69 P106
Q502895
USER
Which people were educated at General Staff Academy and are not working as writer ?
AND((c(Q502895),P69,Q2996600), NOT((c(Q502895),P106,Q36180)))
action filter_type
action difference
action find_reverse
entity Q2996600
relation P69
action find_reverse
entity Q36180
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q2996600'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q36180']]}]}
SELECT DISTINCT ?a WHERE { ?a property:P69 resource:Q2996600 . FILTER NOT EXISTS { ?a property:P106 resource:Q36180 } . ?a rdf:type ontology:Q502895 }
writer General Staff Academy
action filter_type
action difference
action find_reverse
entity General Staff Academy
relation educated at
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'General Staff Academy'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'writer']]}]}
SELECT DISTINCT ?a WHERE { ?a property:educated_at resource:General_Staff_Academy . FILTER NOT EXISTS { ?a property:occupation resource:writer } . ?a rdf:type ontology:common_name }
[]
common name
Q198691 Q18001834 Q276193 Q4442889 Q57173 Q4152415 Q4425583 Q4080786
SYSTEM
Nikolay Aleksandrovich Lokhvitsky, Alexander Zhdanko, Lavr Kornilov, Nikolai Stoletov, Mikhail Skobelev, Dmitry I. Gurke, Andreï Snesarev, Nikolay Bezak
Q198691 Q18001834 Q276193 Q4442889 Q57173 Q4152415 Q4425583 Q4080786
AND((c(Q502895),P69,Q2996600), NOT((c(Q502895),P106,Q36180)))
action filter_type
action difference
action find_reverse
entity Q2996600
relation P69
action find_reverse
entity Q36180
relation P106
type Q502895
[ANSWERS] were educated at General Staff Academy and are not working as writer
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q2996600'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q36180']]}]}
SELECT DISTINCT ?a WHERE { ?a property:P69 resource:Q2996600 . FILTER NOT EXISTS { ?a property:P106 resource:Q36180 } . ?a rdf:type ontology:Q502895 }
Nikolay Aleksandrovich Lokhvitsky Alexander Zhdanko Lavr Kornilov Nikolai Stoletov Mikhail Skobelev Dmitry I. Gurke Andreï Snesarev Nikolay Bezak
Nikolay Aleksandrovich Lokhvitsky, Alexander Zhdanko, Lavr Kornilov, Nikolai Stoletov, Mikhail Skobelev, Dmitry I. Gurke, Andreï Snesarev and Nikolay Bezak were educated at General Staff Academy and are not working as writer
Nikolay Aleksandrovich Lokhvitsky Alexander Zhdanko Lavr Kornilov Nikolai Stoletov Mikhail Skobelev Dmitry I. Gurke Andreï Snesarev Nikolay Bezak
action filter_type
action difference
action find_reverse
entity General Staff Academy
relation educated at
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'General Staff Academy'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'writer']]}]}
SELECT DISTINCT ?a WHERE { ?a property:educated_at resource:General_Staff_Academy . FILTER NOT EXISTS { ?a property:occupation resource:writer } . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q198691 Q18001834 Q276193 Q4442889 Q57173 Q4152415 Q4425583 Q4080786
P21
Q290
USER
Which sexes do Nikolay Aleksandrovich Lokhvitsky, Alexander Zhdanko, Lavr Kornilov, Nikolai Stoletov, Mikhail Skobelev, Dmitry I. Gurke, Andreï Snesarev and Nikolay Bezak have ?
(Q198691,P21,c(Q290)) (Q18001834,P21,c(Q290)) (Q276193,P21,c(Q290)) (Q4442889,P21,c(Q290)) (Q57173,P21,c(Q290)) (Q4152415,P21,c(Q290)) (Q4425583,P21,c(Q290)) (Q4080786,P21,c(Q290))
action union
action filter_type
action find
entity Q198691
relation P21
type Q290
action filter_type
action find
entity Q18001834
relation P21
type Q290
action filter_type
action find
entity Q276193
relation P21
type Q290
action filter_type
action find
entity Q4442889
relation P21
type Q290
action filter_type
action find
entity Q57173
relation P21
type Q290
action filter_type
action find
entity Q4152415
relation P21
type Q290
action filter_type
action find
entity Q4425583
relation P21
type Q290
action filter_type
action find
entity Q4080786
relation P21
type Q290
['Q198691', 'P21', {'concept': 'Q290'}] ['Q18001834', 'P21', {'concept': 'Q290'}] ['Q276193', 'P21', {'concept': 'Q290'}] ['Q4442889', 'P21', {'concept': 'Q290'}] ['Q57173', 'P21', {'concept': 'Q290'}] ['Q4152415', 'P21', {'concept': 'Q290'}] ['Q4425583', 'P21', {'concept': 'Q290'}] ['Q4080786', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { { resource:Q198691 property:P21 ?z . ?z rdf:type ontology:Q290 } UNION { resource:Q18001834 property:P21 ?z . ?z rdf:type ontology:Q290 } }
Nikolay Aleksandrovich Lokhvitsky Alexander Zhdanko Lavr Kornilov Nikolai Stoletov Mikhail Skobelev Dmitry I. Gurke Andreï Snesarev Nikolay Bezak
action union
action filter_type
action find
entity Nikolay Aleksandrovich Lokhvitsky
relation gender
type sex
action filter_type
action find
entity Alexander Zhdanko
relation gender
type sex
action filter_type
action find
entity Lavr Kornilov
relation gender
type sex
action filter_type
action find
entity Nikolai Stoletov
relation gender
type sex
action filter_type
action find
entity Mikhail Skobelev
relation gender
type sex
action filter_type
action find
entity Dmitry I. Gurke
relation gender
type sex
action filter_type
action find
entity Andreï Snesarev
relation gender
type sex
action filter_type
action find
entity Nikolay Bezak
relation gender
type sex
['Nikolay Aleksandrovich Lokhvitsky', 'gender', {'concept': 'sex'}] ['Alexander Zhdanko', 'gender', {'concept': 'sex'}] ['Lavr Kornilov', 'gender', {'concept': 'sex'}] ['Nikolai Stoletov', 'gender', {'concept': 'sex'}] ['Mikhail Skobelev', 'gender', {'concept': 'sex'}] ['Dmitry I. Gurke', 'gender', {'concept': 'sex'}] ['Andreï Snesarev', 'gender', {'concept': 'sex'}] ['Nikolay Bezak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { { resource:Nikolay_Aleksandrovich_Lokhvitsky property:gender ?z . ?z rdf:type ontology:sex } UNION { resource:Alexander_Zhdanko property:gender ?z . ?z rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097
(Q198691,P21,c(Q290)) (Q18001834,P21,c(Q290)) (Q276193,P21,c(Q290)) (Q4442889,P21,c(Q290)) (Q57173,P21,c(Q290)) (Q4152415,P21,c(Q290)) (Q4425583,P21,c(Q290)) (Q4080786,P21,c(Q290))
action union
action filter_type
action find
entity Q198691
relation P21
type Q290
action filter_type
action find
entity Q18001834
relation P21
type Q290
action filter_type
action find
entity Q276193
relation P21
type Q290
action filter_type
action find
entity Q4442889
relation P21
type Q290
action filter_type
action find
entity Q57173
relation P21
type Q290
action filter_type
action find
entity Q4152415
relation P21
type Q290
action filter_type
action find
entity Q4425583
relation P21
type Q290
action filter_type
action find
entity Q4080786
relation P21
type Q290
[ANSWER], [ANSWER] and [ANSWER] do Nikolay Aleksandrovich Lokhvitsky, Alexander Zhdanko, Lavr Kornilov, Nikolai Stoletov, Mikhail Skobelev, Dmitry I. Gurke, Andreï Snesarev and Nikolay Bezak have
['Q198691', 'P21', {'concept': 'Q290'}] ['Q18001834', 'P21', {'concept': 'Q290'}] ['Q276193', 'P21', {'concept': 'Q290'}] ['Q4442889', 'P21', {'concept': 'Q290'}] ['Q57173', 'P21', {'concept': 'Q290'}] ['Q4152415', 'P21', {'concept': 'Q290'}] ['Q4425583', 'P21', {'concept': 'Q290'}] ['Q4080786', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { { resource:Q198691 property:P21 ?z . ?z rdf:type ontology:Q290 } UNION { resource:Q18001834 property:P21 ?z . ?z rdf:type ontology:Q290 } }
male male male male male male male male
Male, male and male do Nikolay Aleksandrovich Lokhvitsky, Alexander Zhdanko, Lavr Kornilov, Nikolai Stoletov, Mikhail Skobelev, Dmitry I. Gurke, Andreï Snesarev and Nikolay Bezak have
male male male
action union
action filter_type
action find
entity Nikolay Aleksandrovich Lokhvitsky
relation gender
type sex
action filter_type
action find
entity Alexander Zhdanko
relation gender
type sex
action filter_type
action find
entity Lavr Kornilov
relation gender
type sex
action filter_type
action find
entity Nikolai Stoletov
relation gender
type sex
action filter_type
action find
entity Mikhail Skobelev
relation gender
type sex
action filter_type
action find
entity Dmitry I. Gurke
relation gender
type sex
action filter_type
action find
entity Andreï Snesarev
relation gender
type sex
action filter_type
action find
entity Nikolay Bezak
relation gender
type sex
['Nikolay Aleksandrovich Lokhvitsky', 'gender', {'concept': 'sex'}] ['Alexander Zhdanko', 'gender', {'concept': 'sex'}] ['Lavr Kornilov', 'gender', {'concept': 'sex'}] ['Nikolai Stoletov', 'gender', {'concept': 'sex'}] ['Mikhail Skobelev', 'gender', {'concept': 'sex'}] ['Dmitry I. Gurke', 'gender', {'concept': 'sex'}] ['Andreï Snesarev', 'gender', {'concept': 'sex'}] ['Nikolay Bezak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { { resource:Nikolay_Aleksandrovich_Lokhvitsky property:gender ?z . ?z rdf:type ontology:sex } UNION { resource:Alexander_Zhdanko property:gender ?z . ?z rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q276193
P140
Q1530022
USER
What is the religious affiliation of Lavr Kornilov ?
(Q276193,P140,c(Q1530022))
action filter_type
action find
entity Q276193
relation P140
type Q1530022
['Q276193', 'P140', {'concept': 'Q1530022'}]
SELECT DISTINCT ?t WHERE { resource:Q276193 property:P140 ?t . ?t rdf:type ontology:Q1530022 }
Lavr Kornilov
action filter_type
action find
entity Lavr Kornilov
relation religion
type religious organization
['Lavr Kornilov', 'religion', {'concept': 'religious organization'}]
SELECT DISTINCT ?t WHERE { resource:Lavr_Kornilov property:religion ?t . ?t rdf:type ontology:religious_organization }
[]
religious organization
Q35032
SYSTEM
Eastern Orthodox Church
Q35032
(Q276193,P140,c(Q1530022))
action filter_type
action find
entity Q276193
relation P140
type Q1530022
The religious affiliation of Lavr Kornilov is the [ANSWER]
['Q276193', 'P140', {'concept': 'Q1530022'}]
SELECT DISTINCT ?t WHERE { resource:Q276193 property:P140 ?t . ?t rdf:type ontology:Q1530022 }
Eastern Orthodox Church
The religious affiliation of Lavr Kornilov is the Eastern Orthodox Church
Eastern Orthodox Church
action filter_type
action find
entity Lavr Kornilov
relation religion
type religious organization
['Lavr Kornilov', 'religion', {'concept': 'religious organization'}]
SELECT DISTINCT ?t WHERE { resource:Lavr_Kornilov property:religion ?t . ?t rdf:type ontology:religious_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q511683
Q1530022
USER
And what about Narathu?
(Q511683,P140,c(Q1530022))
action filter_type
action find
entity Q511683
relation P140
type Q1530022
['Q511683', 'P140', {'concept': 'Q1530022'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1530022 . resource:Q511683 property:P140 ?c }
Narathu
action filter_type
action find
entity Narathu
relation religion
type religious organization
['Narathu', 'religion', {'concept': 'religious organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:religious_organization . resource:Narathu property:religion ?c }
[]
religious organization
Q132265
SYSTEM
Theravada
Q132265
(Q511683,P140,c(Q1530022))
action filter_type
action find
entity Q511683
relation P140
type Q1530022
[ANSWER]
['Q511683', 'P140', {'concept': 'Q1530022'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1530022 . resource:Q511683 property:P140 ?c }
Theravada
Theravada
action filter_type
action find
entity Narathu
relation religion
type religious organization
['Narathu', 'religion', {'concept': 'religious organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:religious_organization . resource:Narathu property:religion ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q511683
P7
Q502895
USER
Who has that one as their sibling ?
(Q132265,P7,c(Q502895))
action filter_type
action find
entity Q511683
relation P7
type Q502895
['Q132265', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q511683 property:P7 ?v . ?v rdf:type ontology:Q502895 }
Narathu
action filter_type
action find
entity Narathu
relation brother
type common name
['Theravada', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Narathu property:brother ?v . ?v rdf:type ontology:common_name }
[]
common name
Q3315619
SYSTEM
Min Shin Saw
Q3315619
(Q132265,P7,c(Q502895))
action filter_type
action find
entity Q511683
relation P7
type Q502895
[ANSWER] has that one as their sibling
['Q132265', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q511683 property:P7 ?v . ?v rdf:type ontology:Q502895 }
Min Shin Saw
Min Shin Saw has that one as their sibling
Min Shin Saw
action filter_type
action find
entity Narathu
relation brother
type common name
['Theravada', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Narathu property:brother ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
Which works had their voice dubbing done by atmost 12 people ?
(c(Q386724),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 12
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?q ) WHERE { ?z property:P725 ?k . ?z rdf:type ontology:Q386724 . ?k rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?q <= 12 ) }
action atmost
action find_tuple_counts
relation voice actor
type work
type common name
value 12
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?q ) WHERE { ?z property:voice_actor ?k . ?z rdf:type ontology:work . ?k rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?q <= 12 ) }
[]
common name work
Q13516675 Q10864091 Q27627540
SYSTEM
Sakura Trick, Isshūkan Friends, Doctor Strange (Doctor Extraño)
Q26987217 Q26701981 Q10864091 Q27627540 Q24175397 Q26390366 Q26715049 Q26299860 Q25858085 Q26457246 Q13516675 Q26829863
(c(Q386724),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 12
[ANSWERS] had their voice dubbing done by atmost 12 people
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?q ) WHERE { ?z property:P725 ?k . ?z rdf:type ontology:Q386724 . ?k rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?q <= 12 ) }
Hércules y la visita de Zeus Hércules y el grifo Isshūkan Friends Doctor Strange (Doctor Extraño) Capitán América: El primer vengador Hércules y el rey de Tesalia Peter y el dragón Hércules y el primer médico del mundo Alicia a través del espejo Hércules y el arma secreta Sakura Trick Angry Birds: La película
Sakura Trick, Isshūkan Friends and Doctor Strange (Doctor Extraño) had their voice dubbing done by atmost 12 people
Sakura Trick Isshūkan Friends Doctor Strange (Doctor Extraño)
action atmost
action find_tuple_counts
relation voice actor
type work
type common name
value 12
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?q ) WHERE { ?z property:voice_actor ?k . ?z rdf:type ontology:work . ?k rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?q <= 12 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P800
Q386724 Q502895
USER
How many works were notable works done by greater number of people than that work ?
(c(Q502895),P800,c(Q386724))
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q386724'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P800 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q16532276 }
[{'concept': 'common name'}, 'notable work', {'concept': 'work'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:notable_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:work }
[]
work common name
Comparative|Count over More/Less|Single entity type|Clarification
Q27627540
SYSTEM
Did you mean Doctor Strange (Doctor Extraño) ?
(c(Q502895),P800,c(Q386724))
[ANSWER]
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q386724'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P800 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q16532276 }
Did you mean Doctor Strange (Doctor Extraño) ?
Doctor Strange (Doctor Extraño)
[{'concept': 'common name'}, 'notable work', {'concept': 'work'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:notable_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:work }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Sakura Trick. Could you tell me the answer for that?
(c(Q502895),P800,c(Q386724))
Q13516675
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q386724'}]
[{'concept': 'common name'}, 'notable work', {'concept': 'work'}]
[]
SYSTEM
3
Q1092 Q21400277 Q21678787
(c(Q502895),P800,c(Q386724))
[ANSWER]
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q386724'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P800 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q16532276 }
Star Trek Wikipedia und Geschichtswissenschaft Altmetrics: A manifesto
3
[{'concept': 'common name'}, 'notable work', {'concept': 'work'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:notable_work ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:work }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6221627 Q4152415
P7
Q502895
USER
Which people have Dmitry I. Gurke or John Beresford, 5th Marquess of Waterford as their sibling ?
OR((Q4152415,P7,c(Q502895)), (Q6221627,P7,c(Q502895)))
action filter_type
action union
action find
entity Q4152415
relation P7
action find
entity Q6221627
relation P7
type Q502895
{'OR': [['Q4152415', 'P7', {'concept': 'Q502895'}], ['Q6221627', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4152415 property:P7 ?s } UNION { resource:Q6221627 property:P7 ?s } } . ?s rdf:type ontology:Q502895 }
John Beresford, 5th Marquess of Waterford Dmitry I. Gurke
action filter_type
action union
action find
entity Dmitry I. Gurke
relation brother
action find
entity John Beresford, 5th Marquess of Waterford
relation brother
type common name
{'OR': [['Dmitry I. Gurke', 'brother', {'concept': 'common name'}], ['John Beresford, 5th Marquess of Waterford', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Dmitry_I._Gurke property:brother ?s } UNION { resource:John_Beresford,_5th_Marquess_of_Waterford property:brother ?s } } . ?s rdf:type ontology:common_name }
[]
common name
Q323773 Q16031681 Q4152419 Q16030255 Q1969058
SYSTEM
Lord Charles Beresford, Lord Marcus Beresford, Vladimir Gurko, Lord William Beresford, Vasily Gurko
Q323773 Q16031681 Q4152419 Q16030255 Q1969058
OR((Q4152415,P7,c(Q502895)), (Q6221627,P7,c(Q502895)))
action filter_type
action union
action find
entity Q4152415
relation P7
action find
entity Q6221627
relation P7
type Q502895
[ANSWERS] have Dmitry I. Gurke or John Beresford, 5th Marquess of Waterford as their sibling
{'OR': [['Q4152415', 'P7', {'concept': 'Q502895'}], ['Q6221627', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4152415 property:P7 ?s } UNION { resource:Q6221627 property:P7 ?s } } . ?s rdf:type ontology:Q502895 }
Lord Charles Beresford Lord Marcus Beresford Vladimir Gurko Lord William Beresford Vasily Gurko
Lord Charles Beresford, Lord Marcus Beresford, Vladimir Gurko, Lord William Beresford and Vasily Gurko have Dmitry I. Gurke or John Beresford, 5th Marquess of Waterford as their sibling
Lord Charles Beresford Lord Marcus Beresford Vladimir Gurko Lord William Beresford Vasily Gurko
action filter_type
action union
action find
entity Dmitry I. Gurke
relation brother
action find
entity John Beresford, 5th Marquess of Waterford
relation brother
type common name
{'OR': [['Dmitry I. Gurke', 'brother', {'concept': 'common name'}], ['John Beresford, 5th Marquess of Waterford', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Dmitry_I._Gurke property:brother ?s } UNION { resource:John_Beresford,_5th_Marquess_of_Waterford property:brother ?s } } . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q323773 Q16031681 Q4152419 Q16030255 Q1969058
P7
Q502895
USER
Which people are the brothers of Lord Charles Beresford, Lord Marcus Beresford, Vladimir Gurko, Lord William Beresford and Vasily Gurko ?
(Q323773,P7,c(Q502895)) (Q16031681,P7,c(Q502895)) (Q4152419,P7,c(Q502895)) (Q16030255,P7,c(Q502895)) (Q1969058,P7,c(Q502895))
action union
action filter_type
action find
entity Q323773
relation P7
type Q502895
action filter_type
action find
entity Q16031681
relation P7
type Q502895
action filter_type
action find
entity Q4152419
relation P7
type Q502895
action filter_type
action find
entity Q16030255
relation P7
type Q502895
action filter_type
action find
entity Q1969058
relation P7
type Q502895
['Q323773', 'P7', {'concept': 'Q502895'}] ['Q16031681', 'P7', {'concept': 'Q502895'}] ['Q4152419', 'P7', {'concept': 'Q502895'}] ['Q16030255', 'P7', {'concept': 'Q502895'}] ['Q1969058', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?q property:P7 ?h . VALUES ( ?q ) { ( resource:Q323773 ) ( resource:Q16031681 ) } }
Lord Charles Beresford Lord Marcus Beresford Vladimir Gurko Lord William Beresford Vasily Gurko
action union
action filter_type
action find
entity Lord Charles Beresford
relation brother
type common name
action filter_type
action find
entity Lord Marcus Beresford
relation brother
type common name
action filter_type
action find
entity Vladimir Gurko
relation brother
type common name
action filter_type
action find
entity Lord William Beresford
relation brother
type common name
action filter_type
action find
entity Vasily Gurko
relation brother
type common name
['Lord Charles Beresford', 'brother', {'concept': 'common name'}] ['Lord Marcus Beresford', 'brother', {'concept': 'common name'}] ['Vladimir Gurko', 'brother', {'concept': 'common name'}] ['Lord William Beresford', 'brother', {'concept': 'common name'}] ['Vasily Gurko', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?q property:brother ?h . VALUES ( ?q ) { ( resource:Lord_Charles_Beresford ) ( resource:Lord_Marcus_Beresford ) } }
[]
common name
Q323773 Q323773 Q1969058
SYSTEM
Lord Charles Beresford for 1st, 2nd, Vasily Gurko for 3rd
Q16031681 Q16030255 Q6221627 Q323773 Q6221627 Q16030255 Q4152415 Q1969058 Q323773 Q6221627 Q16031681 Q4152415 Q4152419
(Q323773,P7,c(Q502895)) (Q16031681,P7,c(Q502895)) (Q4152419,P7,c(Q502895)) (Q16030255,P7,c(Q502895)) (Q1969058,P7,c(Q502895))
action union
action filter_type
action find
entity Q323773
relation P7
type Q502895
action filter_type
action find
entity Q16031681
relation P7
type Q502895
action filter_type
action find
entity Q4152419
relation P7
type Q502895
action filter_type
action find
entity Q16030255
relation P7
type Q502895
action filter_type
action find
entity Q1969058
relation P7
type Q502895
[ANSWERS]
['Q323773', 'P7', {'concept': 'Q502895'}] ['Q16031681', 'P7', {'concept': 'Q502895'}] ['Q4152419', 'P7', {'concept': 'Q502895'}] ['Q16030255', 'P7', {'concept': 'Q502895'}] ['Q1969058', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?q property:P7 ?h . VALUES ( ?q ) { ( resource:Q323773 ) ( resource:Q16031681 ) } }
Lord Marcus Beresford Lord William Beresford John Beresford, 5th Marquess of Waterford Lord Charles Beresford John Beresford, 5th Marquess of Waterford Lord William Beresford Dmitry I. Gurke Vasily Gurko Lord Charles Beresford John Beresford, 5th Marquess of Waterford Lord Marcus Beresford Dmitry I. Gurke Vladimir Gurko
Lord Charles Beresford, Lord Charles Beresford and Vasily Gurko are the brothers of Lord Charles Beresford, Lord Marcus Beresford, Vladimir Gurko, Lord William Beresford and Vasily Gurko
Lord Charles Beresford Lord Charles Beresford Vasily Gurko
action union
action filter_type
action find
entity Lord Charles Beresford
relation brother
type common name
action filter_type
action find
entity Lord Marcus Beresford
relation brother
type common name
action filter_type
action find
entity Vladimir Gurko
relation brother
type common name
action filter_type
action find
entity Lord William Beresford
relation brother
type common name
action filter_type
action find
entity Vasily Gurko
relation brother
type common name
['Lord Charles Beresford', 'brother', {'concept': 'common name'}] ['Lord Marcus Beresford', 'brother', {'concept': 'common name'}] ['Vladimir Gurko', 'brother', {'concept': 'common name'}] ['Lord William Beresford', 'brother', {'concept': 'common name'}] ['Vasily Gurko', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?q property:brother ?h . VALUES ( ?q ) { ( resource:Lord_Charles_Beresford ) ( resource:Lord_Marcus_Beresford ) } }
[]