Simple Question (Direct)
Simple Question
Q2275923
P27
Q15617994
USER
Which administrative territory does Seymour Parker Gilbert belong to ?
(Q2275923,P27,c(Q15617994))
action filter_type
action find
entity Q2275923
relation P27
type Q15617994
['Q2275923', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q2275923 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Seymour Parker Gilbert
action filter_type
action find
entity Seymour Parker Gilbert
relation country of citizenship
type designation for an administrative territorial entity
['Seymour Parker Gilbert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Seymour_Parker_Gilbert property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2275923,P27,c(Q15617994))
action filter_type
action find
entity Q2275923
relation P27
type Q15617994
Seymour Parker Gilbert belongs to [ANSWER]
['Q2275923', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q2275923 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
Seymour Parker Gilbert belongs to United States of America
United States of America
action filter_type
action find
entity Seymour Parker Gilbert
relation country of citizenship
type designation for an administrative territorial entity
['Seymour Parker Gilbert', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Seymour_Parker_Gilbert property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2275923
P21
Q290
USER
Which sex does that person have ?
(Q30,P21,c(Q290))
action filter_type
action find
entity Q2275923
relation P21
type Q290
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q2275923 property:P21 ?j . ?j rdf:type ontology:Q290 }
Seymour Parker Gilbert
action filter_type
action find
entity Seymour Parker Gilbert
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Seymour_Parker_Gilbert property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q30,P21,c(Q290))
action filter_type
action find
entity Q2275923
relation P21
type Q290
That person has a [ANSWER]
['Q30', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q2275923 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Seymour Parker Gilbert
relation gender
type sex
['United States of America', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Seymour_Parker_Gilbert property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2275923
P69
Q875538
USER
Which public university was that person educated at ?
(Q6581097,P69,c(Q875538))
action filter_type
action find
entity Q2275923
relation P69
type Q875538
['Q6581097', 'P69', {'concept': 'Q875538'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q875538 . resource:Q2275923 property:P69 ?c }
Seymour Parker Gilbert
action filter_type
action find
entity Seymour Parker Gilbert
relation educated at
type public university
['male', 'educated at', {'concept': 'public university'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:public_university . resource:Seymour_Parker_Gilbert property:educated_at ?c }
[]
public university
Q499451
SYSTEM
Rutgers University
Q499451
(Q6581097,P69,c(Q875538))
action filter_type
action find
entity Q2275923
relation P69
type Q875538
That person was educated at [ANSWER]
['Q6581097', 'P69', {'concept': 'Q875538'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q875538 . resource:Q2275923 property:P69 ?c }
Rutgers University
That person was educated at Rutgers University
Rutgers University
action filter_type
action find
entity Seymour Parker Gilbert
relation educated at
type public university
['male', 'educated at', {'concept': 'public university'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:public_university . resource:Seymour_Parker_Gilbert property:educated_at ?c }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q499451 Q30
P17
Q15617994
USER
Does that public university belong to United States of America ?
(Q499451,P17,Q30)
action is_in
entity Q30
action find
entity Q499451
relation P17
['Q499451', 'P17', 'Q30']
ASK WHERE { resource:Q499451 property:P17 resource:Q30 }
Rutgers University United States of America
action is_in
entity United States of America
action find
entity Rutgers University
relation country
['Rutgers University', 'country', 'United States of America']
ASK WHERE { resource:Rutgers_University property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q499451,P17,Q30)
action is_in
entity Q30
action find
entity Q499451
relation P17
[ANSWER]
['Q499451', 'P17', 'Q30']
ASK WHERE { resource:Q499451 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Rutgers University
relation country
['Rutgers University', 'country', 'United States of America']
ASK WHERE { resource:Rutgers_University property:country resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q499451
P463
Q874405
USER
What was that public university a member of ?
action filter_type
action find
entity Q499451
relation P463
type Q874405
SELECT DISTINCT ?o WHERE { resource:Q499451 property:P463 ?o . ?o rdf:type ontology:Q874405 }
Rutgers University
action filter_type
action find
entity Rutgers University
relation member of
type social group
SELECT DISTINCT ?o WHERE { resource:Rutgers_University property:member_of ?o . ?o rdf:type ontology:social_group }
[]
social group
Q5583848
SYSTEM
Oak Ridge Associated Universities
Q5583848
action filter_type
action find
entity Q499451
relation P463
type Q874405
That public university a member of was the [ANSWER]
SELECT DISTINCT ?o WHERE { resource:Q499451 property:P463 ?o . ?o rdf:type ontology:Q874405 }
Oak Ridge Associated Universities
That public university a member of was the Oak Ridge Associated Universities
Oak Ridge Associated Universities
action filter_type
action find
entity Rutgers University
relation member of
type social group
SELECT DISTINCT ?o WHERE { resource:Rutgers_University property:member_of ?o . ?o rdf:type ontology:social_group }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q503757
P138
Q15617994 Q874405
USER
Which administrative territories are namesakes of greater number of social groups than Oberammergau ?
(c(Q874405),P138,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q874405
action count
action filter_type
action find
entity Q503757
relation P138
type Q15617994
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:P138 ?z . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q874405 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q503757 property:P138 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?m ) }
Oberammergau
action greater
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type social group
action count
action filter_type
action find
entity Oberammergau
relation named after
type designation for an administrative territorial entity
[{'concept': 'social group'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:named_after ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:social_group } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Oberammergau property:named_after ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?m ) }
[]
designation for an administrative territorial entity social group
Q1799797 Q968
SYSTEM
Wolfskehlen, Warburg
Q1799797 Q968
(c(Q874405),P138,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q874405
action count
action filter_type
action find
entity Q503757
relation P138
type Q15617994
[ANSWERS] are namesakes of greater number of social groups than Oberammergau
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:P138 ?z . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q874405 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q503757 property:P138 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?m ) }
Wolfskehlen Warburg
Wolfskehlen and Warburg are namesakes of greater number of social groups than Oberammergau
Wolfskehlen Warburg
action greater
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type social group
action count
action filter_type
action find
entity Oberammergau
relation named after
type designation for an administrative territorial entity
[{'concept': 'social group'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?t ) WHERE { ?y property:named_after ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:social_group } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Oberammergau property:named_after ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1280
P138
Q15617994 Q874405
USER
And what about Umbria?
(c(Q874405),P138,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q874405
action count
action filter_type
action find
entity Q1280
relation P138
type Q15617994
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:P138 ?b . ?j rdf:type ontology:Q874405 . ?b rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Q1280 property:P138 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?u > ?c ) }
Umbria
action greater
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type social group
action count
action filter_type
action find
entity Umbria
relation named after
type designation for an administrative territorial entity
[{'concept': 'social group'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:named_after ?b . ?j rdf:type ontology:social_group . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Umbria property:named_after ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u > ?c ) }
[]
designation for an administrative territorial entity social group
Q1799797 Q968
SYSTEM
Wolfskehlen, Warburg
Q1799797 Q968
(c(Q874405),P138,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q874405
action count
action filter_type
action find
entity Q1280
relation P138
type Q15617994
[ANSWERS]
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:P138 ?b . ?j rdf:type ontology:Q874405 . ?b rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Q1280 property:P138 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?u > ?c ) }
Wolfskehlen Warburg
Wolfskehlen Warburg
action greater
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type social group
action count
action filter_type
action find
entity Umbria
relation named after
type designation for an administrative territorial entity
[{'concept': 'social group'}, 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:named_after ?b . ?j rdf:type ontology:social_group . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Umbria property:named_after ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u > ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5914694 Q1799797
P17
Q1048835
USER
Which political territories are Wolfskehlen or House of Assembly of Bermuda located in ?
OR((Q1799797,P17,c(Q1048835)), (Q5914694,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1799797
relation P17
action find
entity Q5914694
relation P17
type Q1048835
{'OR': [['Q1799797', 'P17', {'concept': 'Q1048835'}], ['Q5914694', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q5914694 property:P17 ?k } UNION { resource:Q1799797 property:P17 ?k } } . ?k rdf:type ontology:Q1048835 }
House of Assembly of Bermuda Wolfskehlen
action filter_type
action union
action find
entity Wolfskehlen
relation country
action find
entity House of Assembly of Bermuda
relation country
type political territorial entity
{'OR': [['Wolfskehlen', 'country', {'concept': 'political territorial entity'}], ['House of Assembly of Bermuda', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:House_of_Assembly_of_Bermuda property:country ?k } UNION { resource:Wolfskehlen property:country ?k } } . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q23635 Q183
SYSTEM
Bermuda, Germany
Q23635 Q183
OR((Q1799797,P17,c(Q1048835)), (Q5914694,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1799797
relation P17
action find
entity Q5914694
relation P17
type Q1048835
Wolfskehlen or House of Assembly of Bermuda are located in [ANSWERS]
{'OR': [['Q1799797', 'P17', {'concept': 'Q1048835'}], ['Q5914694', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q5914694 property:P17 ?k } UNION { resource:Q1799797 property:P17 ?k } } . ?k rdf:type ontology:Q1048835 }
Bermuda Germany
Wolfskehlen or House of Assembly of Bermuda are located in Bermuda and Germany
Bermuda Germany
action filter_type
action union
action find
entity Wolfskehlen
relation country
action find
entity House of Assembly of Bermuda
relation country
type political territorial entity
{'OR': [['Wolfskehlen', 'country', {'concept': 'political territorial entity'}], ['House of Assembly of Bermuda', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:House_of_Assembly_of_Bermuda property:country ?k } UNION { resource:Wolfskehlen property:country ?k } } . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q23635 Q183
P163
Q14660
USER
Which flags are associated with those political territories ?
(Q23635,P163,c(Q14660)) (Q183,P163,c(Q14660))
action filter_type
action find
entity prev_answer
relation P163
type Q14660
['Q23635', 'P163', {'concept': 'Q14660'}] ['Q183', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?h WHERE { ?t property:P163 ?h . ?h rdf:type ontology:Q14660 . VALUES ( ?t ) { ( resource:Q23635 ) ( resource:Q183 ) } }
Bermuda Germany
action filter_type
action find
entity prev_answer
relation flag
type flag
['Bermuda', 'flag', {'concept': 'flag'}] ['Germany', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?h WHERE { ?t property:flag ?h . ?h rdf:type ontology:flag . VALUES ( ?t ) { ( resource:Bermuda ) ( resource:Germany ) } }
[]
flag
Q190064 Q48160
SYSTEM
Flag of Bermuda, flag of Germany
Q190064 Q48160
(Q23635,P163,c(Q14660)) (Q183,P163,c(Q14660))
action filter_type
action find
entity prev_answer
relation P163
type Q14660
[ANSWERS] are associated with those political territories
['Q23635', 'P163', {'concept': 'Q14660'}] ['Q183', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?h WHERE { ?t property:P163 ?h . ?h rdf:type ontology:Q14660 . VALUES ( ?t ) { ( resource:Q23635 ) ( resource:Q183 ) } }
Flag of Bermuda flag of Germany
Flag of Bermuda and flag of Germany are associated with those political territories
Flag of Bermuda flag of Germany
action filter_type
action find
entity prev_answer
relation flag
type flag
['Bermuda', 'flag', {'concept': 'flag'}] ['Germany', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?h WHERE { ?t property:flag ?h . ?h rdf:type ontology:flag . VALUES ( ?t ) { ( resource:Bermuda ) ( resource:Germany ) } }
[]