Simple Question (Direct)
Simple Question
Q112111
P19
Q56061
USER
Where was Gustav Allinger born ?
(Q112111,P19,c(Q56061))
action filter_type
action find
entity Q112111
relation P19
type Q56061
['Q112111', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q112111 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Gustav Allinger
action filter_type
action find
entity Gustav Allinger
relation place of birth
type administrative territorial entity
['Gustav Allinger', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Gustav_Allinger property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q525720
SYSTEM
Lauffen am Neckar
Q525720
(Q112111,P19,c(Q56061))
action filter_type
action find
entity Q112111
relation P19
type Q56061
Gustav Allinger was born in [ANSWER]
['Q112111', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q112111 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Lauffen am Neckar
Gustav Allinger was born in Lauffen am Neckar
Lauffen am Neckar
action filter_type
action find
entity Gustav Allinger
relation place of birth
type administrative territorial entity
['Gustav Allinger', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Gustav_Allinger property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q112111
P84
Q483110
USER
Which stadium was designed by that person ?
(c(Q483110),P84,Q525720)
action filter_type
action find_reverse
entity Q112111
relation P84
type Q483110
[{'concept': 'Q483110'}, 'P84', 'Q525720']
SELECT DISTINCT ?d WHERE { ?d property:P84 resource:Q112111 . ?d rdf:type ontology:Q483110 }
Gustav Allinger
action filter_type
action find_reverse
entity Gustav Allinger
relation architect
type stadium
[{'concept': 'stadium'}, 'architect', 'Lauffen am Neckar']
SELECT DISTINCT ?d WHERE { ?d property:architect resource:Gustav_Allinger . ?d rdf:type ontology:stadium }
[]
stadium
Q606059
SYSTEM
Ernest Pohl Stadium
Q606059
(c(Q483110),P84,Q525720)
action filter_type
action find_reverse
entity Q112111
relation P84
type Q483110
[ANSWER] was designed by that person
[{'concept': 'Q483110'}, 'P84', 'Q525720']
SELECT DISTINCT ?d WHERE { ?d property:P84 resource:Q112111 . ?d rdf:type ontology:Q483110 }
Ernest Pohl Stadium
Ernest Pohl Stadium was designed by that person
Ernest Pohl Stadium
action filter_type
action find_reverse
entity Gustav Allinger
relation architect
type stadium
[{'concept': 'stadium'}, 'architect', 'Lauffen am Neckar']
SELECT DISTINCT ?d WHERE { ?d property:architect resource:Gustav_Allinger . ?d rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q606059
P138
Q502895
USER
Which person is the etymology of that stadium ?
(Q606059,P138,c(Q502895))
action filter_type
action find
entity Q606059
relation P138
type Q502895
['Q606059', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q606059 property:P138 ?w }
Ernest Pohl Stadium
action filter_type
action find
entity Ernest Pohl Stadium
relation named after
type common name
['Ernest Pohl Stadium', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Ernest_Pohl_Stadium property:named_after ?w }
[]
common name
Q1359838
SYSTEM
Ernest Pohl
Q1359838
(Q606059,P138,c(Q502895))
action filter_type
action find
entity Q606059
relation P138
type Q502895
[ANSWER] is the etymology of that stadium
['Q606059', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q606059 property:P138 ?w }
Ernest Pohl
Ernest Pohl is the etymology of that stadium
Ernest Pohl
action filter_type
action find
entity Ernest Pohl Stadium
relation named after
type common name
['Ernest Pohl Stadium', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Ernest_Pohl_Stadium property:named_after ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2921816
Q502895
USER
And what about boulevard Flandrin?
(Q2921816,P138,c(Q502895))
action filter_type
action find
entity Q2921816
relation P138
type Q502895
['Q2921816', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q2921816 property:P138 ?o . ?o rdf:type ontology:Q502895 }
boulevard Flandrin
action filter_type
action find
entity boulevard Flandrin
relation named after
type common name
['boulevard Flandrin', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:boulevard_Flandrin property:named_after ?o . ?o rdf:type ontology:common_name }
[]
common name
Q472235
SYSTEM
Hippolyte Flandrin
Q472235
(Q2921816,P138,c(Q502895))
action filter_type
action find
entity Q2921816
relation P138
type Q502895
[ANSWER]
['Q2921816', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q2921816 property:P138 ?o . ?o rdf:type ontology:Q502895 }
Hippolyte Flandrin
Hippolyte Flandrin
action filter_type
action find
entity boulevard Flandrin
relation named after
type common name
['boulevard Flandrin', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:boulevard_Flandrin property:named_after ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P802
Q502895
USER
How many people were pupils of that person ?
(c(Q502895),P802,Q472235)
action count
action filter_type
action find_reverse
entity Q472235
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q472235']
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P802 resource:Q472235 . ?w rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Hippolyte Flandrin
relation student
type common name
[{'concept': 'common name'}, 'student', 'Hippolyte Flandrin']
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:student resource:Hippolyte_Flandrin . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q761853 Q23380
(c(Q502895),P802,Q472235)
action count
action filter_type
action find_reverse
entity Q472235
relation P802
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q472235']
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P802 resource:Q472235 . ?w rdf:type ontology:Q502895 }
Louis Hersent Jean Auguste Dominique Ingres
2
action count
action filter_type
action find_reverse
entity Hippolyte Flandrin
relation student
type common name
[{'concept': 'common name'}, 'student', 'Hippolyte Flandrin']
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:student resource:Hippolyte_Flandrin . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q654532 Q2921816
P17
Q15617994
USER
Which administrative territories are boulevard Flandrin or Slovenské Krivé a part of ?
OR((Q2921816,P17,c(Q15617994)), (Q654532,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2921816
relation P17
action find
entity Q654532
relation P17
type Q15617994
{'OR': [['Q2921816', 'P17', {'concept': 'Q15617994'}], ['Q654532', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q2921816 property:P17 ?z } UNION { resource:Q654532 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
Slovenské Krivé boulevard Flandrin
action filter_type
action union
action find
entity boulevard Flandrin
relation country
action find
entity Slovenské Krivé
relation country
type designation for an administrative territorial entity
{'OR': [['boulevard Flandrin', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Slovenské Krivé', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:boulevard_Flandrin property:country ?z } UNION { resource:Slovenské_Krivé property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q214
SYSTEM
France, Slovakia
Q142 Q214
OR((Q2921816,P17,c(Q15617994)), (Q654532,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2921816
relation P17
action find
entity Q654532
relation P17
type Q15617994
[ANSWERS] are boulevard Flandrin or Slovenské Krivé a part of
{'OR': [['Q2921816', 'P17', {'concept': 'Q15617994'}], ['Q654532', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q2921816 property:P17 ?z } UNION { resource:Q654532 property:P17 ?z } } . ?z rdf:type ontology:Q15617994 }
France Slovakia
France and Slovakia are boulevard Flandrin or Slovenské Krivé a part of
France Slovakia
action filter_type
action union
action find
entity boulevard Flandrin
relation country
action find
entity Slovenské Krivé
relation country
type designation for an administrative territorial entity
{'OR': [['boulevard Flandrin', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Slovenské Krivé', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:boulevard_Flandrin property:country ?z } UNION { resource:Slovenské_Krivé property:country ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]