Simple Question (Direct)
Simple Question
Q2084916
P641
Q349
USER
Which sport did Louis Floch participate in ?
(Q2084916,P641,c(Q349))
action filter_type
action find
entity Q2084916
relation P641
type Q349
['Q2084916', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q2084916 property:P641 ?m . ?m rdf:type ontology:Q349 }
Louis Floch
action filter_type
action find
entity Louis Floch
relation sport
type sport
['Louis Floch', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Louis_Floch property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2084916,P641,c(Q349))
action filter_type
action find
entity Q2084916
relation P641
type Q349
Louis Floch participated in [ANSWER]
['Q2084916', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q2084916 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Louis Floch participated in association football
association football
action filter_type
action find
entity Louis Floch
relation sport
type sport
['Louis Floch', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Louis_Floch property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P805
Q838948
USER
What was that sport dedicated to ?
(c(Q838948),P805,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P805
type Q838948
[{'concept': 'Q838948'}, 'P805', 'Q2736']
SELECT DISTINCT ?g WHERE { ?g property:P805 resource:Q2736 . ?g rdf:type ontology:Q838948 }
association football
action filter_type
action find_reverse
entity association football
relation subject of
type work of art
[{'concept': 'work of art'}, 'subject of', 'association football']
SELECT DISTINCT ?g WHERE { ?g property:subject_of resource:association_football . ?g rdf:type ontology:work_of_art }
[]
work of art
Q869862
SYSTEM
Goal!
Q869862
(c(Q838948),P805,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P805
type Q838948
[ANSWER] that sport was dedicated
[{'concept': 'Q838948'}, 'P805', 'Q2736']
SELECT DISTINCT ?g WHERE { ?g property:P805 resource:Q2736 . ?g rdf:type ontology:Q838948 }
Goal!
Goal! that sport was dedicated
Goal!
action filter_type
action find_reverse
entity association football
relation subject of
type work of art
[{'concept': 'work of art'}, 'subject of', 'association football']
SELECT DISTINCT ?g WHERE { ?g property:subject_of resource:association_football . ?g rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
Which territory is the origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?h WHERE { resource:Q2736 property:P495 ?h . ?h rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:association_football property:country_of_origin ?h . ?h rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the origin of association football
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?h WHERE { resource:Q2736 property:P495 ?h . ?h rdf:type ontology:Q1496967 }
England
England is the origin of association football
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:association_football property:country_of_origin ?h . ?h rdf:type ontology:territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21
P1001
Q532
USER
Which village applies to jurisdiction over that territory ?
(c(Q532),P1001,Q21)
action filter_type
action find_reverse
entity Q21
relation P1001
type Q532
[{'concept': 'Q532'}, 'P1001', 'Q21']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q21 . ?v rdf:type ontology:Q532 }
England
action filter_type
action find_reverse
entity England
relation applies to jurisdiction
type village
[{'concept': 'village'}, 'applies to jurisdiction', 'England']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:England . ?v rdf:type ontology:village }
[]
village
Q7830212
SYSTEM
township
Q7830212
(c(Q532),P1001,Q21)
action filter_type
action find_reverse
entity Q21
relation P1001
type Q532
The [ANSWER] applies to jurisdiction over that territory
[{'concept': 'Q532'}, 'P1001', 'Q21']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q21 . ?v rdf:type ontology:Q532 }
township
The township applies to jurisdiction over that territory
township
action filter_type
action find_reverse
entity England
relation applies to jurisdiction
type village
[{'concept': 'village'}, 'applies to jurisdiction', 'England']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:England . ?v rdf:type ontology:village }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2084916
P734
Q82799
USER
Who has the surname Louis Floch ?
(Q2084916,P734,c(Q82799))
action filter_type
action find
entity Q2084916
relation P734
type Q82799
['Q2084916', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q2084916 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Louis Floch
action filter_type
action find
entity Louis Floch
relation family name
type name
['Louis Floch', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Louis_Floch property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q24704548
SYSTEM
Floch
Q24704548
(Q2084916,P734,c(Q82799))
action filter_type
action find
entity Q2084916
relation P734
type Q82799
[ANSWER] has the surname Louis [ANSWER]
['Q2084916', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q2084916 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Floch
Floch has the surname Louis Floch
Floch
action filter_type
action find
entity Louis Floch
relation family name
type name
['Louis Floch', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Louis_Floch property:family_name ?r . ?r rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q24704548 Q18214857
P734
Q502895
USER
Does Guillaume Floch have that one as last name ?
(Q18214857,P734,Q24704548)
action is_in
entity Q24704548
action find
entity Q18214857
relation P734
['Q18214857', 'P734', 'Q24704548']
ASK WHERE { resource:Q18214857 property:P734 resource:Q24704548 }
Floch Guillaume Floch
action is_in
entity Floch
action find
entity Guillaume Floch
relation family name
['Guillaume Floch', 'family name', 'Floch']
ASK WHERE { resource:Guillaume_Floch property:family_name resource:Floch }
[]
common name
SYSTEM
YES
(Q18214857,P734,Q24704548)
action is_in
entity Q24704548
action find
entity Q18214857
relation P734
[ANSWER]
['Q18214857', 'P734', 'Q24704548']
ASK WHERE { resource:Q18214857 property:P734 resource:Q24704548 }
Yes
action is_in
entity Floch
action find
entity Guillaume Floch
relation family name
['Guillaume Floch', 'family name', 'Floch']
ASK WHERE { resource:Guillaume_Floch property:family_name resource:Floch }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16901003 Q21
P17
Q15617994
USER
Which administrative territories do England or Tabb Street Presbyterian Church belong to ?
OR((Q21,P17,c(Q15617994)), (Q16901003,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21
relation P17
action find
entity Q16901003
relation P17
type Q15617994
{'OR': [['Q21', 'P17', {'concept': 'Q15617994'}], ['Q16901003', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q16901003 property:P17 ?k } UNION { resource:Q21 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Tabb Street Presbyterian Church England
action filter_type
action union
action find
entity England
relation country
action find
entity Tabb Street Presbyterian Church
relation country
type designation for an administrative territorial entity
{'OR': [['England', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tabb Street Presbyterian Church', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Tabb_Street_Presbyterian_Church property:country ?k } UNION { resource:England property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q21,P17,c(Q15617994)), (Q16901003,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21
relation P17
action find
entity Q16901003
relation P17
type Q15617994
England or Tabb Street Presbyterian Church belong to the [ANSWERS]
{'OR': [['Q21', 'P17', {'concept': 'Q15617994'}], ['Q16901003', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q16901003 property:P17 ?k } UNION { resource:Q21 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
United States of America United Kingdom
England or Tabb Street Presbyterian Church belong to the United States of America and United Kingdom
United States of America United Kingdom
action filter_type
action union
action find
entity England
relation country
action find
entity Tabb Street Presbyterian Church
relation country
type designation for an administrative territorial entity
{'OR': [['England', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Tabb Street Presbyterian Church', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Tabb_Street_Presbyterian_Church property:country ?k } UNION { resource:England property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q514312
P361
Q49447 Q874405 Q15617994
USER
Which administrative territories are parts of more number of world views and social groups than Rattenkirchen ?
(c(Q15617994),P361,c(Q49447)|c(Q874405))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action count
action filter_multi_types
action find
entity Q514312
relation P361
type Q49447
type Q874405
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?q ) WHERE { { ?u property:P361 ?h . ?h rdf:type ontology:Q874405 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P361 ?h . ?u rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q49447 } } GROUP BY ?u } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q514312 property:P361 ?g . { { ?g rdf:type ontology:Q49447 } UNION { ?g rdf:type ontology:Q874405 } } } } }
Rattenkirchen
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action count
action filter_multi_types
action find
entity Rattenkirchen
relation part of
type world view
type social group
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'world view'}, {'concept': 'social group'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?q ) WHERE { { ?u property:part_of ?h . ?h rdf:type ontology:social_group . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:part_of ?h . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:world_view } } GROUP BY ?u } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Rattenkirchen property:part_of ?g . { { ?g rdf:type ontology:world_view } UNION { ?g rdf:type ontology:social_group } } } } }
[]
world view social group designation for an administrative territorial entity
Q184864 Q3773354 Q697685
SYSTEM
Megara, Alagonia, House of Nassau-Weilburg
Q184864 Q3773354 Q697685
(c(Q15617994),P361,c(Q49447)|c(Q874405))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action count
action filter_multi_types
action find
entity Q514312
relation P361
type Q49447
type Q874405
[ANSWERS] are parts of more number of world views and social groups than Rattenkirchen
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?q ) WHERE { { ?u property:P361 ?h . ?h rdf:type ontology:Q874405 . ?u rdf:type ontology:Q15617994 } UNION { ?u property:P361 ?h . ?u rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q49447 } } GROUP BY ?u } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q514312 property:P361 ?g . { { ?g rdf:type ontology:Q49447 } UNION { ?g rdf:type ontology:Q874405 } } } } }
Megara Alagonia House of Nassau-Weilburg
Megara, Alagonia and House of Nassau-Weilburg are parts of more number of world views and social groups than Rattenkirchen
Megara Alagonia House of Nassau-Weilburg
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action count
action filter_multi_types
action find
entity Rattenkirchen
relation part of
type world view
type social group
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'world view'}, {'concept': 'social group'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?q ) WHERE { { ?u property:part_of ?h . ?h rdf:type ontology:social_group . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u property:part_of ?h . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:world_view } } GROUP BY ?u } . FILTER ( ?q > ?s ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Rattenkirchen property:part_of ?g . { { ?g rdf:type ontology:world_view } UNION { ?g rdf:type ontology:social_group } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q552419
P361
Q49447 Q874405 Q15617994
USER
And what about Gestratz?
(c(Q15617994),P361,c(Q49447)|c(Q874405))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action count
action filter_multi_types
action find
entity Q552419
relation P361
type Q49447
type Q874405
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?s ) WHERE { ?m rdf:type ?a . VALUES ( ?a ) { ( ontology:Q874405 ) ( ontology:Q49447 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q552419 property:P361 ?u . { VALUES ( ?k ) { ( ontology:Q49447 ) ( ontology:Q874405 ) } . ?u rdf:type ?k } } } . FILTER ( ?s > ?f ) }
Gestratz
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action count
action filter_multi_types
action find
entity Gestratz
relation part of
type world view
type social group
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'world view'}, {'concept': 'social group'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?s ) WHERE { ?m rdf:type ?a . VALUES ( ?a ) { ( ontology:social_group ) ( ontology:world_view ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Gestratz property:part_of ?u . { VALUES ( ?k ) { ( ontology:world_view ) ( ontology:social_group ) } . ?u rdf:type ?k } } } . FILTER ( ?s > ?f ) }
[]
world view social group designation for an administrative territorial entity
Q184864 Q3773354 Q697685
SYSTEM
Megara, Alagonia, House of Nassau-Weilburg
Q184864 Q3773354 Q697685
(c(Q15617994),P361,c(Q49447)|c(Q874405))
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q49447
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action count
action filter_multi_types
action find
entity Q552419
relation P361
type Q49447
type Q874405
[ANSWERS]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q49447'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?s ) WHERE { ?m rdf:type ?a . VALUES ( ?a ) { ( ontology:Q874405 ) ( ontology:Q49447 ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Q552419 property:P361 ?u . { VALUES ( ?k ) { ( ontology:Q49447 ) ( ontology:Q874405 ) } . ?u rdf:type ?k } } } . FILTER ( ?s > ?f ) }
Megara Alagonia House of Nassau-Weilburg
Megara Alagonia House of Nassau-Weilburg
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type world view
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action count
action filter_multi_types
action find
entity Gestratz
relation part of
type world view
type social group
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'world view'}, {'concept': 'social group'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?s ) WHERE { ?m rdf:type ?a . VALUES ( ?a ) { ( ontology:social_group ) ( ontology:world_view ) } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { resource:Gestratz property:part_of ?u . { VALUES ( ?k ) { ( ontology:world_view ) ( ontology:social_group ) } . ?u rdf:type ?k } } } . FILTER ( ?s > ?f ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q82794 Q2221906 Q15617994
USER
Which administrative territories are a component of more number of geographic regions and geographic locations than that administrative territory ?
(c(Q15617994),P361,c(Q82794)|c(Q2221906))
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q82794 . ?x rdf:type ontology:Q2221906 }
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:geographic_region . ?x rdf:type ontology:geographic_location }
[]
geographic region geographic location designation for an administrative territorial entity
Comparative|More/Less|Mult. entity type|Clarification
Q184864
SYSTEM
Did you mean Megara ?
(c(Q15617994),P361,c(Q82794)|c(Q2221906))
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q82794 . ?x rdf:type ontology:Q2221906 }
Did you mean Megara ?
Megara
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:geographic_region . ?x rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
USER
No, I meant House of Nassau-Weilburg. Could you tell me the answer for that?
(c(Q15617994),P361,c(Q82794)|c(Q2221906))
Q697685
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
[]
SYSTEM
31
Q804 Q414 Q800 Q159 Q155 Q733 Q783 Q298 Q736 Q717 Q1787362 Q948 Q668 Q792 Q790 Q794 Q241 Q242 Q36 Q38 Q232 Q686312 Q750 Q77 Q739 Q811 Q786 Q96 Q419 Q1222 Q774
(c(Q15617994),P361,c(Q82794)|c(Q2221906))
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q82794'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q82794 . ?x rdf:type ontology:Q2221906 }
Panama Argentina Costa Rica Russia Brazil Paraguay Honduras Chile Ecuador Venezuela Sacro Monte di Crea Tunisia India El Salvador Haiti Iran Cuba Belize Poland Italy Kazakhstan Duchy of Amalfi Bolivia Uruguay Colombia Nicaragua Dominican Republic Mexico Peru Aosta Valley Guatemala
31
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'geographic region'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:geographic_region . ?x rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q697685
P112
Q502895
USER
Who founded House of Nassau-Weilburg ?
(Q697685,P112,c(Q502895))
action filter_type
action find
entity Q697685
relation P112
type Q502895
['Q697685', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q697685 property:P112 ?z . ?z rdf:type ontology:Q502895 }
House of Nassau-Weilburg
action filter_type
action find
entity House of Nassau-Weilburg
relation founder
type common name
['House of Nassau-Weilburg', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:House_of_Nassau-Weilburg property:founder ?z . ?z rdf:type ontology:common_name }
[]
common name
Q475891
SYSTEM
John I, Count of Nassau-Weilburg
Q475891
(Q697685,P112,c(Q502895))
action filter_type
action find
entity Q697685
relation P112
type Q502895
[ANSWER] founded House of Nassau-Weilburg
['Q697685', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q697685 property:P112 ?z . ?z rdf:type ontology:Q502895 }
John I, Count of Nassau-Weilburg
John I, Count of Nassau-Weilburg founded House of Nassau-Weilburg
John I, Count of Nassau-Weilburg
action filter_type
action find
entity House of Nassau-Weilburg
relation founder
type common name
['House of Nassau-Weilburg', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:House_of_Nassau-Weilburg property:founder ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q475891
P21
Q290
USER
Which sex does that person have ?
(Q475891,P21,c(Q290))
action filter_type
action find
entity Q475891
relation P21
type Q290
['Q475891', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q475891 property:P21 ?a . ?a rdf:type ontology:Q290 }
John I, Count of Nassau-Weilburg
action filter_type
action find
entity John I, Count of Nassau-Weilburg
relation gender
type sex
['John I, Count of Nassau-Weilburg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:John_I,_Count_of_Nassau-Weilburg property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q475891,P21,c(Q290))
action filter_type
action find
entity Q475891
relation P21
type Q290
That person has a [ANSWER]
['Q475891', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q475891 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity John I, Count of Nassau-Weilburg
relation gender
type sex
['John I, Count of Nassau-Weilburg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:John_I,_Count_of_Nassau-Weilburg property:gender ?a . ?a rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q26702801 Q475891
P21
Q290
USER
Or Valentine Stapleton?
OR((Q475891,P21,c(Q290)), (Q26702801,P21,c(Q290)))
action filter_type
action union
action find
entity Q475891
relation P21
action find
entity Q26702801
relation P21
type Q290
{'OR': [['Q475891', 'P21', {'concept': 'Q290'}], ['Q26702801', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?w WHERE { { ?z property:P21 ?w . VALUES ( ?z ) { ( resource:Q475891 ) ( resource:Q26702801 ) } } . ?w rdf:type ontology:Q290 }
Valentine Stapleton John I, Count of Nassau-Weilburg
action filter_type
action union
action find
entity John I, Count of Nassau-Weilburg
relation gender
action find
entity Valentine Stapleton
relation gender
type sex
{'OR': [['John I, Count of Nassau-Weilburg', 'gender', {'concept': 'sex'}], ['Valentine Stapleton', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?w WHERE { { ?z property:gender ?w . VALUES ( ?z ) { ( resource:John_I,_Count_of_Nassau-Weilburg ) ( resource:Valentine_Stapleton ) } } . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q475891,P21,c(Q290)), (Q26702801,P21,c(Q290)))
action filter_type
action union
action find
entity Q475891
relation P21
action find
entity Q26702801
relation P21
type Q290
[ANSWER]
{'OR': [['Q475891', 'P21', {'concept': 'Q290'}], ['Q26702801', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?w WHERE { { ?z property:P21 ?w . VALUES ( ?z ) { ( resource:Q475891 ) ( resource:Q26702801 ) } } . ?w rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity John I, Count of Nassau-Weilburg
relation gender
action find
entity Valentine Stapleton
relation gender
type sex
{'OR': [['John I, Count of Nassau-Weilburg', 'gender', {'concept': 'sex'}], ['Valentine Stapleton', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?w WHERE { { ?z property:gender ?w . VALUES ( ?z ) { ( resource:John_I,_Count_of_Nassau-Weilburg ) ( resource:Valentine_Stapleton ) } } . ?w rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 389 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 389
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { FILTER ( ?z >= 389 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?n } }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 389
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { FILTER ( ?z >= 389 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?n } }
[]
musical instrument common name
SYSTEM
8
Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 389
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { FILTER ( ?z >= 389 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?n } }
bass guitar double bass piano trumpet cello violin organ drum kit
8
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 389
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { FILTER ( ?z >= 389 ) . { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?z ) WHERE { ?f property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?n } }
[]