Simple Question (Direct)
Simple Question
Q7634380
P21
Q290
USER
Which sex does Suely Guimarães possess ?
(Q7634380,P21,c(Q290))
action filter_type
action find
entity Q7634380
relation P21
type Q290
['Q7634380', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q7634380 property:P21 ?t . ?t rdf:type ontology:Q290 }
Suely Guimarães
action filter_type
action find
entity Suely Guimarães
relation gender
type sex
['Suely Guimarães', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Suely_Guimarães property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q7634380,P21,c(Q290))
action filter_type
action find
entity Q7634380
relation P21
type Q290
Suely Guimarães possesses a [ANSWER]
['Q7634380', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q7634380 property:P21 ?t . ?t rdf:type ontology:Q290 }
female
Suely Guimarães possesses a female
female
action filter_type
action find
entity Suely Guimarães
relation gender
type sex
['Suely Guimarães', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Suely_Guimarães property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7634380
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Suely Guimarães ?
(Q7634380,P27,c(Q15617994))
action filter_type
action find
entity Q7634380
relation P27
type Q15617994
['Q7634380', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7634380 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Suely Guimarães
action filter_type
action find
entity Suely Guimarães
relation country of citizenship
type designation for an administrative territorial entity
['Suely Guimarães', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Suely_Guimarães property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q7634380,P27,c(Q15617994))
action filter_type
action find
entity Q7634380
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Suely Guimarães
['Q7634380', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7634380 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Brazil
Brazil is the country of citizenship of Suely Guimarães
Brazil
action filter_type
action find
entity Suely Guimarães
relation country of citizenship
type designation for an administrative territorial entity
['Suely Guimarães', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Suely_Guimarães property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16302762
Q15617994
USER
And also tell me about Mario Velásquez Roque?
(Q16302762,P27,c(Q15617994))
action filter_type
action find
entity Q16302762
relation P27
type Q15617994
['Q16302762', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q16302762 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Mario Velásquez Roque
action filter_type
action find
entity Mario Velásquez Roque
relation country of citizenship
type designation for an administrative territorial entity
['Mario Velásquez Roque', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Mario_Velásquez_Roque property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419
SYSTEM
Peru
Q419
(Q16302762,P27,c(Q15617994))
action filter_type
action find
entity Q16302762
relation P27
type Q15617994
[ANSWER]
['Q16302762', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q16302762 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Peru
Peru
action filter_type
action find
entity Mario Velásquez Roque
relation country of citizenship
type designation for an administrative territorial entity
['Mario Velásquez Roque', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Mario_Velásquez_Roque property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5231600 Q16302762
P1412
Q34770
USER
Which languages are Mario Velásquez Roque or David Bowe capable of writing ?
OR((Q16302762,P1412,c(Q34770)), (Q5231600,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q16302762
relation P1412
action find
entity Q5231600
relation P1412
type Q34770
{'OR': [['Q16302762', 'P1412', {'concept': 'Q34770'}], ['Q5231600', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?e ) { ( resource:Q16302762 ) ( resource:Q5231600 ) } . ?e property:P1412 ?p } . ?p rdf:type ontology:Q34770 }
David Bowe Mario Velásquez Roque
action filter_type
action union
action find
entity Mario Velásquez Roque
relation languages spoken, written or signed
action find
entity David Bowe
relation languages spoken, written or signed
type language
{'OR': [['Mario Velásquez Roque', 'languages spoken, written or signed', {'concept': 'language'}], ['David Bowe', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?e ) { ( resource:Mario_Velásquez_Roque ) ( resource:David_Bowe ) } . ?e property:languages_spoken,_written_or_signed ?p } . ?p rdf:type ontology:language }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
OR((Q16302762,P1412,c(Q34770)), (Q5231600,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q16302762
relation P1412
action find
entity Q5231600
relation P1412
type Q34770
[ANSWERS] are Mario Velásquez Roque or David Bowe capable of writing
{'OR': [['Q16302762', 'P1412', {'concept': 'Q34770'}], ['Q5231600', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?e ) { ( resource:Q16302762 ) ( resource:Q5231600 ) } . ?e property:P1412 ?p } . ?p rdf:type ontology:Q34770 }
English Spanish
English and Spanish are Mario Velásquez Roque or David Bowe capable of writing
English Spanish
action filter_type
action union
action find
entity Mario Velásquez Roque
relation languages spoken, written or signed
action find
entity David Bowe
relation languages spoken, written or signed
type language
{'OR': [['Mario Velásquez Roque', 'languages spoken, written or signed', {'concept': 'language'}], ['David Bowe', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?e ) { ( resource:Mario_Velásquez_Roque ) ( resource:David_Bowe ) } . ?e property:languages_spoken,_written_or_signed ?p } . ?p rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P194
Q1752346 Q11204 Q15617994
USER
Which administrative territories have atleast 1 assemblies and legislatures as their council ?
(c(Q15617994),P194,c(Q1752346)|c(Q11204))
action atleast
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q11204
value 1
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?l ) WHERE { VALUES ( ?f ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?n rdf:type ?f } GROUP BY ?y } . FILTER ( ?l >= 1 ) }
action atleast
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?l ) WHERE { VALUES ( ?f ) { ( ontology:legislature ) ( ontology:assembly ) } . ?n rdf:type ?f } GROUP BY ?y } . FILTER ( ?l >= 1 ) }
[]
assembly legislature designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q801 Q800 Q1462 Q1250 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q189 Q786 Q710 Q717 Q1460 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q4628 Q779011 Q794 Q889 Q884 Q958 Q12574 Q1965 Q12761 Q242 Q244 Q33 Q31 Q30 Q37 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q1447 Q1282 Q1284 Q3389 Q236 Q747074 Q72449 Q233 Q238 Q12661 Q20 Q1273 Q28 Q29 Q1279 Q1049 Q783 Q184 Q1458 Q228 Q227 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q17 Q902 Q191 Q697 Q298 Q114 Q754 Q750 Q213 Q211 Q6465 Q214 Q215 Q218 Q219 Q1210 Q917 Q16110 Q736 Q34020 Q686 Q760 Q574 Q79 Q77 Q1222 Q774 Q948 Q811 Q1016 Q27 Q1243 Q1013 Q12626 Q672 Q176 Q1952 Q869 Q1237
(c(Q15617994),P194,c(Q1752346)|c(Q11204))
action atleast
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q11204
value 1
[ANSWERS] have atleast 1 assemblies and legislatures as their council
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?l ) WHERE { VALUES ( ?f ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?n rdf:type ?f } GROUP BY ?y } . FILTER ( ?l >= 1 ) }
Yemen Panama Israel Costa Rica Sardinia Friuli–Venezia Giulia Peru India Argentina France Netherlands United Kingdom People's Republic of China Iceland Dominican Republic Kiribati Venezuela Sicily Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Faroe Islands Principality of Montenegro Iran Afghanistan South Korea South Sudan Loiret New Brunswick Seine-Saint-Denis Belize Barbados Finland Belgium United States of America Lithuania Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Apulia Lazio Abruzzo Finistère Montenegro comune of Italy Roccarainola Malta San Marino Nord Norway Tuscany Hungary Spain Marche Sudan Honduras Belarus Calabria Andorra Azerbaijan Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Japan Bangladesh Estonia Nauru Chile Kenya Trinidad and Tobago Bolivia Czech Republic Latvia department of France Slovakia Slovenia Romania Bulgaria Lombardy Bhutan region of Italy Ecuador Niue Vanuatu Saint Lucia East Timor Egypt Uruguay Aosta Valley Guatemala Tunisia Nicaragua Libya Ireland Veneto Lesotho Meurthe-et-Moselle Tuvalu Quebec Nova Scotia Thailand Trentino-South Tyrol
Italy, Brazil and United States of America have atleast 1 assemblies and legislatures as their council
Italy Brazil United States of America
action atleast
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?l ) WHERE { VALUES ( ?f ) { ( ontology:legislature ) ( ontology:assembly ) } . ?n rdf:type ?f } GROUP BY ?y } . FILTER ( ?l >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q15180
P840
Q838948
USER
How many works of art have their narrative set in Italy and Soviet Union ?
(c(Q838948),P840,Q38) (c(Q838948),P840,Q15180)
action count
action intersection
action filter_type
action find_reverse
entity Q38
relation P840
type Q838948
action filter_type
action find_reverse
entity Q15180
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q38'] [{'concept': 'Q838948'}, 'P840', 'Q15180']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c rdf:type ontology:Q838948 . ?c property:P840 resource:Q38 . ?c property:P840 resource:Q15180 . ?c rdf:type ontology:Q838948 }
Italy Soviet Union
action count
action intersection
action filter_type
action find_reverse
entity Italy
relation narrative location
type work of art
action filter_type
action find_reverse
entity Soviet Union
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Italy'] [{'concept': 'work of art'}, 'narrative location', 'Soviet Union']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c rdf:type ontology:work_of_art . ?c property:narrative_location resource:Italy . ?c property:narrative_location resource:Soviet_Union . ?c rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
2
Q569183 Q320423
(c(Q838948),P840,Q38) (c(Q838948),P840,Q15180)
action count
action intersection
action filter_type
action find_reverse
entity Q38
relation P840
type Q838948
action filter_type
action find_reverse
entity Q15180
relation P840
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q38'] [{'concept': 'Q838948'}, 'P840', 'Q15180']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c rdf:type ontology:Q838948 . ?c property:P840 resource:Q38 . ?c property:P840 resource:Q15180 . ?c rdf:type ontology:Q838948 }
Don Camillo in Moscow The Spy Who Loved Me
2
action count
action intersection
action filter_type
action find_reverse
entity Italy
relation narrative location
type work of art
action filter_type
action find_reverse
entity Soviet Union
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Italy'] [{'concept': 'work of art'}, 'narrative location', 'Soviet Union']
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { ?c rdf:type ontology:work_of_art . ?c property:narrative_location resource:Italy . ?c property:narrative_location resource:Soviet_Union . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P47
Q20667921
USER
Which french administrative division is next to the border of that administrative territory ?
action filter_type
action find_reverse
entity Q38
relation P47
type Q20667921
SELECT DISTINCT ?o WHERE { ?o property:P47 resource:Q38 . ?o rdf:type ontology:Q20667921 }
Italy
action filter_type
action find_reverse
entity Italy
relation shares border with
type type of french administrative division
SELECT DISTINCT ?o WHERE { ?o property:shares_border_with resource:Italy . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q18338206
SYSTEM
Auvergne-Rhône-Alpes
Q18338206
action filter_type
action find_reverse
entity Q38
relation P47
type Q20667921
[ANSWER] is next to the border of that administrative territory
SELECT DISTINCT ?o WHERE { ?o property:P47 resource:Q38 . ?o rdf:type ontology:Q20667921 }
Auvergne-Rhône-Alpes
Auvergne-Rhône-Alpes is next to the border of that administrative territory
Auvergne-Rhône-Alpes
action filter_type
action find_reverse
entity Italy
relation shares border with
type type of french administrative division
SELECT DISTINCT ?o WHERE { ?o property:shares_border_with resource:Italy . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q36 Q38
P27
Q502895
USER
Which people are a citizen of Italy and Poland ?
AND((c(Q502895),P27,Q38), (c(Q502895),P27,Q36))
action filter_type
action intersection
action find_reverse
entity Q38
relation P27
action find_reverse
entity Q36
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q38'], [{'concept': 'Q502895'}, 'P27', 'Q36']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P27 resource:Q36 . ?l property:P27 resource:Q38 }
Poland Italy
action filter_type
action intersection
action find_reverse
entity Italy
relation country of citizenship
action find_reverse
entity Poland
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Italy'], [{'concept': 'common name'}, 'country of citizenship', 'Poland']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:country_of_citizenship resource:Poland . ?l property:country_of_citizenship resource:Italy }
[]
common name
Q1449068 Q3430365 Q3703593 Q380131
SYSTEM
Costante Bonazza, Riccardo Campa, Davide Pacanowski, Robert Acquafresca
Q1449068 Q3430365 Q3703593 Q380131
AND((c(Q502895),P27,Q38), (c(Q502895),P27,Q36))
action filter_type
action intersection
action find_reverse
entity Q38
relation P27
action find_reverse
entity Q36
relation P27
type Q502895
[ANSWERS] are a citizen of Italy and Poland
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q38'], [{'concept': 'Q502895'}, 'P27', 'Q36']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P27 resource:Q36 . ?l property:P27 resource:Q38 }
Costante Bonazza Riccardo Campa Davide Pacanowski Robert Acquafresca
Costante Bonazza, Riccardo Campa, Davide Pacanowski and Robert Acquafresca are a citizen of Italy and Poland
Costante Bonazza Riccardo Campa Davide Pacanowski Robert Acquafresca
action filter_type
action intersection
action find_reverse
entity Italy
relation country of citizenship
action find_reverse
entity Poland
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Italy'], [{'concept': 'common name'}, 'country of citizenship', 'Poland']]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:country_of_citizenship resource:Poland . ?l property:country_of_citizenship resource:Italy }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1449068 Q3430365 Q3703593 Q380131
P106
Q12737077
USER
What do Costante Bonazza, Riccardo Campa, Davide Pacanowski and Robert Acquafresca do for a living ?
(Q1449068,P106,c(Q12737077)) (Q3430365,P106,c(Q12737077)) (Q3703593,P106,c(Q12737077)) (Q380131,P106,c(Q12737077))
action union
action filter_type
action find
entity Q1449068
relation P106
type Q12737077
action filter_type
action find
entity Q3430365
relation P106
type Q12737077
action filter_type
action find
entity Q3703593
relation P106
type Q12737077
action filter_type
action find
entity Q380131
relation P106
type Q12737077
['Q1449068', 'P106', {'concept': 'Q12737077'}] ['Q3430365', 'P106', {'concept': 'Q12737077'}] ['Q3703593', 'P106', {'concept': 'Q12737077'}] ['Q380131', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { resource:Q1449068 property:P106 ?l . ?l rdf:type ontology:Q12737077 } UNION { resource:Q3430365 property:P106 ?l . ?l rdf:type ontology:Q12737077 } }
Costante Bonazza Riccardo Campa Davide Pacanowski Robert Acquafresca
action union
action filter_type
action find
entity Costante Bonazza
relation occupation
type occupation
action filter_type
action find
entity Riccardo Campa
relation occupation
type occupation
action filter_type
action find
entity Davide Pacanowski
relation occupation
type occupation
action filter_type
action find
entity Robert Acquafresca
relation occupation
type occupation
['Costante Bonazza', 'occupation', {'concept': 'occupation'}] ['Riccardo Campa', 'occupation', {'concept': 'occupation'}] ['Davide Pacanowski', 'occupation', {'concept': 'occupation'}] ['Robert Acquafresca', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { { resource:Costante_Bonazza property:occupation ?l . ?l rdf:type ontology:occupation } UNION { resource:Riccardo_Campa property:occupation ?l . ?l rdf:type ontology:occupation } }
[]
occupation
Q42973 Q937857 Q937857
SYSTEM
architect for 1st, association football player for 2nd, 3rd
Q937857 Q2306091 Q81096 Q42973 Q937857
(Q1449068,P106,c(Q12737077)) (Q3430365,P106,c(Q12737077)) (Q3703593,P106,c(Q12737077)) (Q380131,P106,c(Q12737077))
action union
action filter_type
action find
entity Q1449068
relation P106
type Q12737077
action filter_type
action find
entity Q3430365
relation P106
type Q12737077
action filter_type
action find
entity Q3703593
relation P106
type Q12737077
action filter_type
action find
entity Q380131
relation P106
type Q12737077
[ANSWERS]
['Q1449068', 'P106', {'concept': 'Q12737077'}] ['Q3430365', 'P106', {'concept': 'Q12737077'}] ['Q3703593', 'P106', {'concept': 'Q12737077'}] ['Q380131', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { { resource:Q1449068 property:P106 ?l . ?l rdf:type ontology:Q12737077 } UNION { resource:Q3430365 property:P106 ?l . ?l rdf:type ontology:Q12737077 } }
association football player sociologist engineer architect association football player
Architect, association football player and association football player Costante Bonazza , Riccardo Campa , Davide Pacanowski and Robert Acquafresca do for a living
architect association football player association football player
action union
action filter_type
action find
entity Costante Bonazza
relation occupation
type occupation
action filter_type
action find
entity Riccardo Campa
relation occupation
type occupation
action filter_type
action find
entity Davide Pacanowski
relation occupation
type occupation
action filter_type
action find
entity Robert Acquafresca
relation occupation
type occupation
['Costante Bonazza', 'occupation', {'concept': 'occupation'}] ['Riccardo Campa', 'occupation', {'concept': 'occupation'}] ['Davide Pacanowski', 'occupation', {'concept': 'occupation'}] ['Robert Acquafresca', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { { resource:Costante_Bonazza property:occupation ?l . ?l rdf:type ontology:occupation } UNION { resource:Riccardo_Campa property:occupation ?l . ?l rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18338206
P36
Q515
USER
What is the capital of Auvergne-Rhône-Alpes ?
(Q18338206,P36,c(Q515))
action filter_type
action find
entity Q18338206
relation P36
type Q515
['Q18338206', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q18338206 property:P36 ?f . ?f rdf:type ontology:Q515 }
Auvergne-Rhône-Alpes
action filter_type
action find
entity Auvergne-Rhône-Alpes
relation capital
type city
['Auvergne-Rhône-Alpes', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Auvergne-Rhône-Alpes property:capital ?f . ?f rdf:type ontology:city }
[]
city
Q456
SYSTEM
Lyon
Q456
(Q18338206,P36,c(Q515))
action filter_type
action find
entity Q18338206
relation P36
type Q515
The capital of Auvergne-Rhône-Alpes is [ANSWER]
['Q18338206', 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ?f WHERE { resource:Q18338206 property:P36 ?f . ?f rdf:type ontology:Q515 }
Lyon
The capital of Auvergne-Rhône-Alpes is Lyon
Lyon
action filter_type
action find
entity Auvergne-Rhône-Alpes
relation capital
type city
['Auvergne-Rhône-Alpes', 'capital', {'concept': 'city'}]
SELECT DISTINCT ?f WHERE { resource:Auvergne-Rhône-Alpes property:capital ?f . ?f rdf:type ontology:city }
[]