Simple Question (Direct)
Simple Question
Q1284635
P937
Q515
USER
What is the location where Hugo Böhlau worked ?
(Q1284635,P937,c(Q515))
action filter_type
action find
entity Q1284635
relation P937
type Q515
['Q1284635', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q1284635 property:P937 ?e . ?e rdf:type ontology:Q515 }
Hugo Böhlau
action filter_type
action find
entity Hugo Böhlau
relation work location
type city
['Hugo Böhlau', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Hugo_Böhlau property:work_location ?e . ?e rdf:type ontology:city }
[]
city
Q2999
SYSTEM
Würzburg
Q2999
(Q1284635,P937,c(Q515))
action filter_type
action find
entity Q1284635
relation P937
type Q515
The location Hugo Böhlau worked is in [ANSWER]
['Q1284635', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q1284635 property:P937 ?e . ?e rdf:type ontology:Q515 }
Würzburg
The location Hugo Böhlau worked is in Würzburg
Würzburg
action filter_type
action find
entity Hugo Böhlau
relation work location
type city
['Hugo Böhlau', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Hugo_Böhlau property:work_location ?e . ?e rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1284635
P21
Q290
USER
Which sex does Hugo Böhlau belong to ?
(Q1284635,P21,c(Q290))
action filter_type
action find
entity Q1284635
relation P21
type Q290
['Q1284635', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1284635 property:P21 ?j . ?j rdf:type ontology:Q290 }
Hugo Böhlau
action filter_type
action find
entity Hugo Böhlau
relation gender
type sex
['Hugo Böhlau', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Hugo_Böhlau property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1284635,P21,c(Q290))
action filter_type
action find
entity Q1284635
relation P21
type Q290
Hugo Böhlau belongs to [ANSWER]
['Q1284635', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q1284635 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Hugo Böhlau belongs to male
male
action filter_type
action find
entity Hugo Böhlau
relation gender
type sex
['Hugo Böhlau', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Hugo_Böhlau property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1284635
P106
Q12737077
USER
What does Hugo Böhlau do for a living ?
(Q1284635,P106,c(Q12737077))
action filter_type
action find
entity Q1284635
relation P106
type Q12737077
['Q1284635', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q1284635 property:P106 ?s }
Hugo Böhlau
action filter_type
action find
entity Hugo Böhlau
relation occupation
type occupation
['Hugo Böhlau', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Hugo_Böhlau property:occupation ?s }
[]
occupation
Q1622272
SYSTEM
university teacher
Q1622272
(Q1284635,P106,c(Q12737077))
action filter_type
action find
entity Q1284635
relation P106
type Q12737077
Hugo Böhlau does for a living as [ANSWER]
['Q1284635', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q1284635 property:P106 ?s }
university teacher
Hugo Böhlau does for a living as university teacher
university teacher
action filter_type
action find
entity Hugo Böhlau
relation occupation
type occupation
['Hugo Böhlau', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Hugo_Böhlau property:occupation ?s }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1284635
Q28640
USER
And which profession?
(Q1284635,P106,c(Q28640))
action filter_type
action find
entity Q1284635
relation P106
type Q28640
['Q1284635', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?c WHERE { resource:Q1284635 property:P106 ?c . ?c rdf:type ontology:Q28640 }
Hugo Böhlau
action filter_type
action find
entity Hugo Böhlau
relation occupation
type profession
['Hugo Böhlau', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?c WHERE { resource:Hugo_Böhlau property:occupation ?c . ?c rdf:type ontology:profession }
[]
profession
Q185351
SYSTEM
jurist
Q185351
(Q1284635,P106,c(Q28640))
action filter_type
action find
entity Q1284635
relation P106
type Q28640
[ANSWER]
['Q1284635', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?c WHERE { resource:Q1284635 property:P106 ?c . ?c rdf:type ontology:Q28640 }
jurist
jurist
action filter_type
action find
entity Hugo Böhlau
relation occupation
type profession
['Hugo Böhlau', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?c WHERE { resource:Hugo_Böhlau property:occupation ?c . ?c rdf:type ontology:profession }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16885602 Q1284635
P27
Q1048835
USER
Which political territories are the native countriesof Hugo Böhlau or Kathleen Shannon ?
OR((Q1284635,P27,c(Q1048835)), (Q16885602,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1284635
relation P27
action find
entity Q16885602
relation P27
type Q1048835
{'OR': [['Q1284635', 'P27', {'concept': 'Q1048835'}], ['Q16885602', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?d ) { ( resource:Q1284635 ) ( resource:Q16885602 ) } . ?d property:P27 ?e } . ?e rdf:type ontology:Q1048835 }
Kathleen Shannon Hugo Böhlau
action filter_type
action union
action find
entity Hugo Böhlau
relation country of citizenship
action find
entity Kathleen Shannon
relation country of citizenship
type political territorial entity
{'OR': [['Hugo Böhlau', 'country of citizenship', {'concept': 'political territorial entity'}], ['Kathleen Shannon', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?d ) { ( resource:Hugo_Böhlau ) ( resource:Kathleen_Shannon ) } . ?d property:country_of_citizenship ?e } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q1284635,P27,c(Q1048835)), (Q16885602,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1284635
relation P27
action find
entity Q16885602
relation P27
type Q1048835
[ANSWERS] are the native countriesof Hugo Böhlau or Kathleen Shannon
{'OR': [['Q1284635', 'P27', {'concept': 'Q1048835'}], ['Q16885602', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?d ) { ( resource:Q1284635 ) ( resource:Q16885602 ) } . ?d property:P27 ?e } . ?e rdf:type ontology:Q1048835 }
Australia Germany
Australia and Germany are the native countriesof Hugo Böhlau or Kathleen Shannon
Australia Germany
action filter_type
action union
action find
entity Hugo Böhlau
relation country of citizenship
action find
entity Kathleen Shannon
relation country of citizenship
type political territorial entity
{'OR': [['Hugo Böhlau', 'country of citizenship', {'concept': 'political territorial entity'}], ['Kathleen Shannon', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?d ) { ( resource:Hugo_Böhlau ) ( resource:Kathleen_Shannon ) } . ?d property:country_of_citizenship ?e } . ?e rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3546029
P27
Q502895
USER
Are Tyler Ruegsegger a citizen of those political territories ?
(Q3546029,P27,Q408) (Q3546029,P27,Q183)
action is_in
entity prev_answer
action find
entity Q3546029
relation P27
['Q3546029', 'P27', 'Q408'] ['Q3546029', 'P27', 'Q183']
ASK WHERE { VALUES ( ?w ) { ( resource:Q408 ) ( resource:Q183 ) } . resource:Q3546029 property:P27 ?w }
Tyler Ruegsegger
action is_in
entity prev_answer
action find
entity Tyler Ruegsegger
relation country of citizenship
['Tyler Ruegsegger', 'country of citizenship', 'Australia'] ['Tyler Ruegsegger', 'country of citizenship', 'Germany']
ASK WHERE { VALUES ( ?w ) { ( resource:Australia ) ( resource:Germany ) } . resource:Tyler_Ruegsegger property:country_of_citizenship ?w }
[]
common name
SYSTEM
NO
(Q3546029,P27,Q408) (Q3546029,P27,Q183)
action is_in
entity prev_answer
action find
entity Q3546029
relation P27
[ANSWER]
['Q3546029', 'P27', 'Q408'] ['Q3546029', 'P27', 'Q183']
ASK WHERE { VALUES ( ?w ) { ( resource:Q408 ) ( resource:Q183 ) } . resource:Q3546029 property:P27 ?w }
No
action is_in
entity prev_answer
action find
entity Tyler Ruegsegger
relation country of citizenship
['Tyler Ruegsegger', 'country of citizenship', 'Australia'] ['Tyler Ruegsegger', 'country of citizenship', 'Germany']
ASK WHERE { VALUES ( ?w ) { ( resource:Australia ) ( resource:Germany ) } . resource:Tyler_Ruegsegger property:country_of_citizenship ?w }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q17
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with approximately the same number of political territories as Japan ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q17
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?e ) WHERE { ?v property:P530 ?a . ?v rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q17 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?t ) }
Japan
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?e ) WHERE { ?v property:diplomatic_relation ?a . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Japan property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?t ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
48
Q804 Q800 Q419 Q668 Q414 Q55 Q148 Q783 Q45 Q41 Q796 Q794 Q954 Q889 Q881 Q811 Q31 Q924 Q928 Q733 Q734 Q233 Q1041 Q27 Q1028 Q736 Q786 Q225 Q224 Q96 Q347 Q17 Q902 Q1036 Q1033 Q963 Q298 Q117 Q750 Q213 Q215 Q219 Q916 Q1009 Q774 Q810 Q29 Q869
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q17
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?e ) WHERE { ?v property:P530 ?a . ?v rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q1048835 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q17 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?t ) }
Panama Costa Rica Peru India Argentina Netherlands People's Republic of China Honduras Portugal Greece Iraq Iran Zimbabwe Afghanistan Vietnam Nicaragua Belgium Tanzania Philippines Paraguay Guyana Malta Senegal Ireland Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Liechtenstein Japan Bangladesh Uganda Nigeria Botswana Chile Ghana Bolivia Czech Republic Slovenia Bulgaria Angola Cameroon Guatemala Jordan Spain Thailand
48
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?a ) AS ?e ) WHERE { ?v property:diplomatic_relation ?a . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:political_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Japan property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q31
P530
Q15617994 Q1048835
USER
And also tell me about Belgium?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q31
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q31 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?u ) . { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?b ) WHERE { ?l property:P530 ?i . ?l rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 } GROUP BY ?l } }
Belgium
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Belgium
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Belgium property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?u ) . { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?b ) WHERE { ?l property:diplomatic_relation ?i . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?l } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
48
Q804 Q800 Q419 Q668 Q414 Q55 Q148 Q783 Q45 Q41 Q796 Q794 Q954 Q889 Q881 Q811 Q31 Q924 Q928 Q733 Q734 Q233 Q1041 Q27 Q1028 Q736 Q786 Q225 Q224 Q96 Q347 Q17 Q902 Q1036 Q1033 Q963 Q298 Q117 Q750 Q213 Q215 Q219 Q916 Q1009 Q774 Q810 Q29 Q869
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q31
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Q31 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?b = ?u ) . { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?b ) WHERE { ?l property:P530 ?i . ?l rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 } GROUP BY ?l } }
Panama Costa Rica Peru India Argentina Netherlands People's Republic of China Honduras Portugal Greece Iraq Iran Zimbabwe Afghanistan Vietnam Nicaragua Belgium Tanzania Philippines Paraguay Guyana Malta Senegal Ireland Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Liechtenstein Japan Bangladesh Uganda Nigeria Botswana Chile Ghana Bolivia Czech Republic Slovenia Bulgaria Angola Cameroon Guatemala Jordan Spain Thailand
48
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Belgium
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { resource:Belgium property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?b = ?u ) . { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?b ) WHERE { ?l property:diplomatic_relation ?i . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?l } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1454
Q1269299 Q2712963 Q28640
USER
How many professions have their legal form as exactly 1 business organizations or abstract nouns ?
(c(Q28640),P1454,c(Q1269299)|c(Q2712963))
action count
action equal
action union
action find_tuple_counts
relation P1454
type Q28640
type Q1269299
action find_tuple_counts
relation P1454
type Q28640
type Q2712963
value 1
[{'concept': 'Q28640'}, 'P1454', [{'concept': 'Q1269299'}, {'concept': 'Q2712963'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?d ) WHERE { { ?x rdf:type ontology:Q28640 . ?n rdf:type ontology:Q2712963 . ?x property:P1454 ?n } UNION { ?x property:P1454 ?n . ?x rdf:type ontology:Q28640 . ?n rdf:type ontology:Q1269299 } } GROUP BY ?x } . FILTER ( ?d = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation legal form
type profession
type type of business entity
action find_tuple_counts
relation legal form
type profession
type abstract noun
value 1
[{'concept': 'profession'}, 'legal form', [{'concept': 'type of business entity'}, {'concept': 'abstract noun'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?d ) WHERE { { ?x rdf:type ontology:profession . ?n rdf:type ontology:abstract_noun . ?x property:legal_form ?n } UNION { ?x property:legal_form ?n . ?x rdf:type ontology:profession . ?n rdf:type ontology:type_of_business_entity } } GROUP BY ?x } . FILTER ( ?d = 1 ) }
[]
type of business entity abstract noun profession
SYSTEM
189
Q1157042 Q977906 Q1140960 Q570081 Q1985279 Q561385 Q562078 Q2298950 Q1849951 Q1023734 Q1051538 Q27665087 Q1358743 Q219758 Q1137822 Q339266 Q1143659 Q1584831 Q4042609 Q991149 Q945060 Q204474 Q2822685 Q2461951 Q3337438 Q4806100 Q651089 Q699634 Q912291 Q1062171 Q1889791 Q14545884 Q1502293 Q861343 Q1330823 Q611508 Q122741 Q15070335 Q3181534 Q1129295 Q782028 Q286780 Q1191897 Q959672 Q610952 Q1786683 Q597020 Q684780 Q17297596 Q307104 Q1023055 Q481968 Q220317 Q1576643 Q1193145 Q916714 Q907357 Q974657 Q2602093 Q735267 Q674686 Q216611 Q284989 Q2866089 Q673888 Q1546111 Q514059 Q2617855 Q245723 Q4051069 Q7098994 Q94933 Q689093 Q1576335 Q2274654 Q3504740 Q24695424 Q372471 Q778453 Q304980 Q860580 Q379959 Q870894 Q2572761 Q1343212 Q642707 Q71930 Q1799063 Q679933 Q727701 Q511988 Q1493042 Q2176341 Q164716 Q4131576 Q23901 Q549221 Q677273 Q13219333 Q1515682 Q2411797 Q1060165 Q2414469 Q1466835 Q7681873 Q1053684 Q9290601 Q671855 Q804201 Q3274623 Q2310169 Q2307159 Q890779 Q14428 Q1224739 Q18594 Q2066242 Q204961 Q174561 Q4802754 Q245456 Q994003 Q870122 Q870332 Q1692707 Q495054 Q1827127 Q739552 Q580866 Q188273 Q1068734 Q16829899 Q1101463 Q834035 Q1542578 Q1576758 Q2866735 Q238132 Q2865851 Q758030 Q1517179 Q918638 Q870095 Q662567 Q863618 Q980729 Q2607531 Q3960699 Q1044563 Q1671616 Q1493857 Q1386435 Q1884327 Q7577190 Q1131475 Q2549114 Q571862 Q19902562 Q207922 Q702550 Q391183 Q1098120 Q613801 Q3008126 Q217493 Q150001 Q3569530 Q1467154 Q1783815 Q1812475 Q1296433 Q263787 Q483036 Q3530472 Q1933462 Q2291482 Q565073 Q651140 Q1637338 Q695299 Q11712407 Q2985270 Q2353010 Q1102069 Q1188050 Q130763 Q1046593 Q1384984 Q2300984
(c(Q28640),P1454,c(Q1269299)|c(Q2712963))
action count
action equal
action union
action find_tuple_counts
relation P1454
type Q28640
type Q1269299
action find_tuple_counts
relation P1454
type Q28640
type Q2712963
value 1
[ANSWER]
[{'concept': 'Q28640'}, 'P1454', [{'concept': 'Q1269299'}, {'concept': 'Q2712963'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?d ) WHERE { { ?x rdf:type ontology:Q28640 . ?n rdf:type ontology:Q2712963 . ?x property:P1454 ?n } UNION { ?x property:P1454 ?n . ?x rdf:type ontology:Q28640 . ?n rdf:type ontology:Q1269299 } } GROUP BY ?x } . FILTER ( ?d = 1 ) }
Daedalic Entertainment Monte Cristo Sonic Team Quantic Dream AlphaDream Corporation Travian Games Nexon Starbreeze Studios Milestone Cing Cauldron D-Pad Studio Technōs Japan Corporation BioWare Gala Inc. Accolade Nippon Ichi Software Mistwalker Larian Studios 1-UP Studio Ubisoft Reflections id Software Access Games Alchemist Nd Cube 11 bit studios Ascaron Factor 5 Mitchell Corporation The 3DO Company Splash Damage Česká zbrojovka Uherský Brod Genki Tale of Tales Elite Systems Creative Assembly Sega Flying Wild Hog Klei Entertainment Mojang Game Freak thatgamecompany Grasshopper Manufacture Daybreak Game Company n-Space Playfish Danger Close Games Camelot Software Planning Yager Development Tri-Crescendo CCP Games Acquire Maxis Sulake Corporation Slightly Mad Studios Sucker Punch Productions Monolith Productions Wooga Sumo Digital Bungie Level-5 LucasArts Tri-Ace Arxel Tribe InnoGames Troika Games Nadeo Arc System Works Zylom The Farm 51 CD Projekt Take-Two Interactive Gameloft Visceral Games Gremlin Interactive Supermassive Games Rain Games Wargaming.net Chunsoft Nebula Device Tencent Holdings Adventure Soft Egosoft Housemarque Enix Rare Ltd. Cryo Interactive People Can Fly Eidos Interactive SIE Bend Studio DR Studios Game Arts RuneSoft Crytek TT Games Codemasters Spellbound Entertainment Piranha Bytes Nixxes Software Radical Entertainment Eurocom Riot Games FromSoftware Metropolis Software Tamsoft Polyphony Digital Inti Creates Bug-Byte Black Hole Entertainment AQ Interactive Spieleentwicklungskombinat Rocksteady Studios Bohemia Interactive Capcom Digital Extremes Sony Interactive Entertainment Techland Pterodon Kemco Arzest 5th Cell Evolution Studios Crytek UK Umarex Square Enix Europe ArenaNet Linux Game Publishing Square THQ Ubisoft HAL Laboratory Colossal Order Climax Entertainment Deck13 Interactive Rockstar New England Platinum Games Asobo Studio 4J Studios Artoon Attic Entertainment Software System 3 Funcom Rovio Entertainment Ariolasoft Feral Interactive Firefly Studios Harmonix Music Systems Silver Style Entertainment SNK Introversion Software GarageGames F4 Magnetic Fields Spike Chunsoft Looking Glass Studios City Interactive Page 44 Studios KING Art Games Atari International Games System Incentive Software High Moon Studios Kuju Entertainment CyberConnect2 Paradox Interactive Intelligent Systems Wizarbox Quintet Ninja Theory Stainless Games Technosoft Sunflowers Interactive Entertainment Software NCsoft Tokkun Studio SCE Studio Liverpool Rockstar Vienna Rainbow Arts Media Molecule Nihon Bussan Ubisoft Blue Byte Infinite Dreams Inc. Idea Factory Cyanide ClockStone Software Treasure Tripwire Interactive Gearbox Software Team17 Titus Software
189
action count
action equal
action union
action find_tuple_counts
relation legal form
type profession
type type of business entity
action find_tuple_counts
relation legal form
type profession
type abstract noun
value 1
[{'concept': 'profession'}, 'legal form', [{'concept': 'type of business entity'}, {'concept': 'abstract noun'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?d ) WHERE { { ?x rdf:type ontology:profession . ?n rdf:type ontology:abstract_noun . ?x property:legal_form ?n } UNION { ?x property:legal_form ?n . ?x rdf:type ontology:profession . ?n rdf:type ontology:type_of_business_entity } } GROUP BY ?x } . FILTER ( ?d = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20630695 Q1284635
P27
Q1048835
USER
Which political territories are Hugo Böhlau or Jamal Charles a civilian of ?
OR((Q1284635,P27,c(Q1048835)), (Q20630695,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1284635
relation P27
action find
entity Q20630695
relation P27
type Q1048835
{'OR': [['Q1284635', 'P27', {'concept': 'Q1048835'}], ['Q20630695', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?l ) { ( resource:Q1284635 ) ( resource:Q20630695 ) } . ?l property:P27 ?v } . ?v rdf:type ontology:Q1048835 }
Jamal Charles Hugo Böhlau
action filter_type
action union
action find
entity Hugo Böhlau
relation country of citizenship
action find
entity Jamal Charles
relation country of citizenship
type political territorial entity
{'OR': [['Hugo Böhlau', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jamal Charles', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?l ) { ( resource:Hugo_Böhlau ) ( resource:Jamal_Charles ) } . ?l property:country_of_citizenship ?v } . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q769 Q183
SYSTEM
Grenada, Germany
Q769 Q183
OR((Q1284635,P27,c(Q1048835)), (Q20630695,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1284635
relation P27
action find
entity Q20630695
relation P27
type Q1048835
[ANSWERS] are Hugo Böhlau or Jamal Charles a civilian of
{'OR': [['Q1284635', 'P27', {'concept': 'Q1048835'}], ['Q20630695', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?l ) { ( resource:Q1284635 ) ( resource:Q20630695 ) } . ?l property:P27 ?v } . ?v rdf:type ontology:Q1048835 }
Grenada Germany
Grenada and Germany are Hugo Böhlau or Jamal Charles a civilian of
Grenada Germany
action filter_type
action union
action find
entity Hugo Böhlau
relation country of citizenship
action find
entity Jamal Charles
relation country of citizenship
type political territorial entity
{'OR': [['Hugo Böhlau', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jamal Charles', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?l ) { ( resource:Hugo_Böhlau ) ( resource:Jamal_Charles ) } . ?l property:country_of_citizenship ?v } . ?v rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q769
P706
Q107425
USER
Which landscape is that political territory located on ?
(Q769,P706,c(Q107425))
action filter_type
action find
entity Q769
relation P706
type Q107425
['Q769', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?e WHERE { resource:Q769 property:P706 ?e . ?e rdf:type ontology:Q107425 }
Grenada
action filter_type
action find
entity Grenada
relation located on terrain feature
type landscape
['Grenada', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?e WHERE { resource:Grenada property:located_on_terrain_feature ?e . ?e rdf:type ontology:landscape }
[]
landscape
Clarification for simple ques.
Q183
SYSTEM
Did you mean Germany ?
Q769 Q183
(Q769,P706,c(Q107425)) (Q183,P706,c(Q107425))
[ANSWER]
['Q769', 'P706', {'concept': 'Q107425'}] ['Q183', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?e WHERE { resource:Q769 property:P706 ?e . ?e rdf:type ontology:Q107425 }
Grenada Germany
Did you mean Germany ?
Germany
['Grenada', 'located on terrain feature', {'concept': 'landscape'}] ['Germany', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?e WHERE { resource:Grenada property:located_on_terrain_feature ?e . ?e rdf:type ontology:landscape }
[]
Simple Question (Coreferenced)
USER
No, I meant Grenada. Could you tell me the answer for that?
(Q769,P706,c(Q107425))
Q769
['Q769', 'P706', {'concept': 'Q107425'}]
['Grenada', 'located on terrain feature', {'concept': 'landscape'}]
[]
Q93259
SYSTEM
Lesser Antilles
Q93259
(Q769,P706,c(Q107425))
action filter_type
action find
entity Q769
relation P706
type Q107425
That political territory is located in [ANSWER]
['Q769', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?e WHERE { resource:Q769 property:P706 ?e . ?e rdf:type ontology:Q107425 }
Lesser Antilles
That political territory is located in Lesser Antilles
Lesser Antilles
action filter_type
action find
entity Grenada
relation located on terrain feature
type landscape
['Grenada', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?e WHERE { resource:Grenada property:located_on_terrain_feature ?e . ?e rdf:type ontology:landscape }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q769
P1532
Q6979593 Q502895
USER
How many national association football teams and people represent Grenada ?
(c(Q6979593),P1532,Q769) (c(Q502895),P1532,Q769)
action count
action union
action filter_type
action find_reverse
entity Q769
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q769
relation P1532
type Q502895
[{'concept': 'Q6979593'}, 'P1532', 'Q769'] [{'concept': 'Q502895'}, 'P1532', 'Q769']
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q6979593 ) ( ontology:Q502895 ) } }
Grenada
action count
action union
action filter_type
action find_reverse
entity Grenada
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Grenada
relation country for sport
type common name
[{'concept': 'national association football team'}, 'country for sport', 'Grenada'] [{'concept': 'common name'}, 'country for sport', 'Grenada']
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:national_association_football_team ) ( ontology:common_name ) } }
[]
national association football team common name
SYSTEM
1 national association football teams and 9 people
Q26721333 Q23322176 Q26775183 Q24175360 Q24955988 Q3277260 Q26772688 Q26831200 Q26701397 Q26704752
(c(Q6979593),P1532,Q769) (c(Q502895),P1532,Q769)
action count
action union
action filter_type
action find_reverse
entity Q769
relation P1532
type Q6979593
action filter_type
action find_reverse
entity Q769
relation P1532
type Q502895
[ANSWER]
[{'concept': 'Q6979593'}, 'P1532', 'Q769'] [{'concept': 'Q502895'}, 'P1532', 'Q769']
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:Q6979593 ) ( ontology:Q502895 ) } }
Colleen Felix Payton Hazzard Natalia Vincent Lindon Victor Anderson Peters Grenada women's national football team Andon Mitchell Geraldine McQueen Walt Williams Alleyne Lett
1 national association football teams and 9 people
action count
action union
action filter_type
action find_reverse
entity Grenada
relation country for sport
type national association football team
action filter_type
action find_reverse
entity Grenada
relation country for sport
type common name
[{'concept': 'national association football team'}, 'country for sport', 'Grenada'] [{'concept': 'common name'}, 'country for sport', 'Grenada']
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { ?r rdf:type ?m . VALUES ( ?m ) { ( ontology:national_association_football_team ) ( ontology:common_name ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q107425 Q355304
USER
Which watercourses are located in approximately 1 landscape ?
(c(Q355304),P706,c(Q107425))
action approx
action find_tuple_counts
relation P706
type Q355304
type Q107425
value 1
[{'concept': 'Q355304'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?s ) WHERE { ?k property:P706 ?m . ?k rdf:type ontology:Q355304 . ?m rdf:type ontology:Q107425 } GROUP BY ?k } }
action approx
action find_tuple_counts
relation located on terrain feature
type watercourse
type landscape
value 1
[{'concept': 'watercourse'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?s ) WHERE { ?k property:located_on_terrain_feature ?m . ?k rdf:type ontology:watercourse . ?m rdf:type ontology:landscape } GROUP BY ?k } }
[]
landscape watercourse
Q1151114 Q3358050 Q19364073
SYSTEM
Călmățui River, Oued Saoura, Oued Messaoud
Q1151114 Q3358050 Q19364073
(c(Q355304),P706,c(Q107425))
action approx
action find_tuple_counts
relation P706
type Q355304
type Q107425
value 1
[ANSWERS] are located in approximately 1 landscape
[{'concept': 'Q355304'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?s ) WHERE { ?k property:P706 ?m . ?k rdf:type ontology:Q355304 . ?m rdf:type ontology:Q107425 } GROUP BY ?k } }
Călmățui River Oued Saoura Oued Messaoud
Călmățui River, Oued Saoura and Oued Messaoud are located in approximately 1 landscape
Călmățui River Oued Saoura Oued Messaoud
action approx
action find_tuple_counts
relation located on terrain feature
type watercourse
type landscape
value 1
[{'concept': 'watercourse'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?s ) WHERE { ?k property:located_on_terrain_feature ?m . ?k rdf:type ontology:watercourse . ?m rdf:type ontology:landscape } GROUP BY ?k } }
[]