Simple Question (Direct)
Simple Question
Q1697005
P937
Q56061
USER
Where did Johanna Scheringer work ?
(Q1697005,P937,c(Q56061))
action filter_type
action find
entity Q1697005
relation P937
type Q56061
['Q1697005', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1697005 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Johanna Scheringer
action filter_type
action find
entity Johanna Scheringer
relation work location
type administrative territorial entity
['Johanna Scheringer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Johanna_Scheringer property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1729
SYSTEM
Erfurt
Q1729
(Q1697005,P937,c(Q56061))
action filter_type
action find
entity Q1697005
relation P937
type Q56061
Johanna Scheringer worked in [ANSWER]
['Q1697005', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q1697005 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Erfurt
Johanna Scheringer worked in Erfurt
Erfurt
action filter_type
action find
entity Johanna Scheringer
relation work location
type administrative territorial entity
['Johanna Scheringer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Johanna_Scheringer property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1697005
P734
Q82799
USER
Which name is associated with Johanna Scheringer ?
(Q1697005,P734,c(Q82799))
action filter_type
action find
entity Q1697005
relation P734
type Q82799
['Q1697005', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q1697005 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Johanna Scheringer
action filter_type
action find
entity Johanna Scheringer
relation family name
type name
['Johanna Scheringer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Johanna_Scheringer property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q23639154
SYSTEM
Scheringer
Q23639154
(Q1697005,P734,c(Q82799))
action filter_type
action find
entity Q1697005
relation P734
type Q82799
Inger [ANSWER] is associated with Johanna [ANSWER]
['Q1697005', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q1697005 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Scheringer
Inger Scheringer is associated with Johanna Scheringer
Scheringer
action filter_type
action find
entity Johanna Scheringer
relation family name
type name
['Johanna Scheringer', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Johanna_Scheringer property:family_name ?j . ?j rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1697005
P102
Q7278
USER
Which political party is that person a member of ?
(Q23639154,P102,c(Q7278))
action filter_type
action find
entity Q1697005
relation P102
type Q7278
['Q23639154', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q7278 . resource:Q1697005 property:P102 ?m }
Johanna Scheringer
action filter_type
action find
entity Johanna Scheringer
relation member of political party
type political party
['Scheringer', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_party . resource:Johanna_Scheringer property:member_of_political_party ?m }
[]
political party
Q148861
SYSTEM
German Communist Party
Q148861
(Q23639154,P102,c(Q7278))
action filter_type
action find
entity Q1697005
relation P102
type Q7278
The [ANSWER] is that person a member of
['Q23639154', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q7278 . resource:Q1697005 property:P102 ?m }
German Communist Party
The German Communist Party is that person a member of
German Communist Party
action filter_type
action find
entity Johanna Scheringer
relation member of political party
type political party
['Scheringer', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_party . resource:Johanna_Scheringer property:member_of_political_party ?m }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q148861 Q5252011 Q2066
P159
Q56061
USER
Does that political party have its HQ location at Deh Bala and Essen ?
(Q148861,P159,Q5252011) (Q148861,P159,Q2066)
action is_in
entity Q148861
action intersection
action find_reverse
entity Q5252011
relation P159
action find_reverse
entity Q2066
relation P159
['Q148861', 'P159', 'Q5252011'] ['Q148861', 'P159', 'Q2066']
ASK WHERE { resource:Q148861 property:P159 resource:Q5252011 . resource:Q148861 property:P159 resource:Q2066 }
German Communist Party Deh Bala Essen
action is_in
entity German Communist Party
action intersection
action find_reverse
entity Deh Bala
relation headquarters location
action find_reverse
entity Essen
relation headquarters location
['German Communist Party', 'headquarters location', 'Deh Bala'] ['German Communist Party', 'headquarters location', 'Essen']
ASK WHERE { resource:German_Communist_Party property:headquarters_location resource:Deh_Bala . resource:German_Communist_Party property:headquarters_location resource:Essen }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q148861,P159,Q5252011) (Q148861,P159,Q2066)
action is_in
entity Q148861
action intersection
action find_reverse
entity Q5252011
relation P159
action find_reverse
entity Q2066
relation P159
[ANSWER]
['Q148861', 'P159', 'Q5252011'] ['Q148861', 'P159', 'Q2066']
ASK WHERE { resource:Q148861 property:P159 resource:Q5252011 . resource:Q148861 property:P159 resource:Q2066 }
NO and YES respectively
action is_in
entity German Communist Party
action intersection
action find_reverse
entity Deh Bala
relation headquarters location
action find_reverse
entity Essen
relation headquarters location
['German Communist Party', 'headquarters location', 'Deh Bala'] ['German Communist Party', 'headquarters location', 'Essen']
ASK WHERE { resource:German_Communist_Party property:headquarters_location resource:Deh_Bala . resource:German_Communist_Party property:headquarters_location resource:Essen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148861
P17
Q1048835
USER
Which political territory is that political party situated in ?
action filter_type
action find
entity Q148861
relation P17
type Q1048835
SELECT DISTINCT ?c WHERE { resource:Q148861 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
German Communist Party
action filter_type
action find
entity German Communist Party
relation country
type political territorial entity
SELECT DISTINCT ?c WHERE { resource:German_Communist_Party property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
action filter_type
action find
entity Q148861
relation P17
type Q1048835
That political party is situated in [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q148861 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Germany
That political party is situated in Germany
Germany
action filter_type
action find
entity German Communist Party
relation country
type political territorial entity
SELECT DISTINCT ?c WHERE { resource:German_Communist_Party property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1729
P1376
Q1048835
USER
Which political territory has Erfurt has its center of administration ?
(Q1729,P1376,c(Q1048835))
action filter_type
action find
entity Q1729
relation P1376
type Q1048835
['Q1729', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q1729 property:P1376 ?m . ?m rdf:type ontology:Q1048835 }
Erfurt
action filter_type
action find
entity Erfurt
relation capital of
type political territorial entity
['Erfurt', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Erfurt property:capital_of ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q48054
SYSTEM
Erfurt
Q48054
(Q1729,P1376,c(Q1048835))
action filter_type
action find
entity Q1729
relation P1376
type Q1048835
Had [ANSWER] has [ANSWER] has its center of administration
['Q1729', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q1729 property:P1376 ?m . ?m rdf:type ontology:Q1048835 }
Erfurt
Had Erfurt has Erfurt has its center of administration
Erfurt
action filter_type
action find
entity Erfurt
relation capital of
type political territorial entity
['Erfurt', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Erfurt property:capital_of ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q763662
Q1048835
USER
And how about Coracora?
(Q763662,P1376,c(Q1048835))
action filter_type
action find
entity Q763662
relation P1376
type Q1048835
['Q763662', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q763662 property:P1376 ?j . ?j rdf:type ontology:Q1048835 }
Coracora
action filter_type
action find
entity Coracora
relation capital of
type political territorial entity
['Coracora', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Coracora property:capital_of ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q3825827
SYSTEM
Coracora District
Q3825827
(Q763662,P1376,c(Q1048835))
action filter_type
action find
entity Q763662
relation P1376
type Q1048835
[ANSWER]
['Q763662', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q763662 property:P1376 ?j . ?j rdf:type ontology:Q1048835 }
Coracora District
Coracora District
action filter_type
action find
entity Coracora
relation capital of
type political territorial entity
['Coracora', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Coracora property:capital_of ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q763662
P17
Q15617994
USER
How many administrative territories are Coracora present in ?
(Q763662,P17,c(Q15617994))
action count
action filter_type
action find
entity Q763662
relation P17
type Q15617994
['Q763662', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Q763662 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Coracora
action count
action filter_type
action find
entity Coracora
relation country
type designation for an administrative territorial entity
['Coracora', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Coracora property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q419
(Q763662,P17,c(Q15617994))
action count
action filter_type
action find
entity Q763662
relation P17
type Q15617994
[ANSWER]
['Q763662', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Q763662 property:P17 ?w . ?w rdf:type ontology:Q15617994 }
Peru
1
action count
action filter_type
action find
entity Coracora
relation country
type designation for an administrative territorial entity
['Coracora', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { resource:Coracora property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]