Simple Question (Direct)
Simple Question
Q17525014
P106
Q12737077
USER
What are the job of Ludwig Haller-Rechtern ?
(Q17525014,P106,c(Q12737077))
action filter_type
action find
entity Q17525014
relation P106
type Q12737077
['Q17525014', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q17525014 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Ludwig Haller-Rechtern
action filter_type
action find
entity Ludwig Haller-Rechtern
relation occupation
type occupation
['Ludwig Haller-Rechtern', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Ludwig_Haller-Rechtern property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q1028181 Q15296811 Q1622272
SYSTEM
painter, draughtsperson, university teacher
Q1028181 Q15296811 Q1622272
(Q17525014,P106,c(Q12737077))
action filter_type
action find
entity Q17525014
relation P106
type Q12737077
The job of Ludwig Haller-Rechtern are the [ANSWERS]
['Q17525014', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q17525014 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
painter draughtsperson university teacher
The job of Ludwig Haller-Rechtern are the painter, draughtsperson and university teacher
painter draughtsperson university teacher
action filter_type
action find
entity Ludwig Haller-Rechtern
relation occupation
type occupation
['Ludwig Haller-Rechtern', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Ludwig_Haller-Rechtern property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17525014
P27
Q1048835
USER
Which political territory is the country of citizenship of Ludwig Haller-Rechtern ?
(Q17525014,P27,c(Q1048835))
action filter_type
action find
entity Q17525014
relation P27
type Q1048835
['Q17525014', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q17525014 property:P27 ?p . ?p rdf:type ontology:Q1048835 }
Ludwig Haller-Rechtern
action filter_type
action find
entity Ludwig Haller-Rechtern
relation country of citizenship
type political territorial entity
['Ludwig Haller-Rechtern', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Ludwig_Haller-Rechtern property:country_of_citizenship ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q17525014,P27,c(Q1048835))
action filter_type
action find
entity Q17525014
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Ludwig Haller-Rechtern
['Q17525014', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { resource:Q17525014 property:P27 ?p . ?p rdf:type ontology:Q1048835 }
Germany
Germany is the country of citizenship of Ludwig Haller-Rechtern
Germany
action filter_type
action find
entity Ludwig Haller-Rechtern
relation country of citizenship
type political territorial entity
['Ludwig Haller-Rechtern', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Ludwig_Haller-Rechtern property:country_of_citizenship ?p . ?p rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17525014
P937
Q515
USER
Which city is the work location of that person ?
(Q183,P937,c(Q515))
action filter_type
action find
entity Q17525014
relation P937
type Q515
['Q183', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q17525014 property:P937 ?k . ?k rdf:type ontology:Q515 }
Ludwig Haller-Rechtern
action filter_type
action find
entity Ludwig Haller-Rechtern
relation work location
type city
['Germany', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Ludwig_Haller-Rechtern property:work_location ?k . ?k rdf:type ontology:city }
[]
city
Q1731
SYSTEM
Dresden
Q1731
(Q183,P937,c(Q515))
action filter_type
action find
entity Q17525014
relation P937
type Q515
[ANSWER] is the work location of that person
['Q183', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { resource:Q17525014 property:P937 ?k . ?k rdf:type ontology:Q515 }
Dresden
Dresden is the work location of that person
Dresden
action filter_type
action find
entity Ludwig Haller-Rechtern
relation work location
type city
['Germany', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { resource:Ludwig_Haller-Rechtern property:work_location ?k . ?k rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1731 Q2060295
P937
Q502895
USER
Does Paul Hundius have that city as work location ?
(Q2060295,P937,Q1731)
action is_in
entity Q2060295
action find
entity Q1731
relation P937
['Q2060295', 'P937', 'Q1731']
ASK WHERE { resource:Q1731 property:P937 resource:Q2060295 }
Dresden Paul Hundius
action is_in
entity Paul Hundius
action find
entity Dresden
relation work location
['Paul Hundius', 'work location', 'Dresden']
ASK WHERE { resource:Dresden property:work_location resource:Paul_Hundius }
[]
common name
SYSTEM
NO
(Q2060295,P937,Q1731)
action is_in
entity Q2060295
action find
entity Q1731
relation P937
[ANSWER]
['Q2060295', 'P937', 'Q1731']
ASK WHERE { resource:Q1731 property:P937 resource:Q2060295 }
No
action is_in
entity Paul Hundius
action find
entity Dresden
relation work location
['Paul Hundius', 'work location', 'Dresden']
ASK WHERE { resource:Dresden property:work_location resource:Paul_Hundius }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1731
P119
Q502895
USER
Who has that city as his/her tomb ?
action filter_type
action find_reverse
entity Q1731
relation P119
type Q502895
SELECT DISTINCT ?q WHERE { ?q property:P119 resource:Q1731 . ?q rdf:type ontology:Q502895 }
Dresden
action filter_type
action find_reverse
entity Dresden
relation place of burial
type common name
SELECT DISTINCT ?q WHERE { ?q property:place_of_burial resource:Dresden . ?q rdf:type ontology:common_name }
[]
common name
Q1635734
SYSTEM
Hugo Spieler
Q1635734
action filter_type
action find_reverse
entity Q1731
relation P119
type Q502895
[ANSWER] has that city as his/her tomb
SELECT DISTINCT ?q WHERE { ?q property:P119 resource:Q1731 . ?q rdf:type ontology:Q502895 }
Hugo Spieler
Hugo Spieler has that city as his/her tomb
Hugo Spieler
action filter_type
action find_reverse
entity Dresden
relation place of burial
type common name
SELECT DISTINCT ?q WHERE { ?q property:place_of_burial resource:Dresden . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
How many works had their voice dubbing done by exactly 3 people ?
(c(Q386724),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 3
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?o ) WHERE { ?d property:P725 ?c . ?d rdf:type ontology:Q386724 . ?c rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?o = 3 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type work
type common name
value 3
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?o ) WHERE { ?d property:voice_actor ?c . ?d rdf:type ontology:work . ?c rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?o = 3 ) }
[]
common name work
SYSTEM
1
Q24175397
(c(Q386724),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 3
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?o ) WHERE { ?d property:P725 ?c . ?d rdf:type ontology:Q386724 . ?c rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?o = 3 ) }
Capitán América: El primer vengador
1
action count
action equal
action find_tuple_counts
relation voice actor
type work
type common name
value 3
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?o ) WHERE { ?d property:voice_actor ?c . ?d rdf:type ontology:work . ?c rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?o = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1731
P137
Q483110
USER
Which stadium was managed by Dresden ?
(c(Q483110),P137,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P137
type Q483110
[{'concept': 'Q483110'}, 'P137', 'Q1731']
SELECT DISTINCT ?r WHERE { ?r property:P137 resource:Q1731 . ?r rdf:type ontology:Q483110 }
Dresden
action filter_type
action find_reverse
entity Dresden
relation operator
type stadium
[{'concept': 'stadium'}, 'operator', 'Dresden']
SELECT DISTINCT ?r WHERE { ?r property:operator resource:Dresden . ?r rdf:type ontology:stadium }
[]
stadium
Q470392
SYSTEM
Heinz-Steyer-Stadion
Q470392
(c(Q483110),P137,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P137
type Q483110
[ANSWER] was managed by Dresden
[{'concept': 'Q483110'}, 'P137', 'Q1731']
SELECT DISTINCT ?r WHERE { ?r property:P137 resource:Q1731 . ?r rdf:type ontology:Q483110 }
Heinz-Steyer-Stadion
Heinz-Steyer-Stadion was managed by Dresden
Heinz-Steyer-Stadion
action filter_type
action find_reverse
entity Dresden
relation operator
type stadium
[{'concept': 'stadium'}, 'operator', 'Dresden']
SELECT DISTINCT ?r WHERE { ?r property:operator resource:Dresden . ?r rdf:type ontology:stadium }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1731
P36
Q7275
USER
Which state consists of Dresden as its capital ?
(c(Q7275),P36,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q1731']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q1731 . ?e rdf:type ontology:Q7275 }
Dresden
action filter_type
action find_reverse
entity Dresden
relation capital
type state
[{'concept': 'state'}, 'capital', 'Dresden']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Dresden . ?e rdf:type ontology:state }
[]
state
Q153015
SYSTEM
Kingdom of Saxony
Q153015
(c(Q7275),P36,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P36
type Q7275
The [ANSWER] consists of Dresden as its capital
[{'concept': 'Q7275'}, 'P36', 'Q1731']
SELECT DISTINCT ?e WHERE { ?e property:P36 resource:Q1731 . ?e rdf:type ontology:Q7275 }
Kingdom of Saxony
The Kingdom of Saxony consists of Dresden as its capital
Kingdom of Saxony
action filter_type
action find_reverse
entity Dresden
relation capital
type state
[{'concept': 'state'}, 'capital', 'Dresden']
SELECT DISTINCT ?e WHERE { ?e property:capital resource:Dresden . ?e rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1731
P1376
Q1048835
USER
Which political territory has that city as its county seat ?
(Q153015,P1376,c(Q1048835))
action filter_type
action find
entity Q1731
relation P1376
type Q1048835
['Q153015', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q1731 property:P1376 ?x . ?x rdf:type ontology:Q1048835 }
Dresden
action filter_type
action find
entity Dresden
relation capital of
type political territorial entity
['Kingdom of Saxony', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Dresden property:capital_of ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q24174
SYSTEM
Dresden Government Region
Q24174
(Q153015,P1376,c(Q1048835))
action filter_type
action find
entity Q1731
relation P1376
type Q1048835
[ANSWER] has that city as its county seat
['Q153015', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q1731 property:P1376 ?x . ?x rdf:type ontology:Q1048835 }
Dresden Government Region
Dresden Government Region has that city as its county seat
Dresden Government Region
action filter_type
action find
entity Dresden
relation capital of
type political territorial entity
['Kingdom of Saxony', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Dresden property:capital_of ?x . ?x rdf:type ontology:political_territorial_entity }
[]