Simple Question (Direct)
Simple Question
Q7198
P27
Q1048835
USER
Which political territory is the native country of Ovid ?
(Q7198,P27,c(Q1048835))
action filter_type
action find
entity Q7198
relation P27
type Q1048835
['Q7198', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q7198 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Ovid
action filter_type
action find
entity Ovid
relation country of citizenship
type political territorial entity
['Ovid', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ovid property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1747689
SYSTEM
Ancient Rome
Q1747689
(Q7198,P27,c(Q1048835))
action filter_type
action find
entity Q7198
relation P27
type Q1048835
[ANSWER] is the native country of Ovid
['Q7198', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q7198 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Ancient Rome
Ancient Rome is the native country of Ovid
Ancient Rome
action filter_type
action find
entity Ovid
relation country of citizenship
type political territorial entity
['Ovid', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ovid property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7198
P2348
Q3024240
USER
When did Ovid occur ?
(Q7198,P2348,c(Q3024240))
action filter_type
action find
entity Q7198
relation P2348
type Q3024240
['Q7198', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?o WHERE { resource:Q7198 property:P2348 ?o . ?o rdf:type ontology:Q3024240 }
Ovid
action filter_type
action find
entity Ovid
relation period
type former country
['Ovid', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?o WHERE { resource:Ovid property:period ?o . ?o rdf:type ontology:former_country }
[]
former country
Q2277
SYSTEM
Roman Empire
Q2277
(Q7198,P2348,c(Q3024240))
action filter_type
action find
entity Q7198
relation P2348
type Q3024240
Ovid occurred Holy [ANSWER]
['Q7198', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ?o WHERE { resource:Q7198 property:P2348 ?o . ?o rdf:type ontology:Q3024240 }
Roman Empire
Ovid occurred Holy Roman Empire
Roman Empire
action filter_type
action find
entity Ovid
relation period
type former country
['Ovid', 'period', {'concept': 'former country'}]
SELECT DISTINCT ?o WHERE { resource:Ovid property:period ?o . ?o rdf:type ontology:former_country }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7198
P674
Q223393
USER
Which literary genre is that person a character of ?
(c(Q223393),P674,Q2277)
action filter_type
action find_reverse
entity Q7198
relation P674
type Q223393
[{'concept': 'Q223393'}, 'P674', 'Q2277']
SELECT DISTINCT ?f WHERE { ?f property:P674 resource:Q7198 . ?f rdf:type ontology:Q223393 }
Ovid
action filter_type
action find_reverse
entity Ovid
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'Roman Empire']
SELECT DISTINCT ?f WHERE { ?f property:characters resource:Ovid . ?f rdf:type ontology:literary_genre }
[]
literary genre
Q40185
SYSTEM
The Divine Comedy
Q40185
(c(Q223393),P674,Q2277)
action filter_type
action find_reverse
entity Q7198
relation P674
type Q223393
[ANSWER] is that person a character of
[{'concept': 'Q223393'}, 'P674', 'Q2277']
SELECT DISTINCT ?f WHERE { ?f property:P674 resource:Q7198 . ?f rdf:type ontology:Q223393 }
The Divine Comedy
The Divine Comedy is that person a character of
The Divine Comedy
action filter_type
action find_reverse
entity Ovid
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'Roman Empire']
SELECT DISTINCT ?f WHERE { ?f property:characters resource:Ovid . ?f rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40185
P180
Q838948
USER
Which work of art demonstrates that literary genre ?
(c(Q838948),P180,Q40185)
action filter_type
action find_reverse
entity Q40185
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q40185']
SELECT DISTINCT ?t WHERE { ?t property:P180 resource:Q40185 . ?t rdf:type ontology:Q838948 }
The Divine Comedy
action filter_type
action find_reverse
entity The Divine Comedy
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'The Divine Comedy']
SELECT DISTINCT ?t WHERE { ?t property:depicts resource:The_Divine_Comedy . ?t rdf:type ontology:work_of_art }
[]
work of art
Q16025108
SYSTEM
Dante Alighieri
Q16025108
(c(Q838948),P180,Q40185)
action filter_type
action find_reverse
entity Q40185
relation P180
type Q838948
[ANSWER] demonstrates that literary genre
[{'concept': 'Q838948'}, 'P180', 'Q40185']
SELECT DISTINCT ?t WHERE { ?t property:P180 resource:Q40185 . ?t rdf:type ontology:Q838948 }
Dante Alighieri
Dante Alighieri demonstrates that literary genre
Dante Alighieri
action filter_type
action find_reverse
entity The Divine Comedy
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'The Divine Comedy']
SELECT DISTINCT ?t WHERE { ?t property:depicts resource:The_Divine_Comedy . ?t rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P180
Q502895 Q223393
USER
How many people and literary genres are demonstrated in that work of art ?
(Q16025108,P180,c(Q502895)) (Q16025108,P180,c(Q223393)) (Q16025108,P180,c(Q502895)) (Q16025108,P180,c(Q223393))
action count
action union
action filter_type
action find
entity Q16025108
relation P180
type Q502895
action filter_type
action find
entity Q16025108
relation P180
type Q223393
['Q16025108', 'P180', {'concept': 'Q502895'}] ['Q16025108', 'P180', {'concept': 'Q223393'}] ['Q16025108', 'P180', {'concept': 'Q502895'}] ['Q16025108', 'P180', {'concept': 'Q223393'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { ?c rdf:type ontology:Q502895 . resource:Q16025108 property:P180 ?c } UNION { resource:Q16025108 property:P180 ?c . ?c rdf:type ontology:Q223393 } }
action count
action union
action filter_type
action find
entity Dante Alighieri
relation depicts
type common name
action filter_type
action find
entity Dante Alighieri
relation depicts
type literary genre
['Dante Alighieri', 'depicts', {'concept': 'common name'}] ['Dante Alighieri', 'depicts', {'concept': 'literary genre'}] ['Dante Alighieri', 'depicts', {'concept': 'common name'}] ['Dante Alighieri', 'depicts', {'concept': 'literary genre'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { ?c rdf:type ontology:common_name . resource:Dante_Alighieri property:depicts ?c } UNION { resource:Dante_Alighieri property:depicts ?c . ?c rdf:type ontology:literary_genre } }
[]
common name literary genre
SYSTEM
1 people and 1 literary genres
Q40185 Q1067
(Q16025108,P180,c(Q502895)) (Q16025108,P180,c(Q223393)) (Q16025108,P180,c(Q502895)) (Q16025108,P180,c(Q223393))
action count
action union
action filter_type
action find
entity Q16025108
relation P180
type Q502895
action filter_type
action find
entity Q16025108
relation P180
type Q223393
[ANSWER]
['Q16025108', 'P180', {'concept': 'Q502895'}] ['Q16025108', 'P180', {'concept': 'Q223393'}] ['Q16025108', 'P180', {'concept': 'Q502895'}] ['Q16025108', 'P180', {'concept': 'Q223393'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { ?c rdf:type ontology:Q502895 . resource:Q16025108 property:P180 ?c } UNION { resource:Q16025108 property:P180 ?c . ?c rdf:type ontology:Q223393 } }
The Divine Comedy Dante Alighieri
1 people and 1 literary genres
action count
action union
action filter_type
action find
entity Dante Alighieri
relation depicts
type common name
action filter_type
action find
entity Dante Alighieri
relation depicts
type literary genre
['Dante Alighieri', 'depicts', {'concept': 'common name'}] ['Dante Alighieri', 'depicts', {'concept': 'literary genre'}] ['Dante Alighieri', 'depicts', {'concept': 'common name'}] ['Dante Alighieri', 'depicts', {'concept': 'literary genre'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { { ?c rdf:type ontology:common_name . resource:Dante_Alighieri property:depicts ?c } UNION { resource:Dante_Alighieri property:depicts ?c . ?c rdf:type ontology:literary_genre } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16025108
P17
Q15617994
USER
How many administrative territories are Dante Alighieri located in ?
(Q16025108,P17,c(Q15617994))
action count
action filter_type
action find
entity Q16025108
relation P17
type Q15617994
['Q16025108', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q16025108 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Dante Alighieri
action count
action filter_type
action find
entity Dante Alighieri
relation country
type designation for an administrative territorial entity
['Dante Alighieri', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Dante_Alighieri property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q16025108,P17,c(Q15617994))
action count
action filter_type
action find
entity Q16025108
relation P17
type Q15617994
[ANSWER]
['Q16025108', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Q16025108 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Dante Alighieri
relation country
type designation for an administrative territorial entity
['Dante Alighieri', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { resource:Dante_Alighieri property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2421310
Q15617994
USER
And how about Negur?
(Q2421310,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2421310
relation P17
type Q15617994
['Q2421310', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q2421310 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Negur
action count
action filter_type
action find
entity Negur
relation country
type designation for an administrative territorial entity
['Negur', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Negur property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q2421310,P17,c(Q15617994))
action count
action filter_type
action find
entity Q2421310
relation P17
type Q15617994
[ANSWER]
['Q2421310', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Q2421310 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Negur
relation country
type designation for an administrative territorial entity
['Negur', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { resource:Negur property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2277 Q12544
P2348
Q502895
USER
How many people happened in the historical era of Roman Empire and Byzantine Empire ?
(c(Q502895),P2348,Q2277) (c(Q502895),P2348,Q12544)
action count
action intersection
action filter_type
action find_reverse
entity Q2277
relation P2348
type Q502895
action filter_type
action find_reverse
entity Q12544
relation P2348
type Q502895
[{'concept': 'Q502895'}, 'P2348', 'Q2277'] [{'concept': 'Q502895'}, 'P2348', 'Q12544']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:P2348 resource:Q2277 . ?w rdf:type ontology:Q502895 . ?w property:P2348 resource:Q12544 . ?w rdf:type ontology:Q502895 }
Roman Empire Byzantine Empire
action count
action intersection
action filter_type
action find_reverse
entity Roman Empire
relation period
type common name
action filter_type
action find_reverse
entity Byzantine Empire
relation period
type common name
[{'concept': 'common name'}, 'period', 'Roman Empire'] [{'concept': 'common name'}, 'period', 'Byzantine Empire']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:period resource:Roman_Empire . ?w rdf:type ontology:common_name . ?w property:period resource:Byzantine_Empire . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
7
Q31556 Q41613 Q181764 Q31491 Q173470 Q183445 Q183452
(c(Q502895),P2348,Q2277) (c(Q502895),P2348,Q12544)
action count
action intersection
action filter_type
action find_reverse
entity Q2277
relation P2348
type Q502895
action filter_type
action find_reverse
entity Q12544
relation P2348
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P2348', 'Q2277'] [{'concept': 'Q502895'}, 'P2348', 'Q12544']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:P2348 resource:Q2277 . ?w rdf:type ontology:Q502895 . ?w property:P2348 resource:Q12544 . ?w rdf:type ontology:Q502895 }
Phocas Constans II Maurice Tiberius II Constantine Anastasius I Justin I Zeno
7
action count
action intersection
action filter_type
action find_reverse
entity Roman Empire
relation period
type common name
action filter_type
action find_reverse
entity Byzantine Empire
relation period
type common name
[{'concept': 'common name'}, 'period', 'Roman Empire'] [{'concept': 'common name'}, 'period', 'Byzantine Empire']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { ?w property:period resource:Roman_Empire . ?w rdf:type ontology:common_name . ?w property:period resource:Byzantine_Empire . ?w rdf:type ontology:common_name }
[]