Simple Question (Direct)
Simple Question
Q657583
P1344
Q1375427
USER
Which European Championship did Félix Ruiz compete in ?
(Q657583,P1344,c(Q1375427))
action filter_type
action find
entity Q657583
relation P1344
type Q1375427
['Q657583', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?o WHERE { resource:Q657583 property:P1344 ?o . ?o rdf:type ontology:Q1375427 }
Félix Ruiz
action filter_type
action find
entity Félix Ruiz
relation participant of
type European Championship
['Félix Ruiz', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?o WHERE { resource:Félix_Ruiz property:participant_of ?o . ?o rdf:type ontology:European_Championship }
[]
European Championship
Q182205
SYSTEM
1964 European Nations' Cup
Q182205
(Q657583,P1344,c(Q1375427))
action filter_type
action find
entity Q657583
relation P1344
type Q1375427
Félix Ruiz competed in [ANSWER]
['Q657583', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?o WHERE { resource:Q657583 property:P1344 ?o . ?o rdf:type ontology:Q1375427 }
1964 European Nations' Cup
Félix Ruiz competed in 1964 European Nations' Cup
1964 European Nations' Cup
action filter_type
action find
entity Félix Ruiz
relation participant of
type European Championship
['Félix Ruiz', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?o WHERE { resource:Félix_Ruiz property:participant_of ?o . ?o rdf:type ontology:European_Championship }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q657583
P21
Q290
USER
What is the sex of that person ?
(Q182205,P21,c(Q290))
action filter_type
action find
entity Q657583
relation P21
type Q290
['Q182205', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q657583 property:P21 ?b . ?b rdf:type ontology:Q290 }
Félix Ruiz
action filter_type
action find
entity Félix Ruiz
relation gender
type sex
["1964 European Nations' Cup", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Félix_Ruiz property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q182205,P21,c(Q290))
action filter_type
action find
entity Q657583
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q182205', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q657583 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Félix Ruiz
relation gender
type sex
["1964 European Nations' Cup", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Félix_Ruiz property:gender ?b . ?b rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P655
Q502895 Q2342494 Q234460
USER
How many people translated around 4 collectables and texts ?
(c(Q2342494)|c(Q234460),P655,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
value 4
[[{'concept': 'Q2342494'}, {'concept': 'Q234460'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?r ) WHERE { VALUES ( ?p ) { ( ontology:Q2342494 ) ( ontology:Q234460 ) } . ?m rdf:type ?p } GROUP BY ?w } . FILTER ( ?r = 4 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action find_reverse_tuple_counts
relation translator
type common name
type text
value 4
[[{'concept': 'collectable'}, {'concept': 'text'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?r ) WHERE { VALUES ( ?p ) { ( ontology:collectable ) ( ontology:text ) } . ?m rdf:type ?p } GROUP BY ?w } . FILTER ( ?r = 4 ) }
[]
common name collectable text
SYSTEM
2
Q2495818 Q8020113
(c(Q2342494)|c(Q234460),P655,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
value 4
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q234460'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?r ) WHERE { VALUES ( ?p ) { ( ontology:Q2342494 ) ( ontology:Q234460 ) } . ?m rdf:type ?p } GROUP BY ?w } . FILTER ( ?r = 4 ) }
Constance Garnett William Weaver
2
action count
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type collectable
action find_reverse_tuple_counts
relation translator
type common name
type text
value 4
[[{'concept': 'collectable'}, {'concept': 'text'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?r ) WHERE { VALUES ( ?p ) { ( ontology:collectable ) ( ontology:text ) } . ?m rdf:type ?p } GROUP BY ?w } . FILTER ( ?r = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q182205
P1923
Q1194951
USER
Which national sports teams contested in 1964 European Nations' Cup ?
(Q182205,P1923,c(Q1194951))
action filter_type
action find
entity Q182205
relation P1923
type Q1194951
['Q182205', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q182205 property:P1923 ?e . ?e rdf:type ontology:Q1194951 }
1964 European Nations' Cup
action filter_type
action find
entity 1964 European Nations' Cup
relation participating teams
type national sports team
["1964 European Nations' Cup", 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:1964_European_Nations'_Cup property:participating_teams ?e . ?e rdf:type ontology:national_sports_team }
[]
national sports team
Q42267 Q170561 Q131785
SYSTEM
Spain national football team, Hungary national football team, Denmark national football team
Q170561 Q42267 Q131785 Q189275
(Q182205,P1923,c(Q1194951))
action filter_type
action find
entity Q182205
relation P1923
type Q1194951
[ANSWERS] contested in 1964 European Nations' Cup
['Q182205', 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q182205 property:P1923 ?e . ?e rdf:type ontology:Q1194951 }
Hungary national football team Spain national football team Denmark national football team Soviet Union national football team
Spain national football team, Hungary national football team and Denmark national football team contested in 1964 European Nations' Cup
Spain national football team Hungary national football team Denmark national football team
action filter_type
action find
entity 1964 European Nations' Cup
relation participating teams
type national sports team
["1964 European Nations' Cup", 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:1964_European_Nations'_Cup property:participating_teams ?e . ?e rdf:type ontology:national_sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42267
P1532
Q15617994
USER
Which administrative territory does that national sports team represent ?
(Q42267,P1532,c(Q15617994))
action filter_type
action find
entity Q42267
relation P1532
type Q15617994
['Q42267', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q42267 property:P1532 ?n }
Spain national football team
action filter_type
action find
entity Spain national football team
relation country for sport
type designation for an administrative territorial entity
['Spain national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spain_national_football_team property:country_for_sport ?n }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q170561
SYSTEM
Did you mean Hungary national football team ?
Q42267 Q170561 Q131785
(Q42267,P1532,c(Q15617994)) (Q170561,P1532,c(Q15617994)) (Q131785,P1532,c(Q15617994))
[ANSWER]
['Q42267', 'P1532', {'concept': 'Q15617994'}] ['Q170561', 'P1532', {'concept': 'Q15617994'}] ['Q131785', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q42267 property:P1532 ?n }
Spain national football team Hungary national football team Denmark national football team
Did you mean Hungary national football team ?
Hungary national football team
['Spain national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Hungary national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}] ['Denmark national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spain_national_football_team property:country_for_sport ?n }
[]
Simple Question (Coreferenced)
USER
No, I meant Spain national football team. Could you tell me the answer for that?
(Q42267,P1532,c(Q15617994))
Q42267
['Q42267', 'P1532', {'concept': 'Q15617994'}]
['Spain national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
[]
Q29
SYSTEM
Spain
Q29
(Q42267,P1532,c(Q15617994))
action filter_type
action find
entity Q42267
relation P1532
type Q15617994
That national sports team represents the [ANSWER]
['Q42267', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q42267 property:P1532 ?n }
Spain
That national sports team represents the Spain
Spain
action filter_type
action find
entity Spain national football team
relation country for sport
type designation for an administrative territorial entity
['Spain national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spain_national_football_team property:country_for_sport ?n }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q20
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with around the same number of administrative territories as Norway ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q20
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?n ) WHERE { ?z rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?f property:P530 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q20 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?t ) }
Norway
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Norway
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?n ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Norway property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q20
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with around the same number of administrative territories as Norway
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?n ) WHERE { ?z rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 . ?f property:P530 ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q20 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?t ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have diplomatic relationships with around the same number of administrative territories as Norway
Georgia Netherlands Poland
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Norway
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?n ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?z } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Norway property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?t ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have ambassadorial relations with those ones ?
(Q184,P530,Q230) (Q184,P530,Q55) (Q184,P530,Q36)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q230'] ['Q184', 'P530', 'Q55'] ['Q184', 'P530', 'Q36']
ASK WHERE { VALUES ( ?w ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q184 property:P530 ?w }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Georgia'] ['Belarus', 'diplomatic relation', 'Netherlands'] ['Belarus', 'diplomatic relation', 'Poland']
ASK WHERE { VALUES ( ?w ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Belarus property:diplomatic_relation ?w }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q230) (Q184,P530,Q55) (Q184,P530,Q36)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q230'] ['Q184', 'P530', 'Q55'] ['Q184', 'P530', 'Q36']
ASK WHERE { VALUES ( ?w ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } . resource:Q184 property:P530 ?w }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Georgia'] ['Belarus', 'diplomatic relation', 'Netherlands'] ['Belarus', 'diplomatic relation', 'Poland']
ASK WHERE { VALUES ( ?w ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } . resource:Belarus property:diplomatic_relation ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P276
Q1190554
USER
What are situated at Poland ?
(c(Q1190554),P276,Q36)
action filter_type
action find_reverse
entity Q36
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q36']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q36 . ?l rdf:type ontology:Q1190554 }
Poland
action filter_type
action find_reverse
entity Poland
relation location
type event
[{'concept': 'event'}, 'location', 'Poland']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Poland . ?l rdf:type ontology:event }
[]
event
Q83055 Q605977 Q4366849
SYSTEM
Operation Barbarossa, War of the Fourth Coalition, Battle of the Border
Q4366849 Q688339 Q605977 Q2305266 Q83055
(c(Q1190554),P276,Q36)
action filter_type
action find_reverse
entity Q36
relation P276
type Q1190554
[ANSWERS] are situated at Poland
[{'concept': 'Q1190554'}, 'P276', 'Q36']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q36 . ?l rdf:type ontology:Q1190554 }
Battle of the Border Great Retreat War of the Fourth Coalition Soviet invasion of Poland Operation Barbarossa
Operation Barbarossa, War of the Fourth Coalition and Battle of the Border are situated at Poland
Operation Barbarossa War of the Fourth Coalition Battle of the Border
action filter_type
action find_reverse
entity Poland
relation location
type event
[{'concept': 'event'}, 'location', 'Poland']
SELECT DISTINCT ?l WHERE { ?l property:location resource:Poland . ?l rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q83055
P921
Q838948
USER
Which work of art was primarily based on that event ?
(c(Q838948),P921,Q83055)
action filter_type
action find_reverse
entity Q83055
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q83055']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q83055 . ?f rdf:type ontology:Q838948 }
Operation Barbarossa
action filter_type
action find_reverse
entity Operation Barbarossa
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Operation Barbarossa']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:Operation_Barbarossa . ?f rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q4366849
SYSTEM
Did you mean Battle of the Border ?
Q83055 Q605977 Q4366849
(c(Q838948),P921,Q83055) (c(Q838948),P921,Q605977) (c(Q838948),P921,Q4366849)
[ANSWER]
[{'concept': 'Q838948'}, 'P921', 'Q83055'] [{'concept': 'Q838948'}, 'P921', 'Q605977'] [{'concept': 'Q838948'}, 'P921', 'Q4366849']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q83055 . ?f rdf:type ontology:Q838948 }
Operation Barbarossa War of the Fourth Coalition Battle of the Border
Did you mean Battle of the Border ?
Battle of the Border
[{'concept': 'work of art'}, 'main subject', 'Operation Barbarossa'] [{'concept': 'work of art'}, 'main subject', 'War of the Fourth Coalition'] [{'concept': 'work of art'}, 'main subject', 'Battle of the Border']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:Operation_Barbarossa . ?f rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Operation Barbarossa. Could you tell me the answer for that?
(c(Q838948),P921,Q83055)
Q83055
[{'concept': 'Q838948'}, 'P921', 'Q83055']
[{'concept': 'work of art'}, 'main subject', 'Operation Barbarossa']
[]
Q2595018
SYSTEM
Wunderkinder
Q2595018
(c(Q838948),P921,Q83055)
action filter_type
action find_reverse
entity Q83055
relation P921
type Q838948
Team [ANSWER] was primarily based on that event
[{'concept': 'Q838948'}, 'P921', 'Q83055']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q83055 . ?f rdf:type ontology:Q838948 }
Wunderkinder
Team Wunderkinder was primarily based on that event
Wunderkinder
action filter_type
action find_reverse
entity Operation Barbarossa
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Operation Barbarossa']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:Operation_Barbarossa . ?f rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P800
Q502895
USER
How many people have that work of art as their notable work ?
(c(Q502895),P800,Q2595018)
action count
action filter_type
action find_reverse
entity Q2595018
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q2595018']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l rdf:type ontology:Q502895 . ?l property:P800 resource:Q2595018 }
action count
action filter_type
action find_reverse
entity Wunderkinder
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Wunderkinder']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l rdf:type ontology:common_name . ?l property:notable_work resource:Wunderkinder }
[]
common name
SYSTEM
1
Q1894267
(c(Q502895),P800,Q2595018)
action count
action filter_type
action find_reverse
entity Q2595018
relation P800
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q2595018']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l rdf:type ontology:Q502895 . ?l property:P800 resource:Q2595018 }
Marcus Rosenmüller
1
action count
action filter_type
action find_reverse
entity Wunderkinder
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Wunderkinder']
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l rdf:type ontology:common_name . ?l property:notable_work resource:Wunderkinder }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q838948 Q386724
USER
Which works represents a fictional universe described in min number of works of art ?
(c(Q386724),P1445,c(Q838948))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?t ) { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?i ) WHERE { ?a property:P1445 ?f . ?f rdf:type ontology:Q838948 . ?a rdf:type ontology:Q386724 } GROUP BY ?a } } . FILTER ( ?s = ?t ) . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?s ) WHERE { ?y property:P1445 ?l . ?y rdf:type ontology:Q386724 . ?l rdf:type ontology:Q838948 } GROUP BY ?y } }
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?t ) { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?i ) WHERE { ?a property:fictional_universe_described_in ?f . ?f rdf:type ontology:work_of_art . ?a rdf:type ontology:work } GROUP BY ?a } } . FILTER ( ?s = ?t ) . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?s ) WHERE { ?y property:fictional_universe_described_in ?l . ?y rdf:type ontology:work . ?l rdf:type ontology:work_of_art } GROUP BY ?y } }
[]
work of art work
Q1203222 Q15731902 Q11927
SYSTEM
Shrek, Aladdin media franchise, Stargate
Q1203222 Q15731902 Q11927 Q3177580
(c(Q386724),P1445,c(Q838948))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q838948
[ANSWERS] represent a fictional universe described in min number of works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?t ) { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?i ) WHERE { ?a property:P1445 ?f . ?f rdf:type ontology:Q838948 . ?a rdf:type ontology:Q386724 } GROUP BY ?a } } . FILTER ( ?s = ?t ) . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?s ) WHERE { ?y property:P1445 ?l . ?y rdf:type ontology:Q386724 . ?l rdf:type ontology:Q838948 } GROUP BY ?y } }
Shrek Aladdin media franchise Stargate The Walking Dead
Shrek, Aladdin media franchise and Stargate represent a fictional universe described in min number of works of art
Shrek Aladdin media franchise Stargate
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type work of art
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?t ) { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?i ) WHERE { ?a property:fictional_universe_described_in ?f . ?f rdf:type ontology:work_of_art . ?a rdf:type ontology:work } GROUP BY ?a } } . FILTER ( ?s = ?t ) . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?s ) WHERE { ?y property:fictional_universe_described_in ?l . ?y rdf:type ontology:work . ?l rdf:type ontology:work_of_art } GROUP BY ?y } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1080
Q386724 Q3895768 Q23010327
USER
Which works have approximately the same number of fictional locations and groups of fictitious objects as their universe as that work ?
(c(Q3895768)|c(Q23010327),P1080,c(Q386724))
[[{'concept': 'Q3895768'}, {'concept': 'Q23010327'}], 'P1080', {'concept': 'Q386724'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:P1080 ?y } . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q16532276 . ?x rdf:type ontology:Q23010327 }
[[{'concept': 'fictional location'}, {'concept': 'group of fictitious objects'}], 'from fictional universe', {'concept': 'work'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:from_fictional_universe ?y } . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:work . ?x rdf:type ontology:group_of_fictitious_objects }
[]
work fictional location group of fictitious objects
Comparative|More/Less|Mult. entity type|Clarification
Q1203222
SYSTEM
Did you mean Shrek ?
(c(Q3895768)|c(Q23010327),P1080,c(Q386724))
[ANSWER]
[[{'concept': 'Q3895768'}, {'concept': 'Q23010327'}], 'P1080', {'concept': 'Q386724'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:P1080 ?y } . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q16532276 . ?x rdf:type ontology:Q23010327 }
Did you mean Shrek ?
Shrek
[[{'concept': 'fictional location'}, {'concept': 'group of fictitious objects'}], 'from fictional universe', {'concept': 'work'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:from_fictional_universe ?y } . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:work . ?x rdf:type ontology:group_of_fictitious_objects }
[]
Comparative Reasoning (All)
USER
No, I meant Aladdin media franchise. Could you tell me the answer for that?
(c(Q3895768)|c(Q23010327),P1080,c(Q386724))
Q15731902
[[{'concept': 'Q3895768'}, {'concept': 'Q23010327'}], 'P1080', {'concept': 'Q386724'}]
[[{'concept': 'fictional location'}, {'concept': 'group of fictitious objects'}], 'from fictional universe', {'concept': 'work'}]
[]
Q384426 Q333156 Q1092
SYSTEM
Pirates of the Caribbean, Power Rangers, Star Trek
Q1092 Q384426 Q15051307 Q15905320 Q15731902 Q815739 Q3998250 Q836013 Q333156 Q519710 Q5027225 Q1953422
(c(Q3895768)|c(Q23010327),P1080,c(Q386724))
[ANSWERS] have approximately the same number of fictional locations and groups of fictitious objects as their universe as that work
[[{'concept': 'Q3895768'}, {'concept': 'Q23010327'}], 'P1080', {'concept': 'Q386724'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1080 ?y } UNION { ?x property:P1080 ?y } } . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q16532276 . ?x rdf:type ontology:Q23010327 }
Star Trek Pirates of the Caribbean Dragon Ball Talking Tom and Friends Aladdin media franchise Warcraft Tremors Battlestar Galactica Power Rangers Masters of the Universe Camp Half-Blood chronicles The Muppets
Pirates of the Caribbean, Power Rangers and Star Trek have approximately the same number of fictional locations and groups of fictitious objects as their universe as that work
Pirates of the Caribbean Power Rangers Star Trek
[[{'concept': 'fictional location'}, {'concept': 'group of fictitious objects'}], 'from fictional universe', {'concept': 'work'}]
SELECT DISTINCT ?y WHERE { { { ?z property:from_fictional_universe ?y } UNION { ?x property:from_fictional_universe ?y } } . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:work . ?x rdf:type ontology:group_of_fictitious_objects }
[]