Simple Question (Direct)
Simple Question
Q504078
P69
Q163740
USER
Which nonprofit organization was Christopher Young educated at ?
(Q504078,P69,c(Q163740))
action filter_type
action find
entity Q504078
relation P69
type Q163740
['Q504078', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?r WHERE { resource:Q504078 property:P69 ?r . ?r rdf:type ontology:Q163740 }
Christopher Young
action filter_type
action find
entity Christopher Young
relation educated at
type nonprofit organization
['Christopher Young', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?r WHERE { resource:Christopher_Young property:educated_at ?r . ?r rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1706859
SYSTEM
Hampshire College
Q1706859
(Q504078,P69,c(Q163740))
action filter_type
action find
entity Q504078
relation P69
type Q163740
Christopher Young was educated by [ANSWER]
['Q504078', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?r WHERE { resource:Q504078 property:P69 ?r . ?r rdf:type ontology:Q163740 }
Hampshire College
Christopher Young was educated by Hampshire College
Hampshire College
action filter_type
action find
entity Christopher Young
relation educated at
type nonprofit organization
['Christopher Young', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?r WHERE { resource:Christopher_Young property:educated_at ?r . ?r rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1706859
P17
Q15617994
USER
Which administrative territory is that nonprofit organization located in ?
(Q1706859,P17,c(Q15617994))
action filter_type
action find
entity Q1706859
relation P17
type Q15617994
['Q1706859', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q1706859 property:P17 ?f }
Hampshire College
action filter_type
action find
entity Hampshire College
relation country
type designation for an administrative territorial entity
['Hampshire College', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hampshire_College property:country ?f }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1706859,P17,c(Q15617994))
action filter_type
action find
entity Q1706859
relation P17
type Q15617994
That nonprofit organization is located in [ANSWER]
['Q1706859', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q1706859 property:P17 ?f }
United States of America
That nonprofit organization is located in United States of America
United States of America
action filter_type
action find
entity Hampshire College
relation country
type designation for an administrative territorial entity
['Hampshire College', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hampshire_College property:country ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P937
Q502895
USER
Which people have that administrative territory as work location ?
(c(Q502895),P937,Q30)
action filter_type
action find_reverse
entity Q30
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q30']
SELECT DISTINCT ?e WHERE { ?e property:P937 resource:Q30 . ?e rdf:type ontology:Q502895 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'United States of America']
SELECT DISTINCT ?e WHERE { ?e property:work_location resource:United_States_of_America . ?e rdf:type ontology:common_name }
[]
common name
Q20747363 Q4426737 Q21705837
SYSTEM
Cecilia Sternberg, Cesare Sodero, Eliana Machado Meugé
Q20006819 Q12017811 Q20747363 Q20829615 Q20879213 Q21705837 Q4426737 Q20894879 Q21155013 Q23775987 Q26198053
(c(Q502895),P937,Q30)
action filter_type
action find_reverse
entity Q30
relation P937
type Q502895
[ANSWERS] have that administrative territory as work location
[{'concept': 'Q502895'}, 'P937', 'Q30']
SELECT DISTINCT ?e WHERE { ?e property:P937 resource:Q30 . ?e rdf:type ontology:Q502895 }
Albert van Beest Diana Phipps Cecilia Sternberg Conrad Buff II Nicolino Calyo Eliana Machado Meugé Cesare Sodero Ejnar Hansen Samuel Valentine Hunt DonkeyHotey Henry Jorden
Cecilia Sternberg, Cesare Sodero and Eliana Machado Meugé have that administrative territory as work location
Cecilia Sternberg Cesare Sodero Eliana Machado Meugé
action filter_type
action find_reverse
entity United States of America
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'United States of America']
SELECT DISTINCT ?e WHERE { ?e property:work_location resource:United_States_of_America . ?e rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20747363
P97
Q4164871
USER
What was the heriditary title held by that person ?
(Q20747363,P97,c(Q4164871))
action filter_type
action find
entity Q20747363
relation P97
type Q4164871
['Q20747363', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q4164871 . resource:Q20747363 property:P97 ?a }
Cecilia Sternberg
action filter_type
action find
entity Cecilia Sternberg
relation noble title
type position
['Cecilia Sternberg', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:position . resource:Cecilia_Sternberg property:noble_title ?a }
[]
position
Clarification for simple ques.
Q4426737
SYSTEM
Did you mean Cesare Sodero ?
Q20747363 Q4426737 Q21705837
(Q20747363,P97,c(Q4164871)) (Q4426737,P97,c(Q4164871)) (Q21705837,P97,c(Q4164871))
[ANSWER]
['Q20747363', 'P97', {'concept': 'Q4164871'}] ['Q4426737', 'P97', {'concept': 'Q4164871'}] ['Q21705837', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q4164871 . resource:Q20747363 property:P97 ?a }
Cecilia Sternberg Cesare Sodero Eliana Machado Meugé
Did you mean Cesare Sodero ?
Cesare Sodero
['Cecilia Sternberg', 'noble title', {'concept': 'position'}] ['Cesare Sodero', 'noble title', {'concept': 'position'}] ['Eliana Machado Meugé', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:position . resource:Cecilia_Sternberg property:noble_title ?a }
[]
Simple Question (Coreferenced)
USER
No, I meant Cecilia Sternberg. Could you tell me the answer for that?
(Q20747363,P97,c(Q4164871))
Q20747363
['Q20747363', 'P97', {'concept': 'Q4164871'}]
['Cecilia Sternberg', 'noble title', {'concept': 'position'}]
[]
Q28989
SYSTEM
graf
Q28989
(Q20747363,P97,c(Q4164871))
action filter_type
action find
entity Q20747363
relation P97
type Q4164871
The heriditary title held by that person was the [ANSWER]
['Q20747363', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q4164871 . resource:Q20747363 property:P97 ?a }
graf
The heriditary title held by that person was the graf
graf
action filter_type
action find
entity Cecilia Sternberg
relation noble title
type position
['Cecilia Sternberg', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:position . resource:Cecilia_Sternberg property:noble_title ?a }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q511462
P361
Q82794 Q811979 Q15617994
USER
Which administrative territories are a portion of greater number of geographic regions and architectural structures than Wiesenbach ?
(c(Q15617994),P361,c(Q82794)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q82794
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action count
action filter_multi_types
action find
entity Q511462
relation P361
type Q82794
type Q811979
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?i ) WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:Q82794 ) ( ontology:Q811979 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q511462 property:P361 ?t . { VALUES ( ?w ) { ( ontology:Q82794 ) ( ontology:Q811979 ) } . ?t rdf:type ?w } } } . FILTER ( ?i > ?f ) }
Wiesenbach
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action count
action filter_multi_types
action find
entity Wiesenbach
relation part of
type geographic region
type architectural structure
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?i ) WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:geographic_region ) ( ontology:architectural_structure ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Wiesenbach property:part_of ?t . { VALUES ( ?w ) { ( ontology:geographic_region ) ( ontology:architectural_structure ) } . ?t rdf:type ?w } } } . FILTER ( ?i > ?f ) }
[]
geographic region architectural structure designation for an administrative territorial entity
Q57857 Q242 Q686312
SYSTEM
Zschorlau, Belize, Duchy of Amalfi
Q57857 Q242 Q686312
(c(Q15617994),P361,c(Q82794)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q82794
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action count
action filter_multi_types
action find
entity Q511462
relation P361
type Q82794
type Q811979
[ANSWERS] are a portion of greater number of geographic regions and architectural structures than Wiesenbach
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?i ) WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:Q82794 ) ( ontology:Q811979 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Q511462 property:P361 ?t . { VALUES ( ?w ) { ( ontology:Q82794 ) ( ontology:Q811979 ) } . ?t rdf:type ?w } } } . FILTER ( ?i > ?f ) }
Zschorlau Belize Duchy of Amalfi
Zschorlau, Belize and Duchy of Amalfi are a portion of greater number of geographic regions and architectural structures than Wiesenbach
Zschorlau Belize Duchy of Amalfi
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action count
action filter_multi_types
action find
entity Wiesenbach
relation part of
type geographic region
type architectural structure
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?i ) WHERE { ?g rdf:type ?u . VALUES ( ?u ) { ( ontology:geographic_region ) ( ontology:architectural_structure ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { resource:Wiesenbach property:part_of ?t . { VALUES ( ?w ) { ( ontology:geographic_region ) ( ontology:architectural_structure ) } . ?t rdf:type ?w } } } . FILTER ( ?i > ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q278967
P361
Q82794 Q811979 Q15617994
USER
And what about Kraiburg?
(c(Q15617994),P361,c(Q82794)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q82794
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action count
action filter_multi_types
action find
entity Q278967
relation P361
type Q82794
type Q811979
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?n ) { ( ontology:Q82794 ) ( ontology:Q811979 ) } . ?g rdf:type ?n } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q278967 property:P361 ?e . { VALUES ( ?d ) { ( ontology:Q82794 ) ( ontology:Q811979 ) } . ?e rdf:type ?d } } } . FILTER ( ?h > ?b ) }
Kraiburg
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action count
action filter_multi_types
action find
entity Kraiburg
relation part of
type geographic region
type architectural structure
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?n ) { ( ontology:geographic_region ) ( ontology:architectural_structure ) } . ?g rdf:type ?n } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Kraiburg property:part_of ?e . { VALUES ( ?d ) { ( ontology:geographic_region ) ( ontology:architectural_structure ) } . ?e rdf:type ?d } } } . FILTER ( ?h > ?b ) }
[]
geographic region architectural structure designation for an administrative territorial entity
Q57857 Q242 Q686312
SYSTEM
Zschorlau, Belize, Duchy of Amalfi
Q57857 Q242 Q686312
(c(Q15617994),P361,c(Q82794)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q82794
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action count
action filter_multi_types
action find
entity Q278967
relation P361
type Q82794
type Q811979
[ANSWERS]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?n ) { ( ontology:Q82794 ) ( ontology:Q811979 ) } . ?g rdf:type ?n } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q278967 property:P361 ?e . { VALUES ( ?d ) { ( ontology:Q82794 ) ( ontology:Q811979 ) } . ?e rdf:type ?d } } } . FILTER ( ?h > ?b ) }
Zschorlau Belize Duchy of Amalfi
Zschorlau Belize Duchy of Amalfi
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type geographic region
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action count
action filter_multi_types
action find
entity Kraiburg
relation part of
type geographic region
type architectural structure
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?h ) WHERE { VALUES ( ?n ) { ( ontology:geographic_region ) ( ontology:architectural_structure ) } . ?g rdf:type ?n } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Kraiburg property:part_of ?e . { VALUES ( ?d ) { ( ontology:geographic_region ) ( ontology:architectural_structure ) } . ?e rdf:type ?d } } } . FILTER ( ?h > ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7587216 Q278967
P17
Q1048835
USER
Which political territories are Kraiburg or St. Barnabas, Broadway located in ?
OR((Q278967,P17,c(Q1048835)), (Q7587216,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q278967
relation P17
action find
entity Q7587216
relation P17
type Q1048835
{'OR': [['Q278967', 'P17', {'concept': 'Q1048835'}], ['Q7587216', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q278967 property:P17 ?q } UNION { resource:Q7587216 property:P17 ?q } } . ?q rdf:type ontology:Q1048835 }
St. Barnabas, Broadway Kraiburg
action filter_type
action union
action find
entity Kraiburg
relation country
action find
entity St. Barnabas, Broadway
relation country
type political territorial entity
{'OR': [['Kraiburg', 'country', {'concept': 'political territorial entity'}], ['St. Barnabas, Broadway', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Kraiburg property:country ?q } UNION { resource:St._Barnabas,_Broadway property:country ?q } } . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q278967,P17,c(Q1048835)), (Q7587216,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q278967
relation P17
action find
entity Q7587216
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q278967', 'P17', {'concept': 'Q1048835'}], ['Q7587216', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q278967 property:P17 ?q } UNION { resource:Q7587216 property:P17 ?q } } . ?q rdf:type ontology:Q1048835 }
Australia Germany
Which political territories are Kraiburg or St. Barnabas, Broadway located in
Australia Germany
action filter_type
action union
action find
entity Kraiburg
relation country
action find
entity St. Barnabas, Broadway
relation country
type political territorial entity
{'OR': [['Kraiburg', 'country', {'concept': 'political territorial entity'}], ['St. Barnabas, Broadway', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Kraiburg property:country ?q } UNION { resource:St._Barnabas,_Broadway property:country ?q } } . ?q rdf:type ontology:political_territorial_entity }
[]