Simple Question (Direct)
Simple Question
Q5526042
P106
Q12737077
USER
Which occupation is the profession of Gary Tavars ?
(Q5526042,P106,c(Q12737077))
action filter_type
action find
entity Q5526042
relation P106
type Q12737077
['Q5526042', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q5526042 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Gary Tavars
action filter_type
action find
entity Gary Tavars
relation occupation
type occupation
['Gary Tavars', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Gary_Tavars property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5526042,P106,c(Q12737077))
action filter_type
action find
entity Q5526042
relation P106
type Q12737077
Player [ANSWER] is the profession of Gary Tavars
['Q5526042', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q5526042 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Gary Tavars
association football player
action filter_type
action find
entity Gary Tavars
relation occupation
type occupation
['Gary Tavars', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Gary_Tavars property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Which sport has that one as thier associated field of occupation ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q937857 property:P425 ?e }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?e }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
Football [ANSWER] has that one as thier associated field of occupation
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q937857 property:P425 ?e }
association football
Football association football has that one as thier associated field of occupation
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P101
Q502895
USER
Which person has his/her area as that occupation ?
(c(Q502895),P101,Q2736)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q2736']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P101 resource:Q937857 }
association football player
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:field_of_work resource:association_football_player }
[]
common name
Q2089026
SYSTEM
Akaki Devadze
Q2089026
(c(Q502895),P101,Q2736)
action filter_type
action find_reverse
entity Q937857
relation P101
type Q502895
[ANSWER] has his/her area as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q2736']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P101 resource:Q937857 }
Akaki Devadze
Akaki Devadze has his/her area as that occupation
Akaki Devadze
action filter_type
action find_reverse
entity association football player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'association football']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:field_of_work resource:association_football_player }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2089026 Q230
P27
Q15617994
USER
Does Akaki Devadze belong to Georgia ?
(Q2089026,P27,Q230)
action is_in
entity Q230
action find
entity Q2089026
relation P27
['Q2089026', 'P27', 'Q230']
ASK WHERE { resource:Q2089026 property:P27 resource:Q230 }
Akaki Devadze Georgia
action is_in
entity Georgia
action find
entity Akaki Devadze
relation country of citizenship
['Akaki Devadze', 'country of citizenship', 'Georgia']
ASK WHERE { resource:Akaki_Devadze property:country_of_citizenship resource:Georgia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2089026,P27,Q230)
action is_in
entity Q230
action find
entity Q2089026
relation P27
[ANSWER]
['Q2089026', 'P27', 'Q230']
ASK WHERE { resource:Q2089026 property:P27 resource:Q230 }
Yes
action is_in
entity Georgia
action find
entity Akaki Devadze
relation country of citizenship
['Akaki Devadze', 'country of citizenship', 'Georgia']
ASK WHERE { resource:Akaki_Devadze property:country_of_citizenship resource:Georgia }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q182718
P1303
Q34379 Q502895
USER
How many musical instruments do lesser number of people know to play than Nyckelharpa ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q182718
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f rdf:type ontology:Q502895 . ?f property:P1303 resource:Q182718 } } . FILTER ( ?l < ?h ) }
Nyckelharpa
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Nyckelharpa
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f rdf:type ontology:common_name . ?f property:instrument resource:Nyckelharpa } } . FILTER ( ?l < ?h ) }
[]
musical instrument common name
SYSTEM
36
Q890073 Q1178361 Q604538 Q2660670 Q39777 Q678090 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q816793 Q244976 Q1179017 Q320341 Q748455 Q669370 Q290951 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q173453 Q744831 Q963150 Q16155191 Q644440 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q182718
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f rdf:type ontology:Q502895 . ?f property:P1303 resource:Q182718 } } . FILTER ( ?l < ?h ) }
Body percussion davul Temple block Irish bouzouki maraca Twelve-string guitar Ondioline Jinghu player piano electronic musical instrument spoon Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa Bendir bodhrán Daxophone celesta cajón gusle Kamancheh Hardanger fiddle transverse flute baritone horn morin khuur Timbales wind instrument Mridangam tenor guitar Saraswati veena Lap steel guitar Kayamb Paraguayan harp
36
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Nyckelharpa
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f rdf:type ontology:common_name . ?f property:instrument resource:Nyckelharpa } } . FILTER ( ?l < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q80284
P1303
Q34379 Q502895
USER
And how about viola?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q80284
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P1303 resource:Q80284 . ?q rdf:type ontology:Q502895 } } . FILTER ( ?t < ?v ) . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?e } }
viola
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity viola
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:instrument resource:viola . ?q rdf:type ontology:common_name } } . FILTER ( ?t < ?v ) . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?e } }
[]
musical instrument common name
SYSTEM
57
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q80284
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P1303 resource:Q80284 . ?q rdf:type ontology:Q502895 } } . FILTER ( ?t < ?v ) . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?e } }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
57
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity viola
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:instrument resource:viola . ?q rdf:type ontology:common_name } } . FILTER ( ?t < ?v ) . { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?t ) WHERE { ?r property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by exactly 5 people ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?s = 5 ) }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?s = 5 ) }
[]
musical instrument common name
SYSTEM
2
Q213461 Q213100
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?s = 5 ) }
harmonium tabla
2
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?s = 5 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26085440 Q2089026
P27
Q15617994
USER
Which administrative territories are Akaki Devadze or Mirel-Dănuț Simion an inhabitant of ?
OR((Q2089026,P27,c(Q15617994)), (Q26085440,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2089026
relation P27
action find
entity Q26085440
relation P27
type Q15617994
{'OR': [['Q2089026', 'P27', {'concept': 'Q15617994'}], ['Q26085440', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2089026 property:P27 ?q } UNION { resource:Q26085440 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Mirel-Dănuț Simion Akaki Devadze
action filter_type
action union
action find
entity Akaki Devadze
relation country of citizenship
action find
entity Mirel-Dănuț Simion
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Akaki Devadze', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mirel-Dănuț Simion', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Akaki_Devadze property:country_of_citizenship ?q } UNION { resource:Mirel-Dănuț_Simion property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q230
SYSTEM
Romania, Georgia
Q218 Q230
OR((Q2089026,P27,c(Q15617994)), (Q26085440,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2089026
relation P27
action find
entity Q26085440
relation P27
type Q15617994
[ANSWERS] are Akaki Devadze or Mirel-Dănuț Simion an inhabitant of
{'OR': [['Q2089026', 'P27', {'concept': 'Q15617994'}], ['Q26085440', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q2089026 property:P27 ?q } UNION { resource:Q26085440 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Romania Georgia
Romania and Georgia are Akaki Devadze or Mirel-Dănuț Simion an inhabitant of
Romania Georgia
action filter_type
action union
action find
entity Akaki Devadze
relation country of citizenship
action find
entity Mirel-Dănuț Simion
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Akaki Devadze', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mirel-Dănuț Simion', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Akaki_Devadze property:country_of_citizenship ?q } UNION { resource:Mirel-Dănuț_Simion property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q7210356 Q852446
USER
How many administrative territories are approximately 296 political organizations or US administrative territories situated in ?
(c(Q7210356)|c(Q852446),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7210356
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q852446
value 296
[[{'concept': 'Q7210356'}, {'concept': 'Q852446'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { FILTER ( ?w = 296 ) . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?w ) WHERE { { ?q property:P17 ?n . ?n rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q7210356 } UNION { ?q property:P17 ?n . ?n rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q852446 } } GROUP BY ?n } }
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political organization
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type administrative territorial entity of the United States
value 296
[[{'concept': 'political organization'}, {'concept': 'administrative territorial entity of the United States'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { FILTER ( ?w = 296 ) . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?w ) WHERE { { ?q property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_organization } UNION { ?q property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:administrative_territorial_entity_of_the_United_States } } GROUP BY ?n } }
[]
designation for an administrative territorial entity political organization administrative territorial entity of the United States
SYSTEM
235
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q668 Q684030 Q2172530 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q96 Q229 Q347 Q1050 Q977 Q17 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q29 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q7210356)|c(Q852446),P17,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q7210356
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q852446
value 296
[ANSWER]
[[{'concept': 'Q7210356'}, {'concept': 'Q852446'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { FILTER ( ?w = 296 ) . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?w ) WHERE { { ?q property:P17 ?n . ?n rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q7210356 } UNION { ?q property:P17 ?n . ?n rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q852446 } } GROUP BY ?n } }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora India Principality of Serbia Electorate of Württemberg Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Cyprus Liechtenstein Swaziland Djibouti Japan Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia Spain East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
235
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political organization
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type administrative territorial entity of the United States
value 296
[[{'concept': 'political organization'}, {'concept': 'administrative territorial entity of the United States'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { FILTER ( ?w = 296 ) . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?w ) WHERE { { ?q property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_organization } UNION { ?q property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:administrative_territorial_entity_of_the_United_States } } GROUP BY ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P159
Q874405
USER
Which social groups have headquarters located at Romania ?
(c(Q874405),P159,Q218)
action filter_type
action find_reverse
entity Q218
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q218']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q218 . ?v rdf:type ontology:Q874405 }
Romania
action filter_type
action find_reverse
entity Romania
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Romania']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:Romania . ?v rdf:type ontology:social_group }
[]
social group
Q6509096 Q16211549
SYSTEM
League of Romanian Students Abroad, Reaching Out Romania
Q6509096 Q16211549
(c(Q874405),P159,Q218)
action filter_type
action find_reverse
entity Q218
relation P159
type Q874405
League of Romanian Students Abroad and reaching Out Romania have headquarters located at Romania
[{'concept': 'Q874405'}, 'P159', 'Q218']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q218 . ?v rdf:type ontology:Q874405 }
League of Romanian Students Abroad Reaching Out Romania
League of Romanian Students Abroad and reaching Out Romania have headquarters located at Romania
League of Romanian Students Abroad Reaching Out Romania
action filter_type
action find_reverse
entity Romania
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Romania']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:Romania . ?v rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6509096 Q16211549
P159
Q15617994
USER
Which administrative territories are the headquarter locations of League of Romanian Students Abroad and Reaching Out Romania ?
(Q6509096,P159,c(Q15617994)) (Q16211549,P159,c(Q15617994))
action union
action filter_type
action find
entity Q6509096
relation P159
type Q15617994
action filter_type
action find
entity Q16211549
relation P159
type Q15617994
['Q6509096', 'P159', {'concept': 'Q15617994'}] ['Q16211549', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { resource:Q6509096 property:P159 ?x . ?x rdf:type ontology:Q15617994 } UNION { resource:Q16211549 property:P159 ?x . ?x rdf:type ontology:Q15617994 } }
League of Romanian Students Abroad Reaching Out Romania
action union
action filter_type
action find
entity League of Romanian Students Abroad
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Reaching Out Romania
relation headquarters location
type designation for an administrative territorial entity
['League of Romanian Students Abroad', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Reaching Out Romania', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { resource:League_of_Romanian_Students_Abroad property:headquarters_location ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Reaching_Out_Romania property:headquarters_location ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q218 Q218
SYSTEM
Romania
Q218 Q218
(Q6509096,P159,c(Q15617994)) (Q16211549,P159,c(Q15617994))
action union
action filter_type
action find
entity Q6509096
relation P159
type Q15617994
action filter_type
action find
entity Q16211549
relation P159
type Q15617994
[ANSWER] and [ANSWER] are the headquarter locations of League of [ANSWER]n Students Abroad and Reaching Out [ANSWER]
['Q6509096', 'P159', {'concept': 'Q15617994'}] ['Q16211549', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { resource:Q6509096 property:P159 ?x . ?x rdf:type ontology:Q15617994 } UNION { resource:Q16211549 property:P159 ?x . ?x rdf:type ontology:Q15617994 } }
Romania Romania
Romania and Romania are the headquarter locations of League of Romanian Students Abroad and Reaching Out Romania
Romania Romania
action union
action filter_type
action find
entity League of Romanian Students Abroad
relation headquarters location
type designation for an administrative territorial entity
action filter_type
action find
entity Reaching Out Romania
relation headquarters location
type designation for an administrative territorial entity
['League of Romanian Students Abroad', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Reaching Out Romania', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { resource:League_of_Romanian_Students_Abroad property:headquarters_location ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Reaching_Out_Romania property:headquarters_location ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P840
Q838948
USER
Which works of art have their setting located at Romania ?
(c(Q838948),P840,Q218)
action filter_type
action find_reverse
entity Q218
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q218']
SELECT DISTINCT ?d WHERE { ?d property:P840 resource:Q218 . ?d rdf:type ontology:Q838948 }
Romania
action filter_type
action find_reverse
entity Romania
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Romania']
SELECT DISTINCT ?d WHERE { ?d property:narrative_location resource:Romania . ?d rdf:type ontology:work_of_art }
[]
work of art
Q211009 Q238245 Q17363277
SYSTEM
Van Helsing, 4 Months, 3 Weeks and 2 Days, Kvadrat
Q19828480 Q17363277 Q211009 Q238245
(c(Q838948),P840,Q218)
action filter_type
action find_reverse
entity Q218
relation P840
type Q838948
[ANSWERS] have their setting located at Romania
[{'concept': 'Q838948'}, 'P840', 'Q218']
SELECT DISTINCT ?d WHERE { ?d property:P840 resource:Q218 . ?d rdf:type ontology:Q838948 }
The Forest is Like the Mountains Kvadrat Van Helsing 4 Months, 3 Weeks and 2 Days
Van Helsing, 4 Months, 3 Weeks and 2 Days and Kvadrat have their setting located at Romania
Van Helsing 4 Months, 3 Weeks and 2 Days Kvadrat
action filter_type
action find_reverse
entity Romania
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Romania']
SELECT DISTINCT ?d WHERE { ?d property:narrative_location resource:Romania . ?d rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q238245
P161
Q502895
USER
Which people are in that work of art ?
(Q238245,P161,c(Q502895))
action filter_type
action find
entity Q238245
relation P161
type Q502895
['Q238245', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q238245 property:P161 ?i . ?i rdf:type ontology:Q502895 }
4 Months, 3 Weeks and 2 Days
action filter_type
action find
entity 4 Months, 3 Weeks and 2 Days
relation cast member
type common name
['4 Months, 3 Weeks and 2 Days', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:4_Months,_3_Weeks_and_2_Days property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q238245
SYSTEM
Did you mean 4 Months, 3 Weeks and 2 Days ?
Q211009 Q238245 Q17363277
(Q211009,P161,c(Q502895)) (Q238245,P161,c(Q502895)) (Q17363277,P161,c(Q502895))
[ANSWER]
['Q211009', 'P161', {'concept': 'Q502895'}] ['Q238245', 'P161', {'concept': 'Q502895'}] ['Q17363277', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q238245 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Van Helsing 4 Months, 3 Weeks and 2 Days Kvadrat
Did you mean 4 Months, 3 Weeks and 2 Days ?
4 Months, 3 Weeks and 2 Days
['Van Helsing', 'cast member', {'concept': 'common name'}] ['4 Months, 3 Weeks and 2 Days', 'cast member', {'concept': 'common name'}] ['Kvadrat', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:4_Months,_3_Weeks_and_2_Days property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q238245,P161,c(Q502895))
['Q238245', 'P161', {'concept': 'Q502895'}]
['4 Months, 3 Weeks and 2 Days', 'cast member', {'concept': 'common name'}]
[]
Q269258 Q6273945 Q12742058
SYSTEM
Anamaria Marinca, Vlad Ivanov, Teodor Corban
Q269258 Q6273945 Q18547685 Q12742058 Q12736151 Q535367 Q12741804 Q12727841 Q12720298 Q4116979 Q7725186 Q12723827 Q19706158
(Q238245,P161,c(Q502895))
action filter_type
action find
entity Q238245
relation P161
type Q502895
[ANSWERS] are in that work of art
['Q238245', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q238245 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Anamaria Marinca Vlad Ivanov Ion Sapdaru Teodor Corban Mădălina Ghițescu Laura Vasiliu Sânziana Târța Eugenia Bosânceanu Alexandru Conovaru Luminița Gheorghiu Alexandru Potocean Cerasela Iosifescu Geo Dobre
Anamaria Marinca, Vlad Ivanov and Teodor Corban are in that work of art
Anamaria Marinca Vlad Ivanov Teodor Corban
action filter_type
action find
entity 4 Months, 3 Weeks and 2 Days
relation cast member
type common name
['4 Months, 3 Weeks and 2 Days', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:4_Months,_3_Weeks_and_2_Days property:cast_member ?i . ?i rdf:type ontology:common_name }
[]