Simple Question (Direct)
Simple Question
Q374630
P2348
Q451967
USER
When did Lucius Cornelius Scipio Barbatus take place ?
(Q374630,P2348,c(Q451967))
action filter_type
action find
entity Q374630
relation P2348
type Q451967
['Q374630', 'P2348', {'concept': 'Q451967'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q451967 . resource:Q374630 property:P2348 ?w }
Lucius Cornelius Scipio Barbatus
action filter_type
action find
entity Lucius Cornelius Scipio Barbatus
relation period
type human action
['Lucius Cornelius Scipio Barbatus', 'period', {'concept': 'human action'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:human_action . resource:Lucius_Cornelius_Scipio_Barbatus property:period ?w }
[]
human action
Q17167
SYSTEM
Roman Republic
Q17167
(Q374630,P2348,c(Q451967))
action filter_type
action find
entity Q374630
relation P2348
type Q451967
Place Lucius Cornelius Scipio Barbatus took the [ANSWER]
['Q374630', 'P2348', {'concept': 'Q451967'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q451967 . resource:Q374630 property:P2348 ?w }
Roman Republic
Place Lucius Cornelius Scipio Barbatus took the Roman Republic
Roman Republic
action filter_type
action find
entity Lucius Cornelius Scipio Barbatus
relation period
type human action
['Lucius Cornelius Scipio Barbatus', 'period', {'concept': 'human action'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:human_action . resource:Lucius_Cornelius_Scipio_Barbatus property:period ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17167
P607
Q222405
USER
Which cold weapon did that human action engage in ?
(c(Q222405),P607,Q17167)
action filter_type
action find_reverse
entity Q17167
relation P607
type Q222405
[{'concept': 'Q222405'}, 'P607', 'Q17167']
SELECT DISTINCT ?g WHERE { ?g property:P607 resource:Q17167 . ?g rdf:type ontology:Q222405 }
Roman Republic
action filter_type
action find_reverse
entity Roman Republic
relation conflict
type cold weapon
[{'concept': 'cold weapon'}, 'conflict', 'Roman Republic']
SELECT DISTINCT ?g WHERE { ?g property:conflict resource:Roman_Republic . ?g rdf:type ontology:cold_weapon }
[]
cold weapon
Q274556
SYSTEM
gladius
Q274556
(c(Q222405),P607,Q17167)
action filter_type
action find_reverse
entity Q17167
relation P607
type Q222405
That human action engaged in the [ANSWER]
[{'concept': 'Q222405'}, 'P607', 'Q17167']
SELECT DISTINCT ?g WHERE { ?g property:P607 resource:Q17167 . ?g rdf:type ontology:Q222405 }
gladius
That human action engaged in the gladius
gladius
action filter_type
action find_reverse
entity Roman Republic
relation conflict
type cold weapon
[{'concept': 'cold weapon'}, 'conflict', 'Roman Republic']
SELECT DISTINCT ?g WHERE { ?g property:conflict resource:Roman_Republic . ?g rdf:type ontology:cold_weapon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q222405 Q17335294 Q3516658
USER
How many cold weapons are depicted in exactly 1 coats of arms or heraldic symbols ?
(c(Q17335294)|c(Q3516658),P180,c(Q222405))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q222405
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q222405
type Q3516658
value 1
[[{'concept': 'Q17335294'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q222405'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:P180 ?j . ?j rdf:type ontology:Q222405 . ?y rdf:type ontology:Q3516658 } UNION { ?y property:P180 ?j . ?j rdf:type ontology:Q222405 . ?y rdf:type ontology:Q17335294 } } GROUP BY ?j } }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type cold weapon
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type cold weapon
type heraldic symbol
value 1
[[{'concept': 'flag or coat of arms'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'cold weapon'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:depicts ?j . ?j rdf:type ontology:cold_weapon . ?y rdf:type ontology:heraldic_symbol } UNION { ?y property:depicts ?j . ?j rdf:type ontology:cold_weapon . ?y rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?j } }
[]
cold weapon flag or coat of arms heraldic symbol
SYSTEM
2
Q2003053 Q185623
(c(Q17335294)|c(Q3516658),P180,c(Q222405))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q222405
type Q17335294
action find_reverse_tuple_counts
relation P180
type Q222405
type Q3516658
value 1
[ANSWER]
[[{'concept': 'Q17335294'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q222405'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:P180 ?j . ?j rdf:type ontology:Q222405 . ?y rdf:type ontology:Q3516658 } UNION { ?y property:P180 ?j . ?j rdf:type ontology:Q222405 . ?y rdf:type ontology:Q17335294 } } GROUP BY ?j } }
lance halberd
2
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type cold weapon
type flag or coat of arms
action find_reverse_tuple_counts
relation depicts
type cold weapon
type heraldic symbol
value 1
[[{'concept': 'flag or coat of arms'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'cold weapon'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ?j ( COUNT ( ?y ) AS ?s ) WHERE { { ?y property:depicts ?j . ?j rdf:type ontology:cold_weapon . ?y rdf:type ontology:heraldic_symbol } UNION { ?y property:depicts ?j . ?j rdf:type ontology:cold_weapon . ?y rdf:type ontology:flag_or_coat_of_arms } } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17167
P710
Q1190554
USER
Which events have Roman Republic as their participant ?
(c(Q1190554),P710,Q17167)
action filter_type
action find_reverse
entity Q17167
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q17167']
SELECT DISTINCT ?q WHERE { ?q property:P710 resource:Q17167 . ?q rdf:type ontology:Q1190554 }
Roman Republic
action filter_type
action find_reverse
entity Roman Republic
relation participant
type event
[{'concept': 'event'}, 'participant', 'Roman Republic']
SELECT DISTINCT ?q WHERE { ?q property:participant resource:Roman_Republic . ?q rdf:type ontology:event }
[]
event
Q2292431 Q657620 Q774487
SYSTEM
Battle of Arretium, Battle of Noreia, Battle of Aquae Sextiae
Q1464392 Q774487 Q2292431 Q657620 Q1482311 Q776215 Q655777
(c(Q1190554),P710,Q17167)
action filter_type
action find_reverse
entity Q17167
relation P710
type Q1190554
[ANSWERS] have Roman Republic as their participant
[{'concept': 'Q1190554'}, 'P710', 'Q17167']
SELECT DISTINCT ?q WHERE { ?q property:P710 resource:Q17167 . ?q rdf:type ontology:Q1190554 }
Battle of Burdigala Battle of Aquae Sextiae Battle of Arretium Battle of Noreia Battle of Lake Vadimo Battle of Arausio Battle of the Allia
Battle of Arretium, Battle of Noreia and Battle of Aquae Sextiae have Roman Republic as their participant
Battle of Arretium Battle of Noreia Battle of Aquae Sextiae
action filter_type
action find_reverse
entity Roman Republic
relation participant
type event
[{'concept': 'event'}, 'participant', 'Roman Republic']
SELECT DISTINCT ?q WHERE { ?q property:participant resource:Roman_Republic . ?q rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17167
P20
Q502895
USER
Which person has Roman Republic as place of death ?
(c(Q502895),P20,Q17167)
action filter_type
action find_reverse
entity Q17167
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q17167']
SELECT DISTINCT ?l WHERE { ?l property:P20 resource:Q17167 . ?l rdf:type ontology:Q502895 }
Roman Republic
action filter_type
action find_reverse
entity Roman Republic
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Roman Republic']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death resource:Roman_Republic . ?l rdf:type ontology:common_name }
[]
common name
Q309637
SYSTEM
Cincinnatus
Q309637
(c(Q502895),P20,Q17167)
action filter_type
action find_reverse
entity Q17167
relation P20
type Q502895
[ANSWER] has Roman Republic as place of death
[{'concept': 'Q502895'}, 'P20', 'Q17167']
SELECT DISTINCT ?l WHERE { ?l property:P20 resource:Q17167 . ?l rdf:type ontology:Q502895 }
Cincinnatus
Cincinnatus has Roman Republic as place of death
Cincinnatus
action filter_type
action find_reverse
entity Roman Republic
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Roman Republic']
SELECT DISTINCT ?l WHERE { ?l property:place_of_death resource:Roman_Republic . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q309637
P40
Q502895
USER
Which person is an offspring of that one ?
(Q309637,P40,c(Q502895))
action filter_type
action find
entity Q309637
relation P40
type Q502895
['Q309637', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q309637 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Cincinnatus
action filter_type
action find
entity Cincinnatus
relation child
type common name
['Cincinnatus', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Cincinnatus property:child ?o . ?o rdf:type ontology:common_name }
[]
common name
Q1231761
SYSTEM
Lucio Quinzio Cincinnato
Q1231761
(Q309637,P40,c(Q502895))
action filter_type
action find
entity Q309637
relation P40
type Q502895
[ANSWER] is an offspring of that one
['Q309637', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q309637 property:P40 ?o . ?o rdf:type ontology:Q502895 }
Lucio Quinzio Cincinnato
Lucio Quinzio Cincinnato is an offspring of that one
Lucio Quinzio Cincinnato
action filter_type
action find
entity Cincinnatus
relation child
type common name
['Cincinnatus', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Cincinnatus property:child ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q309637
P27
Q1048835
USER
Which political territory does Cincinnatus belong to ?
(Q309637,P27,c(Q1048835))
action filter_type
action find
entity Q309637
relation P27
type Q1048835
['Q309637', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q309637 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Cincinnatus
action filter_type
action find
entity Cincinnatus
relation country of citizenship
type political territorial entity
['Cincinnatus', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Cincinnatus property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1747689
SYSTEM
Ancient Rome
Q1747689
(Q309637,P27,c(Q1048835))
action filter_type
action find
entity Q309637
relation P27
type Q1048835
Cincinnatus belongs to [ANSWER]
['Q309637', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q309637 property:P27 ?h . ?h rdf:type ontology:Q1048835 }
Ancient Rome
Cincinnatus belongs to Ancient Rome
Ancient Rome
action filter_type
action find
entity Cincinnatus
relation country of citizenship
type political territorial entity
['Cincinnatus', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Cincinnatus property:country_of_citizenship ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16007152
Q1048835
USER
And how about Nils Tremblay?
(Q16007152,P27,c(Q1048835))
action filter_type
action find
entity Q16007152
relation P27
type Q1048835
['Q16007152', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q16007152 property:P27 ?f }
Nils Tremblay
action filter_type
action find
entity Nils Tremblay
relation country of citizenship
type political territorial entity
['Nils Tremblay', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Nils_Tremblay property:country_of_citizenship ?f }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q16007152,P27,c(Q1048835))
action filter_type
action find
entity Q16007152
relation P27
type Q1048835
[ANSWER]
['Q16007152', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q16007152 property:P27 ?f }
Canada
Canada
action filter_type
action find
entity Nils Tremblay
relation country of citizenship
type political territorial entity
['Nils Tremblay', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Nils_Tremblay property:country_of_citizenship ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16 Q258
P530
Q15617994
USER
Does South Africa have a diplomatic relationship with Canada ?
(Q16,P530,Q258)
action is_in
entity Q258
action find
entity Q16
relation P530
['Q16', 'P530', 'Q258']
ASK WHERE { resource:Q16 property:P530 resource:Q258 }
Canada South Africa
action is_in
entity South Africa
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'South Africa']
ASK WHERE { resource:Canada property:diplomatic_relation resource:South_Africa }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16,P530,Q258)
action is_in
entity Q258
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q258']
ASK WHERE { resource:Q16 property:P530 resource:Q258 }
Yes
action is_in
entity South Africa
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'South Africa']
ASK WHERE { resource:Canada property:diplomatic_relation resource:South_Africa }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1231761 Q17167
P2348
Q451967
USER
Did Lucio Quinzio Cincinnato occur Roman Republic ?
(Q1231761,P2348,Q17167)
action is_in
entity Q17167
action find
entity Q1231761
relation P2348
['Q1231761', 'P2348', 'Q17167']
ASK WHERE { resource:Q1231761 property:P2348 resource:Q17167 }
Lucio Quinzio Cincinnato Roman Republic
action is_in
entity Roman Republic
action find
entity Lucio Quinzio Cincinnato
relation period
['Lucio Quinzio Cincinnato', 'period', 'Roman Republic']
ASK WHERE { resource:Lucio_Quinzio_Cincinnato property:period resource:Roman_Republic }
[]
human action
SYSTEM
YES
(Q1231761,P2348,Q17167)
action is_in
entity Q17167
action find
entity Q1231761
relation P2348
[ANSWER]
['Q1231761', 'P2348', 'Q17167']
ASK WHERE { resource:Q1231761 property:P2348 resource:Q17167 }
Yes
action is_in
entity Roman Republic
action find
entity Lucio Quinzio Cincinnato
relation period
['Lucio Quinzio Cincinnato', 'period', 'Roman Republic']
ASK WHERE { resource:Lucio_Quinzio_Cincinnato property:period resource:Roman_Republic }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1231761
P106
Q12737077
USER
Which occupation is the profession of that person ?
action filter_type
action find
entity Q1231761
relation P106
type Q12737077
SELECT DISTINCT ?v WHERE { resource:Q1231761 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Lucio Quinzio Cincinnato
action filter_type
action find
entity Lucio Quinzio Cincinnato
relation occupation
type occupation
SELECT DISTINCT ?v WHERE { resource:Lucio_Quinzio_Cincinnato property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
action filter_type
action find
entity Q1231761
relation P106
type Q12737077
Is [ANSWER] is the profession of that person
SELECT DISTINCT ?v WHERE { resource:Q1231761 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
politician
Is politician is the profession of that person
politician
action filter_type
action find
entity Lucio Quinzio Cincinnato
relation occupation
type occupation
SELECT DISTINCT ?v WHERE { resource:Lucio_Quinzio_Cincinnato property:occupation ?v . ?v rdf:type ontology:occupation }
[]