Simple Question (Direct)
Simple Question
Q1086766
P1412
Q34770
USER
Which language does Christopher Isham speak in ?
(Q1086766,P1412,c(Q34770))
action filter_type
action find
entity Q1086766
relation P1412
type Q34770
['Q1086766', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q1086766 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Christopher Isham
action filter_type
action find
entity Christopher Isham
relation languages spoken, written or signed
type language
['Christopher Isham', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Christopher_Isham property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1086766,P1412,c(Q34770))
action filter_type
action find
entity Q1086766
relation P1412
type Q34770
Christopher Isham speaks the [ANSWER]
['Q1086766', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q1086766 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
English
Christopher Isham speaks the English
English
action filter_type
action find
entity Christopher Isham
relation languages spoken, written or signed
type language
['Christopher Isham', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Christopher_Isham property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1086766
P106
Q12737077
USER
Which occupation is the profession of Christopher Isham ?
(Q1086766,P106,c(Q12737077))
action filter_type
action find
entity Q1086766
relation P106
type Q12737077
['Q1086766', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1086766 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Christopher Isham
action filter_type
action find
entity Christopher Isham
relation occupation
type occupation
['Christopher Isham', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Christopher_Isham property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q169470
SYSTEM
physicist
Q169470
(Q1086766,P106,c(Q12737077))
action filter_type
action find
entity Q1086766
relation P106
type Q12737077
The [ANSWER] is the profession of Christopher Isham
['Q1086766', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1086766 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
physicist
The physicist is the profession of Christopher Isham
physicist
action filter_type
action find
entity Christopher Isham
relation occupation
type occupation
['Christopher Isham', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Christopher_Isham property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19561127 Q1086766
P27
Q15617994
USER
Which administrative territories are Christopher Isham or Marcel Lafitte an inhabitant of ?
OR((Q1086766,P27,c(Q15617994)), (Q19561127,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1086766
relation P27
action find
entity Q19561127
relation P27
type Q15617994
{'OR': [['Q1086766', 'P27', {'concept': 'Q15617994'}], ['Q19561127', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1086766 property:P27 ?j } UNION { resource:Q19561127 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Marcel Lafitte Christopher Isham
action filter_type
action union
action find
entity Christopher Isham
relation country of citizenship
action find
entity Marcel Lafitte
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Christopher Isham', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Marcel Lafitte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Christopher_Isham property:country_of_citizenship ?j } UNION { resource:Marcel_Lafitte property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q145
SYSTEM
France, United Kingdom
Q142 Q145
OR((Q1086766,P27,c(Q15617994)), (Q19561127,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1086766
relation P27
action find
entity Q19561127
relation P27
type Q15617994
[ANSWERS] are Christopher Isham or Marcel Lafitte an inhabitant of
{'OR': [['Q1086766', 'P27', {'concept': 'Q15617994'}], ['Q19561127', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1086766 property:P27 ?j } UNION { resource:Q19561127 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
France United Kingdom
France and United Kingdom are Christopher Isham or Marcel Lafitte an inhabitant of
France United Kingdom
action filter_type
action union
action find
entity Christopher Isham
relation country of citizenship
action find
entity Marcel Lafitte
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Christopher Isham', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Marcel Lafitte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Christopher_Isham property:country_of_citizenship ?j } UNION { resource:Marcel_Lafitte property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q19561127 Q21061867
P21
Q290
USER
How many sexes do Marcel Lafitte or Medical History have ?
(Q19561127,P21,c(Q290)) (Q21061867,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q19561127
relation P21
type Q290
action filter_type
action find
entity Q21061867
relation P21
type Q290
['Q19561127', 'P21', {'concept': 'Q290'}] ['Q21061867', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { resource:Q19561127 property:P21 ?y . ?y rdf:type ontology:Q290 } UNION { ?y rdf:type ontology:Q290 . resource:Q21061867 property:P21 ?y } }
Marcel Lafitte Medical History
action count
action union
action filter_type
action find
entity Marcel Lafitte
relation gender
type sex
action filter_type
action find
entity Medical History
relation gender
type sex
['Marcel Lafitte', 'gender', {'concept': 'sex'}] ['Medical History', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { resource:Marcel_Lafitte property:gender ?y . ?y rdf:type ontology:sex } UNION { ?y rdf:type ontology:sex . resource:Medical_History property:gender ?y } }
[]
sex
SYSTEM
2
Q6581097 Q6581072
(Q19561127,P21,c(Q290)) (Q21061867,P21,c(Q290))
action count
action union
action filter_type
action find
entity Q19561127
relation P21
type Q290
action filter_type
action find
entity Q21061867
relation P21
type Q290
[ANSWER]
['Q19561127', 'P21', {'concept': 'Q290'}] ['Q21061867', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { resource:Q19561127 property:P21 ?y . ?y rdf:type ontology:Q290 } UNION { ?y rdf:type ontology:Q290 . resource:Q21061867 property:P21 ?y } }
male female
2
action count
action union
action filter_type
action find
entity Marcel Lafitte
relation gender
type sex
action filter_type
action find
entity Medical History
relation gender
type sex
['Marcel Lafitte', 'gender', {'concept': 'sex'}] ['Medical History', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) WHERE { { resource:Marcel_Lafitte property:gender ?y . ?y rdf:type ontology:sex } UNION { ?y rdf:type ontology:sex . resource:Medical_History property:gender ?y } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19561127
P734
Q82799
USER
Who has the surname Marcel Lafitte ?
(Q19561127,P734,c(Q82799))
action filter_type
action find
entity Q19561127
relation P734
type Q82799
['Q19561127', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q19561127 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Marcel Lafitte
action filter_type
action find
entity Marcel Lafitte
relation family name
type name
['Marcel Lafitte', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Marcel_Lafitte property:family_name ?e . ?e rdf:type ontology:name }
[]
name
Q16871745
SYSTEM
Lafitte
Q16871745
(Q19561127,P734,c(Q82799))
action filter_type
action find
entity Q19561127
relation P734
type Q82799
[ANSWER] has the surname Marcel [ANSWER]
['Q19561127', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q19561127 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Lafitte
Lafitte has the surname Marcel Lafitte
Lafitte
action filter_type
action find
entity Marcel Lafitte
relation family name
type name
['Marcel Lafitte', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Marcel_Lafitte property:family_name ?e . ?e rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7527764 Q21061867
P1412 P407
Q34770
USER
Which languages are the languages of work for Medical History and are spoken by Sir John Esmonde, 14th Baronet ?
AND((Q21061867,P407,c(Q34770)), (Q7527764,P1412,c(Q34770)))
action filter_type
action intersection
action find
entity Q21061867
relation P407
action find
entity Q7527764
relation P1412
type Q34770
{'AND': [['Q21061867', 'P407', {'concept': 'Q34770'}], ['Q7527764', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?j WHERE { resource:Q21061867 property:P407 ?j . resource:Q7527764 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Sir John Esmonde, 14th Baronet Medical History
action filter_type
action intersection
action find
entity Medical History
relation language of work or name
action find
entity Sir John Esmonde, 14th Baronet
relation languages spoken, written or signed
type language
{'AND': [['Medical History', 'language of work or name', {'concept': 'language'}], ['Sir John Esmonde, 14th Baronet', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?j WHERE { resource:Medical_History property:language_of_work_or_name ?j . resource:Sir_John_Esmonde,_14th_Baronet property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q21061867,P407,c(Q34770)), (Q7527764,P1412,c(Q34770)))
action filter_type
action intersection
action find
entity Q21061867
relation P407
action find
entity Q7527764
relation P1412
type Q34770
[ANSWER] is the languages of work for Medical History and is spoken by Sir John Esmonde, 14th Baronet
{'AND': [['Q21061867', 'P407', {'concept': 'Q34770'}], ['Q7527764', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?j WHERE { resource:Q21061867 property:P407 ?j . resource:Q7527764 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
English
English is the languages of work for Medical History and is spoken by Sir John Esmonde, 14th Baronet
English
action filter_type
action intersection
action find
entity Medical History
relation language of work or name
action find
entity Sir John Esmonde, 14th Baronet
relation languages spoken, written or signed
type language
{'AND': [['Medical History', 'language of work or name', {'concept': 'language'}], ['Sir John Esmonde, 14th Baronet', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?j WHERE { resource:Medical_History property:language_of_work_or_name ?j . resource:Sir_John_Esmonde,_14th_Baronet property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5825271 Q21061867
P364 P407
Q34770
USER
Which languages are the languages of work for Medical History or are the original languages of creation of The Man Who Wanted to Kill Himself ?
OR((Q21061867,P407,c(Q34770)), (Q5825271,P364,c(Q34770)))
action filter_type
action union
action find
entity Q21061867
relation P407
action find
entity Q5825271
relation P364
type Q34770
{'OR': [['Q21061867', 'P407', {'concept': 'Q34770'}], ['Q5825271', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q21061867 property:P407 ?s } UNION { resource:Q5825271 property:P364 ?s } } . ?s rdf:type ontology:Q34770 }
The Man Who Wanted to Kill Himself Medical History
action filter_type
action union
action find
entity Medical History
relation language of work or name
action find
entity The Man Who Wanted to Kill Himself
relation original language of work
type language
{'OR': [['Medical History', 'language of work or name', {'concept': 'language'}], ['The Man Who Wanted to Kill Himself', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Medical_History property:language_of_work_or_name ?s } UNION { resource:The_Man_Who_Wanted_to_Kill_Himself property:original_language_of_work ?s } } . ?s rdf:type ontology:language }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
OR((Q21061867,P407,c(Q34770)), (Q5825271,P364,c(Q34770)))
action filter_type
action union
action find
entity Q21061867
relation P407
action find
entity Q5825271
relation P364
type Q34770
[ANSWERS] are the languages of work for Medical History or are the original languages of creation of The Man Who wanted to Kill Himself
{'OR': [['Q21061867', 'P407', {'concept': 'Q34770'}], ['Q5825271', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q21061867 property:P407 ?s } UNION { resource:Q5825271 property:P364 ?s } } . ?s rdf:type ontology:Q34770 }
English Spanish
English and Spanish are the languages of work for Medical History or are the original languages of creation of The Man Who wanted to Kill Himself
English Spanish
action filter_type
action union
action find
entity Medical History
relation language of work or name
action find
entity The Man Who Wanted to Kill Himself
relation original language of work
type language
{'OR': [['Medical History', 'language of work or name', {'concept': 'language'}], ['The Man Who Wanted to Kill Himself', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Medical_History property:language_of_work_or_name ?s } UNION { resource:The_Man_Who_Wanted_to_Kill_Himself property:original_language_of_work ?s } } . ?s rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q25991443
P407
Q166142
USER
Were Pokémon Silver done in those ones language ?
(Q25991443,P407,Q1860) (Q25991443,P407,Q1321)
action is_in
entity prev_answer
action find
entity Q25991443
relation P407
['Q25991443', 'P407', 'Q1860'] ['Q25991443', 'P407', 'Q1321']
ASK WHERE { resource:Q25991443 property:P407 ?z . VALUES ( ?z ) { ( resource:Q1860 ) ( resource:Q1321 ) } }
Pokémon Silver
action is_in
entity prev_answer
action find
entity Pokémon Silver
relation language of work or name
['Pokémon Silver', 'language of work or name', 'English'] ['Pokémon Silver', 'language of work or name', 'Spanish']
ASK WHERE { resource:Pokémon_Silver property:language_of_work_or_name ?z . VALUES ( ?z ) { ( resource:English ) ( resource:Spanish ) } }
[]
application
SYSTEM
YES
(Q25991443,P407,Q1860) (Q25991443,P407,Q1321)
action is_in
entity prev_answer
action find
entity Q25991443
relation P407
[ANSWER]
['Q25991443', 'P407', 'Q1860'] ['Q25991443', 'P407', 'Q1321']
ASK WHERE { resource:Q25991443 property:P407 ?z . VALUES ( ?z ) { ( resource:Q1860 ) ( resource:Q1321 ) } }
Yes
action is_in
entity prev_answer
action find
entity Pokémon Silver
relation language of work or name
['Pokémon Silver', 'language of work or name', 'English'] ['Pokémon Silver', 'language of work or name', 'Spanish']
ASK WHERE { resource:Pokémon_Silver property:language_of_work_or_name ?z . VALUES ( ?z ) { ( resource:English ) ( resource:Spanish ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q701
P1376
Q15617994 Q486972 Q515
USER
Which administrative territories have greater number of human settlements and cities have their first city than North Holland ?
(c(Q486972)|c(Q515),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q701
relation P1376
type Q486972
type Q515
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?r ) WHERE { VALUES ( ?j ) { ( ontology:Q486972 ) ( ontology:Q515 ) } . ?u rdf:type ?j } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { ?p property:P1376 resource:Q701 . { ?p rdf:type ?n . VALUES ( ?n ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } } } . FILTER ( ?r > ?m ) }
North Holland
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity North Holland
relation capital of
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?r ) WHERE { VALUES ( ?j ) { ( ontology:human_settlement ) ( ontology:city ) } . ?u rdf:type ?j } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { ?p property:capital_of resource:North_Holland . { ?p rdf:type ?n . VALUES ( ?n ) { ( ontology:human_settlement ) ( ontology:city ) } } } } . FILTER ( ?r > ?m ) }
[]
designation for an administrative territorial entity human settlement city
Q155 Q17 Q347
SYSTEM
Brazil, Japan, Liechtenstein
Q414 Q1111401 Q252 Q399 Q258 Q155 Q736 Q843 Q2007 Q1050 Q298 Q115 Q114 Q541589 Q696651 Q948 Q639100 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q492437 Q1037 Q1033 Q1030 Q750 Q30831 Q878 Q46130 Q3044714 Q1951 Q492430 Q711 Q717 Q1948 Q27 Q225 Q222 Q47261 Q228 Q965 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q12717 Q347 Q3462133 Q17 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q486972)|c(Q515),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q701
relation P1376
type Q486972
type Q515
[ANSWERS] have greater number of human settlements and cities have their first city than North Holland
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?r ) WHERE { VALUES ( ?j ) { ( ontology:Q486972 ) ( ontology:Q515 ) } . ?u rdf:type ?j } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { ?p property:P1376 resource:Q701 . { ?p rdf:type ?n . VALUES ( ?n ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } } } . FILTER ( ?r > ?m ) }
Argentina Kispest District Indonesia Armenia South Africa Brazil Ecuador Pakistan Northwest Territories Swaziland Chile Ethiopia Kenya Ems-Supérieur Saxe-Eisenach Tunisia Principality of Reuss-Gera Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Bouches-du-Weser Rwanda Nigeria Namibia Bolivia Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Bouches-de-l'Elbe Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Andorra Burkina Faso Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Bouches-du-Rhône Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Liechtenstein Saxe-Coburg and Gotha Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
Brazil, Japan and Liechtenstein have greater number of human settlements and cities have their first city than North Holland
Brazil Japan Liechtenstein
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity North Holland
relation capital of
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?r ) WHERE { VALUES ( ?j ) { ( ontology:human_settlement ) ( ontology:city ) } . ?u rdf:type ?j } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { ?p property:capital_of resource:North_Holland . { ?p rdf:type ?n . VALUES ( ?n ) { ( ontology:human_settlement ) ( ontology:city ) } } } } . FILTER ( ?r > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q12563
P1376
Q15617994 Q486972 Q515
USER
And what about Landes?
(c(Q486972)|c(Q515),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q12563
relation P1376
type Q486972
type Q515
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?a ) WHERE { { ?f property:P1376 ?j . ?j rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q486972 } UNION { ?f property:P1376 ?j . ?f rdf:type ontology:Q515 . ?j rdf:type ontology:Q15617994 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } . ?z property:P1376 resource:Q12563 } } . FILTER ( ?a > ?t ) }
Landes
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Landes
relation capital of
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?a ) WHERE { { ?f property:capital_of ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:human_settlement } UNION { ?f property:capital_of ?j . ?f rdf:type ontology:city . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:human_settlement ) ( ontology:city ) } } . ?z property:capital_of resource:Landes } } . FILTER ( ?a > ?t ) }
[]
designation for an administrative territorial entity human settlement city
Q155 Q17 Q347
SYSTEM
Brazil, Japan, Liechtenstein
Q414 Q1111401 Q252 Q399 Q258 Q155 Q736 Q843 Q2007 Q1050 Q298 Q115 Q114 Q541589 Q696651 Q948 Q639100 Q702 Q833 Q790 Q796 Q794 Q889 Q884 Q881 Q541095 Q492437 Q1037 Q1033 Q1030 Q750 Q30831 Q878 Q46130 Q3044714 Q1951 Q492430 Q711 Q717 Q1948 Q27 Q225 Q222 Q47261 Q228 Q965 Q963 Q1008 Q72670 Q568751 Q2150573 Q12536 Q3342 Q842 Q3240 Q4712 Q924 Q928 Q851 Q12717 Q347 Q3462133 Q17 Q3207 Q212 Q211 Q218 Q974 Q1019 Q1011
(c(Q486972)|c(Q515),P1376,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action count
action filter_multi_types
action find_reverse
entity Q12563
relation P1376
type Q486972
type Q515
[ANSWERS]
[[{'concept': 'Q486972'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?a ) WHERE { { ?f property:P1376 ?j . ?j rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q486972 } UNION { ?f property:P1376 ?j . ?f rdf:type ontology:Q515 . ?j rdf:type ontology:Q15617994 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } . ?z property:P1376 resource:Q12563 } } . FILTER ( ?a > ?t ) }
Argentina Kispest District Indonesia Armenia South Africa Brazil Ecuador Pakistan Northwest Territories Swaziland Chile Ethiopia Kenya Ems-Supérieur Saxe-Eisenach Tunisia Principality of Reuss-Gera Federated States of Micronesia Malaysia Haiti Iraq Iran Afghanistan South Korea Vietnam Rhin-et-Moselle Bouches-du-Weser Rwanda Nigeria Namibia Bolivia Red Sea Governorate United Arab Emirates Rhône Ouest Alberta Bouches-de-l'Elbe Mongolia Venezuela Manitoba Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Andorra Burkina Faso Botswana Côte d'Ivoire Batumi Oblast Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Bouches-du-Rhône Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Liechtenstein Saxe-Coburg and Gotha Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Madagascar Cape Verde
Brazil Japan Liechtenstein
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action count
action filter_multi_types
action find_reverse
entity Landes
relation capital of
type human settlement
type city
[[{'concept': 'human settlement'}, {'concept': 'city'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?a ) WHERE { { ?f property:capital_of ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:human_settlement } UNION { ?f property:capital_of ?j . ?f rdf:type ontology:city . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { ?z rdf:type ?w . VALUES ( ?w ) { ( ontology:human_settlement ) ( ontology:city ) } } . ?z property:capital_of resource:Landes } } . FILTER ( ?a > ?t ) }
[]