Simple Question (Direct)
Simple Question
Q2299781
P641
Q349
USER
Which sport was Jérémy Sorbon a part of ?
(Q2299781,P641,c(Q349))
action filter_type
action find
entity Q2299781
relation P641
type Q349
['Q2299781', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q2299781 property:P641 ?y . ?y rdf:type ontology:Q349 }
Jérémy Sorbon
action filter_type
action find
entity Jérémy Sorbon
relation sport
type sport
['Jérémy Sorbon', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Jérémy_Sorbon property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2299781,P641,c(Q349))
action filter_type
action find
entity Q2299781
relation P641
type Q349
[ANSWER] was Jérémy Sorbon a part of
['Q2299781', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q2299781 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
Association football was Jérémy Sorbon a part of
association football
action filter_type
action find
entity Jérémy Sorbon
relation sport
type sport
['Jérémy Sorbon', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Jérémy_Sorbon property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2299781
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q2299781
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q2299781 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Jérémy Sorbon
action filter_type
action find
entity Jérémy Sorbon
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jérémy_Sorbon property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q2299781
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q2299781 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Jérémy Sorbon
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jérémy_Sorbon property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18039914 Q2299781
P27
Q15617994
USER
Which administrative territories are the native countriesof Jérémy Sorbon or John Edmund Reade ?
OR((Q2299781,P27,c(Q15617994)), (Q18039914,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2299781
relation P27
action find
entity Q18039914
relation P27
type Q15617994
{'OR': [['Q2299781', 'P27', {'concept': 'Q15617994'}], ['Q18039914', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?k ) { ( resource:Q2299781 ) ( resource:Q18039914 ) } . ?k property:P27 ?e } . ?e rdf:type ontology:Q15617994 }
John Edmund Reade Jérémy Sorbon
action filter_type
action union
action find
entity Jérémy Sorbon
relation country of citizenship
action find
entity John Edmund Reade
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jérémy Sorbon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['John Edmund Reade', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?k ) { ( resource:Jérémy_Sorbon ) ( resource:John_Edmund_Reade ) } . ?k property:country_of_citizenship ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q145
SYSTEM
France, United Kingdom
Q142 Q145
OR((Q2299781,P27,c(Q15617994)), (Q18039914,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2299781
relation P27
action find
entity Q18039914
relation P27
type Q15617994
[ANSWERS] are the native countriesof Jérémy Sorbon or John Edmund Reade
{'OR': [['Q2299781', 'P27', {'concept': 'Q15617994'}], ['Q18039914', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?k ) { ( resource:Q2299781 ) ( resource:Q18039914 ) } . ?k property:P27 ?e } . ?e rdf:type ontology:Q15617994 }
France United Kingdom
France and United Kingdom are the native countriesof Jérémy Sorbon or John Edmund Reade
France United Kingdom
action filter_type
action union
action find
entity Jérémy Sorbon
relation country of citizenship
action find
entity John Edmund Reade
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jérémy Sorbon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['John Edmund Reade', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?k ) { ( resource:Jérémy_Sorbon ) ( resource:John_Edmund_Reade ) } . ?k property:country_of_citizenship ?e } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3804530
P17
Q83620
USER
Are Sigeric's itinerary present in those administrative territories ?
(Q3804530,P17,Q142) (Q3804530,P17,Q145)
action is_in
entity prev_answer
action find
entity Q3804530
relation P17
['Q3804530', 'P17', 'Q142'] ['Q3804530', 'P17', 'Q145']
ASK WHERE { VALUES ( ?t ) { ( resource:Q142 ) ( resource:Q145 ) } . resource:Q3804530 property:P17 ?t }
Sigeric's itinerary
action is_in
entity prev_answer
action find
entity Sigeric's itinerary
relation country
["Sigeric's itinerary", 'country', 'France'] ["Sigeric's itinerary", 'country', 'United Kingdom']
ASK WHERE { VALUES ( ?t ) { ( resource:France ) ( resource:United_Kingdom ) } . resource:Sigeric's_itinerary property:country ?t }
[]
thoroughfare
SYSTEM
YES
(Q3804530,P17,Q142) (Q3804530,P17,Q145)
action is_in
entity prev_answer
action find
entity Q3804530
relation P17
[ANSWER]
['Q3804530', 'P17', 'Q142'] ['Q3804530', 'P17', 'Q145']
ASK WHERE { VALUES ( ?t ) { ( resource:Q142 ) ( resource:Q145 ) } . resource:Q3804530 property:P17 ?t }
Yes
action is_in
entity prev_answer
action find
entity Sigeric's itinerary
relation country
["Sigeric's itinerary", 'country', 'France'] ["Sigeric's itinerary", 'country', 'United Kingdom']
ASK WHERE { VALUES ( ?t ) { ( resource:France ) ( resource:United_Kingdom ) } . resource:Sigeric's_itinerary property:country ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2299781 Q41185
P19
Q20667921
USER
Was Caen Jérémy Sorbon born ?
(Q2299781,P19,Q41185)
action is_in
entity Q41185
action find
entity Q2299781
relation P19
['Q2299781', 'P19', 'Q41185']
ASK WHERE { resource:Q2299781 property:P19 resource:Q41185 }
Jérémy Sorbon Caen
action is_in
entity Caen
action find
entity Jérémy Sorbon
relation place of birth
['Jérémy Sorbon', 'place of birth', 'Caen']
ASK WHERE { resource:Jérémy_Sorbon property:place_of_birth resource:Caen }
[]
type of french administrative division
SYSTEM
YES
(Q2299781,P19,Q41185)
action is_in
entity Q41185
action find
entity Q2299781
relation P19
[ANSWER]
['Q2299781', 'P19', 'Q41185']
ASK WHERE { resource:Q2299781 property:P19 resource:Q41185 }
Yes
action is_in
entity Caen
action find
entity Jérémy Sorbon
relation place of birth
['Jérémy Sorbon', 'place of birth', 'Caen']
ASK WHERE { resource:Jérémy_Sorbon property:place_of_birth resource:Caen }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q145 Q5209801 Q15433382
P35
Q502895
USER
Did United Kingdom elect Daitetsu Tadamitsu and Michael Kneidl as its head of state ?
(Q145,P35,Q5209801) (Q145,P35,Q15433382)
action is_in
entity Q145
action intersection
action find_reverse
entity Q5209801
relation P35
action find_reverse
entity Q15433382
relation P35
['Q145', 'P35', 'Q5209801'] ['Q145', 'P35', 'Q15433382']
ASK WHERE { resource:Q145 property:P35 resource:Q15433382 . resource:Q145 property:P35 resource:Q5209801 }
United Kingdom Daitetsu Tadamitsu Michael Kneidl
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Daitetsu Tadamitsu
relation head of state
action find_reverse
entity Michael Kneidl
relation head of state
['United Kingdom', 'head of state', 'Daitetsu Tadamitsu'] ['United Kingdom', 'head of state', 'Michael Kneidl']
ASK WHERE { resource:United_Kingdom property:head_of_state resource:Michael_Kneidl . resource:United_Kingdom property:head_of_state resource:Daitetsu_Tadamitsu }
[]
common name
SYSTEM
NO
(Q145,P35,Q5209801) (Q145,P35,Q15433382)
action is_in
entity Q145
action intersection
action find_reverse
entity Q5209801
relation P35
action find_reverse
entity Q15433382
relation P35
[ANSWER]
['Q145', 'P35', 'Q5209801'] ['Q145', 'P35', 'Q15433382']
ASK WHERE { resource:Q145 property:P35 resource:Q15433382 . resource:Q145 property:P35 resource:Q5209801 }
No
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Daitetsu Tadamitsu
relation head of state
action find_reverse
entity Michael Kneidl
relation head of state
['United Kingdom', 'head of state', 'Daitetsu Tadamitsu'] ['United Kingdom', 'head of state', 'Michael Kneidl']
ASK WHERE { resource:United_Kingdom property:head_of_state resource:Michael_Kneidl . resource:United_Kingdom property:head_of_state resource:Daitetsu_Tadamitsu }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q541379 Q41185
P19 P190
Q515
USER
Which cities are sister towns of Caen or are the birthplace of Miguel de Azcuénaga ?
OR((Q41185,P190,c(Q515)), (Q541379,P19,c(Q515)))
action filter_type
action union
action find
entity Q41185
relation P190
action find
entity Q541379
relation P19
type Q515
{'OR': [['Q41185', 'P190', {'concept': 'Q515'}], ['Q541379', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q41185 property:P190 ?t } UNION { resource:Q541379 property:P19 ?t } } . ?t rdf:type ontology:Q515 }
Miguel de Azcuénaga Caen
action filter_type
action union
action find
entity Caen
relation sister city
action find
entity Miguel de Azcuénaga
relation place of birth
type city
{'OR': [['Caen', 'sister city', {'concept': 'city'}], ['Miguel de Azcuénaga', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Caen property:sister_city ?t } UNION { resource:Miguel_de_Azcuénaga property:place_of_birth ?t } } . ?t rdf:type ontology:city }
[]
city
Q2999 Q1486
SYSTEM
Würzburg, Buenos Aires
Q2999 Q1486
OR((Q41185,P190,c(Q515)), (Q541379,P19,c(Q515)))
action filter_type
action union
action find
entity Q41185
relation P190
action find
entity Q541379
relation P19
type Q515
[ANSWERS] are sister towns of Caen or are the birthplace of Miguel de Azcuénaga
{'OR': [['Q41185', 'P190', {'concept': 'Q515'}], ['Q541379', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q41185 property:P190 ?t } UNION { resource:Q541379 property:P19 ?t } } . ?t rdf:type ontology:Q515 }
Würzburg Buenos Aires
Würzburg and Buenos Aires are sister towns of Caen or are the birthplace of Miguel de Azcuénaga
Würzburg Buenos Aires
action filter_type
action union
action find
entity Caen
relation sister city
action find
entity Miguel de Azcuénaga
relation place of birth
type city
{'OR': [['Caen', 'sister city', {'concept': 'city'}], ['Miguel de Azcuénaga', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Caen property:sister_city ?t } UNION { resource:Miguel_de_Azcuénaga property:place_of_birth ?t } } . ?t rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q15695
P190
Q56061
USER
Are Salamanca twin town of those cities ?
(Q15695,P190,Q2999) (Q15695,P190,Q1486)
action is_in
entity prev_answer
action find
entity Q15695
relation P190
['Q15695', 'P190', 'Q2999'] ['Q15695', 'P190', 'Q1486']
ASK WHERE { VALUES ( ?j ) { ( resource:Q2999 ) ( resource:Q1486 ) } . resource:Q15695 property:P190 ?j }
Salamanca
action is_in
entity prev_answer
action find
entity Salamanca
relation sister city
['Salamanca', 'sister city', 'Würzburg'] ['Salamanca', 'sister city', 'Buenos Aires']
ASK WHERE { VALUES ( ?j ) { ( resource:Würzburg ) ( resource:Buenos_Aires ) } . resource:Salamanca property:sister_city ?j }
[]
administrative territorial entity
SYSTEM
YES
(Q15695,P190,Q2999) (Q15695,P190,Q1486)
action is_in
entity prev_answer
action find
entity Q15695
relation P190
[ANSWER]
['Q15695', 'P190', 'Q2999'] ['Q15695', 'P190', 'Q1486']
ASK WHERE { VALUES ( ?j ) { ( resource:Q2999 ) ( resource:Q1486 ) } . resource:Q15695 property:P190 ?j }
Yes
action is_in
entity prev_answer
action find
entity Salamanca
relation sister city
['Salamanca', 'sister city', 'Würzburg'] ['Salamanca', 'sister city', 'Buenos Aires']
ASK WHERE { VALUES ( ?j ) { ( resource:Würzburg ) ( resource:Buenos_Aires ) } . resource:Salamanca property:sister_city ?j }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18285930
P1376
Q7275 Q515
USER
Which states have approximately the same number of cities have their first city as German Empire of 1848/1849 ?
(c(Q515),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q18285930
relation P1376
type Q7275
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P1376 ?j . ?j rdf:type ontology:Q7275 . ?o rdf:type ontology:Q515 } GROUP BY ?j } . FILTER ( ?x = ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q18285930 property:P1376 ?c . ?c rdf:type ontology:Q7275 } } }
German Empire of 1848/1849
action approx
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity German Empire of 1848/1849
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:capital_of ?j . ?j rdf:type ontology:state . ?o rdf:type ontology:city } GROUP BY ?j } . FILTER ( ?x = ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:German_Empire_of_1848/1849 property:capital_of ?c . ?c rdf:type ontology:state } } }
[]
state city
Q133356 Q213586 Q15864
SYSTEM
Ukrainian Soviet Socialist Republic, Gondor, United Kingdom of the Netherlands
Q178665 Q18285930 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 Q146713 Q427941 Q697837 Q747314 Q307069 Q28278 Q62454 Q1192067 Q2372248 Q505503 Q153015 Q846670 Q696242 Q1479726 Q467864 Q212056 Q3041595 Q484104 Q648297 Q149805
(c(Q515),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q18285930
relation P1376
type Q7275
[ANSWERS] have approximately the same number of cities have their first city as German Empire of 1848/1849
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P1376 ?j . ?j rdf:type ontology:Q7275 . ?o rdf:type ontology:Q515 } GROUP BY ?j } . FILTER ( ?x = ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q18285930 property:P1376 ?c . ?c rdf:type ontology:Q7275 } } }
Mitanni German Empire of 1848/1849 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 Arab Federation Islamic Emirate of Afghanistan Mengjiang Bechuanaland Protectorate Eastern Wei Provisional Government of the Republic of Korea Chen dynasty 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 Iraq United States Army Military Government in Korea Free State of Brunswick Kingdom of Iraq
Ukrainian Soviet Socialist Republic, Gondor and United Kingdom of the Netherlands have approximately the same number of cities have their first city as German Empire of 1848/1849
Ukrainian Soviet Socialist Republic Gondor United Kingdom of the Netherlands
action approx
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity German Empire of 1848/1849
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:capital_of ?j . ?j rdf:type ontology:state . ?o rdf:type ontology:city } GROUP BY ?j } . FILTER ( ?x = ?i ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:German_Empire_of_1848/1849 property:capital_of ?c . ?c rdf:type ontology:state } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1414395
P1376
Q7275 Q515
USER
And also tell me about Republic of South Maluku?
(c(Q515),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q1414395
relation P1376
type Q7275
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?e ) WHERE { ?q rdf:type ontology:Q7275 . ?g rdf:type ontology:Q515 . ?g property:P1376 ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q1414395 property:P1376 ?t . ?t rdf:type ontology:Q7275 } } . FILTER ( ?e = ?f ) }
Republic of South Maluku
action approx
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity Republic of South Maluku
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?e ) WHERE { ?q rdf:type ontology:state . ?g rdf:type ontology:city . ?g property:capital_of ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Republic_of_South_Maluku property:capital_of ?t . ?t rdf:type ontology:state } } . FILTER ( ?e = ?f ) }
[]
state city
Q133356 Q213586 Q15864
SYSTEM
Ukrainian Soviet Socialist Republic, Gondor, United Kingdom of the Netherlands
Q178665 Q18285930 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 Q146713 Q427941 Q697837 Q747314 Q307069 Q28278 Q62454 Q1192067 Q2372248 Q505503 Q153015 Q846670 Q696242 Q1479726 Q467864 Q212056 Q3041595 Q484104 Q648297 Q149805
(c(Q515),P1376,c(Q7275))
action approx
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
action count
action filter_type
action find
entity Q1414395
relation P1376
type Q7275
[ANSWERS]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?e ) WHERE { ?q rdf:type ontology:Q7275 . ?g rdf:type ontology:Q515 . ?g property:P1376 ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q1414395 property:P1376 ?t . ?t rdf:type ontology:Q7275 } } . FILTER ( ?e = ?f ) }
Mitanni German Empire of 1848/1849 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 Arab Federation Islamic Emirate of Afghanistan Mengjiang Bechuanaland Protectorate Eastern Wei Provisional Government of the Republic of Korea Chen dynasty 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 Iraq United States Army Military Government in Korea Free State of Brunswick Kingdom of Iraq
Ukrainian Soviet Socialist Republic Gondor United Kingdom of the Netherlands
action approx
action find_reverse_tuple_counts
relation capital of
type state
type city
action count
action filter_type
action find
entity Republic of South Maluku
relation capital of
type state
[{'concept': 'city'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?g ) AS ?e ) WHERE { ?q rdf:type ontology:state . ?g rdf:type ontology:city . ?g property:capital_of ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Republic_of_South_Maluku property:capital_of ?t . ?t rdf:type ontology:state } } . FILTER ( ?e = ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1648067 Q3804530
P17
Q15617994
USER
Which administrative territories are Sigeric's itinerary or Cruz das Almas located in ?
OR((Q3804530,P17,c(Q15617994)), (Q1648067,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3804530
relation P17
action find
entity Q1648067
relation P17
type Q15617994
{'OR': [['Q3804530', 'P17', {'concept': 'Q15617994'}], ['Q1648067', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?x ) { ( resource:Q3804530 ) ( resource:Q1648067 ) } . ?x property:P17 ?q } . ?q rdf:type ontology:Q15617994 }
Cruz das Almas Sigeric's itinerary
action filter_type
action union
action find
entity Sigeric's itinerary
relation country
action find
entity Cruz das Almas
relation country
type designation for an administrative territorial entity
{'OR': [["Sigeric's itinerary", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cruz das Almas', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?x ) { ( resource:Sigeric's_itinerary ) ( resource:Cruz_das_Almas ) } . ?x property:country ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q155 Q39 Q38 Q145
SYSTEM
France, Brazil, Switzerland, Italy, United Kingdom
Q142 Q155 Q39 Q38 Q145
OR((Q3804530,P17,c(Q15617994)), (Q1648067,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3804530
relation P17
action find
entity Q1648067
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q3804530', 'P17', {'concept': 'Q15617994'}], ['Q1648067', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?x ) { ( resource:Q3804530 ) ( resource:Q1648067 ) } . ?x property:P17 ?q } . ?q rdf:type ontology:Q15617994 }
France Brazil Switzerland Italy United Kingdom
Which administrative territories are Sigeric's itinerary or Cruz das Almas located in
France Brazil Switzerland Italy United Kingdom
action filter_type
action union
action find
entity Sigeric's itinerary
relation country
action find
entity Cruz das Almas
relation country
type designation for an administrative territorial entity
{'OR': [["Sigeric's itinerary", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cruz das Almas', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?x ) { ( resource:Sigeric's_itinerary ) ( resource:Cruz_das_Almas ) } . ?x property:country ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]