Simple Question (Direct)
Simple Question
Q19414189
P54
Q12973014
USER
What is Dmitry Sinitsyn a member of ?
(Q19414189,P54,c(Q12973014))
action filter_type
action find
entity Q19414189
relation P54
type Q12973014
['Q19414189', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12973014 . resource:Q19414189 property:P54 ?x }
Dmitry Sinitsyn
action filter_type
action find
entity Dmitry Sinitsyn
relation member of sports team
type sports team
['Dmitry Sinitsyn', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sports_team . resource:Dmitry_Sinitsyn property:member_of_sports_team ?x }
[]
sports team
Q1160302
SYSTEM
HC Dynamo Moscow
Q1160302
(Q19414189,P54,c(Q12973014))
action filter_type
action find
entity Q19414189
relation P54
type Q12973014
Dmitry Sinitsyn a member of is [ANSWER]
['Q19414189', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12973014 . resource:Q19414189 property:P54 ?x }
HC Dynamo Moscow
Dmitry Sinitsyn a member of is HC Dynamo Moscow
HC Dynamo Moscow
action filter_type
action find
entity Dmitry Sinitsyn
relation member of sports team
type sports team
['Dmitry Sinitsyn', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sports_team . resource:Dmitry_Sinitsyn property:member_of_sports_team ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19414189
P21
Q290
USER
What is the sex of Dmitry Sinitsyn ?
(Q19414189,P21,c(Q290))
action filter_type
action find
entity Q19414189
relation P21
type Q290
['Q19414189', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q19414189 property:P21 ?x . ?x rdf:type ontology:Q290 }
Dmitry Sinitsyn
action filter_type
action find
entity Dmitry Sinitsyn
relation gender
type sex
['Dmitry Sinitsyn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Dmitry_Sinitsyn property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19414189,P21,c(Q290))
action filter_type
action find
entity Q19414189
relation P21
type Q290
The sex of Dmitry Sinitsyn is a [ANSWER]
['Q19414189', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q19414189 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
The sex of Dmitry Sinitsyn is a male
male
action filter_type
action find
entity Dmitry Sinitsyn
relation gender
type sex
['Dmitry Sinitsyn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Dmitry_Sinitsyn property:gender ?x . ?x rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q23020237
P21
Q502895
USER
Does Juan Bueno have the gender as that sex ?
(Q23020237,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q23020237
relation P21
['Q23020237', 'P21', 'Q6581097']
ASK WHERE { resource:Q23020237 property:P21 resource:Q6581097 }
male Juan Bueno
action is_in
entity male
action find
entity Juan Bueno
relation gender
['Juan Bueno', 'gender', 'male']
ASK WHERE { resource:Juan_Bueno property:gender resource:male }
[]
common name
SYSTEM
YES
(Q23020237,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q23020237
relation P21
[ANSWER]
['Q23020237', 'P21', 'Q6581097']
ASK WHERE { resource:Q23020237 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Juan Bueno
relation gender
['Juan Bueno', 'gender', 'male']
ASK WHERE { resource:Juan_Bueno property:gender resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people have that sex as genre ?
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
SELECT DISTINCT ?r WHERE { ?r property:P136 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
SELECT DISTINCT ?r WHERE { ?r property:genre resource:male . ?r rdf:type ontology:common_name }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS] have that sex as genre
SELECT DISTINCT ?r WHERE { ?r property:P136 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin, Alessandro Gregorio Capponi and Pierre Laviron have that sex as genre
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
SELECT DISTINCT ?r WHERE { ?r property:genre resource:male . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313288
P40
Q502895
USER
Who has Augustus Pugin as an offspring ?
(c(Q502895),P40,Q313288)
action filter_type
action find_reverse
entity Q313288
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q313288']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q313288 . ?i rdf:type ontology:Q502895 }
Augustus Pugin
action filter_type
action find_reverse
entity Augustus Pugin
relation child
type common name
[{'concept': 'common name'}, 'child', 'Augustus Pugin']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Augustus_Pugin . ?i rdf:type ontology:common_name }
[]
common name
Q2871122
SYSTEM
Augustus Charles Pugin
Q2871122
(c(Q502895),P40,Q313288)
action filter_type
action find_reverse
entity Q313288
relation P40
type Q502895
Of [ANSWER] has Augustus Pugin as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q313288']
SELECT DISTINCT ?i WHERE { ?i property:P40 resource:Q313288 . ?i rdf:type ontology:Q502895 }
Augustus Charles Pugin
Of Augustus Charles Pugin has Augustus Pugin as an offspring
Augustus Charles Pugin
action filter_type
action find_reverse
entity Augustus Pugin
relation child
type common name
[{'concept': 'common name'}, 'child', 'Augustus Pugin']
SELECT DISTINCT ?i WHERE { ?i property:child resource:Augustus_Pugin . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2871122
P22
Q502895
USER
Who has that one as a father ?
(c(Q502895),P22,Q2871122)
action filter_type
action find_reverse
entity Q2871122
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2871122']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P22 resource:Q2871122 }
Augustus Charles Pugin
action filter_type
action find_reverse
entity Augustus Charles Pugin
relation father
type common name
[{'concept': 'common name'}, 'father', 'Augustus Charles Pugin']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:father resource:Augustus_Charles_Pugin }
[]
common name
Q313288
SYSTEM
Augustus Pugin
Q313288
(c(Q502895),P22,Q2871122)
action filter_type
action find_reverse
entity Q2871122
relation P22
type Q502895
[ANSWER] has that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q2871122']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P22 resource:Q2871122 }
Augustus Pugin
Augustus Pugin has that one as a father
Augustus Pugin
action filter_type
action find_reverse
entity Augustus Charles Pugin
relation father
type common name
[{'concept': 'common name'}, 'father', 'Augustus Charles Pugin']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:father resource:Augustus_Charles_Pugin }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
Which works of art did exactly 30 people dub for ?
(c(Q838948),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 30
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?c = 30 ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?c ) WHERE { ?m property:P725 ?o . ?o rdf:type ontology:Q502895 . ?m rdf:type ontology:Q838948 } GROUP BY ?m } }
action equal
action find_tuple_counts
relation voice actor
type work of art
type common name
value 30
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?c = 30 ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?c ) WHERE { ?m property:voice_actor ?o . ?o rdf:type ontology:common_name . ?m rdf:type ontology:work_of_art } GROUP BY ?m } }
[]
common name work of art
Q19263748
SYSTEM
The Anthem of the Heart
Q19263748
(c(Q838948),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 30
Which works of art exactly 30 people dubbed for
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?c = 30 ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?c ) WHERE { ?m property:P725 ?o . ?o rdf:type ontology:Q502895 . ?m rdf:type ontology:Q838948 } GROUP BY ?m } }
The Anthem of the Heart
Which works of art exactly 30 people dubbed for
The Anthem of the Heart
action equal
action find_tuple_counts
relation voice actor
type work of art
type common name
value 30
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?c = 30 ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?c ) WHERE { ?m property:voice_actor ?o . ?o rdf:type ontology:common_name . ?m rdf:type ontology:work_of_art } GROUP BY ?m } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q14118318 Q18221191
P27
Q15617994
USER
Which administrative territories are Alessandro Gregorio Capponi or Rafael Moreno Segura an inhabitant of ?
OR((Q18221191,P27,c(Q15617994)), (Q14118318,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18221191
relation P27
action find
entity Q14118318
relation P27
type Q15617994
{'OR': [['Q18221191', 'P27', {'concept': 'Q15617994'}], ['Q14118318', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:P27 ?o . VALUES ( ?q ) { ( resource:Q18221191 ) ( resource:Q14118318 ) } } . ?o rdf:type ontology:Q15617994 }
Rafael Moreno Segura Alessandro Gregorio Capponi
action filter_type
action union
action find
entity Alessandro Gregorio Capponi
relation country of citizenship
action find
entity Rafael Moreno Segura
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Alessandro Gregorio Capponi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rafael Moreno Segura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:country_of_citizenship ?o . VALUES ( ?q ) { ( resource:Alessandro_Gregorio_Capponi ) ( resource:Rafael_Moreno_Segura ) } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q38
SYSTEM
Spain, Italy
Q29 Q38
OR((Q18221191,P27,c(Q15617994)), (Q14118318,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18221191
relation P27
action find
entity Q14118318
relation P27
type Q15617994
[ANSWERS] are Alessandro Gregorio Capponi or Rafael Moreno Segura an inhabitant of
{'OR': [['Q18221191', 'P27', {'concept': 'Q15617994'}], ['Q14118318', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:P27 ?o . VALUES ( ?q ) { ( resource:Q18221191 ) ( resource:Q14118318 ) } } . ?o rdf:type ontology:Q15617994 }
Spain Italy
Spain and Italy are Alessandro Gregorio Capponi or Rafael Moreno Segura an inhabitant of
Spain Italy
action filter_type
action union
action find
entity Alessandro Gregorio Capponi
relation country of citizenship
action find
entity Rafael Moreno Segura
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Alessandro Gregorio Capponi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rafael Moreno Segura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { ?q property:country_of_citizenship ?o . VALUES ( ?q ) { ( resource:Alessandro_Gregorio_Capponi ) ( resource:Rafael_Moreno_Segura ) } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2270848
P495
Q838948
USER
Did Beauty originate in those administrative territories ?
(Q2270848,P495,Q29) (Q2270848,P495,Q38)
action is_in
entity prev_answer
action find
entity Q2270848
relation P495
['Q2270848', 'P495', 'Q29'] ['Q2270848', 'P495', 'Q38']
ASK WHERE { VALUES ( ?q ) { ( resource:Q29 ) ( resource:Q38 ) } . resource:Q2270848 property:P495 ?q }
Beauty
action is_in
entity prev_answer
action find
entity Beauty
relation country of origin
['Beauty', 'country of origin', 'Spain'] ['Beauty', 'country of origin', 'Italy']
ASK WHERE { VALUES ( ?q ) { ( resource:Spain ) ( resource:Italy ) } . resource:Beauty property:country_of_origin ?q }
[]
work of art
SYSTEM
NO
(Q2270848,P495,Q29) (Q2270848,P495,Q38)
action is_in
entity prev_answer
action find
entity Q2270848
relation P495
[ANSWER]
['Q2270848', 'P495', 'Q29'] ['Q2270848', 'P495', 'Q38']
ASK WHERE { VALUES ( ?q ) { ( resource:Q29 ) ( resource:Q38 ) } . resource:Q2270848 property:P495 ?q }
No
action is_in
entity prev_answer
action find
entity Beauty
relation country of origin
['Beauty', 'country of origin', 'Spain'] ['Beauty', 'country of origin', 'Italy']
ASK WHERE { VALUES ( ?q ) { ( resource:Spain ) ( resource:Italy ) } . resource:Beauty property:country_of_origin ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P376
Q16889133
USER
Where is Spain located ?
(Q29,P376,c(Q16889133))
action filter_type
action find
entity Q29
relation P376
type Q16889133
['Q29', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?k WHERE { resource:Q29 property:P376 ?k . ?k rdf:type ontology:Q16889133 }
Spain
action filter_type
action find
entity Spain
relation located on astronomical body
type class
['Spain', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?k WHERE { resource:Spain property:located_on_astronomical_body ?k . ?k rdf:type ontology:class }
[]
class
Q2
SYSTEM
Earth
Q2
(Q29,P376,c(Q16889133))
action filter_type
action find
entity Q29
relation P376
type Q16889133
Spain is located on [ANSWER]
['Q29', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?k WHERE { resource:Q29 property:P376 ?k . ?k rdf:type ontology:Q16889133 }
Earth
Spain is located on Earth
Earth
action filter_type
action find
entity Spain
relation located on astronomical body
type class
['Spain', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?k WHERE { resource:Spain property:located_on_astronomical_body ?k . ?k rdf:type ontology:class }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P20
Q502895
USER
Which people have that administrative territory as place of death ?
(c(Q502895),P20,Q2)
action filter_type
action find_reverse
entity Q29
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q2']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P20 resource:Q29 }
Spain
action filter_type
action find_reverse
entity Spain
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Earth']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:place_of_death resource:Spain }
[]
common name
Q85046 Q5444193 Q6200757
SYSTEM
Leo Rudolf Raubal, Fergus Montgomery, Jimmy McCormick
Q2882593 Q24205858 Q18913023 Q3374087 Q2040026 Q1261808 Q125967 Q123131 Q282410 Q172506 Q7804407 Q3298951 Q1665338 Q41337 Q19560281 Q445003 Q6200757 Q1709444 Q5483563 Q4117185 Q6147168 Q6688818 Q4776190 Q85046 Q1338972 Q5290421 Q784246 Q1965153 Q710764 Q4018217 Q1670396 Q20014805 Q204836 Q1512529 Q2413890 Q3142642 Q7034445 Q4159526 Q382218 Q1467320 Q2134233 Q918399 Q6158894 Q27538385 Q1220590 Q2628789 Q15109899 Q6221761 Q5530190 Q1517534 Q2901098 Q5833054 Q2331740 Q511649 Q26211518 Q921537 Q4349138 Q21013081 Q12386426 Q22330025 Q1960327 Q5444193 Q2544484 Q7704503 Q89459 Q2061138 Q15452448 Q2574496 Q727853 Q2411994 Q922459 Q5981048 Q3172022 Q1618265 Q258770 Q8963876 Q1808191 Q7814883 Q24188692 Q9027967 Q4077246 Q14876285 Q20007459 Q16661470 Q462590 Q5698777 Q3563621 Q5740583 Q774110 Q16539513 Q1709718 Q5927555 Q4775623 Q955806 Q5831069 Q16579425 Q537892 Q5859303 Q1600783 Q5379835 Q5239981 Q3383925 Q18668545 Q2615834 Q3697736 Q8189819 Q19250264 Q6023256 Q1526654 Q6430146 Q15993463 Q930704 Q15365975 Q723221 Q5229984 Q434264 Q3938447 Q9073814 Q941091 Q3953771 Q2150287 Q3391623 Q805556 Q2536140 Q185101 Q1530739 Q7297531 Q1608067 Q1236037 Q6321752 Q461023 Q5484148
(c(Q502895),P20,Q2)
action filter_type
action find_reverse
entity Q29
relation P20
type Q502895
[ANSWERS] have that administrative territory as place of death
[{'concept': 'Q502895'}, 'P20', 'Q2']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P20 resource:Q29 }
Juan Bruno Téllez de Guzmán Vittor Ugo Ceccherelli Eduardo Moreno Díez Pere Mañach Juan de Oñate Robbie France Fritz Vogelgsang Edith Alice Müller Juan Pablo Bonet Jonathan Williams Tim Turner Mathilde Casadesus William of Kilkenny Don Juan of Persia Álvaro Contreras y Carvajal Stelian Popescu Jimmy McCormick José María Cervera Lloret Francisco Kraus Trujillo Anna Wolkoff Tino Gatagán Louise Latimer Antoni Pitxot Leo Rudolf Raubal Emmy Holz Domingo del Monte Juan Francisco de Güemes, 1st Count of Revillagigedo Narciso de Esténaga Marcelo Spinola y Maestre Warnard van Rijsen Pauline von Brochowska Enriqueta Mesa José Antonio Ramos Gerhard Schumann Maurice Agis Hugues Nardon Niilo Yli-Vainio Deusdedit Asim Vokshi Fritz Lesch Raymond Poulton Marcelo González Martín Valentín Pablo Ruiz Emilio Núñez Blanco Diego de Acebo Francisco Salzillo Diego Pérez Espejo John Besford Geir Myhre John Rees Inés de Bobadilla Enrique Azcoaga Álvaro Manrique de Zúñiga, marqués de Villamanrique Fray Martín de Murúa Arturo Acebal Idígoras Francisco de Osuna Carl von Haartman Juan Bautista Barthe Constantino Armesto Cobián Roberto Briche Lauri Pekuri Fergus Montgomery Walter Gorges Terry Heath Kurt Landau Paul Maria Hafner John Lodwick Wilhelm Pinnecke Miguel Fleta Esteban Rodríguez Miró Marcus Perpenna Vento Ian Brydon Jean Filliol Hilde Volk Barbara Blomberg Gerard Vergés i Príncep Laurentius Hispanus Tom Barrett Gregoria Urbina y Miranda Manuel Montesinos Gómiz Damian de la Bandera Antonio Arjona Castro Antonio Bulifon Luciano Reynosa Pérez Barbara Murray Antonio Lara García Constantin Cantacuzino Bengt-Urban Fransson Júlia Apraxin Bárbara Plaza José de Garro Hubert Pölz Antolín García Nikolai Skoblin Emilio Dáneo Palacios Monique Wilson Mark Stevens Fernando Cacho Heinz Raack Enrique Serrano David Spenser Pierre Belon Lapisse Luis B. Cerruti Costa Pedro Fajardo, 1st Marquis of los Vélez Cristóbal de Mena Adriano García-Lomas Ewan Douglas Åke Ohberg Heinz Kiwitz Ewa Krzyżewska Luis Saavedra Jesús Loroño Charlie Wilson Giovanni Battista Castello Dave Thomas Alonso de Sotomayor Robert Trimbole Sancho Fernández de Angulo y Sandoval José Sebastião de Almeida Neto Sebastiano Montallegri Richard Norton Isabel Barreto Baltasar de Zúñiga Víctor Israel Hamilcar Barca Robert Hale Merriman Ray Goddard Herbert Birken Girolamo Benzoni Júnior Gaspar de Portolà Francisco de Pando y Armand
Leo Rudolf Raubal, Fergus Montgomery and Jimmy McCormick have that administrative territory as place of death
Leo Rudolf Raubal Fergus Montgomery Jimmy McCormick
action filter_type
action find_reverse
entity Spain
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Earth']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:place_of_death resource:Spain }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P47
Q515 Q15617994
USER
How many cities and administrative territories are bordered by Spain ?
(Q29,P47,c(Q515)) (Q29,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q29
relation P47
type Q515
action filter_type
action find
entity Q29
relation P47
type Q15617994
['Q29', 'P47', {'concept': 'Q515'}] ['Q29', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { resource:Q29 property:P47 ?j . ?j rdf:type ontology:Q515 } UNION { ?j rdf:type ontology:Q15617994 . resource:Q29 property:P47 ?j } }
Spain
action count
action union
action filter_type
action find
entity Spain
relation shares border with
type city
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
['Spain', 'shares border with', {'concept': 'city'}] ['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { resource:Spain property:shares_border_with ?j . ?j rdf:type ontology:city } UNION { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spain property:shares_border_with ?j } }
[]
city designation for an administrative territorial entity
SYSTEM
1 cities and 5 administrative territories
Q1410 Q142 Q45 Q1028 Q1025 Q228
(Q29,P47,c(Q515)) (Q29,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q29
relation P47
type Q515
action filter_type
action find
entity Q29
relation P47
type Q15617994
[ANSWER]
['Q29', 'P47', {'concept': 'Q515'}] ['Q29', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { resource:Q29 property:P47 ?j . ?j rdf:type ontology:Q515 } UNION { ?j rdf:type ontology:Q15617994 . resource:Q29 property:P47 ?j } }
Gibraltar France Portugal Morocco Mauritania Andorra
1 cities and 5 administrative territories
action count
action union
action filter_type
action find
entity Spain
relation shares border with
type city
action filter_type
action find
entity Spain
relation shares border with
type designation for an administrative territorial entity
['Spain', 'shares border with', {'concept': 'city'}] ['Spain', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { { resource:Spain property:shares_border_with ?j . ?j rdf:type ontology:city } UNION { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Spain property:shares_border_with ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2
P361
Q2221906
USER
Which geographic locations are a portion of Earth ?
(c(Q2221906),P361,Q2)
action filter_type
action find_reverse
entity Q2
relation P361
type Q2221906
[{'concept': 'Q2221906'}, 'P361', 'Q2']
SELECT DISTINCT ?p WHERE { ?p property:P361 resource:Q2 . ?p rdf:type ontology:Q2221906 }
Earth
action filter_type
action find_reverse
entity Earth
relation part of
type geographic location
[{'concept': 'geographic location'}, 'part of', 'Earth']
SELECT DISTINCT ?p WHERE { ?p property:part_of resource:Earth . ?p rdf:type ontology:geographic_location }
[]
geographic location
Q15 Q48 Q49
SYSTEM
Africa, Asia, North America
Q15 Q49 Q18 Q48 Q1555938
(c(Q2221906),P361,Q2)
action filter_type
action find_reverse
entity Q2
relation P361
type Q2221906
[ANSWERS] are a portion of Earth
[{'concept': 'Q2221906'}, 'P361', 'Q2']
SELECT DISTINCT ?p WHERE { ?p property:P361 resource:Q2 . ?p rdf:type ontology:Q2221906 }
Africa North America South America Asia Antarctic
Africa, Asia and North America are a portion of Earth
Africa Asia North America
action filter_type
action find_reverse
entity Earth
relation part of
type geographic location
[{'concept': 'geographic location'}, 'part of', 'Earth']
SELECT DISTINCT ?p WHERE { ?p property:part_of resource:Earth . ?p rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15 Q48 Q49
P361
Q2221906
USER
Which geographic locations are Africa, Asia and North America a component of ?
(Q15,P361,c(Q2221906)) (Q48,P361,c(Q2221906)) (Q49,P361,c(Q2221906))
action union
action filter_type
action find
entity Q15
relation P361
type Q2221906
action filter_type
action find
entity Q48
relation P361
type Q2221906
action filter_type
action find
entity Q49
relation P361
type Q2221906
['Q15', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q2221906'}] ['Q49', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { { resource:Q15 property:P361 ?b . ?b rdf:type ontology:Q2221906 } UNION { resource:Q48 property:P361 ?b . ?b rdf:type ontology:Q2221906 } }
Africa Asia North America
action union
action filter_type
action find
entity Africa
relation part of
type geographic location
action filter_type
action find
entity Asia
relation part of
type geographic location
action filter_type
action find
entity North America
relation part of
type geographic location
['Africa', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'geographic location'}] ['North America', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { { resource:Africa property:part_of ?b . ?b rdf:type ontology:geographic_location } UNION { resource:Asia property:part_of ?b . ?b rdf:type ontology:geographic_location } }
[]
geographic location
Q828 Q2035462 Q2035462
SYSTEM
Ostfeste for 2nd, 3rd, Americas for 1st
Q2035462 Q2035462 Q5401 Q828
(Q15,P361,c(Q2221906)) (Q48,P361,c(Q2221906)) (Q49,P361,c(Q2221906))
action union
action filter_type
action find
entity Q15
relation P361
type Q2221906
action filter_type
action find
entity Q48
relation P361
type Q2221906
action filter_type
action find
entity Q49
relation P361
type Q2221906
[ANSWERS]
['Q15', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q2221906'}] ['Q49', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { { resource:Q15 property:P361 ?b . ?b rdf:type ontology:Q2221906 } UNION { resource:Q48 property:P361 ?b . ?b rdf:type ontology:Q2221906 } }
Ostfeste Ostfeste Eurasia Americas
The Americas, Ostfeste and Ostfeste are Africa, Asia and North America a component of
Americas Ostfeste Ostfeste
action union
action filter_type
action find
entity Africa
relation part of
type geographic location
action filter_type
action find
entity Asia
relation part of
type geographic location
action filter_type
action find
entity North America
relation part of
type geographic location
['Africa', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'geographic location'}] ['North America', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { { resource:Africa property:part_of ?b . ?b rdf:type ontology:geographic_location } UNION { resource:Asia property:part_of ?b . ?b rdf:type ontology:geographic_location } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15
P551
Q95074
USER
Who lives in Africa ?
(c(Q95074),P551,Q15)
action filter_type
action find_reverse
entity Q15
relation P551
type Q95074
[{'concept': 'Q95074'}, 'P551', 'Q15']
SELECT DISTINCT ?p WHERE { ?p property:P551 resource:Q15 . ?p rdf:type ontology:Q95074 }
Africa
action filter_type
action find_reverse
entity Africa
relation residence
type fictional character
[{'concept': 'fictional character'}, 'residence', 'Africa']
SELECT DISTINCT ?p WHERE { ?p property:residence resource:Africa . ?p rdf:type ontology:fictional_character }
[]
fictional character
Q1649583 Q326075 Q2469812
SYSTEM
Simba, Rafiki, Pumbaa
Q1649583 Q2576258 Q326075 Q2469812
(c(Q95074),P551,Q15)
action filter_type
action find_reverse
entity Q15
relation P551
type Q95074
[ANSWERS] live in Africa
[{'concept': 'Q95074'}, 'P551', 'Q15']
SELECT DISTINCT ?p WHERE { ?p property:P551 resource:Q15 . ?p rdf:type ontology:Q95074 }
Simba Zazu Rafiki Pumbaa
Simba, Rafiki and Pumbaa live in Africa
Simba Rafiki Pumbaa
action filter_type
action find_reverse
entity Africa
relation residence
type fictional character
[{'concept': 'fictional character'}, 'residence', 'Africa']
SELECT DISTINCT ?p WHERE { ?p property:residence resource:Africa . ?p rdf:type ontology:fictional_character }
[]