Simple Question (Direct)
Simple Question
Q1485390
P463
Q811430
USER
Which construction was Mel Bochner a member of ?
(Q1485390,P463,c(Q811430))
action filter_type
action find
entity Q1485390
relation P463
type Q811430
['Q1485390', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q811430 . resource:Q1485390 property:P463 ?y }
Mel Bochner
action filter_type
action find
entity Mel Bochner
relation member of
type construction
['Mel Bochner', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:construction . resource:Mel_Bochner property:member_of ?y }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q1485390,P463,c(Q811430))
action filter_type
action find
entity Q1485390
relation P463
type Q811430
Mel Bochner was the [ANSWER]
['Q1485390', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q811430 . resource:Q1485390 property:P463 ?y }
American Academy of Arts and Sciences
Mel Bochner was the American Academy of Arts and Sciences
American Academy of Arts and Sciences
action filter_type
action find
entity Mel Bochner
relation member of
type construction
['Mel Bochner', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:construction . resource:Mel_Bochner property:member_of ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1485390
P937
Q56061
USER
Where did Mel Bochner work ?
(Q1485390,P937,c(Q56061))
action filter_type
action find
entity Q1485390
relation P937
type Q56061
['Q1485390', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1485390 property:P937 ?l . ?l rdf:type ontology:Q56061 }
Mel Bochner
action filter_type
action find
entity Mel Bochner
relation work location
type administrative territorial entity
['Mel Bochner', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mel_Bochner property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q1485390,P937,c(Q56061))
action filter_type
action find
entity Q1485390
relation P937
type Q56061
Mel Bochner worked in [ANSWER]
['Q1485390', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1485390 property:P937 ?l . ?l rdf:type ontology:Q56061 }
New York City
Mel Bochner worked in New York City
New York City
action filter_type
action find
entity Mel Bochner
relation work location
type administrative territorial entity
['Mel Bochner', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Mel_Bochner property:work_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1485390
P1412
Q34770
USER
Which language can that person understand ?
(Q60,P1412,c(Q34770))
action filter_type
action find
entity Q1485390
relation P1412
type Q34770
['Q60', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q1485390 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Mel Bochner
action filter_type
action find
entity Mel Bochner
relation languages spoken, written or signed
type language
['New York City', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Mel_Bochner property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q60,P1412,c(Q34770))
action filter_type
action find
entity Q1485390
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q60', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q1485390 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
English
That person can understand the English
English
action filter_type
action find
entity Mel Bochner
relation languages spoken, written or signed
type language
['New York City', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Mel_Bochner property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q35726
P37
Q34770 Q56061 Q13220204
USER
How many languages are considered to be the official language of more number of administrative territories or administrative country subdivisions than Etruscan ?
(c(Q56061)|c(Q13220204),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q35726
relation P37
type Q56061
type Q13220204
[[{'concept': 'Q56061'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { FILTER ( ?k > ?s ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P37 resource:Q35726 . { { ?o rdf:type ontology:Q56061 } UNION { ?o rdf:type ontology:Q13220204 } } } } . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?k ) WHERE { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:Q56061 ) ( ontology:Q13220204 ) } } GROUP BY ?b } }
Etruscan
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Etruscan
relation official language
type administrative territorial entity
type second-level administrative country subdivision
[[{'concept': 'administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { FILTER ( ?k > ?s ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:official_language resource:Etruscan . { { ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o rdf:type ontology:second-level_administrative_country_subdivision } } } } . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?k ) WHERE { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } GROUP BY ?b } }
[]
language administrative territorial entity second-level administrative country subdivision
SYSTEM
4
Q1860 Q652 Q1321 Q8785
(c(Q56061)|c(Q13220204),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q35726
relation P37
type Q56061
type Q13220204
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { FILTER ( ?k > ?s ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:P37 resource:Q35726 . { { ?o rdf:type ontology:Q56061 } UNION { ?o rdf:type ontology:Q13220204 } } } } . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?k ) WHERE { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:Q56061 ) ( ontology:Q13220204 ) } } GROUP BY ?b } }
English Italian Spanish Armenian
4
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Etruscan
relation official language
type administrative territorial entity
type second-level administrative country subdivision
[[{'concept': 'administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { FILTER ( ?k > ?s ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { ?o property:official_language resource:Etruscan . { { ?o rdf:type ontology:administrative_territorial_entity } UNION { ?o rdf:type ontology:second-level_administrative_country_subdivision } } } } . { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?k ) WHERE { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q9056
P37
Q34770 Q56061 Q13220204
USER
And also tell me about Czech?
(c(Q56061)|c(Q13220204),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P37
type Q56061
type Q13220204
[[{'concept': 'Q56061'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P37 resource:Q9056 . { VALUES ( ?j ) { ( ontology:Q56061 ) ( ontology:Q13220204 ) } . ?r rdf:type ?j } } } . FILTER ( ?w > ?b ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?w ) WHERE { { ?y property:P37 ?a . ?y rdf:type ontology:Q56061 . ?a rdf:type ontology:Q34770 } UNION { ?a rdf:type ontology:Q34770 . ?y rdf:type ontology:Q13220204 . ?y property:P37 ?a } } GROUP BY ?a } }
Czech
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Czech
relation official language
type administrative territorial entity
type second-level administrative country subdivision
[[{'concept': 'administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:official_language resource:Czech . { VALUES ( ?j ) { ( ontology:administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } . ?r rdf:type ?j } } } . FILTER ( ?w > ?b ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?w ) WHERE { { ?y property:official_language ?a . ?y rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:language } UNION { ?a rdf:type ontology:language . ?y rdf:type ontology:second-level_administrative_country_subdivision . ?y property:official_language ?a } } GROUP BY ?a } }
[]
language administrative territorial entity second-level administrative country subdivision
SYSTEM
4
Q1860 Q652 Q1321 Q8785
(c(Q56061)|c(Q13220204),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q9056
relation P37
type Q56061
type Q13220204
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P37 resource:Q9056 . { VALUES ( ?j ) { ( ontology:Q56061 ) ( ontology:Q13220204 ) } . ?r rdf:type ?j } } } . FILTER ( ?w > ?b ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?w ) WHERE { { ?y property:P37 ?a . ?y rdf:type ontology:Q56061 . ?a rdf:type ontology:Q34770 } UNION { ?a rdf:type ontology:Q34770 . ?y rdf:type ontology:Q13220204 . ?y property:P37 ?a } } GROUP BY ?a } }
English Italian Spanish Armenian
4
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Czech
relation official language
type administrative territorial entity
type second-level administrative country subdivision
[[{'concept': 'administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:official_language resource:Czech . { VALUES ( ?j ) { ( ontology:administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } . ?r rdf:type ?j } } } . FILTER ( ?w > ?b ) . { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?w ) WHERE { { ?y property:official_language ?a . ?y rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:language } UNION { ?a rdf:type ontology:language . ?y rdf:type ontology:second-level_administrative_country_subdivision . ?y property:official_language ?a } } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P119
Q502895
USER
Which people have New York City as his/her tomb ?
(c(Q502895),P119,Q60)
action filter_type
action find_reverse
entity Q60
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q60']
SELECT DISTINCT ?j WHERE { ?j property:P119 resource:Q60 . ?j rdf:type ontology:Q502895 }
New York City
action filter_type
action find_reverse
entity New York City
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'New York City']
SELECT DISTINCT ?j WHERE { ?j property:place_of_burial resource:New_York_City . ?j rdf:type ontology:common_name }
[]
common name
Q6143065 Q17479172 Q6104974
SYSTEM
James Shedden Palmer, Abram P. Haring, J. C. Julius Langbein
Q6143065 Q17479172 Q6104974
(c(Q502895),P119,Q60)
action filter_type
action find_reverse
entity Q60
relation P119
type Q502895
[ANSWERS] have New York City as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q60']
SELECT DISTINCT ?j WHERE { ?j property:P119 resource:Q60 . ?j rdf:type ontology:Q502895 }
James Shedden Palmer Abram P. Haring J. C. Julius Langbein
James Shedden Palmer, Abram P. Haring and J. C. Julius Langbein have New York City as his/her tomb
James Shedden Palmer Abram P. Haring J. C. Julius Langbein
action filter_type
action find_reverse
entity New York City
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'New York City']
SELECT DISTINCT ?j WHERE { ?j property:place_of_burial resource:New_York_City . ?j rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6104974
P735
Q82799
USER
Which name is that person known by ?
(Q6104974,P735,c(Q82799))
action filter_type
action find
entity Q6104974
relation P735
type Q82799
['Q6104974', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q6104974 property:P735 ?i . ?i rdf:type ontology:Q82799 }
J. C. Julius Langbein
action filter_type
action find
entity J. C. Julius Langbein
relation given name
type name
['J. C. Julius Langbein', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:J._C._Julius_Langbein property:given_name ?i . ?i rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q6104974
SYSTEM
Did you mean J. C. Julius Langbein ?
Q6143065 Q17479172 Q6104974
(Q6143065,P735,c(Q82799)) (Q17479172,P735,c(Q82799)) (Q6104974,P735,c(Q82799))
[ANSWER]
['Q6143065', 'P735', {'concept': 'Q82799'}] ['Q17479172', 'P735', {'concept': 'Q82799'}] ['Q6104974', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q6104974 property:P735 ?i . ?i rdf:type ontology:Q82799 }
James Shedden Palmer Abram P. Haring J. C. Julius Langbein
Did you mean J. C. Julius Langbein ?
J. C. Julius Langbein
['James Shedden Palmer', 'given name', {'concept': 'name'}] ['Abram P. Haring', 'given name', {'concept': 'name'}] ['J. C. Julius Langbein', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:J._C._Julius_Langbein property:given_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q6104974,P735,c(Q82799))
['Q6104974', 'P735', {'concept': 'Q82799'}]
['J. C. Julius Langbein', 'given name', {'concept': 'name'}]
[]
Q19803507
SYSTEM
J.
Q19803507
(Q6104974,P735,c(Q82799))
action filter_type
action find
entity Q6104974
relation P735
type Q82799
That person is known as [ANSWER]
['Q6104974', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q6104974 property:P735 ?i . ?i rdf:type ontology:Q82799 }
J.
That person is known as J.
J.
action filter_type
action find
entity J. C. Julius Langbein
relation given name
type name
['J. C. Julius Langbein', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:J._C._Julius_Langbein property:given_name ?i . ?i rdf:type ontology:name }
[]