Simple Question (Direct)
Simple Question
Q159585
P20
Q56061
USER
Where did the expiration of Boris III of Bulgaria occur ?
(Q159585,P20,c(Q56061))
action filter_type
action find
entity Q159585
relation P20
type Q56061
['Q159585', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q159585 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Boris III of Bulgaria
action filter_type
action find
entity Boris III of Bulgaria
relation place of death
type administrative territorial entity
['Boris III of Bulgaria', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Boris_III_of_Bulgaria property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q472
SYSTEM
Sofia
Q472
(Q159585,P20,c(Q56061))
action filter_type
action find
entity Q159585
relation P20
type Q56061
The expiration of Boris III of Bulgaria occurred in [ANSWER]
['Q159585', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q159585 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Sofia
The expiration of Boris III of Bulgaria occurred in Sofia
Sofia
action filter_type
action find
entity Boris III of Bulgaria
relation place of death
type administrative territorial entity
['Boris III of Bulgaria', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Boris_III_of_Bulgaria property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q472
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
(Q472,P190,c(Q56061))
action filter_type
action find
entity Q472
relation P190
type Q56061
['Q472', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q472 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Sofia
action filter_type
action find
entity Sofia
relation sister city
type administrative territorial entity
['Sofia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Sofia property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1085 Q649 Q2807
SYSTEM
Prague, Moscow, Madrid
Q1757 Q1741 Q1294439 Q2807 Q270 Q33935 Q649 Q3561 Q1524 Q3805 Q1780 Q84 Q3640 Q384 Q490 Q40738 Q163490 Q1085 Q64
(Q472,P190,c(Q56061))
action filter_type
action find
entity Q472
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
['Q472', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q472 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Helsinki Vienna Salalah Madrid Warsaw Tel Aviv Moscow Algiers Athens Amman Bratislava London Ankara Skopje Milan Bursa Sidon Prague Berlin
Prague, Moscow and Madrid are the sister cities of that one
Prague Moscow Madrid
action filter_type
action find
entity Sofia
relation sister city
type administrative territorial entity
['Sofia', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Sofia property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q472
Q515
USER
And which city?
(Q472,P190,c(Q515))
action filter_type
action find
entity Q472
relation P190
type Q515
['Q472', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q472 property:P190 ?w }
Sofia
action filter_type
action find
entity Sofia
relation sister city
type city
['Sofia', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:Sofia property:sister_city ?w }
[]
city
Q1899 Q19660 Q1953
SYSTEM
Kyiv, Bucharest, Yerevan
Q9005 Q291745 Q19660 Q19689 Q1953 Q1899
(Q472,P190,c(Q515))
action filter_type
action find
entity Q472
relation P190
type Q515
[ANSWERS]
['Q472', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q472 property:P190 ?w }
Brussels Ílhavo Bucharest Tirana Yerevan Kyiv
Kyiv Bucharest Yerevan
action filter_type
action find
entity Sofia
relation sister city
type city
['Sofia', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:Sofia property:sister_city ?w }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q159585
P21 P7
Q502895
USER
Which people have Boris III of Bulgaria as their sibling and are a female ?
AND((c(Q502895),P7,Q159585), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q159585
relation P7
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q159585'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?m WHERE { ?m property:P7 resource:Q159585 . ?m property:P21 resource:Q6581072 . ?m rdf:type ontology:Q502895 }
female Boris III of Bulgaria
action filter_type
action intersection
action find_reverse
entity Boris III of Bulgaria
relation brother
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Boris III of Bulgaria'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?m WHERE { ?m property:brother resource:Boris_III_of_Bulgaria . ?m property:gender resource:female . ?m rdf:type ontology:common_name }
[]
common name
Q927891 Q628259
SYSTEM
Princess Eudoxia of Bulgaria, Princess Nadezhda of Bulgaria
Q927891 Q628259
AND((c(Q502895),P7,Q159585), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q159585
relation P7
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWERS] have Boris III of Bulgaria as their sibling and are a female
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q159585'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?m WHERE { ?m property:P7 resource:Q159585 . ?m property:P21 resource:Q6581072 . ?m rdf:type ontology:Q502895 }
Princess Eudoxia of Bulgaria Princess Nadezhda of Bulgaria
Princess Eudoxia of Bulgaria and Princess Nadezhda of Bulgaria have Boris III of Bulgaria as their sibling and are a female
Princess Eudoxia of Bulgaria Princess Nadezhda of Bulgaria
action filter_type
action intersection
action find_reverse
entity Boris III of Bulgaria
relation brother
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Boris III of Bulgaria'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?m WHERE { ?m property:brother resource:Boris_III_of_Bulgaria . ?m property:gender resource:female . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q151667
P40
Q502895
USER
Do Ferdinand I of Bulgaria have those ones as a child ?
(Q151667,P40,Q927891) (Q151667,P40,Q628259)
action is_in
entity prev_answer
action find
entity Q151667
relation P40
['Q151667', 'P40', 'Q927891'] ['Q151667', 'P40', 'Q628259']
ASK WHERE { resource:Q151667 property:P40 ?h . VALUES ( ?h ) { ( resource:Q927891 ) ( resource:Q628259 ) } }
Ferdinand I of Bulgaria
action is_in
entity prev_answer
action find
entity Ferdinand I of Bulgaria
relation child
['Ferdinand I of Bulgaria', 'child', 'Princess Eudoxia of Bulgaria'] ['Ferdinand I of Bulgaria', 'child', 'Princess Nadezhda of Bulgaria']
ASK WHERE { resource:Ferdinand_I_of_Bulgaria property:child ?h . VALUES ( ?h ) { ( resource:Princess_Eudoxia_of_Bulgaria ) ( resource:Princess_Nadezhda_of_Bulgaria ) } }
[]
common name
SYSTEM
YES
(Q151667,P40,Q927891) (Q151667,P40,Q628259)
action is_in
entity prev_answer
action find
entity Q151667
relation P40
[ANSWER]
['Q151667', 'P40', 'Q927891'] ['Q151667', 'P40', 'Q628259']
ASK WHERE { resource:Q151667 property:P40 ?h . VALUES ( ?h ) { ( resource:Q927891 ) ( resource:Q628259 ) } }
Yes
action is_in
entity prev_answer
action find
entity Ferdinand I of Bulgaria
relation child
['Ferdinand I of Bulgaria', 'child', 'Princess Eudoxia of Bulgaria'] ['Ferdinand I of Bulgaria', 'child', 'Princess Nadezhda of Bulgaria']
ASK WHERE { resource:Ferdinand_I_of_Bulgaria property:child ?h . VALUES ( ?h ) { ( resource:Princess_Eudoxia_of_Bulgaria ) ( resource:Princess_Nadezhda_of_Bulgaria ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q355304 Q515
USER
How many cities are located next to atmost 5 waterways or watercourses ?
(c(Q515),P206,c(Q1267889)|c(Q355304))
action count
action atmost
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q355304
value 5
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { FILTER ( ?c <= 5 ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?c ) WHERE { { ?i property:P206 ?b . ?i rdf:type ontology:Q515 . ?b rdf:type ontology:Q1267889 } UNION { ?i property:P206 ?b . ?i rdf:type ontology:Q515 . ?b rdf:type ontology:Q355304 } } GROUP BY ?i } }
action count
action atmost
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type watercourse
value 5
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { FILTER ( ?c <= 5 ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?c ) WHERE { { ?i property:located_next_to_body_of_water ?b . ?i rdf:type ontology:city . ?b rdf:type ontology:waterway } UNION { ?i property:located_next_to_body_of_water ?b . ?i rdf:type ontology:city . ?b rdf:type ontology:watercourse } } GROUP BY ?i } }
[]
waterway watercourse city
SYSTEM
97
Q1410 Q3075 Q1794 Q1863 Q1865 Q1519 Q496499 Q3974 Q846877 Q19689 Q1486 Q2966 Q34217 Q496479 Q602903 Q3004 Q1461 Q488869 Q217432 Q827041 Q3572 Q623549 Q4024 Q1711 Q2978 Q3806 Q2973 Q34261 Q3014 Q1773 Q1844 Q14821 Q819587 Q3958 Q3955 Q23430 Q633272 Q2773 Q612815 Q320943 Q1858 Q633935 Q320416 Q7473516 Q1761 Q890122 Q4007 Q2706 Q7070 Q3826 Q653545 Q8684 Q270704 Q41474 Q2749 Q4174 Q4346 Q3838 Q2833 Q1209 Q23661 Q3931 Q3751 Q3750 Q3200 Q3126 Q3042 Q157835 Q3046 Q847550 Q3936 Q2936 Q646780 Q3214 Q2100 Q1533 Q1530 Q1953 Q5838 Q7027 Q3857 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q3861 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q1267889)|c(Q355304))
action count
action atmost
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q355304
value 5
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { FILTER ( ?c <= 5 ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?c ) WHERE { { ?i property:P206 ?b . ?i rdf:type ontology:Q515 . ?b rdf:type ontology:Q1267889 } UNION { ?i property:P206 ?b . ?i rdf:type ontology:Q515 . ?b rdf:type ontology:Q355304 } } GROUP BY ?i } }
Gibraltar Fürth Frankfurt Andorra la Vella Kuala Lumpur Abu Dhabi Kazuno Landshut Semboku Tirana Buenos Aires Heidelberg Oxford Yokote Yurihonjō Ingolstadt Manila Benalmádena Port Harcourt Beroun Tunis Puerto de la Cruz Frankfurt (Oder) Potsdam Regensburg Tübingen Darmstadt Port-au-Prince Wolfsburg Riga Vaduz Coburg Noshiro Neubrandenburg Weimar Ulaanbaatar Yuzawa Braunschweig Garachico Matsudo Hanoi Oga Tartessos Tokyo Dublin Bolhrad Rosenheim Bremerhaven Eisenach Muscat Kita-Akita Seoul Třebíč Kingstown Augsburg Emden Waren (Müritz) Kinshasa Freiburg im Breisgau Free Hanseatic City of Bremen Wellington Brandenburg an der Havel Praia Gera Salzgitter Erlangen Offenbach am Main Zaporizhzhya Pforzheim Nikaho Bamberg Oldenburg Katagami Cottbus Duisburg Caracas Baghdad Yerevan Kabul Straubing Wilhelmshaven Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Doha Kyiv Würzburg Brasília
97
action count
action atmost
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type watercourse
value 5
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { FILTER ( ?c <= 5 ) . { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?c ) WHERE { { ?i property:located_next_to_body_of_water ?b . ?i rdf:type ontology:city . ?b rdf:type ontology:waterway } UNION { ?i property:located_next_to_body_of_water ?b . ?i rdf:type ontology:city . ?b rdf:type ontology:watercourse } } GROUP BY ?i } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can approximately 1807 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1807
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?w ) WHERE { ?v rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?v } GROUP BY ?v } . FILTER ( ?w = 1807 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1807
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?w ) WHERE { ?v rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?v } GROUP BY ?v } . FILTER ( ?w = 1807 ) }
[]
musical instrument common name
SYSTEM
6
Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1807
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?w ) WHERE { ?v rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 . ?p property:P1303 ?v } GROUP BY ?v } . FILTER ( ?w = 1807 ) }
bass guitar double bass trumpet cello organ drum kit
6
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1807
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?w ) WHERE { ?v rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name . ?p property:instrument ?v } GROUP BY ?v } . FILTER ( ?w = 1807 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q182548
P725
Q502895 Q166142
USER
How many applications did approximately the same number of people dub for as Date A Live ?
(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 Q182548
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:Q502895 . ?c rdf:type ontology:Q166142 . ?c property:P725 ?l } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q182548 property:P725 ?b . ?b rdf:type ontology:Q166142 } } . FILTER ( ?u = ?s ) }
Date A Live
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Date A Live
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:common_name . ?c rdf:type ontology:application . ?c property:voice_actor ?l } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Date_A_Live property:voice_actor ?b . ?b rdf:type ontology:application } } . FILTER ( ?u = ?s ) }
[]
common name application
SYSTEM
101
Q16031150 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 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 Q182548
relation P725
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:Q502895 . ?c rdf:type ontology:Q166142 . ?c property:P725 ?l } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q182548 property:P725 ?b . ?b rdf:type ontology:Q166142 } } . FILTER ( ?u = ?s ) }
Hyperdimension Neptunia PP 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 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
101
action count
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Date A Live
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?u ) WHERE { ?l rdf:type ontology:common_name . ?c rdf:type ontology:application . ?c property:voice_actor ?l } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Date_A_Live property:voice_actor ?b . ?b rdf:type ontology:application } } . FILTER ( ?u = ?s ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atmost 1115 people ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1115
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?k <= 1115 ) . { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?k ) WHERE { ?a property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?q } }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1115
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?k <= 1115 ) . { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?k ) WHERE { ?a property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?q } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1115
[ANSWERS] are played by atmost 1115 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?k <= 1115 ) . { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?k ) WHERE { ?a property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?q } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by atmost 1115 people
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1115
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?k <= 1115 ) . { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?k ) WHERE { ?a property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?q } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q57651 Q151667
P9 P40
Q502895
USER
Which people are children of Ferdinand I of Bulgaria or are the siblings of Maria Anna of Neuburg ?
OR((Q151667,P40,c(Q502895)), (Q57651,P9,c(Q502895)))
action filter_type
action union
action find
entity Q151667
relation P40
action find
entity Q57651
relation P9
type Q502895
{'OR': [['Q151667', 'P40', {'concept': 'Q502895'}], ['Q57651', 'P9', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q151667 property:P40 ?g } UNION { resource:Q57651 property:P9 ?g } } . ?g rdf:type ontology:Q502895 }
Maria Anna of Neuburg Ferdinand I of Bulgaria
action filter_type
action union
action find
entity Ferdinand I of Bulgaria
relation child
action find
entity Maria Anna of Neuburg
relation sister
type common name
{'OR': [['Ferdinand I of Bulgaria', 'child', {'concept': 'common name'}], ['Maria Anna of Neuburg', 'sister', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Ferdinand_I_of_Bulgaria property:child ?g } UNION { resource:Maria_Anna_of_Neuburg property:sister ?g } } . ?g rdf:type ontology:common_name }
[]
common name
Q57527 Q628259 Q159585 Q63930 Q60431 Q134123 Q88576 Q927891 Q62048
SYSTEM
Eleonor Magdalene of Neuburg, Princess Nadezhda of Bulgaria, Boris III of Bulgaria, Countess Palatine Hedwig Elisabeth of Neuburg, Countess Palatine Dorothea Sophie of Neuburg, Prince Kiril of Bulgaria, Leopoldine Eleonore von der Pfalz, Princess Eudoxia of Bulgaria, Maria Sofia of Neuburg
Q57527 Q628259 Q159585 Q63930 Q60431 Q134123 Q88576 Q927891 Q62048
OR((Q151667,P40,c(Q502895)), (Q57651,P9,c(Q502895)))
action filter_type
action union
action find
entity Q151667
relation P40
action find
entity Q57651
relation P9
type Q502895
[ANSWERS] are children of Ferdinand I of Bulgaria or are the siblings of Maria Anna of Neuburg
{'OR': [['Q151667', 'P40', {'concept': 'Q502895'}], ['Q57651', 'P9', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q151667 property:P40 ?g } UNION { resource:Q57651 property:P9 ?g } } . ?g rdf:type ontology:Q502895 }
Eleonor Magdalene of Neuburg Princess Nadezhda of Bulgaria Boris III of Bulgaria Countess Palatine Hedwig Elisabeth of Neuburg Countess Palatine Dorothea Sophie of Neuburg Prince Kiril of Bulgaria Leopoldine Eleonore von der Pfalz Princess Eudoxia of Bulgaria Maria Sofia of Neuburg
Eleonor Magdalene of Neuburg, Princess Nadezhda of Bulgaria, Boris III of Bulgaria, Countess Palatine Hedwig Elisabeth of Neuburg, Countess Palatine Dorothea Sophie of Neuburg, Prince Kiril of Bulgaria, Leopoldine Eleonore von der Pfalz, Princess Eudoxia of Bulgaria and Maria Sofia of Neuburg are children of Ferdinand I of Bulgaria or are the siblings of Maria Anna of Neuburg
Eleonor Magdalene of Neuburg Princess Nadezhda of Bulgaria Boris III of Bulgaria Countess Palatine Hedwig Elisabeth of Neuburg Countess Palatine Dorothea Sophie of Neuburg Prince Kiril of Bulgaria Leopoldine Eleonore von der Pfalz Princess Eudoxia of Bulgaria Maria Sofia of Neuburg
action filter_type
action union
action find
entity Ferdinand I of Bulgaria
relation child
action find
entity Maria Anna of Neuburg
relation sister
type common name
{'OR': [['Ferdinand I of Bulgaria', 'child', {'concept': 'common name'}], ['Maria Anna of Neuburg', 'sister', {'concept': 'common name'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Ferdinand_I_of_Bulgaria property:child ?g } UNION { resource:Maria_Anna_of_Neuburg property:sister ?g } } . ?g rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q63930
P25
Q502895
USER
Which people have that one as mom ?
(c(Q502895),P25,Q63930)
action filter_type
action find_reverse
entity Q63930
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q63930']
SELECT DISTINCT ?g WHERE { ?g property:P25 resource:Q63930 . ?g rdf:type ontology:Q502895 }
Countess Palatine Hedwig Elisabeth of Neuburg
action filter_type
action find_reverse
entity Countess Palatine Hedwig Elisabeth of Neuburg
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Countess Palatine Hedwig Elisabeth of Neuburg']
SELECT DISTINCT ?g WHERE { ?g property:mother resource:Countess_Palatine_Hedwig_Elisabeth_of_Neuburg . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q134123
SYSTEM
Did you mean Prince Kiril of Bulgaria ?
Q57527 Q628259 Q159585 Q63930 Q60431 Q134123 Q88576 Q927891 Q62048
(c(Q502895),P25,Q57527) (c(Q502895),P25,Q628259) (c(Q502895),P25,Q159585) (c(Q502895),P25,Q63930) (c(Q502895),P25,Q60431) (c(Q502895),P25,Q134123) (c(Q502895),P25,Q88576) (c(Q502895),P25,Q927891) (c(Q502895),P25,Q62048)
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q57527'] [{'concept': 'Q502895'}, 'P25', 'Q628259'] [{'concept': 'Q502895'}, 'P25', 'Q159585'] [{'concept': 'Q502895'}, 'P25', 'Q63930'] [{'concept': 'Q502895'}, 'P25', 'Q60431'] [{'concept': 'Q502895'}, 'P25', 'Q134123'] [{'concept': 'Q502895'}, 'P25', 'Q88576'] [{'concept': 'Q502895'}, 'P25', 'Q927891'] [{'concept': 'Q502895'}, 'P25', 'Q62048']
SELECT DISTINCT ?g WHERE { ?g property:P25 resource:Q63930 . ?g rdf:type ontology:Q502895 }
Eleonor Magdalene of Neuburg Princess Nadezhda of Bulgaria Boris III of Bulgaria Countess Palatine Hedwig Elisabeth of Neuburg Countess Palatine Dorothea Sophie of Neuburg Prince Kiril of Bulgaria Leopoldine Eleonore von der Pfalz Princess Eudoxia of Bulgaria Maria Sofia of Neuburg
Did you mean Prince Kiril of Bulgaria ?
Prince Kiril of Bulgaria
[{'concept': 'common name'}, 'mother', 'Eleonor Magdalene of Neuburg'] [{'concept': 'common name'}, 'mother', 'Princess Nadezhda of Bulgaria'] [{'concept': 'common name'}, 'mother', 'Boris III of Bulgaria'] [{'concept': 'common name'}, 'mother', 'Countess Palatine Hedwig Elisabeth of Neuburg'] [{'concept': 'common name'}, 'mother', 'Countess Palatine Dorothea Sophie of Neuburg'] [{'concept': 'common name'}, 'mother', 'Prince Kiril of Bulgaria'] [{'concept': 'common name'}, 'mother', 'Leopoldine Eleonore von der Pfalz'] [{'concept': 'common name'}, 'mother', 'Princess Eudoxia of Bulgaria'] [{'concept': 'common name'}, 'mother', 'Maria Sofia of Neuburg']
SELECT DISTINCT ?g WHERE { ?g property:mother resource:Countess_Palatine_Hedwig_Elisabeth_of_Neuburg . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Countess Palatine Hedwig Elisabeth of Neuburg. Could you tell me the answer for that?
(c(Q502895),P25,Q63930)
Q63930
[{'concept': 'Q502895'}, 'P25', 'Q63930']
[{'concept': 'common name'}, 'mother', 'Countess Palatine Hedwig Elisabeth of Neuburg']
[]
Q4979467 Q547527 Q265880
SYSTEM
Maria Kasimira Sobieski, Maria Karolina Sobieska, Maria Clementina Sobieska
Q4979467 Q547527 Q265880
(c(Q502895),P25,Q63930)
action filter_type
action find_reverse
entity Q63930
relation P25
type Q502895
[ANSWERS] have that one as mom
[{'concept': 'Q502895'}, 'P25', 'Q63930']
SELECT DISTINCT ?g WHERE { ?g property:P25 resource:Q63930 . ?g rdf:type ontology:Q502895 }
Maria Kasimira Sobieski Maria Karolina Sobieska Maria Clementina Sobieska
Maria Kasimira Sobieski, Maria Karolina Sobieska and Maria Clementina Sobieska have that one as mom
Maria Kasimira Sobieski Maria Karolina Sobieska Maria Clementina Sobieska
action filter_type
action find_reverse
entity Countess Palatine Hedwig Elisabeth of Neuburg
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Countess Palatine Hedwig Elisabeth of Neuburg']
SELECT DISTINCT ?g WHERE { ?g property:mother resource:Countess_Palatine_Hedwig_Elisabeth_of_Neuburg . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q99003
P40
Q502895
USER
Do Henry Vahl have those ones as an offspring ?
(Q99003,P40,Q4979467) (Q99003,P40,Q547527) (Q99003,P40,Q265880)
action is_in
entity prev_answer
action find
entity Q99003
relation P40
['Q99003', 'P40', 'Q4979467'] ['Q99003', 'P40', 'Q547527'] ['Q99003', 'P40', 'Q265880']
ASK WHERE { VALUES ( ?k ) { ( resource:Q4979467 ) ( resource:Q547527 ) ( resource:Q265880 ) } . resource:Q99003 property:P40 ?k }
Henry Vahl
action is_in
entity prev_answer
action find
entity Henry Vahl
relation child
['Henry Vahl', 'child', 'Maria Kasimira Sobieski'] ['Henry Vahl', 'child', 'Maria Karolina Sobieska'] ['Henry Vahl', 'child', 'Maria Clementina Sobieska']
ASK WHERE { VALUES ( ?k ) { ( resource:Maria_Kasimira_Sobieski ) ( resource:Maria_Karolina_Sobieska ) ( resource:Maria_Clementina_Sobieska ) } . resource:Henry_Vahl property:child ?k }
[]
common name
SYSTEM
NO
(Q99003,P40,Q4979467) (Q99003,P40,Q547527) (Q99003,P40,Q265880)
action is_in
entity prev_answer
action find
entity Q99003
relation P40
[ANSWER]
['Q99003', 'P40', 'Q4979467'] ['Q99003', 'P40', 'Q547527'] ['Q99003', 'P40', 'Q265880']
ASK WHERE { VALUES ( ?k ) { ( resource:Q4979467 ) ( resource:Q547527 ) ( resource:Q265880 ) } . resource:Q99003 property:P40 ?k }
No
action is_in
entity prev_answer
action find
entity Henry Vahl
relation child
['Henry Vahl', 'child', 'Maria Kasimira Sobieski'] ['Henry Vahl', 'child', 'Maria Karolina Sobieska'] ['Henry Vahl', 'child', 'Maria Clementina Sobieska']
ASK WHERE { VALUES ( ?k ) { ( resource:Maria_Kasimira_Sobieski ) ( resource:Maria_Karolina_Sobieska ) ( resource:Maria_Clementina_Sobieska ) } . resource:Henry_Vahl property:child ?k }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q134123 Q235823
P25
Q502895
USER
Was Princess Marie Louise of Bourbon-Parma the mother of Prince Kiril of Bulgaria ?
(Q134123,P25,Q235823)
action is_in
entity Q235823
action find
entity Q134123
relation P25
['Q134123', 'P25', 'Q235823']
ASK WHERE { resource:Q134123 property:P25 resource:Q235823 }
Prince Kiril of Bulgaria Princess Marie Louise of Bourbon-Parma
action is_in
entity Princess Marie Louise of Bourbon-Parma
action find
entity Prince Kiril of Bulgaria
relation mother
['Prince Kiril of Bulgaria', 'mother', 'Princess Marie Louise of Bourbon-Parma']
ASK WHERE { resource:Prince_Kiril_of_Bulgaria property:mother resource:Princess_Marie_Louise_of_Bourbon-Parma }
[]
common name
SYSTEM
YES
(Q134123,P25,Q235823)
action is_in
entity Q235823
action find
entity Q134123
relation P25
[ANSWER]
['Q134123', 'P25', 'Q235823']
ASK WHERE { resource:Q134123 property:P25 resource:Q235823 }
Yes
action is_in
entity Princess Marie Louise of Bourbon-Parma
action find
entity Prince Kiril of Bulgaria
relation mother
['Prince Kiril of Bulgaria', 'mother', 'Princess Marie Louise of Bourbon-Parma']
ASK WHERE { resource:Prince_Kiril_of_Bulgaria property:mother resource:Princess_Marie_Louise_of_Bourbon-Parma }
[]