Simple Question (Direct)
Simple Question
Q5704431
P40
Q502895
USER
Which people are a successors of Helge Barstad ?
(Q5704431,P40,c(Q502895))
action filter_type
action find
entity Q5704431
relation P40
type Q502895
['Q5704431', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5704431 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Helge Barstad
action filter_type
action find
entity Helge Barstad
relation child
type common name
['Helge Barstad', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Helge_Barstad property:child ?a . ?a rdf:type ontology:common_name }
[]
common name
Q11975332 Q12001898
SYSTEM
Hilde Barstad, Solveig Barstad
Q11975332 Q12001898
(Q5704431,P40,c(Q502895))
action filter_type
action find
entity Q5704431
relation P40
type Q502895
[ANSWERS] are a successors of Helge Barstad
['Q5704431', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5704431 property:P40 ?a . ?a rdf:type ontology:Q502895 }
Hilde Barstad Solveig Barstad
Hilde Barstad and Solveig Barstad are a successors of Helge Barstad
Hilde Barstad Solveig Barstad
action filter_type
action find
entity Helge Barstad
relation child
type common name
['Helge Barstad', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Helge_Barstad property:child ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q11975332 Q12001898
P106
Q12737077
USER
Which occupations have those people as his/her 's career ?
(Q11975332,P106,c(Q12737077)) (Q12001898,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q11975332', 'P106', {'concept': 'Q12737077'}] ['Q12001898', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . ?g property:P106 ?p . VALUES ( ?g ) { ( resource:Q11975332 ) ( resource:Q12001898 ) } }
Hilde Barstad Solveig Barstad
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Hilde Barstad', 'occupation', {'concept': 'occupation'}] ['Solveig Barstad', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . ?g property:occupation ?p . VALUES ( ?g ) { ( resource:Hilde_Barstad ) ( resource:Solveig_Barstad ) } }
[]
occupation
Q82955 Q1930187 Q82955
SYSTEM
journalist for 2nd, politician for 1st, 3rd
Q82955 Q1930187 Q82955
(Q11975332,P106,c(Q12737077)) (Q12001898,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q11975332', 'P106', {'concept': 'Q12737077'}] ['Q12001898', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . ?g property:P106 ?p . VALUES ( ?g ) { ( resource:Q11975332 ) ( resource:Q12001898 ) } }
politician journalist politician
Politician, journalist and politician have those people as his/her 's career
politician journalist politician
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Hilde Barstad', 'occupation', {'concept': 'occupation'}] ['Solveig Barstad', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . ?g property:occupation ?p . VALUES ( ?g ) { ( resource:Hilde_Barstad ) ( resource:Solveig_Barstad ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11975332
P9
Q502895
USER
Who has that one as thier sibling ?
(Q11975332,P9,c(Q502895))
action filter_type
action find
entity Q11975332
relation P9
type Q502895
['Q11975332', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q11975332 property:P9 ?n . ?n rdf:type ontology:Q502895 }
Hilde Barstad
action filter_type
action find
entity Hilde Barstad
relation sister
type common name
['Hilde Barstad', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Hilde_Barstad property:sister ?n . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q11975332
SYSTEM
Did you mean Hilde Barstad ?
Q82955 Q1930187 Q82955
(Q82955,P9,c(Q502895)) (Q1930187,P9,c(Q502895)) (Q82955,P9,c(Q502895))
[ANSWER]
['Q82955', 'P9', {'concept': 'Q502895'}] ['Q1930187', 'P9', {'concept': 'Q502895'}] ['Q82955', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q11975332 property:P9 ?n . ?n rdf:type ontology:Q502895 }
politician journalist politician
Did you mean Hilde Barstad ?
Hilde Barstad
['politician', 'sister', {'concept': 'common name'}] ['journalist', 'sister', {'concept': 'common name'}] ['politician', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Hilde_Barstad property:sister ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q11975332,P9,c(Q502895))
['Q11975332', 'P9', {'concept': 'Q502895'}]
['Hilde Barstad', 'sister', {'concept': 'common name'}]
[]
Q12001898
SYSTEM
Solveig Barstad
Q12001898
(Q11975332,P9,c(Q502895))
action filter_type
action find
entity Q11975332
relation P9
type Q502895
[ANSWER] has that one as thier sibling
['Q11975332', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q11975332 property:P9 ?n . ?n rdf:type ontology:Q502895 }
Solveig Barstad
Solveig Barstad has that one as thier sibling
Solveig Barstad
action filter_type
action find
entity Hilde Barstad
relation sister
type common name
['Hilde Barstad', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Hilde_Barstad property:sister ?n . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q150512 Q11975332
P40
Q502895
USER
Which people have Hilde Barstad or Otto II, Holy Roman Emperor as a child ?
OR((c(Q502895),P40,Q11975332), (c(Q502895),P40,Q150512))
action filter_type
action union
action find_reverse
entity Q11975332
relation P40
action find_reverse
entity Q150512
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q11975332'], [{'concept': 'Q502895'}, 'P40', 'Q150512']]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?n ) { ( resource:Q11975332 ) ( resource:Q150512 ) } . ?d property:P40 ?n } . ?d rdf:type ontology:Q502895 }
Otto II, Holy Roman Emperor Hilde Barstad
action filter_type
action union
action find_reverse
entity Hilde Barstad
relation child
action find_reverse
entity Otto II, Holy Roman Emperor
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Hilde Barstad'], [{'concept': 'common name'}, 'child', 'Otto II, Holy Roman Emperor']]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?n ) { ( resource:Hilde_Barstad ) ( resource:Otto_II,_Holy_Roman_Emperor ) } . ?d property:child ?n } . ?d rdf:type ontology:common_name }
[]
common name
Q76802 Q5704431 Q43915
SYSTEM
Adelaide of Italy, Helge Barstad, Otto I the Great
Q76802 Q5704431 Q43915
OR((c(Q502895),P40,Q11975332), (c(Q502895),P40,Q150512))
action filter_type
action union
action find_reverse
entity Q11975332
relation P40
action find_reverse
entity Q150512
relation P40
type Q502895
[ANSWERS] have Hilde Barstad or Otto II, Holy Roman Emperor as a child
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q11975332'], [{'concept': 'Q502895'}, 'P40', 'Q150512']]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?n ) { ( resource:Q11975332 ) ( resource:Q150512 ) } . ?d property:P40 ?n } . ?d rdf:type ontology:Q502895 }
Adelaide of Italy Helge Barstad Otto I the Great
Adelaide of Italy, Helge Barstad and Otto I the Great have Hilde Barstad or Otto II, Holy Roman Emperor as a child
Adelaide of Italy Helge Barstad Otto I the Great
action filter_type
action union
action find_reverse
entity Hilde Barstad
relation child
action find_reverse
entity Otto II, Holy Roman Emperor
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Hilde Barstad'], [{'concept': 'common name'}, 'child', 'Otto II, Holy Roman Emperor']]}
SELECT DISTINCT ?d WHERE { { VALUES ( ?n ) { ( resource:Hilde_Barstad ) ( resource:Otto_II,_Holy_Roman_Emperor ) } . ?d property:child ?n } . ?d rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7486768 Q11975332
P40
Q502895
USER
Which people have Hilde Barstad or Michael Hotung as an offspring ?
OR((c(Q502895),P40,Q11975332), (c(Q502895),P40,Q7486768))
action filter_type
action union
action find_reverse
entity Q11975332
relation P40
action find_reverse
entity Q7486768
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q11975332'], [{'concept': 'Q502895'}, 'P40', 'Q7486768']]}
SELECT DISTINCT ?b WHERE { { ?b property:P40 ?e . VALUES ( ?e ) { ( resource:Q11975332 ) ( resource:Q7486768 ) } } . ?b rdf:type ontology:Q502895 }
Michael Hotung Hilde Barstad
action filter_type
action union
action find_reverse
entity Hilde Barstad
relation child
action find_reverse
entity Michael Hotung
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Hilde Barstad'], [{'concept': 'common name'}, 'child', 'Michael Hotung']]}
SELECT DISTINCT ?b WHERE { { ?b property:child ?e . VALUES ( ?e ) { ( resource:Hilde_Barstad ) ( resource:Michael_Hotung ) } } . ?b rdf:type ontology:common_name }
[]
common name
Q7486226 Q5704431 Q7486205
SYSTEM
Winnie Ho, Helge Barstad, Eric Edward Hotung
Q7486226 Q5704431 Q7486205
OR((c(Q502895),P40,Q11975332), (c(Q502895),P40,Q7486768))
action filter_type
action union
action find_reverse
entity Q11975332
relation P40
action find_reverse
entity Q7486768
relation P40
type Q502895
[ANSWERS] have Hilde Barstad or Michael Hotung as an offspring
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q11975332'], [{'concept': 'Q502895'}, 'P40', 'Q7486768']]}
SELECT DISTINCT ?b WHERE { { ?b property:P40 ?e . VALUES ( ?e ) { ( resource:Q11975332 ) ( resource:Q7486768 ) } } . ?b rdf:type ontology:Q502895 }
Winnie Ho Helge Barstad Eric Edward Hotung
Winnie Ho, Helge Barstad and Eric Edward Hotung have Hilde Barstad or Michael Hotung as an offspring
Winnie Ho Helge Barstad Eric Edward Hotung
action filter_type
action union
action find_reverse
entity Hilde Barstad
relation child
action find_reverse
entity Michael Hotung
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Hilde Barstad'], [{'concept': 'common name'}, 'child', 'Michael Hotung']]}
SELECT DISTINCT ?b WHERE { { ?b property:child ?e . VALUES ( ?e ) { ( resource:Hilde_Barstad ) ( resource:Michael_Hotung ) } } . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q43915 Q5191884
P9
Q502895
USER
How many people are the sisters of Otto I the Great or Cuauhtototzin ?
(Q43915,P9,c(Q502895)) (Q5191884,P9,c(Q502895))
action count
action union
action filter_type
action find
entity Q43915
relation P9
type Q502895
action filter_type
action find
entity Q5191884
relation P9
type Q502895
['Q43915', 'P9', {'concept': 'Q502895'}] ['Q5191884', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { VALUES ( ?p ) { ( resource:Q43915 ) ( resource:Q5191884 ) } . ?p property:P9 ?y }
Otto I the Great Cuauhtototzin
action count
action union
action filter_type
action find
entity Otto I the Great
relation sister
type common name
action filter_type
action find
entity Cuauhtototzin
relation sister
type common name
['Otto I the Great', 'sister', {'concept': 'common name'}] ['Cuauhtototzin', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { VALUES ( ?p ) { ( resource:Otto_I_the_Great ) ( resource:Cuauhtototzin ) } . ?p property:sister ?y }
[]
common name
SYSTEM
3
Q6827205 Q168669 Q43961
(Q43915,P9,c(Q502895)) (Q5191884,P9,c(Q502895))
action count
action union
action filter_type
action find
entity Q43915
relation P9
type Q502895
action filter_type
action find
entity Q5191884
relation P9
type Q502895
[ANSWER]
['Q43915', 'P9', {'concept': 'Q502895'}] ['Q5191884', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { VALUES ( ?p ) { ( resource:Q43915 ) ( resource:Q5191884 ) } . ?p property:P9 ?y }
Miahuaxihuitl Gerberga of Saxony Hedwig of Saxony
3
action count
action union
action filter_type
action find
entity Otto I the Great
relation sister
type common name
action filter_type
action find
entity Cuauhtototzin
relation sister
type common name
['Otto I the Great', 'sister', {'concept': 'common name'}] ['Cuauhtototzin', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { VALUES ( ?p ) { ( resource:Otto_I_the_Great ) ( resource:Cuauhtototzin ) } . ?p property:sister ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q166142
USER
How many applications had atmost 51 people as the dubbing artist ?
(c(Q166142),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 51
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?g ) WHERE { ?i property:P725 ?k . ?i rdf:type ontology:Q166142 . ?k rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?g <= 51 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type application
type common name
value 51
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?g ) WHERE { ?i property:voice_actor ?k . ?i rdf:type ontology:application . ?k rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?g <= 51 ) }
[]
common name application
SYSTEM
104
Q16031150 Q1052131 Q5319170 Q1141963 Q602979 Q1371495 Q53362 Q1065670 Q870981 Q8059682 Q7379808 Q3546883 Q2578717 Q7379806 Q6902732 Q15588417 Q3274352 Q1191681 Q2709892 Q2061445 Q3291127 Q2987460 Q1986800 Q14831173 Q166060 Q1302197 Q1141572 Q1035512 Q27863 Q2887359 Q840449 Q338486 Q538150 Q483103 Q239288 Q756856 Q14785138 Q216995 Q3823700 Q2819427 Q2525598 Q3992270 Q838707 Q1068256 Q207981 Q1154327 Q1037042 Q1207525 Q2005910 Q1801455 Q699815 Q6133492 Q847471 Q1868703 Q483120 Q2627892 Q537389 Q706638 Q482472 Q23017199 Q482500 Q17911588 Q1153316 Q6143593 Q170489 Q839091 Q5944170 Q484072 Q277021 Q1371603 Q857823 Q887421 Q3178243 Q515254 Q16547653 Q914286 Q2760871 Q1205695 Q1105802 Q3267335 Q2471350 Q746438 Q484233 Q182548 Q1347470 Q385228 Q2666042 Q1774415 Q1113356 Q531552 Q2457536 Q2403902 Q129277 Q4121008 Q891706 Q3866908 Q3715363 Q476230 Q239889 Q165929 Q600707 Q5968518 Q2473832 Q1075410
(c(Q166142),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 51
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?g ) WHERE { ?i property:P725 ?k . ?i rdf:type ontology:Q166142 . ?k rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?g <= 51 ) }
Hyperdimension Neptunia PP Super Smash Bros. Melee Dynasty Warriors 8 Star Fox 64 Tokyo Majin System Shock 2 Bakemonogatari Shuffle! Super Smash Bros. Ys Seven Rune Factory 4 Hourglass of Summer Star Fox Adventures Rune Factory: Tides of Destiny Monster Hunter Diary: Poka Poka Airu Village Project 575 Poyopoyo Kansatsu Nikki Battle Vixens Phantasy Star Online 2 Hyperdimension Neptunia Mk2 Arc Rise Fantasia Tsuyokiss Megazone 23 Space Dandy Umineko: When They Cry Princess Lover! Miracle Girls Danganronpa: Trigger Happy Havoc Sword Art Online God Eater 2 Kenran Butohsai Street Fighter X Tekken To Love-Ru Nogizaka Haruka no Himitsu StarCraft II: Wings of Liberty Hitman: Codename 47 Kantai Collection Super Mario 64 Princess Minerva ASH: Archaic Sealed Heat Zegapain Tokimeki Memorial Online Mario Kart Wii Gakuen Utopia Manabi Straight! Code Geass XIII Hitman 2: Silent Assassin Hyperdimension Neptunia Metroid: Other M Saints Row: The Third Galaxy Angel Shippū! Iron Leaguer Full Throttle Lollipop Chainsaw Nichijou Tales of Innocence Soul Eater Future GPX Cyber Formula School Rumble Marvel Avengers Academy Bludgeoning Angel Dokuro-Chan Saints Row: Gat out of Hell Dragon Nest Zettai Bōei Leviathan Super Mario Galaxy Lucky Star Nora to Toki no Kōbō: Kiri no Mori no Majo Granado Espada A Certain Magical Index Star Fox 64 3D Fate/stay night Queen's Blade Luminous Arc Record of Agarest War Zero Under Night In-Birth Street Fighter IV Sengoku Collection Akaneiro ni Somaru Saka Lagrange: The Flower of Rin-ne Luminous Arc 2 Godannar Hiiro no Kakera Dungeon Fighter Online (DFO) Date A Live 11eyes: Tsumi to Batsu to Aganai no Shōjo Spice and Wolf Star Fox: Assault Final Fantasy Type-0 Atelier Meruru: The Apprentice of Arland Angel Beats! Galaxy Angel II Disgaea 4: A Promise Unforgotten Hitman: Absolution Hyperdimension Neptunia Victory Super Robot Wars UX Mugen Souls Tanken Driland Claymore Hitman: Blood Money StarCraft Hitman: Contracts Rune Factory 3: A Fantasy Harvest Moon Tantei Opera Milky Holmes Fate/Extra
104
action count
action atmost
action find_tuple_counts
relation voice actor
type application
type common name
value 51
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?g ) WHERE { ?i property:voice_actor ?k . ?i rdf:type ontology:application . ?k rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?g <= 51 ) }
[]