Simple Question (Direct)
Simple Question
Q7787921
P106
Q12737077
USER
Which occupation is the profession of Thomas Brodrick ?
(Q7787921,P106,c(Q12737077))
action filter_type
action find
entity Q7787921
relation P106
type Q12737077
['Q7787921', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q7787921 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Thomas Brodrick
action filter_type
action find
entity Thomas Brodrick
relation occupation
type occupation
['Thomas Brodrick', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Thomas_Brodrick property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q7787921,P106,c(Q12737077))
action filter_type
action find
entity Q7787921
relation P106
type Q12737077
The [ANSWER] is the profession of Thomas Brodrick
['Q7787921', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q7787921 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
politician
The politician is the profession of Thomas Brodrick
politician
action filter_type
action find
entity Thomas Brodrick
relation occupation
type occupation
['Thomas Brodrick', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Thomas_Brodrick property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7787921
P39
Q12737077
USER
What were the positions for which Thomas Brodrick were appointed ?
(Q7787921,P39,c(Q12737077))
action filter_type
action find
entity Q7787921
relation P39
type Q12737077
['Q7787921', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q7787921 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Thomas Brodrick
action filter_type
action find
entity Thomas Brodrick
relation position held
type occupation
['Thomas Brodrick', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Thomas_Brodrick property:position_held ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q18015642 Q18019039
SYSTEM
Member of Parliament in the Parliament of Great Britain, Member of Parliament in the Parliament of Ireland
Q18015642 Q18019039
(Q7787921,P39,c(Q12737077))
action filter_type
action find
entity Q7787921
relation P39
type Q12737077
[ANSWERS]
['Q7787921', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q7787921 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Member of Parliament in the Parliament of Great Britain Member of Parliament in the Parliament of Ireland
Member of Parliament in the Parliament of Great Britain and Member of Parliament in the Parliament of Ireland
Member of Parliament in the Parliament of Great Britain Member of Parliament in the Parliament of Ireland
action filter_type
action find
entity Thomas Brodrick
relation position held
type occupation
['Thomas Brodrick', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Thomas_Brodrick property:position_held ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q139785
Q12737077
USER
And how about Jim Bolger?
(Q139785,P39,c(Q12737077))
action filter_type
action find
entity Q139785
relation P39
type Q12737077
['Q139785', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q139785 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Jim Bolger
action filter_type
action find
entity Jim Bolger
relation position held
type occupation
['Jim Bolger', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Jim_Bolger property:position_held ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q6508547 Q18145518 Q1071117
SYSTEM
Leader of the Opposition, Member of the New Zealand House of Representatives, Prime Minister of New Zealand
Q6508547 Q18145518 Q1071117
(Q139785,P39,c(Q12737077))
action filter_type
action find
entity Q139785
relation P39
type Q12737077
[ANSWERS]
['Q139785', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q139785 property:P39 ?y . ?y rdf:type ontology:Q12737077 }
Leader of the Opposition Member of the New Zealand House of Representatives Prime Minister of New Zealand
Leader of the Opposition Member of the New Zealand House of Representatives Prime Minister of New Zealand
action filter_type
action find
entity Jim Bolger
relation position held
type occupation
['Jim Bolger', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Jim_Bolger property:position_held ?y . ?y rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q235996
P39
Q502895
USER
Were Jenny Shipley appointed for the position of those occupations ?
(Q235996,P39,Q6508547) (Q235996,P39,Q18145518) (Q235996,P39,Q1071117)
action is_in
entity prev_answer
action find
entity Q235996
relation P39
['Q235996', 'P39', 'Q6508547'] ['Q235996', 'P39', 'Q18145518'] ['Q235996', 'P39', 'Q1071117']
ASK WHERE { VALUES ( ?h ) { ( resource:Q6508547 ) ( resource:Q18145518 ) ( resource:Q1071117 ) } . resource:Q235996 property:P39 ?h }
Jenny Shipley
action is_in
entity prev_answer
action find
entity Jenny Shipley
relation position held
['Jenny Shipley', 'position held', 'Leader of the Opposition'] ['Jenny Shipley', 'position held', 'Member of the New Zealand House of Representatives'] ['Jenny Shipley', 'position held', 'Prime Minister of New Zealand']
ASK WHERE { VALUES ( ?h ) { ( resource:Leader_of_the_Opposition ) ( resource:Member_of_the_New_Zealand_House_of_Representatives ) ( resource:Prime_Minister_of_New_Zealand ) } . resource:Jenny_Shipley property:position_held ?h }
[]
common name
SYSTEM
YES
(Q235996,P39,Q6508547) (Q235996,P39,Q18145518) (Q235996,P39,Q1071117)
action is_in
entity prev_answer
action find
entity Q235996
relation P39
[ANSWER]
['Q235996', 'P39', 'Q6508547'] ['Q235996', 'P39', 'Q18145518'] ['Q235996', 'P39', 'Q1071117']
ASK WHERE { VALUES ( ?h ) { ( resource:Q6508547 ) ( resource:Q18145518 ) ( resource:Q1071117 ) } . resource:Q235996 property:P39 ?h }
Yes
action is_in
entity prev_answer
action find
entity Jenny Shipley
relation position held
['Jenny Shipley', 'position held', 'Leader of the Opposition'] ['Jenny Shipley', 'position held', 'Member of the New Zealand House of Representatives'] ['Jenny Shipley', 'position held', 'Prime Minister of New Zealand']
ASK WHERE { VALUES ( ?h ) { ( resource:Leader_of_the_Opposition ) ( resource:Member_of_the_New_Zealand_House_of_Representatives ) ( resource:Prime_Minister_of_New_Zealand ) } . resource:Jenny_Shipley property:position_held ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18015642
P1001
Q7275
USER
Which state comes under the jurisdiction of Member of Parliament in the Parliament of Great Britain ?
(Q18015642,P1001,c(Q7275))
action filter_type
action find
entity Q18015642
relation P1001
type Q7275
['Q18015642', 'P1001', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q18015642 property:P1001 ?h . ?h rdf:type ontology:Q7275 }
Member of Parliament in the Parliament of Great Britain
action filter_type
action find
entity Member of Parliament in the Parliament of Great Britain
relation applies to jurisdiction
type state
['Member of Parliament in the Parliament of Great Britain', 'applies to jurisdiction', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Member_of_Parliament_in_the_Parliament_of_Great_Britain property:applies_to_jurisdiction ?h . ?h rdf:type ontology:state }
[]
state
Q161885
SYSTEM
Kingdom of Great Britain
Q161885
(Q18015642,P1001,c(Q7275))
action filter_type
action find
entity Q18015642
relation P1001
type Q7275
Britain [ANSWER] comes under the jurisdiction of Member of Parliament in the Parliament of Great Britain
['Q18015642', 'P1001', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q18015642 property:P1001 ?h . ?h rdf:type ontology:Q7275 }
Kingdom of Great Britain
Britain Kingdom of Great Britain comes under the jurisdiction of Member of Parliament in the Parliament of Great Britain
Kingdom of Great Britain
action filter_type
action find
entity Member of Parliament in the Parliament of Great Britain
relation applies to jurisdiction
type state
['Member of Parliament in the Parliament of Great Britain', 'applies to jurisdiction', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Member_of_Parliament_in_the_Parliament_of_Great_Britain property:applies_to_jurisdiction ?h . ?h rdf:type ontology:state }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P1376
Q7275 Q515 Q20667921
USER
Which states have more number of cities or french administrative divisions as their county seat than that state ?
(c(Q515)|c(Q20667921),P1376,c(Q7275))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q161885
relation P1376
type Q515
type Q20667921
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?m ) WHERE { VALUES ( ?z ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?e rdf:type ?z } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:P1376 resource:Q161885 . { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } } } . FILTER ( ?m > ?y ) }
action greater
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Kingdom of Great Britain
relation capital of
type city
type type of french administrative division
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?m ) WHERE { VALUES ( ?z ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?e rdf:type ?z } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:capital_of resource:Kingdom_of_Great_Britain . { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } } } . FILTER ( ?m > ?y ) }
[]
state city type of french administrative division
Q133356 Q112558 Q213586
SYSTEM
Ukrainian Soviet Socialist Republic, Republic of Saugeais, Gondor
Q178665 Q18285930 Q3456417 Q855044 Q210198 Q133356 Q215530 Q912043 Q203493 Q1574107 Q15864 Q698089 Q210542 Q2114397 Q220110 Q1414395 Q756895 Q49697 Q6500954 Q274488 Q476757 Q1274468 Q234197 Q1108445 Q153080 Q1154540 Q550374 Q19831559 Q1048918 Q783489 Q618399 Q180573 Q216786 Q752662 Q1668970 Q320930 Q849623 Q139670 Q1138904 Q7352 Q9903 Q941881 Q38060 Q844250 Q738144 Q207521 Q1658411 Q157734 Q1415585 Q146328 Q1508143 Q940821 Q248572 Q697084 Q213586 Q11196 Q842091 Q146713 Q427941 Q697837 Q747314 Q307069 Q28278 Q62454 Q112558 Q1192067 Q2372248 Q505503 Q153015 Q846670 Q696242 Q1479726 Q467864 Q212056 Q13426199 Q3041595 Q484104 Q648297 Q149805
(c(Q515)|c(Q20667921),P1376,c(Q7275))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q161885
relation P1376
type Q515
type Q20667921
[ANSWERS] have more number of cities or french administrative divisions as their county seat than that state
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?m ) WHERE { VALUES ( ?z ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } . ?e rdf:type ?z } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:P1376 resource:Q161885 . { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } } } . FILTER ( ?m > ?y ) }
Mitanni German Empire of 1848/1849 Republic of Saint-Malo Bhopal State Erivan Khanate Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Romania Han Zhao United Kingdom of the Netherlands Grand Duchy of Würzburg Second Brazilian Republic Yogyakarta Sultanate Rohan Republic of South Maluku Kediri Liu Song dynasty Zaire Eastern Wu Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Srivijaya Kievan Rus' East Francia Later Jin Dynasty South African Republic Oldenburg Suebic Kingdom of Galicia Later Liang dynasty Republic of the Congo South Vietnam Champa Hafsid dynasty Western Qin Cao Wei Oyo Empire Democratic Republic of Armenia Kingdom of Afghanistan Jin dynasty Ming imperium Netherlands New Guinea Gaul Lordship of Ireland United Provinces of the Río de la Plata Abyssinia Kingdom of Sarawak Muscat and Oman Islamic State of Afghanistan Commonwealth of the Philippines Ukrainian State People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Gondor Republika Srpska Duchy of Normandy Arab Federation Islamic Emirate of Afghanistan Mengjiang Bechuanaland Protectorate Eastern Wei Provisional Government of the Republic of Korea Chen dynasty Republic of Saugeais Min Free State of Oldenburg Cochinchina Kingdom of Saxony Danishmends Reorganized National Government of China Federation of Malaya People's Socialist Republic of Albania Mongolian People's Republic Republic of China Republic of Iraq United States Army Military Government in Korea Free State of Brunswick Kingdom of Iraq
Ukrainian Soviet Socialist Republic, Republic of Saugeais and Gondor have more number of cities or french administrative divisions as their county seat than that state
Ukrainian Soviet Socialist Republic Republic of Saugeais Gondor
action greater
action union
action find_reverse_tuple_counts
relation capital of
type state
type city
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Kingdom of Great Britain
relation capital of
type city
type type of french administrative division
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?m ) WHERE { VALUES ( ?z ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } . ?e rdf:type ?z } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { ?t property:capital_of resource:Kingdom_of_Great_Britain . { ?t rdf:type ?a . VALUES ( ?a ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } } } . FILTER ( ?m > ?y ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q213586
P47
Q3895768
USER
Which fictional location shares border with that state ?
(c(Q3895768),P47,Q213586)
action filter_type
action find
entity Q213586
relation P47
type Q3895768
[{'concept': 'Q3895768'}, 'P47', 'Q213586']
SELECT DISTINCT ?w WHERE { resource:Q213586 property:P47 ?w . ?w rdf:type ontology:Q3895768 }
Gondor
action filter_type
action find
entity Gondor
relation shares border with
type fictional location
[{'concept': 'fictional location'}, 'shares border with', 'Gondor']
SELECT DISTINCT ?w WHERE { resource:Gondor property:shares_border_with ?w . ?w rdf:type ontology:fictional_location }
[]
fictional location
Clarification for simple ques.
Q213586
SYSTEM
Did you mean Gondor ?
Q133356 Q112558 Q213586
(c(Q3895768),P47,Q133356) (c(Q3895768),P47,Q112558) (c(Q3895768),P47,Q213586)
[ANSWER]
[{'concept': 'Q3895768'}, 'P47', 'Q133356'] [{'concept': 'Q3895768'}, 'P47', 'Q112558'] [{'concept': 'Q3895768'}, 'P47', 'Q213586']
SELECT DISTINCT ?w WHERE { resource:Q213586 property:P47 ?w . ?w rdf:type ontology:Q3895768 }
Ukrainian Soviet Socialist Republic Republic of Saugeais Gondor
Did you mean Gondor ?
Gondor
[{'concept': 'fictional location'}, 'shares border with', 'Ukrainian Soviet Socialist Republic'] [{'concept': 'fictional location'}, 'shares border with', 'Republic of Saugeais'] [{'concept': 'fictional location'}, 'shares border with', 'Gondor']
SELECT DISTINCT ?w WHERE { resource:Gondor property:shares_border_with ?w . ?w rdf:type ontology:fictional_location }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q3895768),P47,Q213586)
[{'concept': 'Q3895768'}, 'P47', 'Q213586']
[{'concept': 'fictional location'}, 'shares border with', 'Gondor']
[]
Q661818
SYSTEM
Harad
Q661818
(c(Q3895768),P47,Q213586)
action filter_type
action find
entity Q213586
relation P47
type Q3895768
' [ANSWER] shares border with that state
[{'concept': 'Q3895768'}, 'P47', 'Q213586']
SELECT DISTINCT ?w WHERE { resource:Q213586 property:P47 ?w . ?w rdf:type ontology:Q3895768 }
Harad
' Harad shares border with that state
Harad
action filter_type
action find
entity Gondor
relation shares border with
type fictional location
[{'concept': 'fictional location'}, 'shares border with', 'Gondor']
SELECT DISTINCT ?w WHERE { resource:Gondor property:shares_border_with ?w . ?w rdf:type ontology:fictional_location }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1080
Q386724 Q3895768
USER
How many fictional locations are featured in lesser number of works than that fictional location ?
(c(Q3895768),P1080,c(Q386724))
action count
action less
action find_tuple_counts
relation P1080
type Q386724
type Q3895768
action count
action filter_type
action find
entity Q661818
relation P1080
type Q386724
[{'concept': 'Q3895768'}, 'P1080', {'concept': 'Q386724'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Q661818 property:P1080 ?g . ?g rdf:type ontology:Q386724 } } . FILTER ( ?e < ?w ) . { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?e ) WHERE { ?t property:P1080 ?s . ?s rdf:type ontology:Q3895768 . ?t rdf:type ontology:Q386724 } GROUP BY ?t } }
action count
action less
action find_tuple_counts
relation from fictional universe
type work
type fictional location
action count
action filter_type
action find
entity Harad
relation from fictional universe
type work
[{'concept': 'fictional location'}, 'from fictional universe', {'concept': 'work'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Harad property:from_fictional_universe ?g . ?g rdf:type ontology:work } } . FILTER ( ?e < ?w ) . { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?e ) WHERE { ?t property:from_fictional_universe ?s . ?s rdf:type ontology:fictional_location . ?t rdf:type ontology:work } GROUP BY ?t } }
[]
work fictional location
SYSTEM
0
(c(Q3895768),P1080,c(Q386724))
action count
action less
action find_tuple_counts
relation P1080
type Q386724
type Q3895768
action count
action filter_type
action find
entity Q661818
relation P1080
type Q386724
[ANSWER]
[{'concept': 'Q3895768'}, 'P1080', {'concept': 'Q386724'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Q661818 property:P1080 ?g . ?g rdf:type ontology:Q386724 } } . FILTER ( ?e < ?w ) . { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?e ) WHERE { ?t property:P1080 ?s . ?s rdf:type ontology:Q3895768 . ?t rdf:type ontology:Q386724 } GROUP BY ?t } }
0
action count
action less
action find_tuple_counts
relation from fictional universe
type work
type fictional location
action count
action filter_type
action find
entity Harad
relation from fictional universe
type work
[{'concept': 'fictional location'}, 'from fictional universe', {'concept': 'work'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { resource:Harad property:from_fictional_universe ?g . ?g rdf:type ontology:work } } . FILTER ( ?e < ?w ) . { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?e ) WHERE { ?t property:from_fictional_universe ?s . ?s rdf:type ontology:fictional_location . ?t rdf:type ontology:work } GROUP BY ?t } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3826
P1376
Q7275 Q515
USER
Which cities are center of administration for lesser number of states than Muscat ?
(c(Q515),P1376,c(Q7275))
action less
action find_tuple_counts
relation P1376
type Q515
type Q7275
action count
action filter_type
action find
entity Q3826
relation P1376
type Q7275
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?t ) WHERE { ?j property:P1376 ?c . ?c rdf:type ontology:Q7275 . ?j rdf:type ontology:Q515 } GROUP BY ?j } . FILTER ( ?t < ?i ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:Q7275 . resource:Q3826 property:P1376 ?u } } }
Muscat
action less
action find_tuple_counts
relation capital of
type city
type state
action count
action filter_type
action find
entity Muscat
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?t ) WHERE { ?j property:capital_of ?c . ?c rdf:type ontology:state . ?j rdf:type ontology:city } GROUP BY ?j } . FILTER ( ?t < ?i ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:state . resource:Muscat property:capital_of ?u } } }
[]
state city
Q1773 Q23482 Q456
SYSTEM
Riga, Marseille, Lyon
Q15826 Q373542 Q780731 Q39738 Q10126 Q843001 Q1710 Q843006 Q843009 Q14525 Q3042 Q3974 Q861296 Q637647 Q240026 Q873377 Q853746 Q83786 Q854913 Q19833195 Q293558 Q192271 Q854918 Q460835 Q60037 Q217432 Q827041 Q4024 Q379030 Q1711 Q496667 Q240504 Q3806 Q281371 Q258884 Q592338 Q52607 Q766168 Q933645 Q214938 Q830394 Q205607 Q193050 Q841296 Q911600 Q789256 Q7473516 Q903177 Q3870 Q243293 Q5779 Q932806 Q377834 Q295367 Q653389 Q851097 Q1696 Q861292 Q41474 Q57953 Q917888 Q1070920 Q174096 Q174091 Q740800 Q855082 Q633945 Q843031 Q593314 Q783255 Q197687 Q111739 Q842967 Q329768 Q843035 Q246723 Q696388 Q185719 Q14424 Q304803 Q432169 Q147738 Q853744 Q2135 Q43196 Q855032 Q404529 Q5954 Q11462 Q834567 Q851675 Q3214 Q842908 Q23482 Q505208 Q1000336 Q911530 Q181276 Q583137 Q3692 Q847546 Q330409 Q1019949 Q847543 Q854956 Q235004 Q379160 Q132997 Q478038 Q725168 Q580722 Q389515 Q394453 Q278017 Q321778 Q850359 Q535534 Q745657 Q748797 Q494777 Q221283 Q2419449 Q1410 Q854969 Q842934 Q793405 Q375097 Q911558 Q59144 Q12062 Q629471 Q209766 Q178878 Q5316658 Q203027 Q2966 Q34217 Q625154 Q4348183 Q179608 Q847594 Q790370 Q154540 Q1467 Q843018 Q14499 Q2865 Q607625 Q526335 Q13630 Q424813 Q578343 Q366220 Q12245 Q117676 Q16959 Q1844 Q10389 Q650015 Q30340 Q225257 Q35925 Q44215 Q629849 Q680656 Q854996 Q207408 Q214956 Q1362 Q15379 Q588606 Q5540 Q58401 Q161176 Q850508 Q840986 Q1723 Q288413 Q1519 Q270704 Q167109 Q3104 Q734378 Q459787 Q585630 Q855529 Q7248 Q4346 Q1107569 Q1025387 Q6602 Q602042 Q237699 Q207406 Q517407 Q23661 Q191651 Q7856199 Q3904 Q325164 Q305640 Q14819 Q5285 Q14182 Q740810 Q861221 Q911667 Q6807568 Q842971 Q842976 Q3866 Q181007 Q385864 Q755686 Q3599 Q3861 Q43433 Q1636 Q3852 Q846652 Q7786 Q10104 Q3859 Q155975 Q1020939 Q674311 Q3915 Q155674 Q863747 Q841125 Q314686 Q487439 Q385591 Q124375 Q933641 Q854940 Q2180 Q714628 Q335427 Q177149 Q2337 Q633789 Q14960 Q8158 Q385070 Q116417 Q830404 Q861262 Q781435 Q26600 Q2025433 Q740853 Q749320 Q874270 Q911628 Q632146 Q52564 Q4905 Q207876 Q2978 Q2973 Q34261 Q137271 Q855060 Q843028 Q842996 Q1773 Q679249 Q843021 Q14821 Q680743 Q564234 Q3958 Q488990 Q3955 Q668318 Q2079 Q6829 Q260522 Q8156 Q752838 Q993064 Q276534 Q41773 Q42007 Q1858 Q2096 Q329775 Q1856 Q855016 Q3787 Q855011 Q4007 Q480421 Q14168 Q823907 Q7070 Q642031 Q55598 Q498011 Q214948 Q271000 Q214945 Q182852 Q755681 Q214942 Q549427 Q335506 Q320798 Q386655 Q245126 Q1826 Q1533 Q200077 Q47916 Q80484 Q3183016 Q328601 Q542154 Q2526233 Q946769 Q846351 Q739304 Q789233 Q7253 Q530634 Q4827 Q877227 Q5753 Q429409 Q2749 Q193719 Q170454 Q211243 Q841603 Q911576 Q42751 Q42750 Q185684 Q187861 Q207311 Q386682 Q63145 Q2119 Q390796 Q271917 Q5972 Q1720 Q1721 Q1645 Q7578 Q390798 Q7033 Q14126 Q57906 Q44244 Q855052 Q11449 Q547479 Q404817 Q2907 Q15847 Q843014 Q604516 Q3768 Q732300 Q789510 Q20073 Q1863 Q2209 Q2200 Q16506 Q14155 Q430207 Q756273 Q14409 Q188247 Q206872 Q1355 Q146363 Q208818 Q5869 Q46845 Q57951 Q830411 Q171943 Q728438 Q427769 Q189823 Q40626 Q55740 Q250733 Q146317 Q693264 Q6582 Q187821 Q502205 Q203344 Q71159 Q3355306 Q57944 Q189761 Q189769 Q57948 Q2795 Q378225 Q954569 Q2887 Q738275 Q69060 Q8179 Q727383 Q2061 Q184998 Q5217 Q854965 Q1020709 Q489147 Q456 Q755701 Q267894 Q679224 Q168648 Q2152435 Q843043 Q850676 Q2833 Q36063 Q3935 Q7003 Q3931 Q3751 Q3750 Q3616 Q42666 Q738013 Q894059 Q933638 Q183111 Q40584 Q1067897 Q25475 Q11506 Q613813 Q375862 Q107624 Q680963 Q66485 Q649214 Q646850 Q209988 Q582209 Q209983 Q877190 Q2900 Q845792 Q684494 Q170525 Q503411 Q842925 Q842923 Q302526 Q1231003 Q8042 Q911642 Q187284 Q158245 Q50179 Q284480 Q632080 Q207309 Q187812 Q104125
(c(Q515),P1376,c(Q7275))
action less
action find_tuple_counts
relation P1376
type Q515
type Q7275
action count
action filter_type
action find
entity Q3826
relation P1376
type Q7275
[ANSWERS] are center of administration for lesser number of states than Muscat
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?t ) WHERE { ?j property:P1376 ?c . ?c rdf:type ontology:Q7275 . ?j rdf:type ontology:Q515 } GROUP BY ?j } . FILTER ( ?t < ?i ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:Q7275 . resource:Q3826 property:P1376 ?u } } }
Palu Szigetvár Szeghalom Laoag Serang Csorna Isabela City Nagykálló Marcali Gorontalo Offenbach am Main Landshut Nōgata Pásztó Jászapáti Dumaguete Bátonyterenye Shimla Szikszó Barcelos Ózd Guiyang Szécsény Marugame Zalaegerszeg Port Harcourt Beroun Frankfurt (Oder) Zalaszentgrót Potsdam Muroran Makó Tübingen Jászberény Bélapátfalva Marawi Mar del Plata Nagykáta Kunhegyes Gyula Nagykőrös Zirc Érd Příbram Vásárosnamény Balatonalmádi Tokyo Tiszafüred Nairobi Sekondi-Takoradi Banda Aceh Polgárdi Szentes Nagyatád Nobeoka Iiyama Legazpi Hitoyoshi Kingstown Schwarzenberg Vinaròs Mamuju Sorsogon City Changsha Paks Csenger Saijō Vasvár Sárbogárd Kapuvár Miercurea Sibiului Puerto Princesa Gönc Tata Celldömölk Záhony Toyooka Pétervására Nagykanizsa Mezőcsát Dipolog Saint Helier Devecser Winnipeg Cincinnati Mezőkovácsháza Xuchang Binjai Surabaya Bonyhád Takahashi Cottbus Gyál Marseille Ouarzazate Tandil Hajdúhadház Szolnok Kidapawan Riyadh Saiki Ústí nad Orlicí Surigao City Katsuyama Ibrány Vigan Kunszentmárton Florianópolis Kiskunfélegyháza Tagum Őriszentpéter Kariya Žďár nad Sázavou Tiszavasvári Hodonín Kitsuki Hohhot Fehérgyarmat Dorog Alcoi Cape Coast Polgár Gibraltar Letenye Püspökladány Berettyóújfalu Tiszaújváros Putnok Zhanjiang Torgau Kiskunmajsa Saga Békéscsaba Durjaya Tsu Heidelberg Oxford Komárom Athkatla Nanning Shimabara Barcs Sásd Cebu City Kunszentmiklós Samarinda Kassel Tamási Keszthely Olbia Akō Szentlőrinc Adony Stanley Viseu Ürümqi Vaduz Bandung Pannonhalma Zhengzhou Rupea Tabuk Santa Rosa Hatvan Sümeg Szerencs Vác Znojmo Islamabad Kendari Fonyód Penza Shijiazhuang Fukushima Taketa Törökszentmiklós Batangas City Tapolca Abu Dhabi Třebíč Eger Koblenz Yonezawa Iloilo City Yanagawa Kistelek Bukittinggi Waren (Müritz) Kerma Maasin Strasbourg Baktalórántháza Aizuwakamatsu Mosonmagyaróvár Sondershausen Wellington Masbate City Turquoise Mountain Mbabane Kayes Abashiri Freiberg Tarlac Banjarmasin Békés Nakatsu Elek Emmen Sellye Mátészalka Dodoma Hattusa Ōsakasayama Nyírbátor Bicske Doha Chandigarh Antipolo Worms Cigánd Pekanbaru Tanjung Pinang Kigali Kutná Hora Digos Kisvárda Antananarivo Tandag Uda Tsuyama Mati Oral Ōmura Hódmezővásárhely Martonvásár Dabas Malolos Rumoi Kisarazu Obihiro Smolensk Dombóvár Brno Metro, Indonesia Burriana Sátoraljaújhely Hajdúszoboszló Uto Derecske Fukuoka Calimport Szigetszentmiklós Monor Pagadian Kemecse Enying Maloe Verevo Druzhnaya Gorka Yamaguchi Regensburg Darmstadt Port-au-Prince Kota Kinabalu Encs Oroszlány Pécsvárad Riga Kalocsa Tolna Coburg Balatonfüred Annaka Neubrandenburg Kostanay Weimar Sárospatak Leipzig Speyer Bácsalmás Bandar Lampung Aszód Saint Anne Wau, South Sudan Obama Szombathely Hanoi Edmonton Kiskunhalas Malaybalay Csurgó Abuja Heves Rosenheim Abony Pontianak HigashiMatsuyama Eisenach Gárdony Palayan Sakura Cegléd Bouaké Pápa Kunming Várpalota Kazincbarcika Jánoshalma Salto Mohács Ōzu Siófok Tagbilaran Caracas Morioka Lucknow Patna Ungaran Hirado Koronadal Carn Dûm Mórahalom Miyazu Hajdúnánás Balassagyarmat Padang Pilisvörösvár Vyritsa Ogi Samarkand Szob Augsburg Cheb Agartala Yinchuan Tiszakécske Rétság Palikir Vojskovitsy Hefei Wollongong Suzuka Khost Imus Mannheim Orosháza Kushiro Medan Mainz Wiesbaden Cagayan de Oro Jambi Szentendre Nordhausen Mataram Yangzhou Santa Fe Mezőtúr Pasuruan Dunakeszi Shangqiu Sucre Manado Szarvas Szentgotthárd Yamoussoukro Gyomaendrőd Balmazújváros Hohenstein-Ernstthal Andorra la Vella Roxas Tuguegarao České Budějovice Kupang Komló Karcag Palangkaraya Sarkad Ajka Bangalore Most Fuchū Lhasa Oelsnitz, Vogtland Marienberg Körmend Nanchang Siklós Kisbér Haikou Tacloban San Fernando Wa Veszprém Iwamizawa Carcassonne Tatabánya Nemuro Baja Brand-Erbisdorf Fukuchiyama Annaberg-Buchholz Szekszárd Salgótarján Aue Chemnitz Hagi Vyškov Santiago Karatsu Xining Pangkal Pinang Sokolov Yellowknife Kaposvár Bacolod Lenti Catbalogan Schmalkalden Lyon Ráckeve Wakkanai Hajdúböszörmény Sopron Miramar Sárvár Blansko Freiburg im Breisgau Vecsés Windhoek Dijon Brandenburg an der Havel Praia Gera Tehran Shaoxing Xàtiva Borongan Mezőkövesd Jihlava San Fernando Oroquieta Batumi Denpasar Kőszeg Nyíradony Calapan Mór Jaipur Csongrád Kiskőrös Gödöllő Tokaj Gyöngyös Tatsuno Quito Usuki Kashima Agadir Inuyama Edelény Pomáz Tab Cocentaina Bengkulu Füzesabony Hurghada Písek Ilagan Bóly Tét Tokushima Dunaújváros Lucena
Riga, Marseille and Lyon are center of administration for lesser number of states than Muscat
Riga Marseille Lyon
action less
action find_tuple_counts
relation capital of
type city
type state
action count
action filter_type
action find
entity Muscat
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?c ) AS ?t ) WHERE { ?j property:capital_of ?c . ?c rdf:type ontology:state . ?j rdf:type ontology:city } GROUP BY ?j } . FILTER ( ?t < ?i ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { ?u rdf:type ontology:state . resource:Muscat property:capital_of ?u } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1376
Q515 Q515
USER
Which cities have min number of cities as their capital ?
(c(Q515),P1376,Q850992)
action argmin
action find_reverse_tuple_counts
relation P1376
type Q515
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q850992']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P1376 ?f . ?f rdf:type ontology:Q515 . ?x rdf:type ontology:Q515 } GROUP BY ?f } } . { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P1376 ?t . ?t rdf:type ontology:Q515 . ?m rdf:type ontology:Q515 } GROUP BY ?t } . FILTER ( ?a = ?j ) }
action argmin
action find_reverse_tuple_counts
relation capital of
type city
type city
[{'concept': 'city'}, 'capital of', 'Costești']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:capital_of ?f . ?f rdf:type ontology:city . ?x rdf:type ontology:city } GROUP BY ?f } } . { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:capital_of ?t . ?t rdf:type ontology:city . ?m rdf:type ontology:city } GROUP BY ?t } . FILTER ( ?a = ?j ) }
[]
city city
Q19660 Q587746 Q855187
SYSTEM
Bucharest, Siret, Câmpeni
Q280364 Q168921 Q837161 Q253825 Q507846 Q283862 Q850974 Q3846983 Q935834 Q765841 Q851056 Q292769 Q851409 Q775799 Q585548 Q777619 Q508313 Q328647 Q584825 Q248018 Q169127 Q850982 Q835227 Q639520 Q851037 Q331577 Q1018204 Q771191 Q325736 Q275645 Q275642 Q855187 Q325732 Q3573941 Q837167 Q2198771 Q803706 Q850962 Q276156 Q265012 Q850969 Q386945 Q794200 Q276164 Q923254 Q556266 Q666373 Q851042 Q732851 Q207196 Q851048 Q571769 Q276168 Q276152 Q226000 Q591285 Q751352 Q737830 Q169135 Q837968 Q10860283 Q221214 Q789811 Q276120 Q837960 Q778516 Q209782 Q641218 Q276004 Q592480 Q203929 Q930102 Q837170 Q596043 Q250006 Q829051 Q276042 Q521108 Q275810 Q275895 Q423441 Q899427 Q179297 Q737276 Q276119 Q837173 Q225257 Q1018184 Q373707 Q946893 Q518992 Q376233 Q660417 Q666521 Q851007 Q276336 Q325555 Q252061 Q963829 Q739444 Q586387 Q235 Q912204 Q750220 Q570113 Q916156 Q610341 Q593157 Q267708 Q899454 Q590443 Q548502 Q568376 Q186719 Q276083 Q75537 Q535516 Q508057 Q754721 Q839796 Q837157 Q837154 Q837152 Q748068 Q743752 Q736276 Q276135 Q276137 Q148540 Q276132 Q197687 Q383306 Q253872 Q1209 Q217131 Q899448 Q275990 Q248959 Q511951 Q855719 Q576804 Q834101 Q935846 Q75504 Q313689 Q629776 Q899551 Q275981 Q651322 Q906711 Q276128 Q790338 Q186214 Q756585 Q851001 Q292759 Q375371 Q276127 Q912224 Q855721 Q276009 Q305001 Q305182 Q169064 Q772576 Q1017982 Q166829 Q926163 Q247807 Q589880 Q526019 Q167121 Q275997 Q548575 Q275910 Q678884 Q668701 Q584531 Q587746 Q383085 Q756593 Q756590 Q756596 Q851013 Q167792 Q19660 Q602184 Q899467 Q276154 Q423371 Q899461 Q209977 Q650981 Q764806 Q791387 Q756578 Q390156 Q851021 Q592497 Q727421 Q276117 Q533078 Q851029 Q225100 Q423414 Q596609 Q655818 Q386091 Q386888 Q275904 Q275890 Q508670 Q125604 Q1006796 Q679428 Q276145 Q276146 Q213296 Q276141 Q850992
(c(Q515),P1376,Q850992)
action argmin
action find_reverse_tuple_counts
relation P1376
type Q515
type Q515
[ANSWERS] have min number of cities as their capital
[{'concept': 'Q515'}, 'P1376', 'Q850992']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P1376 ?f . ?f rdf:type ontology:Q515 . ?x rdf:type ontology:Q515 } GROUP BY ?f } } . { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P1376 ?t . ?t rdf:type ontology:Q515 . ?m rdf:type ontology:Q515 } GROUP BY ?t } . FILTER ( ?a = ?j ) }
Titu Bragadiru Sânnicolau Mare Salcea Sebiș Băicoi Segarcea Șimleu Silvaniei Sângeorz-Băi Urlați Cristuru Secuiesc Întorsura Buzăului Budești Baia de Arieș Ocnele Mari Strehaia Nădlac Sulina Scornicești Isaccea Chitila Curtici Ineu Voluntari Comarnic Abrud Slănic Berești Ciacova Fierbinți-Târg Roznov Câmpeni Gătaia Săliște Hațeg Măgurele Baia Sprie Copșa Mică Berbești Bușteni Victoria Babadag Beclean Căzănești Fundulea Târgu Ocna Seini Hârlău Mioveni Zlatna Făget Boldești-Scăeni Pătârlagele Dragomirești Jimbolia Piatra-Olt Plopeni Mizil Pantelimon Băile Tușnad Broșteni Cugir Bălan Ulmeni Năvodari Baia de Aramă Borșa Videle Murgeni Târgu Bujor Zimnicea Tăuții-Măgherăuș Gura Humorului Ovidiu Slănic-Moldova Moldova Nouă Băneasa Dumbrăveni Cajvana Șomcuta Mare Țăndărei Iernut Nehoiu Cehu Silvaniei Liteni Cisnădie Rupea Cavnic Luduș Teiuș Călan Săcueni Jibou Târgu Cărbunești Deta Livada Recaș Valea lui Mihai Mihăilești Topoloveni Eforie Monaco Lehliu Gară Huedin Uricani Ghimbav Pogoanele Murfatlar Sovata Panciu Balș Anina Breaza Ocna Sibiului Potcoava Oțelu Roșu Azuga Drăgănești-Olt Corabia Borsec Covasna Simeria Ocna Mureș Hârșova Odobești Cernavodă Dăbuleni Milișăuți Republic of Florence Pecica Miercurea Sibiului Tismana Bechet Free Hanseatic City of Bremen Buftea Negrești Răcari Zărnești Predeal Băile Govora Mărășești Bolintin-Vale Vlăhița Bocșa Agnita Vânju Mare Ianca Podu Iloaiei Năsăud Nucet Frasin Râșnov Turceni Buhuși Măcin Însurăței Călimănești Bălcești Techirghiol Băile Olănești Amara Negru Vodă Dărmănești Sângeorgiu de Pădure Negrești-Oaș Geoagiu Miercurea Nirajului Popești-Leordeni Săveni Pucioasa Brezoi Ungheni Ardud Aninoasa Sântana Fieni Tășnad Bumbești-Jiu Siret Oravița Târgu Neamț Comănești Filiași Vașcău Sărmașu Bucharest Solca Darabani Ștefănești Ștei Horezu Ștefănești Băile Herculane Rovinari Avrig Târgu Frumos Petrila Pâncota Vălenii de Munte Otopeni Dolhasca Baraolt Aleșd Bicaz Țicleni Vișeu de Sus Buziaș Novaci Târgu Lăpuș Flămânzi Băbeni Chișineu-Criș Găești Făurei Tălmaciu Vicovu de Sus Bucecea Sinaia Săliștea de Sus Costești
Bucharest, Siret and Câmpeni have min number of cities as their capital
Bucharest Siret Câmpeni
action argmin
action find_reverse_tuple_counts
relation capital of
type city
type city
[{'concept': 'city'}, 'capital of', 'Costești']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?j ) { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:capital_of ?f . ?f rdf:type ontology:city . ?x rdf:type ontology:city } GROUP BY ?f } } . { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:capital_of ?t . ?t rdf:type ontology:city . ?m rdf:type ontology:city } GROUP BY ?t } . FILTER ( ?a = ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213586
P112
Q989255
USER
Which Middle-earth racess founded Gondor ?
(Q213586,P112,c(Q989255))
action filter_type
action find
entity Q213586
relation P112
type Q989255
['Q213586', 'P112', {'concept': 'Q989255'}]
SELECT DISTINCT ?k WHERE { resource:Q213586 property:P112 ?k . ?k rdf:type ontology:Q989255 }
Gondor
action filter_type
action find
entity Gondor
relation founder
type Middle-earth races
['Gondor', 'founder', {'concept': 'Middle-earth races'}]
SELECT DISTINCT ?k WHERE { resource:Gondor property:founder ?k . ?k rdf:type ontology:Middle-earth_races }
[]
Middle-earth races
Q206324 Q1751007
SYSTEM
Isildur, Anárion
Q206324 Q1751007
(Q213586,P112,c(Q989255))
action filter_type
action find
entity Q213586
relation P112
type Q989255
[ANSWERS]
['Q213586', 'P112', {'concept': 'Q989255'}]
SELECT DISTINCT ?k WHERE { resource:Q213586 property:P112 ?k . ?k rdf:type ontology:Q989255 }
Isildur Anárion
Which Middle-earth racess founded Gondor
Isildur Anárion
action filter_type
action find
entity Gondor
relation founder
type Middle-earth races
['Gondor', 'founder', {'concept': 'Middle-earth races'}]
SELECT DISTINCT ?k WHERE { resource:Gondor property:founder ?k . ?k rdf:type ontology:Middle-earth_races }
[]