Simple Question (Direct)
Simple Question
Q4387223
P27
Q15617994
USER
Which administrative territory is Vuk Rađenović a civilian of ?
(Q4387223,P27,c(Q15617994))
action filter_type
action find
entity Q4387223
relation P27
type Q15617994
['Q4387223', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4387223 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Vuk Rađenović
action filter_type
action find
entity Vuk Rađenović
relation country of citizenship
type designation for an administrative territorial entity
['Vuk Rađenović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Vuk_Rađenović property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q4387223,P27,c(Q15617994))
action filter_type
action find
entity Q4387223
relation P27
type Q15617994
[ANSWER]
['Q4387223', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4387223 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Serbia
Serbia
action filter_type
action find
entity Vuk Rađenović
relation country of citizenship
type designation for an administrative territorial entity
['Vuk Rađenović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Vuk_Rađenović property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4387223
P1344
Q15900616
USER
Which event sequences did that person take part in ?
(Q403,P1344,c(Q15900616))
action filter_type
action find
entity Q4387223
relation P1344
type Q15900616
['Q403', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?f WHERE { resource:Q4387223 property:P1344 ?f . ?f rdf:type ontology:Q15900616 }
Vuk Rađenović
action filter_type
action find
entity Vuk Rađenović
relation participant of
type event sequence
['Serbia', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?f WHERE { resource:Vuk_Rađenović property:participant_of ?f . ?f rdf:type ontology:event_sequence }
[]
event sequence
Q9678 Q9674 Q9668
SYSTEM
2014 Winter Olympics, 2010 Winter Olympics, 2002 Winter Olympics
Q9678 Q9674 Q9668
(Q403,P1344,c(Q15900616))
action filter_type
action find
entity Q4387223
relation P1344
type Q15900616
[ANSWERS]
['Q403', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?f WHERE { resource:Q4387223 property:P1344 ?f . ?f rdf:type ontology:Q15900616 }
2014 Winter Olympics 2010 Winter Olympics 2002 Winter Olympics
2014 Winter Olympics 2010 Winter Olympics 2002 Winter Olympics
action filter_type
action find
entity Vuk Rađenović
relation participant of
type event sequence
['Serbia', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?f WHERE { resource:Vuk_Rađenović property:participant_of ?f . ?f rdf:type ontology:event_sequence }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9668
P466
Q811979
USER
Which architectural structures are inhabited by that event sequence ?
(c(Q811979),P466,Q9668)
action filter_type
action find_reverse
entity Q9668
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q9668']
SELECT DISTINCT ?h WHERE { ?h property:P466 resource:Q9668 . ?h rdf:type ontology:Q811979 }
2002 Winter Olympics
action filter_type
action find_reverse
entity 2002 Winter Olympics
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', '2002 Winter Olympics']
SELECT DISTINCT ?h WHERE { ?h property:occupant resource:2002_Winter_Olympics . ?h rdf:type ontology:architectural_structure }
[]
architectural structure
Clarification for simple ques.
Q9678
SYSTEM
Did you mean 2014 Winter Olympics ?
Q9678 Q9674 Q9668
(c(Q811979),P466,Q9678) (c(Q811979),P466,Q9674) (c(Q811979),P466,Q9668)
[ANSWER]
[{'concept': 'Q811979'}, 'P466', 'Q9678'] [{'concept': 'Q811979'}, 'P466', 'Q9674'] [{'concept': 'Q811979'}, 'P466', 'Q9668']
SELECT DISTINCT ?h WHERE { ?h property:P466 resource:Q9668 . ?h rdf:type ontology:Q811979 }
2014 Winter Olympics 2010 Winter Olympics 2002 Winter Olympics
Did you mean 2014 Winter Olympics ?
2014 Winter Olympics
[{'concept': 'architectural structure'}, 'occupant', '2014 Winter Olympics'] [{'concept': 'architectural structure'}, 'occupant', '2010 Winter Olympics'] [{'concept': 'architectural structure'}, 'occupant', '2002 Winter Olympics']
SELECT DISTINCT ?h WHERE { ?h property:occupant resource:2002_Winter_Olympics . ?h rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
USER
No, I meant 2002 Winter Olympics. Could you tell me the answer for that?
(c(Q811979),P466,Q9668)
Q9668
[{'concept': 'Q811979'}, 'P466', 'Q9668']
[{'concept': 'architectural structure'}, 'occupant', '2002 Winter Olympics']
[]
Q3821992 Q3822288
SYSTEM
The Ice Sheet at Ogden, Peaks Ice Arena
Q3821992 Q3822288
(c(Q811979),P466,Q9668)
action filter_type
action find_reverse
entity Q9668
relation P466
type Q811979
[ANSWERS]
[{'concept': 'Q811979'}, 'P466', 'Q9668']
SELECT DISTINCT ?h WHERE { ?h property:P466 resource:Q9668 . ?h rdf:type ontology:Q811979 }
The Ice Sheet at Ogden Peaks Ice Arena
The Ice Sheet at Ogden Peaks Ice Arena
action filter_type
action find_reverse
entity 2002 Winter Olympics
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', '2002 Winter Olympics']
SELECT DISTINCT ?h WHERE { ?h property:occupant resource:2002_Winter_Olympics . ?h rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q295619
P137
Q740752 Q811979
USER
Which transport companies are the facility operator of less number of architectural structures than ANA – Aeroportos de Portugal ?
(c(Q811979),P137,c(Q740752))
action less
action find_reverse_tuple_counts
relation P137
type Q740752
type Q811979
action count
action filter_type
action find_reverse
entity Q295619
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:P137 ?g . ?g rdf:type ontology:Q740752 . ?z rdf:type ontology:Q811979 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:P137 resource:Q295619 . ?v rdf:type ontology:Q811979 } } . FILTER ( ?b < ?f ) }
ANA – Aeroportos de Portugal
action less
action find_reverse_tuple_counts
relation operator
type transport company
type architectural structure
action count
action filter_type
action find_reverse
entity ANA – Aeroportos de Portugal
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:operator ?g . ?g rdf:type ontology:transport_company . ?z rdf:type ontology:architectural_structure } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:operator resource:ANA_–_Aeroportos_de_Portugal . ?v rdf:type ontology:architectural_structure } } . FILTER ( ?b < ?f ) }
[]
transport company architectural structure
Q18853 Q9322 Q1188230
SYSTEM
DB Regio, Deutsche Bahn, Nankai Electric Railway
Q696056 Q379439 Q6955265 Q466985 Q16951036 Q30850 Q259805 Q11986946 Q13646 Q7596862 Q5314720 Q5531719 Q9322 Q558087 Q2045550 Q5093778 Q822867 Q1502902 Q2304446 Q13882327 Q23239 Q83543 Q498930 Q633760 Q502125 Q1188230 Q20986912 Q1486303 Q3878567 Q629139 Q1201734 Q841227 Q21501365 Q3240991 Q741266 Q4698983 Q524255 Q2245513 Q1332242 Q494088 Q787383 Q19768352 Q13709959 Q833903 Q499071 Q190208 Q291464 Q498366 Q11408721 Q1332019 Q935025 Q652374 Q624798 Q1937120 Q7975717 Q5283358 Q3630199 Q1324935 Q181811 Q247358 Q3138970 Q7880037 Q4154231 Q791050 Q1778084 Q4923279 Q375044 Q1416687 Q1719876 Q177598 Q1662654 Q1140781 Q381636 Q5599675 Q1428642 Q1571428 Q19960466 Q6747270 Q665793 Q591484 Q7283888 Q1190669 Q1332506 Q867040 Q1263077 Q1121154 Q929872 Q5413836 Q7684354 Q1531085 Q4698894 Q7984828 Q83823 Q1433158 Q10682200 Q869251 Q2172775 Q690220 Q1868882 Q1069105 Q1631623 Q452140 Q10390136 Q682894 Q1322206 Q1321914 Q4940244 Q83584 Q1188274 Q1967598 Q1652183 Q7684105 Q604174 Q1398696 Q473058 Q10431339 Q18169 Q913248 Q20640459 Q15712205 Q4202182 Q795363 Q8301325 Q83538 Q843251 Q893983 Q1277719 Q10689331 Q933681 Q2105117 Q20060811 Q1244599 Q658126 Q258856 Q23076 Q845951 Q7056819 Q2453128 Q7603486 Q483883 Q4916856 Q589575 Q4121167 Q1674254 Q5350084 Q3115986 Q8046688 Q246824 Q923337 Q18853 Q6921923 Q643578 Q1775875 Q617732
(c(Q811979),P137,c(Q740752))
action less
action find_reverse_tuple_counts
relation P137
type Q740752
type Q811979
action count
action filter_type
action find_reverse
entity Q295619
relation P137
type Q811979
[ANSWERS]
[{'concept': 'Q811979'}, 'P137', {'concept': 'Q740752'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:P137 ?g . ?g rdf:type ontology:Q740752 . ?z rdf:type ontology:Q811979 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:P137 resource:Q295619 . ?v rdf:type ontology:Q811979 } } . FILTER ( ?b < ?f ) }
Hamburg America Line Queensland Rail NSB Gjøvikbanen Thalys Belgian State Railways Meitetsu Bayerische Oberlandbahn Norwegian Civil Aviation Administration SNCF Stagecoach Sheffield Dundalk, Newry and Greenore Railway General Authority of Civil Aviation Deutsche Bahn Ann Arbor Railroad Pacific Mail Steamship Company Chester and Holyhead Railway Hamburg-Köln-Express Underground Electric Railways Company of London South Eastern and Chatham Railway Nederlandsche Rhijnspoorweg-Maatschappij Amtrak Seibu Railway Hokkaido Railway Company Conrail West Japan Railway Company Nankai Electric Railway DB Busverkehr Hessen London and North Western Railway Northern Counties Committee London, Midland and Scottish Railway Deutsch-Australische Dampfschiffs-Gesellschaft Metropolitan Intercity Railway Company Railway Touring Company Lima Airport Partners Southern Railway Airports Company South Africa NMBS/SNCB Sanyo Electric Railway Tokyu Corporation Shinbundang Railroad Company North Eastern Railway Joseph Constantine Steamship Neo Trans Stena Line East Japan Railway Company Zentralbahn Aena Kyushu Railway Company Minamiaso tetsudō Ellerman Lines Metropolitan Railway Norddeutscher Lloyd Canadian National Railway NI Railways Waxholmsbolaget District Railway Airports Authority of India Trenord Great Northern Railway Appenzeller Bahnen (2006) Iyo Railway Ulster Transport Authority Far East Shipping Company Avinor Mitsui O.S.K. Lines Blackpool Transport Stockton and Darlington Railway Finavia Stern und Kreisschiffahrt Rhaetian Railway Infraero Hanshin Electric Railway Aeroporti di Roma SpA Great Northern Railway (Ireland) Penn Central Transportation Company Swedavia Finnish State Railways Manchester Airports Group Maatschappij tot Exploitatie van Staatsspoorwegen Connexxion Rail Corporation New South Wales Japan Freight Railway Company Keio Corporation Aizu Railway Dublin Airport Authority Compagnie des chemins de fer de Paris à Lyon et à la Méditerranée Royal Caribbean International Eurostar International Limited Taoyuan International Airport Corporation Kintetsu Airport Authority Hong Kong West Coast Railway Company Ferrovie dello Stato Italiane Helsinki City Transport Strömma Kanalbolaget Nishi-Nippon Railroad Nederlandsche Centraal-Spoorweg-Maatschappij Grand Junction Railway London, Tilbury and Southend Railway Kazakhstan Temir Zholy TAV Airports Holding DB Fernverkehr Viação Férrea Federal Leste Brasileiro Tokyo Metro Keikyu Tobu Railway Bolton and Leigh Railway Odakyu Electric Railway Keihan Electric Railway National Railways of Zimbabwe In-der-City-Bus Tanzania Airports Authority Hakone Tozan Railway Liverpool and Manchester Railway Hankyu Corporation Blidösundsbolaget Korail VR Group Lokaltog intercity bus company Malaysia Airports Heathrow Airport Holdings Limited SJ AB Keisei Electric Railway Great Western Railway BornholmerFærgen East African Railways and Harbours Corporation TBI plc Flughafen Berlin Brandenburg GmbH Hollandsche IJzeren Spoorweg-Maatschappij Rede Ferroviária do Nordeste Nizam's Guaranteed State Railway Syrian Railways Angkasa Pura Nederlandse Spoorwegen Sagami Railway North Staffordshire Railway Karelian Trains State Rail Authority of New South Wales Incheon Transit Corporation Birmingham and Gloucester Railway Eurobahn Sydney Airports Corporation Isle of Man Steam Packet Company Eizan Electric Railway Great Western Steamship Company Yagan Railway BLS AG Ukrainian Railways DB Regio Mount Lyell Mining and Railway Company Fraport Overseas Shipholding Group Montreux-Oberland Bernois
DB Regio Deutsche Bahn Nankai Electric Railway
action less
action find_reverse_tuple_counts
relation operator
type transport company
type architectural structure
action count
action filter_type
action find_reverse
entity ANA – Aeroportos de Portugal
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', {'concept': 'transport company'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?b ) WHERE { ?z property:operator ?g . ?g rdf:type ontology:transport_company . ?z rdf:type ontology:architectural_structure } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { ?v property:operator resource:ANA_–_Aeroportos_de_Portugal . ?v rdf:type ontology:architectural_structure } } . FILTER ( ?b < ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3287980 Q4387223
P106
Q12737077
USER
Which occupations do Vuk Rađenović or Marc Dugain do for a living ?
OR((Q4387223,P106,c(Q12737077)), (Q3287980,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4387223
relation P106
action find
entity Q3287980
relation P106
type Q12737077
{'OR': [['Q4387223', 'P106', {'concept': 'Q12737077'}], ['Q3287980', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?x ) { ( resource:Q4387223 ) ( resource:Q3287980 ) } . ?x property:P106 ?j } . ?j rdf:type ontology:Q12737077 }
Marc Dugain Vuk Rađenović
action filter_type
action union
action find
entity Vuk Rađenović
relation occupation
action find
entity Marc Dugain
relation occupation
type occupation
{'OR': [['Vuk Rađenović', 'occupation', {'concept': 'occupation'}], ['Marc Dugain', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?x ) { ( resource:Vuk_Rađenović ) ( resource:Marc_Dugain ) } . ?x property:occupation ?j } . ?j rdf:type ontology:occupation }
[]
occupation
Q13383011 Q36180 Q6625963
SYSTEM
bobsledder, writer, novelist
Q13383011 Q36180 Q6625963
OR((Q4387223,P106,c(Q12737077)), (Q3287980,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4387223
relation P106
action find
entity Q3287980
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q4387223', 'P106', {'concept': 'Q12737077'}], ['Q3287980', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?x ) { ( resource:Q4387223 ) ( resource:Q3287980 ) } . ?x property:P106 ?j } . ?j rdf:type ontology:Q12737077 }
bobsledder writer novelist
bobsledder writer novelist
action filter_type
action union
action find
entity Vuk Rađenović
relation occupation
action find
entity Marc Dugain
relation occupation
type occupation
{'OR': [['Vuk Rađenović', 'occupation', {'concept': 'occupation'}], ['Marc Dugain', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?x ) { ( resource:Vuk_Rađenović ) ( resource:Marc_Dugain ) } . ?x property:occupation ?j } . ?j rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q280312
P122
Q12737077 Q1307214 Q15617994
USER
How many administrative territories have lesser number of occupations or forms of government as the form of government than Principality of Lüneburg ?
(c(Q15617994),P122,c(Q12737077)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q280312
relation P122
type Q12737077
type Q1307214
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?p ) WHERE { { ?r property:P122 ?l . ?l rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q15617994 } UNION { ?r property:P122 ?l . ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1307214 } } GROUP BY ?r } . FILTER ( ?p < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q280312 property:P122 ?k . { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:Q12737077 ) ( ontology:Q1307214 ) } } } } }
Principality of Lüneburg
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Principality of Lüneburg
relation basic form of government
type occupation
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?p ) WHERE { { ?r property:basic_form_of_government ?l . ?l rdf:type ontology:occupation . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:basic_form_of_government ?l . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:form_of_government } } GROUP BY ?r } . FILTER ( ?p < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Principality_of_Lüneburg property:basic_form_of_government ?k . { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:occupation ) ( ontology:form_of_government ) } } } } }
[]
occupation form of government designation for an administrative territorial entity
SYSTEM
85
Q702 Q804 Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q953 Q29999 Q153091 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q12737077)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q280312
relation P122
type Q12737077
type Q1307214
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?p ) WHERE { { ?r property:P122 ?l . ?l rdf:type ontology:Q12737077 . ?r rdf:type ontology:Q15617994 } UNION { ?r property:P122 ?l . ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q1307214 } } GROUP BY ?r } . FILTER ( ?p < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Q280312 property:P122 ?k . { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:Q12737077 ) ( ontology:Q1307214 ) } } } } }
Federated States of Micronesia Panama Israel Yemen Peru India Argentina France United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal Armenia South Africa Portugal Russia Turkey Brazil Iraq South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy Zambia Kingdom of the Netherlands Duchy of Prussia Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
85
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Principality of Lüneburg
relation basic form of government
type occupation
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?p ) WHERE { { ?r property:basic_form_of_government ?l . ?l rdf:type ontology:occupation . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:basic_form_of_government ?l . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:form_of_government } } GROUP BY ?r } . FILTER ( ?p < ?w ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { resource:Principality_of_Lüneburg property:basic_form_of_government ?k . { ?k rdf:type ?e . VALUES ( ?e ) { ( ontology:occupation ) ( ontology:form_of_government ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q154547
P122
Q12737077 Q1307214 Q15617994
USER
And also tell me about duchy?
(c(Q15617994),P122,c(Q12737077)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q154547
relation P122
type Q12737077
type Q1307214
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?k WHERE { { ?k property:P122 ?b . ?k rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q12737077 } UNION { ?k rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1307214 . ?k property:P122 ?b } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { { ?c rdf:type ontology:Q12737077 } UNION { ?c rdf:type ontology:Q1307214 } } . resource:Q154547 property:P122 ?c } } . FILTER ( ?e < ?w ) }
duchy
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity duchy
relation basic form of government
type occupation
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?k WHERE { { ?k property:basic_form_of_government ?b . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:occupation } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:form_of_government . ?k property:basic_form_of_government ?b } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { { ?c rdf:type ontology:occupation } UNION { ?c rdf:type ontology:form_of_government } } . resource:duchy property:basic_form_of_government ?c } } . FILTER ( ?e < ?w ) }
[]
occupation form of government designation for an administrative territorial entity
SYSTEM
85
Q702 Q804 Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q953 Q29999 Q153091 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q12737077)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q154547
relation P122
type Q12737077
type Q1307214
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?k WHERE { { ?k property:P122 ?b . ?k rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q12737077 } UNION { ?k rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1307214 . ?k property:P122 ?b } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { { ?c rdf:type ontology:Q12737077 } UNION { ?c rdf:type ontology:Q1307214 } } . resource:Q154547 property:P122 ?c } } . FILTER ( ?e < ?w ) }
Federated States of Micronesia Panama Israel Yemen Peru India Argentina France United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal Armenia South Africa Portugal Russia Turkey Brazil Iraq South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy Zambia Kingdom of the Netherlands Duchy of Prussia Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
85
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity duchy
relation basic form of government
type occupation
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?k WHERE { { ?k property:basic_form_of_government ?b . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:occupation } UNION { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:form_of_government . ?k property:basic_form_of_government ?b } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { { ?c rdf:type ontology:occupation } UNION { ?c rdf:type ontology:form_of_government } } . resource:duchy property:basic_form_of_government ?c } } . FILTER ( ?e < ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P921
Q838948
USER
Which work of art was mainly based on writer ?
(c(Q838948),P921,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q36180']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q36180 . ?x rdf:type ontology:Q838948 }
writer
action filter_type
action find_reverse
entity writer
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'writer']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:writer . ?x rdf:type ontology:work_of_art }
[]
work of art
Q7847743
SYSTEM
Trumbo
Q7847743
(c(Q838948),P921,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P921
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P921', 'Q36180']
SELECT DISTINCT ?x WHERE { ?x property:P921 resource:Q36180 . ?x rdf:type ontology:Q838948 }
Trumbo
Trumbo
action filter_type
action find_reverse
entity writer
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'writer']
SELECT DISTINCT ?x WHERE { ?x property:main_subject resource:writer . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7847743
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q7847743,P136,c(Q1792379))
action filter_type
action find
entity Q7847743
relation P136
type Q1792379
['Q7847743', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { resource:Q7847743 property:P136 ?s . ?s rdf:type ontology:Q1792379 }
Trumbo
action filter_type
action find
entity Trumbo
relation genre
type art genre
['Trumbo', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { resource:Trumbo property:genre ?s . ?s rdf:type ontology:art_genre }
[]
art genre
Q93204
SYSTEM
documentary film
Q93204
(Q7847743,P136,c(Q1792379))
action filter_type
action find
entity Q7847743
relation P136
type Q1792379
[ANSWER]
['Q7847743', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { resource:Q7847743 property:P136 ?s . ?s rdf:type ontology:Q1792379 }
documentary film
documentary film
action filter_type
action find
entity Trumbo
relation genre
type art genre
['Trumbo', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { resource:Trumbo property:genre ?s . ?s rdf:type ontology:art_genre }
[]