Simple Question (Direct)
Simple Question
Q2321115
P19
Q56061
USER
Which administrative territory was José Balta born at ?
(Q2321115,P19,c(Q56061))
action filter_type
action find
entity Q2321115
relation P19
type Q56061
['Q2321115', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q2321115 property:P19 ?o . ?o rdf:type ontology:Q56061 }
José Balta
action filter_type
action find
entity José Balta
relation place of birth
type administrative territorial entity
['José Balta', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:José_Balta property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2868
SYSTEM
Lima
Q2868
(Q2321115,P19,c(Q56061))
action filter_type
action find
entity Q2321115
relation P19
type Q56061
José Balta was born in [ANSWER]
['Q2321115', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q2321115 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Lima
José Balta was born in Lima
Lima
action filter_type
action find
entity José Balta
relation place of birth
type administrative territorial entity
['José Balta', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:José_Balta property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2321115
P1412
Q34770
USER
Which language can José Balta understand ?
(Q2321115,P1412,c(Q34770))
action filter_type
action find
entity Q2321115
relation P1412
type Q34770
['Q2321115', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q2321115 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
José Balta
action filter_type
action find
entity José Balta
relation languages spoken, written or signed
type language
['José Balta', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:José_Balta property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2321115,P1412,c(Q34770))
action filter_type
action find
entity Q2321115
relation P1412
type Q34770
José Balta can understand [ANSWER]
['Q2321115', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q2321115 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Spanish
José Balta can understand Spanish
Spanish
action filter_type
action find
entity José Balta
relation languages spoken, written or signed
type language
['José Balta', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:José_Balta property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6254499 Q2321115
P937 P20
Q56061
USER
Which administrative territories did the demise of José Balta occur or are the work locations of Georg Åberg ?
OR((Q2321115,P20,c(Q56061)), (Q6254499,P937,c(Q56061)))
action filter_type
action union
action find
entity Q2321115
relation P20
action find
entity Q6254499
relation P937
type Q56061
{'OR': [['Q2321115', 'P20', {'concept': 'Q56061'}], ['Q6254499', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q2321115 property:P20 ?o } UNION { resource:Q6254499 property:P937 ?o } } . ?o rdf:type ontology:Q56061 }
Georg Åberg José Balta
action filter_type
action union
action find
entity José Balta
relation place of death
action find
entity Georg Åberg
relation work location
type administrative territorial entity
{'OR': [['José Balta', 'place of death', {'concept': 'administrative territorial entity'}], ['Georg Åberg', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:José_Balta property:place_of_death ?o } UNION { resource:Georg_Åberg property:work_location ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2868 Q1754
SYSTEM
Lima, Stockholm
Q2868 Q1754
OR((Q2321115,P20,c(Q56061)), (Q6254499,P937,c(Q56061)))
action filter_type
action union
action find
entity Q2321115
relation P20
action find
entity Q6254499
relation P937
type Q56061
Or are the work locations of Georg Åberg in [ANSWERS] the demise of José Balta did
{'OR': [['Q2321115', 'P20', {'concept': 'Q56061'}], ['Q6254499', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q2321115 property:P20 ?o } UNION { resource:Q6254499 property:P937 ?o } } . ?o rdf:type ontology:Q56061 }
Lima Stockholm
Or are the work locations of Georg Åberg in Lima and Stockholm the demise of José Balta did
Lima Stockholm
action filter_type
action union
action find
entity José Balta
relation place of death
action find
entity Georg Åberg
relation work location
type administrative territorial entity
{'OR': [['José Balta', 'place of death', {'concept': 'administrative territorial entity'}], ['Georg Åberg', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:José_Balta property:place_of_death ?o } UNION { resource:Georg_Åberg property:work_location ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q15617994 Q7275
USER
How many languages are the official languages of around 5 administrative territories or states ?
(c(Q15617994)|c(Q7275),P37,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
value 5
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { FILTER ( ?w = 5 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?r WHERE { VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?p rdf:type ?q } GROUP BY ?r } }
action count
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
value 5
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { FILTER ( ?w = 5 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?r WHERE { VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?p rdf:type ?q } GROUP BY ?r } }
[]
language designation for an administrative territorial entity state
SYSTEM
14
Q9056 Q33251 Q13211 Q3110592 Q36206 Q652 Q8752 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q15617994)|c(Q7275),P37,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
value 5
[ANSWER]
[[{'concept': 'Q15617994'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { FILTER ( ?w = 5 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?r WHERE { VALUES ( ?q ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?p rdf:type ?q } GROUP BY ?r } }
Czech Church Slavonic Ruthenian written Chinese Lak Italian Basque Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
14
action count
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
value 5
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { FILTER ( ?w = 5 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) ?r WHERE { VALUES ( ?q ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?p rdf:type ?q } GROUP BY ?r } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15447580 Q6254499
P937
Q56061
USER
Which administrative territories are the locations where Georg Åberg or Sueli Menezes worked ?
OR((Q6254499,P937,c(Q56061)), (Q15447580,P937,c(Q56061)))
action filter_type
action union
action find
entity Q6254499
relation P937
action find
entity Q15447580
relation P937
type Q56061
{'OR': [['Q6254499', 'P937', {'concept': 'Q56061'}], ['Q15447580', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . { { resource:Q6254499 property:P937 ?m } UNION { resource:Q15447580 property:P937 ?m } } }
Sueli Menezes Georg Åberg
action filter_type
action union
action find
entity Georg Åberg
relation work location
action find
entity Sueli Menezes
relation work location
type administrative territorial entity
{'OR': [['Georg Åberg', 'work location', {'concept': 'administrative territorial entity'}], ['Sueli Menezes', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . { { resource:Georg_Åberg property:work_location ?m } UNION { resource:Sueli_Menezes property:work_location ?m } } }
[]
administrative territorial entity
Q1741 Q1754 Q40236
SYSTEM
Vienna, Stockholm, Manaus
Q1741 Q1754 Q40236
OR((Q6254499,P937,c(Q56061)), (Q15447580,P937,c(Q56061)))
action filter_type
action union
action find
entity Q6254499
relation P937
action find
entity Q15447580
relation P937
type Q56061
[ANSWERS] are the locations where Georg Åberg or Sueli Menezes worked
{'OR': [['Q6254499', 'P937', {'concept': 'Q56061'}], ['Q15447580', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . { { resource:Q6254499 property:P937 ?m } UNION { resource:Q15447580 property:P937 ?m } } }
Vienna Stockholm Manaus
Vienna, Stockholm and Manaus are the locations where Georg Åberg or Sueli Menezes worked
Vienna Stockholm Manaus
action filter_type
action union
action find
entity Georg Åberg
relation work location
action find
entity Sueli Menezes
relation work location
type administrative territorial entity
{'OR': [['Georg Åberg', 'work location', {'concept': 'administrative territorial entity'}], ['Sueli Menezes', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . { { resource:Georg_Åberg property:work_location ?m } UNION { resource:Sueli_Menezes property:work_location ?m } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1754
P190
Q515
USER
Which cities are twin cities of Stockholm ?
(Q1754,P190,c(Q515))
action filter_type
action find
entity Q1754
relation P190
type Q515
['Q1754', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q515 . resource:Q1754 property:P190 ?v }
Stockholm
action filter_type
action find
entity Stockholm
relation sister city
type city
['Stockholm', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:city . resource:Stockholm property:sister_city ?v }
[]
city
Q1773 Q1899 Q11194
SYSTEM
Riga, Kyiv, Sarajevo
Q3624 Q3572 Q19689 Q1899 Q1773 Q11194
(Q1754,P190,c(Q515))
action filter_type
action find
entity Q1754
relation P190
type Q515
[ANSWERS] are twin cities of Stockholm
['Q1754', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q515 . resource:Q1754 property:P190 ?v }
Addis Ababa Tunis Tirana Kyiv Riga Sarajevo
Riga, Kyiv and Sarajevo are twin cities of Stockholm
Riga Kyiv Sarajevo
action filter_type
action find
entity Stockholm
relation sister city
type city
['Stockholm', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:city . resource:Stockholm property:sister_city ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1754
P36
Q7275
USER
Which state has Stockholm as its administrative centre ?
(c(Q7275),P36,Q1754)
action filter_type
action find_reverse
entity Q1754
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q1754']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q1754 . ?y rdf:type ontology:Q7275 }
Stockholm
action filter_type
action find_reverse
entity Stockholm
relation capital
type state
[{'concept': 'state'}, 'capital', 'Stockholm']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Stockholm . ?y rdf:type ontology:state }
[]
state
Q62589
SYSTEM
Union between Sweden and Norway
Q62589
(c(Q7275),P36,Q1754)
action filter_type
action find_reverse
entity Q1754
relation P36
type Q7275
[ANSWER] has Stockholm as its administrative centre
[{'concept': 'Q7275'}, 'P36', 'Q1754']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q1754 . ?y rdf:type ontology:Q7275 }
Union between Sweden and Norway
Union between Sweden and Norway has Stockholm as its administrative centre
Union between Sweden and Norway
action filter_type
action find_reverse
entity Stockholm
relation capital
type state
[{'concept': 'state'}, 'capital', 'Stockholm']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Stockholm . ?y rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1754
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q62589,P17,c(Q15617994))
action filter_type
action find
entity Q1754
relation P17
type Q15617994
['Q62589', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1754 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Stockholm
action filter_type
action find
entity Stockholm
relation country
type designation for an administrative territorial entity
['Union between Sweden and Norway', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Stockholm property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q62589,P17,c(Q15617994))
action filter_type
action find
entity Q1754
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q62589', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1754 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Sweden
That administrative territory belongs to Sweden
Sweden
action filter_type
action find
entity Stockholm
relation country
type designation for an administrative territorial entity
['Union between Sweden and Norway', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Stockholm property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q34 Q105295
P17
Q15617994
USER
Is Sweden present in Muscoline ?
(Q34,P17,Q105295)
action is_in
entity Q105295
action find
entity Q34
relation P17
['Q34', 'P17', 'Q105295']
ASK WHERE { resource:Q34 property:P17 resource:Q105295 }
Sweden Muscoline
action is_in
entity Muscoline
action find
entity Sweden
relation country
['Sweden', 'country', 'Muscoline']
ASK WHERE { resource:Sweden property:country resource:Muscoline }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q34,P17,Q105295)
action is_in
entity Q105295
action find
entity Q34
relation P17
[ANSWER]
['Q34', 'P17', 'Q105295']
ASK WHERE { resource:Q34 property:P17 resource:Q105295 }
No
action is_in
entity Muscoline
action find
entity Sweden
relation country
['Sweden', 'country', 'Muscoline']
ASK WHERE { resource:Sweden property:country resource:Muscoline }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P137
Q2424752
USER
Which products were managed by Sweden ?
(c(Q2424752),P137,Q34)
action filter_type
action find_reverse
entity Q34
relation P137
type Q2424752
[{'concept': 'Q2424752'}, 'P137', 'Q34']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2424752 . ?a property:P137 resource:Q34 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation operator
type product
[{'concept': 'product'}, 'operator', 'Sweden']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:product . ?a property:operator resource:Sweden }
[]
product
Q15411562 Q17907740
SYSTEM
C-130E Hercules, Sk 14
Q15411562 Q17907740
(c(Q2424752),P137,Q34)
action filter_type
action find_reverse
entity Q34
relation P137
type Q2424752
[ANSWERS] were managed by Sweden
[{'concept': 'Q2424752'}, 'P137', 'Q34']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2424752 . ?a property:P137 resource:Q34 }
C-130E Hercules Sk 14
C-130E Hercules and Sk 14 were managed by Sweden
C-130E Hercules Sk 14
action filter_type
action find_reverse
entity Sweden
relation operator
type product
[{'concept': 'product'}, 'operator', 'Sweden']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:product . ?a property:operator resource:Sweden }
[]