Simple Question (Direct)
Simple Question
Q340018
P1412
Q34770
USER
Which language can Lawrence Quincy Mumford understand ?
(Q340018,P1412,c(Q34770))
action filter_type
action find
entity Q340018
relation P1412
type Q34770
['Q340018', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q34770 . resource:Q340018 property:P1412 ?s }
Lawrence Quincy Mumford
action filter_type
action find
entity Lawrence Quincy Mumford
relation languages spoken, written or signed
type language
['Lawrence Quincy Mumford', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:language . resource:Lawrence_Quincy_Mumford property:languages_spoken,_written_or_signed ?s }
[]
language
Q1860
SYSTEM
English
Q1860
(Q340018,P1412,c(Q34770))
action filter_type
action find
entity Q340018
relation P1412
type Q34770
Lawrence Quincy Mumford can understand the [ANSWER]
['Q340018', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q34770 . resource:Q340018 property:P1412 ?s }
English
Lawrence Quincy Mumford can understand the English
English
action filter_type
action find
entity Lawrence Quincy Mumford
relation languages spoken, written or signed
type language
['Lawrence Quincy Mumford', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:language . resource:Lawrence_Quincy_Mumford property:languages_spoken,_written_or_signed ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q340018
P20
Q56061
USER
Where did the demise of that person occur ?
(Q1860,P20,c(Q56061))
action filter_type
action find
entity Q340018
relation P20
type Q56061
['Q1860', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q340018 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Lawrence Quincy Mumford
action filter_type
action find
entity Lawrence Quincy Mumford
relation place of death
type administrative territorial entity
['English', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Lawrence_Quincy_Mumford property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q1860,P20,c(Q56061))
action filter_type
action find
entity Q340018
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q1860', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q340018 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Washington, D.C.
The demise of that person occurred in Washington, D.C.
Washington, D.C.
action filter_type
action find
entity Lawrence Quincy Mumford
relation place of death
type administrative territorial entity
['English', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Lawrence_Quincy_Mumford property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q340018
P39
Q12737077
USER
Which occupation was a position occupied by Lawrence Quincy Mumford ?
(Q340018,P39,c(Q12737077))
action filter_type
action find
entity Q340018
relation P39
type Q12737077
['Q340018', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q340018 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Lawrence Quincy Mumford
action filter_type
action find
entity Lawrence Quincy Mumford
relation position held
type occupation
['Lawrence Quincy Mumford', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Lawrence_Quincy_Mumford property:position_held ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q6542448
SYSTEM
Librarian of Congress
Q6542448
(Q340018,P39,c(Q12737077))
action filter_type
action find
entity Q340018
relation P39
type Q12737077
The [ANSWER] was a position occupied by Lawrence Quincy Mumford
['Q340018', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q340018 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Librarian of Congress
The Librarian of Congress was a position occupied by Lawrence Quincy Mumford
Librarian of Congress
action filter_type
action find
entity Lawrence Quincy Mumford
relation position held
type occupation
['Lawrence Quincy Mumford', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Lawrence_Quincy_Mumford property:position_held ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q340018
P69
Q163740
USER
What are the nonprofit organizations where that person were educated ?
(Q6542448,P69,c(Q163740))
action filter_type
action find
entity Q340018
relation P69
type Q163740
['Q6542448', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q163740 . resource:Q340018 property:P69 ?s }
Lawrence Quincy Mumford
action filter_type
action find
entity Lawrence Quincy Mumford
relation educated at
type nonprofit organization
['Librarian of Congress', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:nonprofit_organization . resource:Lawrence_Quincy_Mumford property:educated_at ?s }
[]
nonprofit organization
Q49088 Q168751
SYSTEM
Columbia University, Duke University
Q49088 Q168751
(Q6542448,P69,c(Q163740))
action filter_type
action find
entity Q340018
relation P69
type Q163740
The nonprofit organizations that person were educated are at [ANSWERS]
['Q6542448', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q163740 . resource:Q340018 property:P69 ?s }
Columbia University Duke University
The nonprofit organizations that person were educated are at Columbia University and Duke University
Columbia University Duke University
action filter_type
action find
entity Lawrence Quincy Mumford
relation educated at
type nonprofit organization
['Librarian of Congress', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:nonprofit_organization . resource:Lawrence_Quincy_Mumford property:educated_at ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q340018
P27
Q15617994
USER
Which administrative territory is Lawrence Quincy Mumford an inhabitant of ?
(Q340018,P27,c(Q15617994))
action filter_type
action find
entity Q340018
relation P27
type Q15617994
['Q340018', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q340018 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Lawrence Quincy Mumford
action filter_type
action find
entity Lawrence Quincy Mumford
relation country of citizenship
type designation for an administrative territorial entity
['Lawrence Quincy Mumford', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Lawrence_Quincy_Mumford property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q340018,P27,c(Q15617994))
action filter_type
action find
entity Q340018
relation P27
type Q15617994
[ANSWER] is Lawrence Quincy Mumford an inhabitant of
['Q340018', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q340018 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United States of America
United States of America is Lawrence Quincy Mumford an inhabitant of
United States of America
action filter_type
action find
entity Lawrence Quincy Mumford
relation country of citizenship
type designation for an administrative territorial entity
['Lawrence Quincy Mumford', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Lawrence_Quincy_Mumford property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q340018
P21
Q290
USER
Which sex does that person belong to ?
(Q30,P21,c(Q290))
action filter_type
action find
entity Q340018
relation P21
type Q290
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q340018 property:P21 ?v . ?v rdf:type ontology:Q290 }
Lawrence Quincy Mumford
action filter_type
action find
entity Lawrence Quincy Mumford
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Lawrence_Quincy_Mumford property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q30,P21,c(Q290))
action filter_type
action find
entity Q340018
relation P21
type Q290
That person belongs to [ANSWER]
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q340018 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Lawrence Quincy Mumford
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Lawrence_Quincy_Mumford property:gender ?v . ?v rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories holds diplomatic relationship with atmost 106 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 106
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?e <= 106 ) . { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?e ) WHERE { ?r property:P530 ?w . ?r rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?r } }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 106
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?e <= 106 ) . { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?e ) WHERE { ?r property:diplomatic_relation ?w . ?r rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 106
[ANSWERS] hold diplomatic relationship with atmost 106 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?e <= 106 ) . { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?e ) WHERE { ?r property:P530 ?w . ?r rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?r } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria hold diplomatic relationship with atmost 106 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 106
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?e <= 106 ) . { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?e ) WHERE { ?r property:diplomatic_relation ?w . ?r rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q35 Q16 Q40
P163
Q14660
USER
Which flags are associated with Denmark, Canada and Austria ?
(Q35,P163,c(Q14660)) (Q16,P163,c(Q14660)) (Q40,P163,c(Q14660))
action union
action filter_type
action find
entity Q35
relation P163
type Q14660
action filter_type
action find
entity Q16
relation P163
type Q14660
action filter_type
action find
entity Q40
relation P163
type Q14660
['Q35', 'P163', {'concept': 'Q14660'}] ['Q16', 'P163', {'concept': 'Q14660'}] ['Q40', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { { resource:Q35 property:P163 ?u . ?u rdf:type ontology:Q14660 } UNION { resource:Q16 property:P163 ?u . ?u rdf:type ontology:Q14660 } }
Denmark Canada Austria
action union
action filter_type
action find
entity Denmark
relation flag
type flag
action filter_type
action find
entity Canada
relation flag
type flag
action filter_type
action find
entity Austria
relation flag
type flag
['Denmark', 'flag', {'concept': 'flag'}] ['Canada', 'flag', {'concept': 'flag'}] ['Austria', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { { resource:Denmark property:flag ?u . ?u rdf:type ontology:flag } UNION { resource:Canada property:flag ?u . ?u rdf:type ontology:flag } }
[]
flag
Q60149 Q80110 Q46835
SYSTEM
Flag of Denmark, flag of Canada, flag of Austria
Q60149 Q80110 Q46835
(Q35,P163,c(Q14660)) (Q16,P163,c(Q14660)) (Q40,P163,c(Q14660))
action union
action filter_type
action find
entity Q35
relation P163
type Q14660
action filter_type
action find
entity Q16
relation P163
type Q14660
action filter_type
action find
entity Q40
relation P163
type Q14660
[ANSWERS] are associated with Denmark, Canada and Austria
['Q35', 'P163', {'concept': 'Q14660'}] ['Q16', 'P163', {'concept': 'Q14660'}] ['Q40', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { { resource:Q35 property:P163 ?u . ?u rdf:type ontology:Q14660 } UNION { resource:Q16 property:P163 ?u . ?u rdf:type ontology:Q14660 } }
Flag of Denmark flag of Canada flag of Austria
Flag of Denmark, flag of Canada and flag of Austria are associated with Denmark, Canada and Austria
Flag of Denmark flag of Canada flag of Austria
action union
action filter_type
action find
entity Denmark
relation flag
type flag
action filter_type
action find
entity Canada
relation flag
type flag
action filter_type
action find
entity Austria
relation flag
type flag
['Denmark', 'flag', {'concept': 'flag'}] ['Canada', 'flag', {'concept': 'flag'}] ['Austria', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { { resource:Denmark property:flag ?u . ?u rdf:type ontology:flag } UNION { resource:Canada property:flag ?u . ?u rdf:type ontology:flag } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q60149 Q80110 Q46835
P163
Q1048835
USER
Which political territories are associated with those flags ?
(c(Q1048835),P163,Q60149) (c(Q1048835),P163,Q80110) (c(Q1048835),P163,Q46835)
action filter_type
action find_reverse
entity prev_answer
relation P163
type Q1048835
[{'concept': 'Q1048835'}, 'P163', 'Q60149'] [{'concept': 'Q1048835'}, 'P163', 'Q80110'] [{'concept': 'Q1048835'}, 'P163', 'Q46835']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . ?j property:P163 ?y . VALUES ( ?y ) { ( resource:Q60149 ) ( resource:Q80110 ) ( resource:Q46835 ) } }
Flag of Denmark flag of Canada flag of Austria
action filter_type
action find_reverse
entity prev_answer
relation flag
type political territorial entity
[{'concept': 'political territorial entity'}, 'flag', 'Flag of Denmark'] [{'concept': 'political territorial entity'}, 'flag', 'flag of Canada'] [{'concept': 'political territorial entity'}, 'flag', 'flag of Austria']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . ?j property:flag ?y . VALUES ( ?y ) { ( resource:Flag_of_Denmark ) ( resource:flag_of_Canada ) ( resource:flag_of_Austria ) } }
[]
political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q35 Q16 Q40
(c(Q1048835),P163,Q60149) (c(Q1048835),P163,Q80110) (c(Q1048835),P163,Q46835)
action filter_type
action find_reverse
entity prev_answer
relation P163
type Q1048835
[ANSWERS] are associated with those flags
[{'concept': 'Q1048835'}, 'P163', 'Q60149'] [{'concept': 'Q1048835'}, 'P163', 'Q80110'] [{'concept': 'Q1048835'}, 'P163', 'Q46835']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . ?j property:P163 ?y . VALUES ( ?y ) { ( resource:Q60149 ) ( resource:Q80110 ) ( resource:Q46835 ) } }
Denmark Canada Austria
Denmark, Canada and Austria are associated with those flags
Denmark Canada Austria
action filter_type
action find_reverse
entity prev_answer
relation flag
type political territorial entity
[{'concept': 'political territorial entity'}, 'flag', 'Flag of Denmark'] [{'concept': 'political territorial entity'}, 'flag', 'flag of Canada'] [{'concept': 'political territorial entity'}, 'flag', 'flag of Austria']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . ?j property:flag ?y . VALUES ( ?y ) { ( resource:Flag_of_Denmark ) ( resource:flag_of_Canada ) ( resource:flag_of_Austria ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q35 Q16 Q40
P17
Q1048835
USER
Which political territories are those ones present in ?
(Q35,P17,c(Q1048835)) (Q16,P17,c(Q1048835)) (Q40,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q35', 'P17', {'concept': 'Q1048835'}] ['Q16', 'P17', {'concept': 'Q1048835'}] ['Q40', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . ?u property:P17 ?d . VALUES ( ?u ) { ( resource:Q35 ) ( resource:Q16 ) ( resource:Q40 ) } }
Denmark Canada Austria
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Denmark', 'country', {'concept': 'political territorial entity'}] ['Canada', 'country', {'concept': 'political territorial entity'}] ['Austria', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . ?u property:country ?d . VALUES ( ?u ) { ( resource:Denmark ) ( resource:Canada ) ( resource:Austria ) } }
[]
political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q35 Q16 Q40
(Q35,P17,c(Q1048835)) (Q16,P17,c(Q1048835)) (Q40,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
Those ones are in [ANSWERS]
['Q35', 'P17', {'concept': 'Q1048835'}] ['Q16', 'P17', {'concept': 'Q1048835'}] ['Q40', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1048835 . ?u property:P17 ?d . VALUES ( ?u ) { ( resource:Q35 ) ( resource:Q16 ) ( resource:Q40 ) } }
Denmark Canada Austria
Those ones are in Denmark, Canada and Austria
Denmark Canada Austria
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Denmark', 'country', {'concept': 'political territorial entity'}] ['Canada', 'country', {'concept': 'political territorial entity'}] ['Austria', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:political_territorial_entity . ?u property:country ?d . VALUES ( ?u ) { ( resource:Denmark ) ( resource:Canada ) ( resource:Austria ) } }
[]