Simple Question (Direct)
Simple Question
Q29569
P22
Q502895
USER
Which male person was the parent of Caroline Endres Diescher ?
(Q29569,P22,c(Q502895))
action filter_type
action find
entity Q29569
relation P22
type Q502895
['Q29569', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q29569 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Caroline Endres Diescher
action filter_type
action find
entity Caroline Endres Diescher
relation father
type common name
['Caroline Endres Diescher', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Caroline_Endres_Diescher property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Q6231780
SYSTEM
John Endres
Q6231780
(Q29569,P22,c(Q502895))
action filter_type
action find
entity Q29569
relation P22
type Q502895
[ANSWER] was the parent of Caroline Endres Diescher
['Q29569', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q29569 property:P22 ?f . ?f rdf:type ontology:Q502895 }
John Endres
John Endres was the parent of Caroline Endres Diescher
John Endres
action filter_type
action find
entity Caroline Endres Diescher
relation father
type common name
['Caroline Endres Diescher', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Caroline_Endres_Diescher property:father ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6231780
P451
Q502895
USER
Who is the mistress of that one ?
(Q6231780,P451,c(Q502895))
action filter_type
action find
entity Q6231780
relation P451
type Q502895
['Q6231780', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q6231780 property:P451 ?w . ?w rdf:type ontology:Q502895 }
John Endres
action filter_type
action find
entity John Endres
relation partner
type common name
['John Endres', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:John_Endres property:partner ?w . ?w rdf:type ontology:common_name }
[]
common name
Q7411268
SYSTEM
Samuel Diescher
Q7411268
(Q6231780,P451,c(Q502895))
action filter_type
action find
entity Q6231780
relation P451
type Q502895
The mistress of that one is the [ANSWER]
['Q6231780', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q6231780 property:P451 ?w . ?w rdf:type ontology:Q502895 }
Samuel Diescher
The mistress of that one is the Samuel Diescher
Samuel Diescher
action filter_type
action find
entity John Endres
relation partner
type common name
['John Endres', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:John_Endres property:partner ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P287
Q811979 Q728937
USER
How many architectural structures and railroad lines were that person the designer of ?
(c(Q811979),P287,Q7411268) (c(Q728937),P287,Q7411268) (c(Q811979),P287,Q7411268) (c(Q728937),P287,Q7411268)
action count
action union
action filter_type
action find_reverse
entity Q7411268
relation P287
type Q811979
action filter_type
action find_reverse
entity Q7411268
relation P287
type Q728937
[{'concept': 'Q811979'}, 'P287', 'Q7411268'] [{'concept': 'Q728937'}, 'P287', 'Q7411268'] [{'concept': 'Q811979'}, 'P287', 'Q7411268'] [{'concept': 'Q728937'}, 'P287', 'Q7411268']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y property:P287 resource:Q7411268 . ?y rdf:type ontology:Q811979 } UNION { ?y property:P287 resource:Q7411268 . ?y rdf:type ontology:Q728937 } }
action count
action union
action filter_type
action find_reverse
entity Samuel Diescher
relation designer
type architectural structure
action filter_type
action find_reverse
entity Samuel Diescher
relation designer
type railroad line
[{'concept': 'architectural structure'}, 'designer', 'Samuel Diescher'] [{'concept': 'railroad line'}, 'designer', 'Samuel Diescher'] [{'concept': 'architectural structure'}, 'designer', 'Samuel Diescher'] [{'concept': 'railroad line'}, 'designer', 'Samuel Diescher']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y property:designer resource:Samuel_Diescher . ?y rdf:type ontology:architectural_structure } UNION { ?y property:designer resource:Samuel_Diescher . ?y rdf:type ontology:railroad_line } }
[]
architectural structure railroad line
SYSTEM
5 architectural structures and 1 railroad lines
Q5471846 Q1266663 Q7069857 Q20727329 Q5050294 Q5050292
(c(Q811979),P287,Q7411268) (c(Q728937),P287,Q7411268) (c(Q811979),P287,Q7411268) (c(Q728937),P287,Q7411268)
action count
action union
action filter_type
action find_reverse
entity Q7411268
relation P287
type Q811979
action filter_type
action find_reverse
entity Q7411268
relation P287
type Q728937
[ANSWER]
[{'concept': 'Q811979'}, 'P287', 'Q7411268'] [{'concept': 'Q728937'}, 'P287', 'Q7411268'] [{'concept': 'Q811979'}, 'P287', 'Q7411268'] [{'concept': 'Q728937'}, 'P287', 'Q7411268']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y property:P287 resource:Q7411268 . ?y rdf:type ontology:Q811979 } UNION { ?y property:P287 resource:Q7411268 . ?y rdf:type ontology:Q728937 } }
Fort Pitt Incline Duquesne Incline Nunnery Hill Incline Penn Incline Castle Shannon Incline No. 2 Castle Shannon Incline
5 architectural structures and 1 railroad lines
action count
action union
action filter_type
action find_reverse
entity Samuel Diescher
relation designer
type architectural structure
action filter_type
action find_reverse
entity Samuel Diescher
relation designer
type railroad line
[{'concept': 'architectural structure'}, 'designer', 'Samuel Diescher'] [{'concept': 'railroad line'}, 'designer', 'Samuel Diescher'] [{'concept': 'architectural structure'}, 'designer', 'Samuel Diescher'] [{'concept': 'railroad line'}, 'designer', 'Samuel Diescher']
SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { ?y property:designer resource:Samuel_Diescher . ?y rdf:type ontology:architectural_structure } UNION { ?y property:designer resource:Samuel_Diescher . ?y rdf:type ontology:railroad_line } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 2754 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2754
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?r >= 2754 ) . { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P1303 ?o . ?s rdf:type ontology:Q502895 . ?o rdf:type ontology:Q34379 } GROUP BY ?o } }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2754
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?r >= 2754 ) . { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:instrument ?o . ?s rdf:type ontology:common_name . ?o rdf:type ontology:musical_instrument } GROUP BY ?o } }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2754
[ANSWERS] are played by atleast 2754 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?r >= 2754 ) . { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P1303 ?o . ?s rdf:type ontology:Q502895 . ?o rdf:type ontology:Q34379 } GROUP BY ?o } }
piano violin
Piano and violin are played by atleast 2754 people
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2754
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?r >= 2754 ) . { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:instrument ?o . ?s rdf:type ontology:common_name . ?o rdf:type ontology:musical_instrument } GROUP BY ?o } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2076983
P364
Q34770
USER
Which language was used originally for the creation of Never Sleep Again: The Elm Street Legacy ?
(Q2076983,P364,c(Q34770))
action filter_type
action find
entity Q2076983
relation P364
type Q34770
['Q2076983', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q2076983 property:P364 ?n . ?n rdf:type ontology:Q34770 }
Never Sleep Again: The Elm Street Legacy
action filter_type
action find
entity Never Sleep Again: The Elm Street Legacy
relation original language of work
type language
['Never Sleep Again: The Elm Street Legacy', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Never_Sleep_Again:_The_Elm_Street_Legacy property:original_language_of_work ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2076983,P364,c(Q34770))
action filter_type
action find
entity Q2076983
relation P364
type Q34770
[ANSWER] was used originally for the creation of Never Sleep Again: The Elm Street Legacy
['Q2076983', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q2076983 property:P364 ?n . ?n rdf:type ontology:Q34770 }
English
English was used originally for the creation of Never Sleep Again: The Elm Street Legacy
English
action filter_type
action find
entity Never Sleep Again: The Elm Street Legacy
relation original language of work
type language
['Never Sleep Again: The Elm Street Legacy', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Never_Sleep_Again:_The_Elm_Street_Legacy property:original_language_of_work ?n . ?n rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24594703
Q34770
USER
And also tell me about Human immunodeficiency virus infection of human astrocytes disrupts blood-brain barrier integrity by a gap junction-dependent mechanism?
(Q24594703,P364,c(Q34770))
action filter_type
action find
entity Q24594703
relation P364
type Q34770
['Q24594703', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q24594703 property:P364 ?y . ?y rdf:type ontology:Q34770 }
Human immunodeficiency virus infection of human astrocytes disrupts blood-brain barrier integrity by a gap junction-dependent mechanism
action filter_type
action find
entity Human immunodeficiency virus infection of human astrocytes disrupts blood-brain barrier integrity by a gap junction-dependent mechanism
relation original language of work
type language
['Human immunodeficiency virus infection of human astrocytes disrupts blood-brain barrier integrity by a gap junction-dependent mechanism', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Human_immunodeficiency_virus_infection_of_human_astrocytes_disrupts_blood-brain_barrier_integrity_by_a_gap_junction-dependent_mechanism property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q24594703,P364,c(Q34770))
action filter_type
action find
entity Q24594703
relation P364
type Q34770
Me also tell about disrupts in [ANSWER] And
['Q24594703', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q24594703 property:P364 ?y . ?y rdf:type ontology:Q34770 }
English
Me also tell about disrupts in English And
English
action filter_type
action find
entity Human immunodeficiency virus infection of human astrocytes disrupts blood-brain barrier integrity by a gap junction-dependent mechanism
relation original language of work
type language
['Human immunodeficiency virus infection of human astrocytes disrupts blood-brain barrier integrity by a gap junction-dependent mechanism', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Human_immunodeficiency_virus_infection_of_human_astrocytes_disrupts_blood-brain_barrier_integrity_by_a_gap_junction-dependent_mechanism property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q29569
P119
Q43229
USER
How many organizations are the resting place of Caroline Endres Diescher ?
(Q29569,P119,c(Q43229))
action count
action filter_type
action find
entity Q29569
relation P119
type Q43229
['Q29569', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q29569 property:P119 ?t . ?t rdf:type ontology:Q43229 }
Caroline Endres Diescher
action count
action filter_type
action find
entity Caroline Endres Diescher
relation place of burial
type organization
['Caroline Endres Diescher', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Caroline_Endres_Diescher property:place_of_burial ?t . ?t rdf:type ontology:organization }
[]
organization
SYSTEM
1
Q1271094
(Q29569,P119,c(Q43229))
action count
action filter_type
action find
entity Q29569
relation P119
type Q43229
[ANSWER]
['Q29569', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q29569 property:P119 ?t . ?t rdf:type ontology:Q43229 }
Allegheny Cemetery
1
action count
action filter_type
action find
entity Caroline Endres Diescher
relation place of burial
type organization
['Caroline Endres Diescher', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Caroline_Endres_Diescher property:place_of_burial ?t . ?t rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29569
P26
Q502895
USER
Who is the spouse of that one ?
action filter_type
action find
entity Q29569
relation P26
type Q502895
SELECT DISTINCT ?z WHERE { resource:Q29569 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Caroline Endres Diescher
action filter_type
action find
entity Caroline Endres Diescher
relation spouse
type common name
SELECT DISTINCT ?z WHERE { resource:Caroline_Endres_Diescher property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
Q7411268
SYSTEM
Samuel Diescher
Q7411268
action filter_type
action find
entity Q29569
relation P26
type Q502895
The spouse of that one is the [ANSWER]
SELECT DISTINCT ?z WHERE { resource:Q29569 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Samuel Diescher
The spouse of that one is the Samuel Diescher
Samuel Diescher
action filter_type
action find
entity Caroline Endres Diescher
relation spouse
type common name
SELECT DISTINCT ?z WHERE { resource:Caroline_Endres_Diescher property:spouse ?z . ?z rdf:type ontology:common_name }
[]