Simple Question (Direct)
Simple Question
Q4796550
P19
Q7275
USER
Which state is the birthplace of Arsim Plepolli ?
(Q4796550,P19,c(Q7275))
action filter_type
action find
entity Q4796550
relation P19
type Q7275
['Q4796550', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q4796550 property:P19 ?h . ?h rdf:type ontology:Q7275 }
Arsim Plepolli
action filter_type
action find
entity Arsim Plepolli
relation place of birth
type state
['Arsim Plepolli', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Arsim_Plepolli property:place_of_birth ?h . ?h rdf:type ontology:state }
[]
state
Q83286
SYSTEM
Socialist Federal Republic of Yugoslavia
Q83286
(Q4796550,P19,c(Q7275))
action filter_type
action find
entity Q4796550
relation P19
type Q7275
[ANSWER] is the birthplace of Arsim Plepolli
['Q4796550', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q4796550 property:P19 ?h . ?h rdf:type ontology:Q7275 }
Socialist Federal Republic of Yugoslavia
Socialist Federal Republic of Yugoslavia is the birthplace of Arsim Plepolli
Socialist Federal Republic of Yugoslavia
action filter_type
action find
entity Arsim Plepolli
relation place of birth
type state
['Arsim Plepolli', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Arsim_Plepolli property:place_of_birth ?h . ?h rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4796550
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q83286,P27,c(Q15617994))
action filter_type
action find
entity Q4796550
relation P27
type Q15617994
['Q83286', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q4796550 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Arsim Plepolli
action filter_type
action find
entity Arsim Plepolli
relation country of citizenship
type designation for an administrative territorial entity
['Socialist Federal Republic of Yugoslavia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Arsim_Plepolli property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q222
SYSTEM
Albania
Q222
(Q83286,P27,c(Q15617994))
action filter_type
action find
entity Q4796550
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q83286', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q4796550 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Albania
Albania is that person a civilian of
Albania
action filter_type
action find
entity Arsim Plepolli
relation country of citizenship
type designation for an administrative territorial entity
['Socialist Federal Republic of Yugoslavia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Arsim_Plepolli property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q222 Q6429597
P47
Q15617994
USER
Does Konocti Unified School District have a shared border with that one ?
(Q222,P47,Q6429597)
action is_in
entity Q6429597
action find
entity Q222
relation P47
['Q222', 'P47', 'Q6429597']
ASK WHERE { resource:Q222 property:P47 resource:Q6429597 }
Albania Konocti Unified School District
action is_in
entity Konocti Unified School District
action find
entity Albania
relation shares border with
['Albania', 'shares border with', 'Konocti Unified School District']
ASK WHERE { resource:Albania property:shares_border_with resource:Konocti_Unified_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q222,P47,Q6429597)
action is_in
entity Q6429597
action find
entity Q222
relation P47
[ANSWER]
['Q222', 'P47', 'Q6429597']
ASK WHERE { resource:Q222 property:P47 resource:Q6429597 }
No
action is_in
entity Konocti Unified School District
action find
entity Albania
relation shares border with
['Albania', 'shares border with', 'Konocti Unified School District']
ASK WHERE { resource:Albania property:shares_border_with resource:Konocti_Unified_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4796550
P106
Q12737077
USER
How many occupations are the professions of Arsim Plepolli ?
(Q4796550,P106,c(Q12737077))
action count
action filter_type
action find
entity Q4796550
relation P106
type Q12737077
['Q4796550', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q4796550 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Arsim Plepolli
action count
action filter_type
action find
entity Arsim Plepolli
relation occupation
type occupation
['Arsim Plepolli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Arsim_Plepolli property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q937857
(Q4796550,P106,c(Q12737077))
action count
action filter_type
action find
entity Q4796550
relation P106
type Q12737077
[ANSWER]
['Q4796550', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Q4796550 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football player
1
action count
action filter_type
action find
entity Arsim Plepolli
relation occupation
type occupation
['Arsim Plepolli', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { resource:Arsim_Plepolli property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1745537
Q12737077
USER
And what about Klaus Parlasca?
(Q1745537,P106,c(Q12737077))
action count
action filter_type
action find
entity Q1745537
relation P106
type Q12737077
['Q1745537', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { resource:Q1745537 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Klaus Parlasca
action count
action filter_type
action find
entity Klaus Parlasca
relation occupation
type occupation
['Klaus Parlasca', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { resource:Klaus_Parlasca property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
SYSTEM
3
(Q1745537,P106,c(Q12737077))
action count
action filter_type
action find
entity Q1745537
relation P106
type Q12737077
[ANSWER]
['Q1745537', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { resource:Q1745537 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
3
action count
action filter_type
action find
entity Klaus Parlasca
relation occupation
type occupation
['Klaus Parlasca', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { resource:Klaus_Parlasca property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q222
P17
Q15617994
USER
Which administrative territory is Albania a part of ?
(Q222,P17,c(Q15617994))
action filter_type
action find
entity Q222
relation P17
type Q15617994
['Q222', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q222 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Albania
action filter_type
action find
entity Albania
relation country
type designation for an administrative territorial entity
['Albania', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Albania property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q222
SYSTEM
Albania
Q222
(Q222,P17,c(Q15617994))
action filter_type
action find
entity Q222
relation P17
type Q15617994
Which administrative territory is [ANSWER] a part of
['Q222', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q222 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Albania
Which administrative territory is Albania a part of
Albania
action filter_type
action find
entity Albania
relation country
type designation for an administrative territorial entity
['Albania', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Albania property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q222
P85
Q484692
USER
Which hymn is the anthem for that administrative territory ?
(Q222,P85,c(Q484692))
action filter_type
action find
entity Q222
relation P85
type Q484692
['Q222', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?v WHERE { resource:Q222 property:P85 ?v . ?v rdf:type ontology:Q484692 }
Albania
action filter_type
action find
entity Albania
relation anthem
type hymn
['Albania', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?v WHERE { resource:Albania property:anthem ?v . ?v rdf:type ontology:hymn }
[]
hymn
Q168731
SYSTEM
Himni i Flamurit
Q168731
(Q222,P85,c(Q484692))
action filter_type
action find
entity Q222
relation P85
type Q484692
[ANSWER] is the anthem for that administrative territory
['Q222', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?v WHERE { resource:Q222 property:P85 ?v . ?v rdf:type ontology:Q484692 }
Himni i Flamurit
Himni i Flamurit is the anthem for that administrative territory
Himni i Flamurit
action filter_type
action find
entity Albania
relation anthem
type hymn
['Albania', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?v WHERE { resource:Albania property:anthem ?v . ?v rdf:type ontology:hymn }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3734
Q484692
USER
And also tell me about Republic of Adygea?
(Q3734,P85,c(Q484692))
action filter_type
action find
entity Q3734
relation P85
type Q484692
['Q3734', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?g WHERE { resource:Q3734 property:P85 ?g . ?g rdf:type ontology:Q484692 }
Republic of Adygea
action filter_type
action find
entity Republic of Adygea
relation anthem
type hymn
['Republic of Adygea', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?g WHERE { resource:Republic_of_Adygea property:anthem ?g . ?g rdf:type ontology:hymn }
[]
hymn
Q1138705
SYSTEM
Anthem of the Republic of Adygea
Q1138705
(Q3734,P85,c(Q484692))
action filter_type
action find
entity Q3734
relation P85
type Q484692
[ANSWER]
['Q3734', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?g WHERE { resource:Q3734 property:P85 ?g . ?g rdf:type ontology:Q484692 }
Anthem of the Republic of Adygea
Anthem of the Republic of Adygea
action filter_type
action find
entity Republic of Adygea
relation anthem
type hymn
['Republic of Adygea', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?g WHERE { resource:Republic_of_Adygea property:anthem ?g . ?g rdf:type ontology:hymn }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16736895 Q83286
P19 P36
Q56061
USER
Which administrative territories are associated to Socialist Federal Republic of Yugoslavia as the capital or are the places of birth of Jarnail Singh ?
OR((Q83286,P36,c(Q56061)), (Q16736895,P19,c(Q56061)))
action filter_type
action union
action find
entity Q83286
relation P36
action find
entity Q16736895
relation P19
type Q56061
{'OR': [['Q83286', 'P36', {'concept': 'Q56061'}], ['Q16736895', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q83286 property:P36 ?g } UNION { resource:Q16736895 property:P19 ?g } } . ?g rdf:type ontology:Q56061 }
Jarnail Singh Socialist Federal Republic of Yugoslavia
action filter_type
action union
action find
entity Socialist Federal Republic of Yugoslavia
relation capital
action find
entity Jarnail Singh
relation place of birth
type administrative territorial entity
{'OR': [['Socialist Federal Republic of Yugoslavia', 'capital', {'concept': 'administrative territorial entity'}], ['Jarnail Singh', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Socialist_Federal_Republic_of_Yugoslavia property:capital ?g } UNION { resource:Jarnail_Singh property:place_of_birth ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3711 Q1353
SYSTEM
Belgrade, Delhi
Q3711 Q1353
OR((Q83286,P36,c(Q56061)), (Q16736895,P19,c(Q56061)))
action filter_type
action union
action find
entity Q83286
relation P36
action find
entity Q16736895
relation P19
type Q56061
[ANSWERS] are associated to Socialist Federal Republic of Yugoslavia as the capital or are the places of birth of Jarnail Singh
{'OR': [['Q83286', 'P36', {'concept': 'Q56061'}], ['Q16736895', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q83286 property:P36 ?g } UNION { resource:Q16736895 property:P19 ?g } } . ?g rdf:type ontology:Q56061 }
Belgrade Delhi
Belgrade and Delhi are associated to Socialist Federal Republic of Yugoslavia as the capital or are the places of birth of Jarnail Singh
Belgrade Delhi
action filter_type
action union
action find
entity Socialist Federal Republic of Yugoslavia
relation capital
action find
entity Jarnail Singh
relation place of birth
type administrative territorial entity
{'OR': [['Socialist Federal Republic of Yugoslavia', 'capital', {'concept': 'administrative territorial entity'}], ['Jarnail Singh', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Socialist_Federal_Republic_of_Yugoslavia property:capital ?g } UNION { resource:Jarnail_Singh property:place_of_birth ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]