Simple Question (Direct)
Simple Question
Q542400
P734
Q82799
USER
Who has the surname Aurelio Grimaldi ?
(Q542400,P734,c(Q82799))
action filter_type
action find
entity Q542400
relation P734
type Q82799
['Q542400', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q542400 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Aurelio Grimaldi
action filter_type
action find
entity Aurelio Grimaldi
relation family name
type name
['Aurelio Grimaldi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Aurelio_Grimaldi property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q23038861
SYSTEM
Grimaldi
Q23038861
(Q542400,P734,c(Q82799))
action filter_type
action find
entity Q542400
relation P734
type Q82799
[ANSWER] has the surname Aurelio [ANSWER]
['Q542400', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q542400 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Grimaldi
Grimaldi has the surname Aurelio Grimaldi
Grimaldi
action filter_type
action find
entity Aurelio Grimaldi
relation family name
type name
['Aurelio Grimaldi', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Aurelio_Grimaldi property:family_name ?a . ?a rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q542400
P106
Q28640
USER
Which professions have Aurelio Grimaldi as his/her 's career ?
(Q542400,P106,c(Q28640))
action filter_type
action find
entity Q542400
relation P106
type Q28640
['Q542400', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?t WHERE { resource:Q542400 property:P106 ?t . ?t rdf:type ontology:Q28640 }
Aurelio Grimaldi
action filter_type
action find
entity Aurelio Grimaldi
relation occupation
type profession
['Aurelio Grimaldi', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?t WHERE { resource:Aurelio_Grimaldi property:occupation ?t . ?t rdf:type ontology:profession }
[]
profession
Q2526255 Q28389
SYSTEM
film director, screenwriter
Q2526255 Q28389
(Q542400,P106,c(Q28640))
action filter_type
action find
entity Q542400
relation P106
type Q28640
The [ANSWERS] have Aurelio Grimaldi as his/her 's career
['Q542400', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?t WHERE { resource:Q542400 property:P106 ?t . ?t rdf:type ontology:Q28640 }
film director screenwriter
The film director and screenwriter have Aurelio Grimaldi as his/her 's career
film director screenwriter
action filter_type
action find
entity Aurelio Grimaldi
relation occupation
type profession
['Aurelio Grimaldi', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?t WHERE { resource:Aurelio_Grimaldi property:occupation ?t . ?t rdf:type ontology:profession }
[]
Clarification
Simple Question|Single Entity|Indirect
Q28389
P136
Q502895
USER
Which person as that profession as its class ?
(c(Q502895),P136,Q28389)
action filter_type
action find_reverse
entity Q28389
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q28389']
SELECT DISTINCT ?y WHERE { ?y property:P136 resource:Q28389 . ?y rdf:type ontology:Q502895 }
screenwriter
action filter_type
action find_reverse
entity screenwriter
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'screenwriter']
SELECT DISTINCT ?y WHERE { ?y property:genre resource:screenwriter . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q28389
SYSTEM
Did you mean screenwriter ?
Q2526255 Q28389
(c(Q502895),P136,Q2526255) (c(Q502895),P136,Q28389)
[ANSWER]
[{'concept': 'Q502895'}, 'P136', 'Q2526255'] [{'concept': 'Q502895'}, 'P136', 'Q28389']
SELECT DISTINCT ?y WHERE { ?y property:P136 resource:Q28389 . ?y rdf:type ontology:Q502895 }
film director screenwriter
Did you mean screenwriter ?
screenwriter
[{'concept': 'common name'}, 'genre', 'film director'] [{'concept': 'common name'}, 'genre', 'screenwriter']
SELECT DISTINCT ?y WHERE { ?y property:genre resource:screenwriter . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P136,Q28389)
[{'concept': 'Q502895'}, 'P136', 'Q28389']
[{'concept': 'common name'}, 'genre', 'screenwriter']
[]
Q11934856
SYSTEM
Manel Marí
Q11934856
(c(Q502895),P136,Q28389)
action filter_type
action find_reverse
entity Q28389
relation P136
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P136', 'Q28389']
SELECT DISTINCT ?y WHERE { ?y property:P136 resource:Q28389 . ?y rdf:type ontology:Q502895 }
Manel Marí
Manel Marí
action filter_type
action find_reverse
entity screenwriter
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'screenwriter']
SELECT DISTINCT ?y WHERE { ?y property:genre resource:screenwriter . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15961987
USER
Which television genres did max number of people do the dubbing for ?
(c(Q15961987),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15961987
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?m = ?e ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?m ) WHERE { ?u property:P725 ?q . ?q rdf:type ontology:Q502895 . ?u rdf:type ontology:Q15961987 } GROUP BY ?u } . { SELECT DISTINCT ( MAX ( ?r ) AS ?e ) { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?r ) WHERE { ?v property:P725 ?z . ?v rdf:type ontology:Q15961987 . ?z rdf:type ontology:Q502895 } GROUP BY ?v } } }
action argmax
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?m = ?e ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?m ) WHERE { ?u property:voice_actor ?q . ?q rdf:type ontology:common_name . ?u rdf:type ontology:television_genre } GROUP BY ?u } . { SELECT DISTINCT ( MAX ( ?r ) AS ?e ) { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?r ) WHERE { ?v property:voice_actor ?z . ?v rdf:type ontology:television_genre . ?z rdf:type ontology:common_name } GROUP BY ?v } } }
[]
common name television genre
Q22773153
SYSTEM
Milo Murphy's Law
Q22773153
(c(Q15961987),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15961987
type Q502895
[ANSWER] max number of people did the dubbing for
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?m = ?e ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?m ) WHERE { ?u property:P725 ?q . ?q rdf:type ontology:Q502895 . ?u rdf:type ontology:Q15961987 } GROUP BY ?u } . { SELECT DISTINCT ( MAX ( ?r ) AS ?e ) { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?r ) WHERE { ?v property:P725 ?z . ?v rdf:type ontology:Q15961987 . ?z rdf:type ontology:Q502895 } GROUP BY ?v } } }
Milo Murphy's Law
Milo Murphy's Law max number of people did the dubbing for
Milo Murphy's Law
action argmax
action find_tuple_counts
relation voice actor
type television genre
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?m = ?e ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?m ) WHERE { ?u property:voice_actor ?q . ?q rdf:type ontology:common_name . ?u rdf:type ontology:television_genre } GROUP BY ?u } . { SELECT DISTINCT ( MAX ( ?r ) AS ?e ) { SELECT DISTINCT ?v ( COUNT ( ?z ) AS ?r ) WHERE { ?v property:voice_actor ?z . ?v rdf:type ontology:television_genre . ?z rdf:type ontology:common_name } GROUP BY ?v } } }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q22773153 Q229728 Q204590
P725
Q502895
USER
Did Sarah Chalke and Christian Slater do the dubbing for Q22773153 ?
(Q22773153,P725,Q229728) (Q22773153,P725,Q204590)
action is_in
entity Q22773153
action intersection
action find_reverse
entity Q229728
relation P725
action find_reverse
entity Q204590
relation P725
['Q22773153', 'P725', 'Q229728'] ['Q22773153', 'P725', 'Q204590']
ASK WHERE { resource:Q22773153 property:P725 resource:Q204590 . resource:Q22773153 property:P725 resource:Q229728 }
Milo Murphy's Law Sarah Chalke Christian Slater
action is_in
entity Milo Murphy's Law
action intersection
action find_reverse
entity Sarah Chalke
relation voice actor
action find_reverse
entity Christian Slater
relation voice actor
["Milo Murphy's Law", 'voice actor', 'Sarah Chalke'] ["Milo Murphy's Law", 'voice actor', 'Christian Slater']
ASK WHERE { resource:Milo_Murphy's_Law property:voice_actor resource:Christian_Slater . resource:Milo_Murphy's_Law property:voice_actor resource:Sarah_Chalke }
[]
common name
SYSTEM
YES
(Q22773153,P725,Q229728) (Q22773153,P725,Q204590)
action is_in
entity Q22773153
action intersection
action find_reverse
entity Q229728
relation P725
action find_reverse
entity Q204590
relation P725
[ANSWER]
['Q22773153', 'P725', 'Q229728'] ['Q22773153', 'P725', 'Q204590']
ASK WHERE { resource:Q22773153 property:P725 resource:Q204590 . resource:Q22773153 property:P725 resource:Q229728 }
Yes
action is_in
entity Milo Murphy's Law
action intersection
action find_reverse
entity Sarah Chalke
relation voice actor
action find_reverse
entity Christian Slater
relation voice actor
["Milo Murphy's Law", 'voice actor', 'Sarah Chalke'] ["Milo Murphy's Law", 'voice actor', 'Christian Slater']
ASK WHERE { resource:Milo_Murphy's_Law property:voice_actor resource:Christian_Slater . resource:Milo_Murphy's_Law property:voice_actor resource:Sarah_Chalke }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11934856 Q29
P27
Q15617994
USER
Is Spain the native country of Manel Marí ?
(Q11934856,P27,Q29)
action is_in
entity Q29
action find
entity Q11934856
relation P27
['Q11934856', 'P27', 'Q29']
ASK WHERE { resource:Q11934856 property:P27 resource:Q29 }
Manel Marí Spain
action is_in
entity Spain
action find
entity Manel Marí
relation country of citizenship
['Manel Marí', 'country of citizenship', 'Spain']
ASK WHERE { resource:Manel_Marí property:country_of_citizenship resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q11934856,P27,Q29)
action is_in
entity Q29
action find
entity Q11934856
relation P27
[ANSWER]
['Q11934856', 'P27', 'Q29']
ASK WHERE { resource:Q11934856 property:P27 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity Manel Marí
relation country of citizenship
['Manel Marí', 'country of citizenship', 'Spain']
ASK WHERE { resource:Manel_Marí property:country_of_citizenship resource:Spain }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2271746
P1454
Q2712963 Q1269299 Q28640
USER
How many professions have a legal form of more number of abstract nouns and business organizations than Tose Co. ?
(c(Q28640),P1454,c(Q2712963)|c(Q1269299))
action count
action greater
action union
action find_tuple_counts
relation P1454
type Q28640
type Q2712963
action find_tuple_counts
relation P1454
type Q28640
type Q1269299
action count
action filter_multi_types
action find
entity Q2271746
relation P1454
type Q2712963
type Q1269299
[{'concept': 'Q28640'}, 'P1454', [{'concept': 'Q2712963'}, {'concept': 'Q1269299'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?f ) WHERE { { ?y property:P1454 ?i . ?i rdf:type ontology:Q1269299 . ?y rdf:type ontology:Q28640 } UNION { ?y property:P1454 ?i . ?y rdf:type ontology:Q28640 . ?i rdf:type ontology:Q2712963 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Q2271746 property:P1454 ?e . { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2712963 ) ( ontology:Q1269299 ) } } } } . FILTER ( ?f > ?a ) }
Tose Co.
action count
action greater
action union
action find_tuple_counts
relation legal form
type profession
type abstract noun
action find_tuple_counts
relation legal form
type profession
type type of business entity
action count
action filter_multi_types
action find
entity Tose Co.
relation legal form
type abstract noun
type type of business entity
[{'concept': 'profession'}, 'legal form', [{'concept': 'abstract noun'}, {'concept': 'type of business entity'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?f ) WHERE { { ?y property:legal_form ?i . ?i rdf:type ontology:type_of_business_entity . ?y rdf:type ontology:profession } UNION { ?y property:legal_form ?i . ?y rdf:type ontology:profession . ?i rdf:type ontology:abstract_noun } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Tose_Co. property:legal_form ?e . { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:abstract_noun ) ( ontology:type_of_business_entity ) } } } } . FILTER ( ?f > ?a ) }
[]
abstract noun type of business entity 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(Q2712963)|c(Q1269299))
action count
action greater
action union
action find_tuple_counts
relation P1454
type Q28640
type Q2712963
action find_tuple_counts
relation P1454
type Q28640
type Q1269299
action count
action filter_multi_types
action find
entity Q2271746
relation P1454
type Q2712963
type Q1269299
[ANSWER]
[{'concept': 'Q28640'}, 'P1454', [{'concept': 'Q2712963'}, {'concept': 'Q1269299'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?f ) WHERE { { ?y property:P1454 ?i . ?i rdf:type ontology:Q1269299 . ?y rdf:type ontology:Q28640 } UNION { ?y property:P1454 ?i . ?y rdf:type ontology:Q28640 . ?i rdf:type ontology:Q2712963 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Q2271746 property:P1454 ?e . { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2712963 ) ( ontology:Q1269299 ) } } } } . FILTER ( ?f > ?a ) }
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 greater
action union
action find_tuple_counts
relation legal form
type profession
type abstract noun
action find_tuple_counts
relation legal form
type profession
type type of business entity
action count
action filter_multi_types
action find
entity Tose Co.
relation legal form
type abstract noun
type type of business entity
[{'concept': 'profession'}, 'legal form', [{'concept': 'abstract noun'}, {'concept': 'type of business entity'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?f ) WHERE { { ?y property:legal_form ?i . ?i rdf:type ontology:type_of_business_entity . ?y rdf:type ontology:profession } UNION { ?y property:legal_form ?i . ?y rdf:type ontology:profession . ?i rdf:type ontology:abstract_noun } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { resource:Tose_Co. property:legal_form ?e . { ?e rdf:type ?o . VALUES ( ?o ) { ( ontology:abstract_noun ) ( ontology:type_of_business_entity ) } } } } . FILTER ( ?f > ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P355
Q28640 Q4830453 Q28640
USER
How many professions are the subordinates of atmost 1 business enterprises or professions ?
(c(Q4830453)|c(Q28640),P355,c(Q28640))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
value 1
[[{'concept': 'Q4830453'}, {'concept': 'Q28640'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:Q4830453 ) ( ontology:Q28640 ) } . ?t rdf:type ?f } GROUP BY ?r } . FILTER ( ?k <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
value 1
[[{'concept': 'business enterprise'}, {'concept': 'profession'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:business_enterprise ) ( ontology:profession ) } . ?t rdf:type ?f } GROUP BY ?r } . FILTER ( ?k <= 1 ) }
[]
profession business enterprise profession
SYSTEM
45
Q3281900 Q1040450 Q18414205 Q15240959 Q1064703 Q863618 Q6423274 Q1403157 Q2076545 Q18388687 Q2607531 Q7641092 Q3456271 Q611508 Q1060165 Q684218 Q26222 Q123018 Q1053684 Q2660350 Q739711 Q991149 Q204474 Q1129295 Q13409231 Q122741 Q2510684 Q94937 Q4039000 Q73801 Q1930918 Q18594 Q923047 Q2740414 Q800120 Q15018011 Q860580 Q1692707 Q8043371 Q467598 Q959672 Q1358751 Q1172164 Q1466613 Q3052263
(c(Q4830453)|c(Q28640),P355,c(Q28640))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P355
type Q28640
type Q4830453
action find_reverse_tuple_counts
relation P355
type Q28640
type Q28640
value 1
[ANSWER]
[[{'concept': 'Q4830453'}, {'concept': 'Q28640'}], 'P355', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:Q4830453 ) ( ontology:Q28640 ) } . ?t rdf:type ?f } GROUP BY ?r } . FILTER ( ?k <= 1 ) }
Malfador Machinations Guerrilla Cambridge Future Games Of London Team Bloodlust PopCap Games Feral Interactive Knowledge Adventure WMS Industries Day 1 Studios Lift London Harmonix Music Systems Sunrise Interactive BigWorld Creative Assembly Riot Games Cavedog Entertainment Gas Powered Games Nintendo Software Technology Polyphony Digital Havok Epic Games 1-UP Studio id Software Mojang Atari, Inc. Sega Zynga Dallas 2K Games Freeverse Microsoft Studios U.S. Gold Sony Interactive Entertainment 989 Studios Team Ninja Humongous Atari Interactive Tencent Holdings Square Enix Europe Launchworks Cryptic Studios Daybreak Game Company Runic Games CD Projekt RED Ubisoft Massive Omega Force
45
action count
action atmost
action union
action find_reverse_tuple_counts
relation subsidiary
type profession
type business enterprise
action find_reverse_tuple_counts
relation subsidiary
type profession
type profession
value 1
[[{'concept': 'business enterprise'}, {'concept': 'profession'}], 'subsidiary', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?t ) AS ?k ) WHERE { VALUES ( ?f ) { ( ontology:business_enterprise ) ( ontology:profession ) } . ?t rdf:type ?f } GROUP BY ?r } . FILTER ( ?k <= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15640 Q229728
P47 P27
Q1048835
USER
Which political territories are Sarah Chalke an inhabitant of or share the border with Sant Joan Despí ?
OR((Q229728,P27,c(Q1048835)), (Q15640,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q229728
relation P27
action find
entity Q15640
relation P47
type Q1048835
{'OR': [['Q229728', 'P27', {'concept': 'Q1048835'}], ['Q15640', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q229728 property:P27 ?p } UNION { resource:Q15640 property:P47 ?p } } . ?p rdf:type ontology:Q1048835 }
Sant Joan Despí Sarah Chalke
action filter_type
action union
action find
entity Sarah Chalke
relation country of citizenship
action find
entity Sant Joan Despí
relation shares border with
type political territorial entity
{'OR': [['Sarah Chalke', 'country of citizenship', {'concept': 'political territorial entity'}], ['Sant Joan Despí', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Sarah_Chalke property:country_of_citizenship ?p } UNION { resource:Sant_Joan_Despí property:shares_border_with ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q15602 Q15639 Q15635 Q15621 Q15632 Q16 Q15641
SYSTEM
Cornellà de Llobregat, Sant Feliu de Llobregat, Sant Boi de Llobregat, Esplugues de Llobregat, Santa Coloma de Cervelló, Canada, Sant Just Desvern
Q15602 Q15639 Q15635 Q15621 Q15632 Q16 Q15641
OR((Q229728,P27,c(Q1048835)), (Q15640,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q229728
relation P27
action find
entity Q15640
relation P47
type Q1048835
[ANSWERS] are Sarah Chalke an inhabitant of or share the border with Sant Joan Despí
{'OR': [['Q229728', 'P27', {'concept': 'Q1048835'}], ['Q15640', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q229728 property:P27 ?p } UNION { resource:Q15640 property:P47 ?p } } . ?p rdf:type ontology:Q1048835 }
Cornellà de Llobregat Sant Feliu de Llobregat Sant Boi de Llobregat Esplugues de Llobregat Santa Coloma de Cervelló Canada Sant Just Desvern
Cornellà de Llobregat, Sant Feliu de Llobregat, Sant Boi de Llobregat, Esplugues de Llobregat, Santa Coloma de Cervelló, Canada and Sant Just Desvern are Sarah Chalke an inhabitant of or share the border with Sant Joan Despí
Cornellà de Llobregat Sant Feliu de Llobregat Sant Boi de Llobregat Esplugues de Llobregat Santa Coloma de Cervelló Canada Sant Just Desvern
action filter_type
action union
action find
entity Sarah Chalke
relation country of citizenship
action find
entity Sant Joan Despí
relation shares border with
type political territorial entity
{'OR': [['Sarah Chalke', 'country of citizenship', {'concept': 'political territorial entity'}], ['Sant Joan Despí', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Sarah_Chalke property:country_of_citizenship ?p } UNION { resource:Sant_Joan_Despí property:shares_border_with ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q1048835 Q532 Q83620
USER
Which political territories are approximately 227 villages and thoroughfares present in ?
(c(Q532)|c(Q83620),P17,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q532
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q83620
value 227
[[{'concept': 'Q532'}, {'concept': 'Q83620'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?x ) WHERE { { ?f rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q532 . ?w property:P17 ?f } UNION { ?w property:P17 ?f . ?w rdf:type ontology:Q83620 . ?f rdf:type ontology:Q1048835 } } GROUP BY ?f } . FILTER ( ?x = 227 ) }
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type village
action find_reverse_tuple_counts
relation country
type political territorial entity
type thoroughfare
value 227
[[{'concept': 'village'}, {'concept': 'thoroughfare'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?x ) WHERE { { ?f rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:village . ?w property:country ?f } UNION { ?w property:country ?f . ?w rdf:type ontology:thoroughfare . ?f rdf:type ontology:political_territorial_entity } } GROUP BY ?f } . FILTER ( ?x = 227 ) }
[]
political territorial entity village thoroughfare
Q35 Q40 Q5705
SYSTEM
Denmark, Austria, Catalonia
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q532)|c(Q83620),P17,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q532
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q83620
value 227
[ANSWERS] are approximately 227 villages and thoroughfares present in
[[{'concept': 'Q532'}, {'concept': 'Q83620'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?x ) WHERE { { ?f rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q532 . ?w property:P17 ?f } UNION { ?w property:P17 ?f . ?w rdf:type ontology:Q83620 . ?f rdf:type ontology:Q1048835 } } GROUP BY ?f } . FILTER ( ?x = 227 ) }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
Denmark, Austria and Catalonia are approximately 227 villages and thoroughfares present in
Denmark Austria Catalonia
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type village
action find_reverse_tuple_counts
relation country
type political territorial entity
type thoroughfare
value 227
[[{'concept': 'village'}, {'concept': 'thoroughfare'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?x ) WHERE { { ?f rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:village . ?w property:country ?f } UNION { ?w property:country ?f . ?w rdf:type ontology:thoroughfare . ?f rdf:type ontology:political_territorial_entity } } GROUP BY ?f } . FILTER ( ?x = 227 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q41
P463
Q484652
USER
How many international organizations were Canada and Greece a member of ?
(Q16,P463,c(Q484652)) (Q41,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q16
relation P463
type Q484652
action filter_type
action find
entity Q41
relation P463
type Q484652
['Q16', 'P463', {'concept': 'Q484652'}] ['Q41', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w rdf:type ontology:Q484652 . resource:Q16 property:P463 ?w . resource:Q41 property:P463 ?w . ?w rdf:type ontology:Q484652 }
Canada Greece
action count
action intersection
action filter_type
action find
entity Canada
relation member of
type international organization
action filter_type
action find
entity Greece
relation member of
type international organization
['Canada', 'member of', {'concept': 'international organization'}] ['Greece', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w rdf:type ontology:international_organization . resource:Canada property:member_of ?w . resource:Greece property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
international organization
SYSTEM
4
Q7184 Q81299 Q1065 Q1043527
(Q16,P463,c(Q484652)) (Q41,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q16
relation P463
type Q484652
action filter_type
action find
entity Q41
relation P463
type Q484652
[ANSWER]
['Q16', 'P463', {'concept': 'Q484652'}] ['Q41', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w rdf:type ontology:Q484652 . resource:Q16 property:P463 ?w . resource:Q41 property:P463 ?w . ?w rdf:type ontology:Q484652 }
North Atlantic Treaty Organisation Organization for Security and Co-operation in Europe United Nations Multilateral Investment Guarantee Agency
4
action count
action intersection
action filter_type
action find
entity Canada
relation member of
type international organization
action filter_type
action find
entity Greece
relation member of
type international organization
['Canada', 'member of', {'concept': 'international organization'}] ['Greece', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w rdf:type ontology:international_organization . resource:Canada property:member_of ?w . resource:Greece property:member_of ?w . ?w rdf:type ontology:international_organization }
[]