Simple Question (Direct)
Simple Question
Q265610
P40
Q502895
USER
Which person is a child of Zhanna Prokhorenko ?
(Q265610,P40,c(Q502895))
action filter_type
action find
entity Q265610
relation P40
type Q502895
['Q265610', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q265610 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Zhanna Prokhorenko
action filter_type
action find
entity Zhanna Prokhorenko
relation child
type common name
['Zhanna Prokhorenko', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Zhanna_Prokhorenko property:child ?f . ?f rdf:type ontology:common_name }
[]
common name
Q4104734
SYSTEM
Catherine E. Vasilyeva
Q4104734
(Q265610,P40,c(Q502895))
action filter_type
action find
entity Q265610
relation P40
type Q502895
[ANSWER] is a child of Zhanna Prokhorenko
['Q265610', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q265610 property:P40 ?f . ?f rdf:type ontology:Q502895 }
Catherine E. Vasilyeva
Catherine E. Vasilyeva is a child of Zhanna Prokhorenko
Catherine E. Vasilyeva
action filter_type
action find
entity Zhanna Prokhorenko
relation child
type common name
['Zhanna Prokhorenko', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Zhanna_Prokhorenko property:child ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4104734
P69
Q3914
USER
Which school is the alma mater of that person ?
(Q4104734,P69,c(Q3914))
action filter_type
action find
entity Q4104734
relation P69
type Q3914
['Q4104734', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q3914 . resource:Q4104734 property:P69 ?f }
Catherine E. Vasilyeva
action filter_type
action find
entity Catherine E. Vasilyeva
relation educated at
type school
['Catherine E. Vasilyeva', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:school . resource:Catherine_E._Vasilyeva property:educated_at ?f }
[]
school
Q1130457
SYSTEM
Gerasimov Institute of Cinematography
Q1130457
(Q4104734,P69,c(Q3914))
action filter_type
action find
entity Q4104734
relation P69
type Q3914
[ANSWER] is the alma mater of that person
['Q4104734', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q3914 . resource:Q4104734 property:P69 ?f }
Gerasimov Institute of Cinematography
Gerasimov Institute of Cinematography is the alma mater of that person
Gerasimov Institute of Cinematography
action filter_type
action find
entity Catherine E. Vasilyeva
relation educated at
type school
['Catherine E. Vasilyeva', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:school . resource:Catherine_E._Vasilyeva property:educated_at ?f }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2526255 Q265610
P106 P26
Q502895
USER
Which people have Zhanna Prokhorenko as spouse and have the profession as film director ?
AND((c(Q502895),P26,Q265610), (c(Q502895),P106,Q2526255))
action filter_type
action intersection
action find_reverse
entity Q265610
relation P26
action find_reverse
entity Q2526255
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q265610'], [{'concept': 'Q502895'}, 'P106', 'Q2526255']]}
SELECT DISTINCT ?w WHERE { ?w property:P106 resource:Q2526255 . ?w property:P26 resource:Q265610 . ?w rdf:type ontology:Q502895 }
film director Zhanna Prokhorenko
action filter_type
action intersection
action find_reverse
entity Zhanna Prokhorenko
relation spouse
action find_reverse
entity film director
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Zhanna Prokhorenko'], [{'concept': 'common name'}, 'occupation', 'film director']]}
SELECT DISTINCT ?w WHERE { ?w property:occupation resource:film_director . ?w property:spouse resource:Zhanna_Prokhorenko . ?w rdf:type ontology:common_name }
[]
common name
Q4104610
SYSTEM
Evgeny Vasiliev
Q4104610
AND((c(Q502895),P26,Q265610), (c(Q502895),P106,Q2526255))
action filter_type
action intersection
action find_reverse
entity Q265610
relation P26
action find_reverse
entity Q2526255
relation P106
type Q502895
[ANSWER] have Zhanna Prokhorenko as spouse and have the profession as film director
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q265610'], [{'concept': 'Q502895'}, 'P106', 'Q2526255']]}
SELECT DISTINCT ?w WHERE { ?w property:P106 resource:Q2526255 . ?w property:P26 resource:Q265610 . ?w rdf:type ontology:Q502895 }
Evgeny Vasiliev
Evgeny Vasiliev have Zhanna Prokhorenko as spouse and have the profession as film director
Evgeny Vasiliev
action filter_type
action intersection
action find_reverse
entity Zhanna Prokhorenko
relation spouse
action find_reverse
entity film director
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Zhanna Prokhorenko'], [{'concept': 'common name'}, 'occupation', 'film director']]}
SELECT DISTINCT ?w WHERE { ?w property:occupation resource:film_director . ?w property:spouse resource:Zhanna_Prokhorenko . ?w rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q847471
P725
Q502895 Q166142
USER
How many applications had approximately the same number of people as the dubbing artist as Full Throttle ?
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q847471
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?y ) WHERE { ?e property:P725 ?c . ?e rdf:type ontology:Q166142 . ?c rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w rdf:type ontology:Q166142 . resource:Q847471 property:P725 ?w } } . FILTER ( ?y = ?j ) }
Full Throttle
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Full Throttle
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?y ) WHERE { ?e property:voice_actor ?c . ?e rdf:type ontology:application . ?c rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w rdf:type ontology:application . resource:Full_Throttle property:voice_actor ?w } } . FILTER ( ?y = ?j ) }
[]
common name application
SYSTEM
99
Q16031150 Q5319170 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 Q482500 Q17911588 Q1153316 Q6143593 Q170489 Q839091 Q5944170 Q484072 Q277021 Q857823 Q887421 Q3178243 Q515254 Q16547653 Q914286 Q2760871 Q1205695 Q1105802 Q3267335 Q2471350 Q746438 Q484233 Q182548 Q1347470 Q385228 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 approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q847471
relation P725
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?y ) WHERE { ?e property:P725 ?c . ?e rdf:type ontology:Q166142 . ?c rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w rdf:type ontology:Q166142 . resource:Q847471 property:P725 ?w } } . FILTER ( ?y = ?j ) }
Hyperdimension Neptunia PP Dynasty Warriors 8 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 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 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 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
99
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Full Throttle
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?c ) AS ?y ) WHERE { ?e property:voice_actor ?c . ?e rdf:type ontology:application . ?c rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w rdf:type ontology:application . resource:Full_Throttle property:voice_actor ?w } } . FILTER ( ?y = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2061445
P725
Q502895 Q166142
USER
And what about Hyperdimension Neptunia Mk2?
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q2061445
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?w ) WHERE { ?r property:P725 ?l . ?r rdf:type ontology:Q166142 . ?l rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q2061445 property:P725 ?f . ?f rdf:type ontology:Q166142 } } . FILTER ( ?w = ?j ) }
Hyperdimension Neptunia Mk2
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Hyperdimension Neptunia Mk2
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?w ) WHERE { ?r property:voice_actor ?l . ?r rdf:type ontology:application . ?l rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Hyperdimension_Neptunia_Mk2 property:voice_actor ?f . ?f rdf:type ontology:application } } . FILTER ( ?w = ?j ) }
[]
common name application
SYSTEM
29
Q16031150 Q1141963 Q53362 Q870981 Q2578717 Q15588417 Q1191681 Q2061445 Q166060 Q1035512 Q27863 Q538150 Q216995 Q838707 Q207981 Q1154327 Q1207525 Q2005910 Q847471 Q537389 Q23017199 Q170489 Q839091 Q484072 Q484233 Q182548 Q385228 Q4121008 Q2473832
(c(Q166142),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q2061445
relation P725
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?w ) WHERE { ?r property:P725 ?l . ?r rdf:type ontology:Q166142 . ?l rdf:type ontology:Q502895 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q2061445 property:P725 ?f . ?f rdf:type ontology:Q166142 } } . FILTER ( ?w = ?j ) }
Hyperdimension Neptunia PP Star Fox 64 Bakemonogatari Super Smash Bros. Star Fox Adventures Project 575 Battle Vixens Hyperdimension Neptunia Mk2 Umineko: When They Cry Danganronpa: Trigger Happy Havoc Sword Art Online To Love-Ru Super Mario 64 Mario Kart Wii Code Geass XIII Hyperdimension Neptunia Metroid: Other M Full Throttle Soul Eater Marvel Avengers Academy Super Mario Galaxy Lucky Star Granado Espada Dungeon Fighter Online (DFO) Date A Live Spice and Wolf Hyperdimension Neptunia Victory Tantei Opera Milky Holmes
29
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Hyperdimension Neptunia Mk2
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?w ) WHERE { ?r property:voice_actor ?l . ?r rdf:type ontology:application . ?l rdf:type ontology:common_name } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Hyperdimension_Neptunia_Mk2 property:voice_actor ?f . ?f rdf:type ontology:application } } . FILTER ( ?w = ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q672061
P1040
Q502895
USER
Which person edited Passion ?
(Q672061,P1040,c(Q502895))
action filter_type
action find
entity Q672061
relation P1040
type Q502895
['Q672061', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q672061 property:P1040 ?k . ?k rdf:type ontology:Q502895 }
Passion
action filter_type
action find
entity Passion
relation film editor
type common name
['Passion', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Passion property:film_editor ?k . ?k rdf:type ontology:common_name }
[]
common name
Q53001
SYSTEM
Jean-Luc Godard
Q53001
(Q672061,P1040,c(Q502895))
action filter_type
action find
entity Q672061
relation P1040
type Q502895
De [ANSWER] edited Passion
['Q672061', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q672061 property:P1040 ?k . ?k rdf:type ontology:Q502895 }
Jean-Luc Godard
De Jean-Luc Godard edited Passion
Jean-Luc Godard
action filter_type
action find
entity Passion
relation film editor
type common name
['Passion', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Passion property:film_editor ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q53001 Q271103 Q447507
P26
Q502895
USER
Does Jean-Luc Godard have Eva-Maria Brem and Anne Wiazemsky as spouse ?
(Q53001,P26,Q271103) (Q53001,P26,Q447507)
action is_in
entity Q53001
action intersection
action find_reverse
entity Q271103
relation P26
action find_reverse
entity Q447507
relation P26
['Q53001', 'P26', 'Q271103'] ['Q53001', 'P26', 'Q447507']
ASK WHERE { resource:Q53001 property:P26 resource:Q271103 . resource:Q53001 property:P26 resource:Q447507 }
Jean-Luc Godard Eva-Maria Brem Anne Wiazemsky
action is_in
entity Jean-Luc Godard
action intersection
action find_reverse
entity Eva-Maria Brem
relation spouse
action find_reverse
entity Anne Wiazemsky
relation spouse
['Jean-Luc Godard', 'spouse', 'Eva-Maria Brem'] ['Jean-Luc Godard', 'spouse', 'Anne Wiazemsky']
ASK WHERE { resource:Jean-Luc_Godard property:spouse resource:Eva-Maria_Brem . resource:Jean-Luc_Godard property:spouse resource:Anne_Wiazemsky }
[]
common name
SYSTEM
NO and YES respectively
(Q53001,P26,Q271103) (Q53001,P26,Q447507)
action is_in
entity Q53001
action intersection
action find_reverse
entity Q271103
relation P26
action find_reverse
entity Q447507
relation P26
[ANSWER]
['Q53001', 'P26', 'Q271103'] ['Q53001', 'P26', 'Q447507']
ASK WHERE { resource:Q53001 property:P26 resource:Q271103 . resource:Q53001 property:P26 resource:Q447507 }
NO and YES respectively
action is_in
entity Jean-Luc Godard
action intersection
action find_reverse
entity Eva-Maria Brem
relation spouse
action find_reverse
entity Anne Wiazemsky
relation spouse
['Jean-Luc Godard', 'spouse', 'Eva-Maria Brem'] ['Jean-Luc Godard', 'spouse', 'Anne Wiazemsky']
ASK WHERE { resource:Jean-Luc_Godard property:spouse resource:Eva-Maria_Brem . resource:Jean-Luc_Godard property:spouse resource:Anne_Wiazemsky }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q53001
P166
Q618779
USER
How many awards were won by Jean-Luc Godard ?
(Q53001,P166,c(Q618779))
action count
action filter_type
action find
entity Q53001
relation P166
type Q618779
['Q53001', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q53001 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Jean-Luc Godard
action count
action filter_type
action find
entity Jean-Luc Godard
relation award received
type award
['Jean-Luc Godard', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Jean-Luc_Godard property:award_received ?g . ?g rdf:type ontology:award }
[]
award
SYSTEM
4
Q674146 Q268670 Q734335 Q154590
(Q53001,P166,c(Q618779))
action count
action filter_type
action find
entity Q53001
relation P166
type Q618779
[ANSWER]
['Q53001', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q53001 property:P166 ?g . ?g rdf:type ontology:Q618779 }
Leopard of Honour Praemium Imperiale Louis Delluc Prize Golden Bear
4
action count
action filter_type
action find
entity Jean-Luc Godard
relation award received
type award
['Jean-Luc Godard', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Jean-Luc_Godard property:award_received ?g . ?g rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4786498
P166
Q618779
USER
What were awarded to Archibald Roosevelt ?
(Q4786498,P166,c(Q618779))
action filter_type
action find
entity Q4786498
relation P166
type Q618779
['Q4786498', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q4786498 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Archibald Roosevelt
action filter_type
action find
entity Archibald Roosevelt
relation award received
type award
['Archibald Roosevelt', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Archibald_Roosevelt property:award_received ?z . ?z rdf:type ontology:award }
[]
award
Q852071 Q928314
SYSTEM
Silver Star, Bronze Star Medal
Q852071 Q928314
(Q4786498,P166,c(Q618779))
action filter_type
action find
entity Q4786498
relation P166
type Q618779
Medal [ANSWERS] were awarded to Archibald Roosevelt
['Q4786498', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q4786498 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Silver Star Bronze Star Medal
Medal Silver Star and Bronze Star Medal were awarded to Archibald Roosevelt
Silver Star Bronze Star Medal
action filter_type
action find
entity Archibald Roosevelt
relation award received
type award
['Archibald Roosevelt', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Archibald_Roosevelt property:award_received ?z . ?z rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1224401
Q618779
USER
And also tell me about Sarcy?
(Q1224401,P166,c(Q618779))
action filter_type
action find
entity Q1224401
relation P166
type Q618779
['Q1224401', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q1224401 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Sarcy
action filter_type
action find
entity Sarcy
relation award received
type award
['Sarcy', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Sarcy property:award_received ?f . ?f rdf:type ontology:award }
[]
award
Q2727598
SYSTEM
Croix de guerre 1914–1918
Q2727598
(Q1224401,P166,c(Q618779))
action filter_type
action find
entity Q1224401
relation P166
type Q618779
[ANSWER]
['Q1224401', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?f WHERE { resource:Q1224401 property:P166 ?f . ?f rdf:type ontology:Q618779 }
Croix de guerre 1914–1918
Croix de guerre 1914–1918
action filter_type
action find
entity Sarcy
relation award received
type award
['Sarcy', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?f WHERE { resource:Sarcy property:award_received ?f . ?f rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q527047 Q4786498
P40
Q502895
USER
Which people have Archibald Roosevelt or Dorka Gryllus as an offspring ?
OR((c(Q502895),P40,Q4786498), (c(Q502895),P40,Q527047))
action filter_type
action union
action find_reverse
entity Q4786498
relation P40
action find_reverse
entity Q527047
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q4786498'], [{'concept': 'Q502895'}, 'P40', 'Q527047']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P40 resource:Q4786498 } UNION { ?i property:P40 resource:Q527047 } } . ?i rdf:type ontology:Q502895 }
Dorka Gryllus Archibald Roosevelt
action filter_type
action union
action find_reverse
entity Archibald Roosevelt
relation child
action find_reverse
entity Dorka Gryllus
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Archibald Roosevelt'], [{'concept': 'common name'}, 'child', 'Dorka Gryllus']]}
SELECT DISTINCT ?i WHERE { { { ?i property:child resource:Archibald_Roosevelt } UNION { ?i property:child resource:Dorka_Gryllus } } . ?i rdf:type ontology:common_name }
[]
common name
Q1028336 Q237590 Q33866
SYSTEM
Dániel Gryllus, Edith Roosevelt, Theodore Roosevelt
Q1028336 Q237590 Q33866
OR((c(Q502895),P40,Q4786498), (c(Q502895),P40,Q527047))
action filter_type
action union
action find_reverse
entity Q4786498
relation P40
action find_reverse
entity Q527047
relation P40
type Q502895
[ANSWERS] have Archibald Roosevelt or Dorka Gryllus as an offspring
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q4786498'], [{'concept': 'Q502895'}, 'P40', 'Q527047']]}
SELECT DISTINCT ?i WHERE { { { ?i property:P40 resource:Q4786498 } UNION { ?i property:P40 resource:Q527047 } } . ?i rdf:type ontology:Q502895 }
Dániel Gryllus Edith Roosevelt Theodore Roosevelt
Dániel Gryllus, Edith Roosevelt and Theodore Roosevelt have Archibald Roosevelt or Dorka Gryllus as an offspring
Dániel Gryllus Edith Roosevelt Theodore Roosevelt
action filter_type
action union
action find_reverse
entity Archibald Roosevelt
relation child
action find_reverse
entity Dorka Gryllus
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Archibald Roosevelt'], [{'concept': 'common name'}, 'child', 'Dorka Gryllus']]}
SELECT DISTINCT ?i WHERE { { { ?i property:child resource:Archibald_Roosevelt } UNION { ?i property:child resource:Dorka_Gryllus } } . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q33866
P180
Q838948 Q473972
USER
How many works of art and protected areas depict Theodore Roosevelt ?
(c(Q838948),P180,Q33866) (c(Q473972),P180,Q33866)
action count
action union
action filter_type
action find_reverse
entity Q33866
relation P180
type Q838948
action filter_type
action find_reverse
entity Q33866
relation P180
type Q473972
[{'concept': 'Q838948'}, 'P180', 'Q33866'] [{'concept': 'Q473972'}, 'P180', 'Q33866']
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { ?e rdf:type ?y . VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q473972 ) } }
Theodore Roosevelt
action count
action union
action filter_type
action find_reverse
entity Theodore Roosevelt
relation depicts
type work of art
action filter_type
action find_reverse
entity Theodore Roosevelt
relation depicts
type protected area
[{'concept': 'work of art'}, 'depicts', 'Theodore Roosevelt'] [{'concept': 'protected area'}, 'depicts', 'Theodore Roosevelt']
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { ?e rdf:type ?y . VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:protected_area ) } }
[]
work of art protected area
SYSTEM
1 works of art and 1 protected areas
Q83497 Q16169361
(c(Q838948),P180,Q33866) (c(Q473972),P180,Q33866)
action count
action union
action filter_type
action find_reverse
entity Q33866
relation P180
type Q838948
action filter_type
action find_reverse
entity Q33866
relation P180
type Q473972
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q33866'] [{'concept': 'Q473972'}, 'P180', 'Q33866']
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { ?e rdf:type ?y . VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q473972 ) } }
Mount Rushmore Theodore Roosevelt, Rough Rider
1 works of art and 1 protected areas
action count
action union
action filter_type
action find_reverse
entity Theodore Roosevelt
relation depicts
type work of art
action filter_type
action find_reverse
entity Theodore Roosevelt
relation depicts
type protected area
[{'concept': 'work of art'}, 'depicts', 'Theodore Roosevelt'] [{'concept': 'protected area'}, 'depicts', 'Theodore Roosevelt']
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { ?e rdf:type ?y . VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:protected_area ) } }
[]