Simple Question (Direct)
Simple Question
Q88698
P937
Q56061
USER
Which is the work location of Leopold Ritter von Dittel ?
(Q88698,P937,c(Q56061))
action filter_type
action find
entity Q88698
relation P937
type Q56061
['Q88698', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q88698 property:P937 ?g . ?g rdf:type ontology:Q56061 }
Leopold Ritter von Dittel
action filter_type
action find
entity Leopold Ritter von Dittel
relation work location
type administrative territorial entity
['Leopold Ritter von Dittel', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Leopold_Ritter_von_Dittel property:work_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q88698,P937,c(Q56061))
action filter_type
action find
entity Q88698
relation P937
type Q56061
[ANSWER] is the work location of Leopold Ritter von Dittel
['Q88698', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q88698 property:P937 ?g . ?g rdf:type ontology:Q56061 }
Vienna
Vienna is the work location of Leopold Ritter von Dittel
Vienna
action filter_type
action find
entity Leopold Ritter von Dittel
relation work location
type administrative territorial entity
['Leopold Ritter von Dittel', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Leopold_Ritter_von_Dittel property:work_location ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q88698
P20
Q56061
USER
Where did Leopold Ritter von Dittel die ?
(Q88698,P20,c(Q56061))
action filter_type
action find
entity Q88698
relation P20
type Q56061
['Q88698', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q88698 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Leopold Ritter von Dittel
action filter_type
action find
entity Leopold Ritter von Dittel
relation place of death
type administrative territorial entity
['Leopold Ritter von Dittel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Leopold_Ritter_von_Dittel property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q88698,P20,c(Q56061))
action filter_type
action find
entity Q88698
relation P20
type Q56061
Leopold Ritter von Dittel died in [ANSWER]
['Q88698', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q88698 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Vienna
Leopold Ritter von Dittel died in Vienna
Vienna
action filter_type
action find
entity Leopold Ritter von Dittel
relation place of death
type administrative territorial entity
['Leopold Ritter von Dittel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Leopold_Ritter_von_Dittel property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q88698
P106
Q12737077
USER
Which occupations are the professions of Leopold Ritter von Dittel ?
(Q88698,P106,c(Q12737077))
action filter_type
action find
entity Q88698
relation P106
type Q12737077
['Q88698', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q88698 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Leopold Ritter von Dittel
action filter_type
action find
entity Leopold Ritter von Dittel
relation occupation
type occupation
['Leopold Ritter von Dittel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Leopold_Ritter_von_Dittel property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q1622272 Q17345122
SYSTEM
university teacher, urologist
Q1622272 Q17345122
(Q88698,P106,c(Q12737077))
action filter_type
action find
entity Q88698
relation P106
type Q12737077
The professions of Leopold Ritter von Dittel are a [ANSWERS]
['Q88698', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q88698 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
university teacher urologist
The professions of Leopold Ritter von Dittel are a university teacher and urologist
university teacher urologist
action filter_type
action find
entity Leopold Ritter von Dittel
relation occupation
type occupation
['Leopold Ritter von Dittel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Leopold_Ritter_von_Dittel property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q88698
P19
Q515
USER
Where was that person born ?
(Q1622272,P19,c(Q515)) (Q17345122,P19,c(Q515))
action filter_type
action find
entity Q88698
relation P19
type Q515
['Q1622272', 'P19', {'concept': 'Q515'}] ['Q17345122', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q515 . resource:Q88698 property:P19 ?p }
Leopold Ritter von Dittel
action filter_type
action find
entity Leopold Ritter von Dittel
relation place of birth
type city
['university teacher', 'place of birth', {'concept': 'city'}] ['urologist', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:city . resource:Leopold_Ritter_von_Dittel property:place_of_birth ?p }
[]
city
Q740915
SYSTEM
Fulnek
Q740915
(Q1622272,P19,c(Q515)) (Q17345122,P19,c(Q515))
action filter_type
action find
entity Q88698
relation P19
type Q515
That person was born in [ANSWER]
['Q1622272', 'P19', {'concept': 'Q515'}] ['Q17345122', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q515 . resource:Q88698 property:P19 ?p }
Fulnek
That person was born in Fulnek
Fulnek
action filter_type
action find
entity Leopold Ritter von Dittel
relation place of birth
type city
['university teacher', 'place of birth', {'concept': 'city'}] ['urologist', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:city . resource:Leopold_Ritter_von_Dittel property:place_of_birth ?p }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q740915 Q213 Q52169
P17
Q15617994
USER
Is that city located in Czech Republic and Nardò ?
(Q740915,P17,Q213) (Q740915,P17,Q52169)
action is_in
entity Q740915
action intersection
action find_reverse
entity Q213
relation P17
action find_reverse
entity Q52169
relation P17
['Q740915', 'P17', 'Q213'] ['Q740915', 'P17', 'Q52169']
ASK WHERE { resource:Q740915 property:P17 resource:Q213 . resource:Q740915 property:P17 resource:Q52169 }
Fulnek Czech Republic Nardò
action is_in
entity Fulnek
action intersection
action find_reverse
entity Czech Republic
relation country
action find_reverse
entity Nardò
relation country
['Fulnek', 'country', 'Czech Republic'] ['Fulnek', 'country', 'Nardò']
ASK WHERE { resource:Fulnek property:country resource:Czech_Republic . resource:Fulnek property:country resource:Nardò }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q740915,P17,Q213) (Q740915,P17,Q52169)
action is_in
entity Q740915
action intersection
action find_reverse
entity Q213
relation P17
action find_reverse
entity Q52169
relation P17
[ANSWER]
['Q740915', 'P17', 'Q213'] ['Q740915', 'P17', 'Q52169']
ASK WHERE { resource:Q740915 property:P17 resource:Q213 . resource:Q740915 property:P17 resource:Q52169 }
YES and NO respectively
action is_in
entity Fulnek
action intersection
action find_reverse
entity Czech Republic
relation country
action find_reverse
entity Nardò
relation country
['Fulnek', 'country', 'Czech Republic'] ['Fulnek', 'country', 'Nardò']
ASK WHERE { resource:Fulnek property:country resource:Czech_Republic . resource:Fulnek property:country resource:Nardò }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q515 Q13220204 Q15617994
USER
How many cities are the capitals of approximately 2 administrative country subdivisions or administrative territories ?
(c(Q13220204)|c(Q15617994),P36,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P36
type Q515
type Q15617994
value 2
[[{'concept': 'Q13220204'}, {'concept': 'Q15617994'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?t WHERE { { ?r property:P36 ?t . ?t rdf:type ontology:Q515 . ?r rdf:type ontology:Q13220204 } UNION { ?t rdf:type ontology:Q515 . ?r rdf:type ontology:Q15617994 . ?r property:P36 ?t } } GROUP BY ?t } }
action count
action approx
action union
action find_reverse_tuple_counts
relation capital
type city
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation capital
type city
type designation for an administrative territorial entity
value 2
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'designation for an administrative territorial entity'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?t WHERE { { ?r property:capital ?t . ?t rdf:type ontology:city . ?r rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?t rdf:type ontology:city . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:capital ?t } } GROUP BY ?t } }
[]
city second-level administrative country subdivision designation for an administrative territorial entity
SYSTEM
10
Q19689 Q23482 Q34261 Q1773 Q11194 Q3768 Q6582 Q25475 Q1530 Q2900
(c(Q13220204)|c(Q15617994),P36,c(Q515))
action count
action approx
action union
action find_reverse_tuple_counts
relation P36
type Q515
type Q13220204
action find_reverse_tuple_counts
relation P36
type Q515
type Q15617994
value 2
[ANSWER]
[[{'concept': 'Q13220204'}, {'concept': 'Q15617994'}], 'P36', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?t WHERE { { ?r property:P36 ?t . ?t rdf:type ontology:Q515 . ?r rdf:type ontology:Q13220204 } UNION { ?t rdf:type ontology:Q515 . ?r rdf:type ontology:Q15617994 . ?r property:P36 ?t } } GROUP BY ?t } }
Tirana Marseille Port-au-Prince Riga Sarajevo Yamoussoukro Carcassonne Batumi Baghdad Quito
10
action count
action approx
action union
action find_reverse_tuple_counts
relation capital
type city
type second-level administrative country subdivision
action find_reverse_tuple_counts
relation capital
type city
type designation for an administrative territorial entity
value 2
[[{'concept': 'second-level administrative country subdivision'}, {'concept': 'designation for an administrative territorial entity'}], 'capital', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { FILTER ( ?f = 2 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?t WHERE { { ?r property:capital ?t . ?t rdf:type ontology:city . ?r rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?t rdf:type ontology:city . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:capital ?t } } GROUP BY ?t } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q271417
P190
Q56061
USER
Which administrative territories are twin town of Funabashi ?
(c(Q56061),P190,Q271417)
action filter_type
action find
entity Q271417
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q271417']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q271417 property:P190 ?i }
Funabashi
action filter_type
action find
entity Funabashi
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Funabashi']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Funabashi property:sister_city ?i }
[]
administrative territorial entity
Q491114 Q25331
SYSTEM
Hayward, Odense
Q491114 Q25331
(c(Q56061),P190,Q271417)
action filter_type
action find
entity Q271417
relation P190
type Q56061
[ANSWERS] are twin town of Funabashi
[{'concept': 'Q56061'}, 'P190', 'Q271417']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q271417 property:P190 ?i }
Hayward Odense
Hayward and Odense are twin town of Funabashi
Hayward Odense
action filter_type
action find
entity Funabashi
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Funabashi']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Funabashi property:sister_city ?i }
[]