Simple Question (Direct)
Simple Question
Q8332480
P39
Q12737077
USER
What was the position for which Louis Vigouroux was appointed ?
(Q8332480,P39,c(Q12737077))
action filter_type
action find
entity Q8332480
relation P39
type Q12737077
['Q8332480', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q8332480 property:P39 ?t }
Louis Vigouroux
action filter_type
action find
entity Louis Vigouroux
relation position held
type occupation
['Louis Vigouroux', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Louis_Vigouroux property:position_held ?t }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q8332480,P39,c(Q12737077))
action filter_type
action find
entity Q8332480
relation P39
type Q12737077
Member of the French National Assembly
['Q8332480', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q8332480 property:P39 ?t }
member of the French National Assembly
Member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Louis Vigouroux
relation position held
type occupation
['Louis Vigouroux', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Louis_Vigouroux property:position_held ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8332480
P106
Q12737077
USER
What is the job of that person ?
(Q3044918,P106,c(Q12737077))
action filter_type
action find
entity Q8332480
relation P106
type Q12737077
['Q3044918', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q8332480 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Louis Vigouroux
action filter_type
action find
entity Louis Vigouroux
relation occupation
type occupation
['member of the French\xa0National Assembly', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Louis_Vigouroux property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3044918,P106,c(Q12737077))
action filter_type
action find
entity Q8332480
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q3044918', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q8332480 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Louis Vigouroux
relation occupation
type occupation
['member of the French\xa0National Assembly', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Louis_Vigouroux property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7234343 Q3044918
P17
Q15617994
USER
Which administrative territories are member of the French National Assembly or Postipankki located in ?
OR((Q3044918,P17,c(Q15617994)), (Q7234343,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3044918
relation P17
action find
entity Q7234343
relation P17
type Q15617994
{'OR': [['Q3044918', 'P17', {'concept': 'Q15617994'}], ['Q7234343', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q3044918 property:P17 ?p } UNION { resource:Q7234343 property:P17 ?p } } }
Postipankki member of the French National Assembly
action filter_type
action union
action find
entity member of the French National Assembly
relation country
action find
entity Postipankki
relation country
type designation for an administrative territorial entity
{'OR': [['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Postipankki', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:member_of_the_French National_Assembly property:country ?p } UNION { resource:Postipankki property:country ?p } } }
[]
designation for an administrative territorial entity
Q142 Q33
SYSTEM
France, Finland
Q142 Q33
OR((Q3044918,P17,c(Q15617994)), (Q7234343,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3044918
relation P17
action find
entity Q7234343
relation P17
type Q15617994
[ANSWERS] are member of the French National Assembly or Postipankki located in
{'OR': [['Q3044918', 'P17', {'concept': 'Q15617994'}], ['Q7234343', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q3044918 property:P17 ?p } UNION { resource:Q7234343 property:P17 ?p } } }
France Finland
France and Finland are member of the French National Assembly or Postipankki located in
France Finland
action filter_type
action union
action find
entity member of the French National Assembly
relation country
action find
entity Postipankki
relation country
type designation for an administrative territorial entity
{'OR': [['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Postipankki', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:member_of_the_French National_Assembly property:country ?p } UNION { resource:Postipankki property:country ?p } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1027129
P840
Q166142
USER
Do Call of Juarez: Bound in Blood have their setting located at those administrative territories ?
(Q1027129,P840,Q142) (Q1027129,P840,Q33)
action is_in
entity prev_answer
action find
entity Q1027129
relation P840
['Q1027129', 'P840', 'Q142'] ['Q1027129', 'P840', 'Q33']
ASK WHERE { resource:Q1027129 property:P840 ?q . VALUES ( ?q ) { ( resource:Q142 ) ( resource:Q33 ) } }
Call of Juarez: Bound in Blood
action is_in
entity prev_answer
action find
entity Call of Juarez: Bound in Blood
relation narrative location
['Call of Juarez: Bound in Blood', 'narrative location', 'France'] ['Call of Juarez: Bound in Blood', 'narrative location', 'Finland']
ASK WHERE { resource:Call_of_Juarez:_Bound_in_Blood property:narrative_location ?q . VALUES ( ?q ) { ( resource:France ) ( resource:Finland ) } }
[]
application
SYSTEM
NO
(Q1027129,P840,Q142) (Q1027129,P840,Q33)
action is_in
entity prev_answer
action find
entity Q1027129
relation P840
[ANSWER]
['Q1027129', 'P840', 'Q142'] ['Q1027129', 'P840', 'Q33']
ASK WHERE { resource:Q1027129 property:P840 ?q . VALUES ( ?q ) { ( resource:Q142 ) ( resource:Q33 ) } }
No
action is_in
entity prev_answer
action find
entity Call of Juarez: Bound in Blood
relation narrative location
['Call of Juarez: Bound in Blood', 'narrative location', 'France'] ['Call of Juarez: Bound in Blood', 'narrative location', 'Finland']
ASK WHERE { resource:Call_of_Juarez:_Bound_in_Blood property:narrative_location ?q . VALUES ( ?q ) { ( resource:France ) ( resource:Finland ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with atleast 17 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 17
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?r ) WHERE { ?d property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?r >= 17 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?r ) WHERE { ?d property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?r >= 17 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q142 Q159 Q155 Q30 Q38
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 17
[ANSWERS] have a diplomatic relationship with atleast 17 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?r ) WHERE { ?d property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?r >= 17 ) }
Israel Yemen France Russia Brazil United States of America Italy
Italy, Brazil and United States of America have a diplomatic relationship with atleast 17 administrative territories
Italy Brazil United States of America
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?r ) WHERE { ?d property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?r >= 17 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q858
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with greater number of administrative territories than Syria ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q858
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?k ) WHERE { ?l property:P530 ?f . ?l rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q858 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?i ) }
Syria
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Syria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?k ) WHERE { ?l property:diplomatic_relation ?f . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Syria property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?i ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q142 Q159 Q155 Q30 Q929 Q38 Q230 Q184 Q114 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q858
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with greater number of administrative territories than Syria
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?k ) WHERE { ?l property:P530 ?f . ?l rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Q858 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?k > ?i ) }
Israel Yemen France Russia Brazil United States of America Central African Republic Italy Georgia Belarus Kenya Zambia
Italy, Brazil and United States of America have diplomatic relations with greater number of administrative territories than Syria
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Syria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?f ) AS ?k ) WHERE { ?l property:diplomatic_relation ?f . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { resource:Syria property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k > ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q55
P530
Q15617994 Q15617994
USER
And also tell me about Netherlands?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q55
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?l ) WHERE { ?w property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q55 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?q ) }
Netherlands
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Netherlands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?l ) WHERE { ?w property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Netherlands property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q717 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q733 Q230 Q27 Q28 Q843 Q184 Q228 Q227 Q225 Q222 Q96 Q347 Q17 Q902 Q298 Q114 Q212 Q213 Q218 Q916 Q79 Q77 Q858 Q948 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q55
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?l ) WHERE { ?w property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q55 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?q ) }
Israel Yemen Peru India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Paraguay Georgia Ireland Hungary Pakistan Belarus Andorra Azerbaijan Bosnia and Herzegovina Albania Mexico Liechtenstein Japan Bangladesh Chile Kenya Ukraine Czech Republic Romania Angola Egypt Uruguay Syria Tunisia Libya Cape Verde Spain Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Netherlands
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?l ) WHERE { ?w property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Netherlands property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?q ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q30
P30
Q2221906
USER
Which geographic locations are those administrative territories a part of ?
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q30,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { ?i property:P30 ?r . ?r rdf:type ontology:Q2221906 . VALUES ( ?i ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q419 ) } }
Italy Brazil United States of America
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { ?i property:continent ?r . ?r rdf:type ontology:geographic_location . VALUES ( ?i ) { ( resource:Israel ) ( resource:Yemen ) ( resource:Peru ) } }
[]
geographic location
Q46 Q18 Q49
SYSTEM
Europe, South America, North America
Q46 Q18 Q538 Q49
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q30,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
The [ANSWERS] are those administrative territories a part of
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { ?i property:P30 ?r . ?r rdf:type ontology:Q2221906 . VALUES ( ?i ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q419 ) } }
Europe South America Oceania North America
The Europe, South America and North America are those administrative territories a part of
Europe South America North America
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { ?i property:continent ?r . ?r rdf:type ontology:geographic_location . VALUES ( ?i ) { ( resource:Israel ) ( resource:Yemen ) ( resource:Peru ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q46 Q18 Q49
P361
Q2221906
USER
Which geographic locations are Europe, South America and North America a portion of ?
(Q46,P361,c(Q2221906)) (Q18,P361,c(Q2221906)) (Q49,P361,c(Q2221906))
action union
action filter_type
action find
entity Q46
relation P361
type Q2221906
action filter_type
action find
entity Q18
relation P361
type Q2221906
action filter_type
action find
entity Q49
relation P361
type Q2221906
['Q46', 'P361', {'concept': 'Q2221906'}] ['Q18', 'P361', {'concept': 'Q2221906'}] ['Q49', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { { resource:Q46 property:P361 ?l . ?l rdf:type ontology:Q2221906 } UNION { resource:Q18 property:P361 ?l . ?l rdf:type ontology:Q2221906 } }
Europe South America North America
action union
action filter_type
action find
entity Europe
relation part of
type geographic location
action filter_type
action find
entity South America
relation part of
type geographic location
action filter_type
action find
entity North America
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}] ['South America', 'part of', {'concept': 'geographic location'}] ['North America', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { { resource:Europe property:part_of ?l . ?l rdf:type ontology:geographic_location } UNION { resource:South_America property:part_of ?l . ?l rdf:type ontology:geographic_location } }
[]
geographic location
Q5401 Q828 Q828
SYSTEM
Eurasia for 1st, Americas for 2nd, 3rd
Q5401 Q828 Q828
(Q46,P361,c(Q2221906)) (Q18,P361,c(Q2221906)) (Q49,P361,c(Q2221906))
action union
action filter_type
action find
entity Q46
relation P361
type Q2221906
action filter_type
action find
entity Q18
relation P361
type Q2221906
action filter_type
action find
entity Q49
relation P361
type Q2221906
[ANSWERS]
['Q46', 'P361', {'concept': 'Q2221906'}] ['Q18', 'P361', {'concept': 'Q2221906'}] ['Q49', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { { resource:Q46 property:P361 ?l . ?l rdf:type ontology:Q2221906 } UNION { resource:Q18 property:P361 ?l . ?l rdf:type ontology:Q2221906 } }
Eurasia Americas Americas
Are Eurasia, Americas and Americas are Europe, South America and North America a portion of
Eurasia Americas Americas
action union
action filter_type
action find
entity Europe
relation part of
type geographic location
action filter_type
action find
entity South America
relation part of
type geographic location
action filter_type
action find
entity North America
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}] ['South America', 'part of', {'concept': 'geographic location'}] ['North America', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { { resource:Europe property:part_of ?l . ?l rdf:type ontology:geographic_location } UNION { resource:South_America property:part_of ?l . ?l rdf:type ontology:geographic_location } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q828
P180
Q811979
USER
Which architectural structure expresses that geographic location ?
(c(Q811979),P180,Q828)
action filter_type
action find_reverse
entity Q828
relation P180
type Q811979
[{'concept': 'Q811979'}, 'P180', 'Q828']
SELECT DISTINCT ?l WHERE { ?l property:P180 resource:Q828 . ?l rdf:type ontology:Q811979 }
Americas
action filter_type
action find_reverse
entity Americas
relation depicts
type architectural structure
[{'concept': 'architectural structure'}, 'depicts', 'Americas']
SELECT DISTINCT ?l WHERE { ?l property:depicts resource:Americas . ?l rdf:type ontology:architectural_structure }
[]
architectural structure
Clarification for simple ques.
Q828
SYSTEM
Did you mean Americas ?
Q5401 Q828 Q828
(c(Q811979),P180,Q5401) (c(Q811979),P180,Q828) (c(Q811979),P180,Q828)
[ANSWER]
[{'concept': 'Q811979'}, 'P180', 'Q5401'] [{'concept': 'Q811979'}, 'P180', 'Q828'] [{'concept': 'Q811979'}, 'P180', 'Q828']
SELECT DISTINCT ?l WHERE { ?l property:P180 resource:Q828 . ?l rdf:type ontology:Q811979 }
Eurasia Americas Americas
Did you mean Americas ?
Americas
[{'concept': 'architectural structure'}, 'depicts', 'Eurasia'] [{'concept': 'architectural structure'}, 'depicts', 'Americas'] [{'concept': 'architectural structure'}, 'depicts', 'Americas']
SELECT DISTINCT ?l WHERE { ?l property:depicts resource:Americas . ?l rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q811979),P180,Q828)
[{'concept': 'Q811979'}, 'P180', 'Q828']
[{'concept': 'architectural structure'}, 'depicts', 'Americas']
[]
Q3076255
SYSTEM
fontaine de l'Observatoire
Q3076255
(c(Q811979),P180,Q828)
action filter_type
action find_reverse
entity Q828
relation P180
type Q811979
La [ANSWER] expresses that geographic location
[{'concept': 'Q811979'}, 'P180', 'Q828']
SELECT DISTINCT ?l WHERE { ?l property:P180 resource:Q828 . ?l rdf:type ontology:Q811979 }
fontaine de l'Observatoire
La fontaine de l'Observatoire expresses that geographic location
fontaine de l'Observatoire
action filter_type
action find_reverse
entity Americas
relation depicts
type architectural structure
[{'concept': 'architectural structure'}, 'depicts', 'Americas']
SELECT DISTINCT ?l WHERE { ?l property:depicts resource:Americas . ?l rdf:type ontology:architectural_structure }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q637010 Q8332480
P20
Q56061
USER
Which administrative territories did Louis Vigouroux or Nik Welter die ?
OR((Q8332480,P20,c(Q56061)), (Q637010,P20,c(Q56061)))
action filter_type
action union
action find
entity Q8332480
relation P20
action find
entity Q637010
relation P20
type Q56061
{'OR': [['Q8332480', 'P20', {'concept': 'Q56061'}], ['Q637010', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?o ) { ( resource:Q8332480 ) ( resource:Q637010 ) } . ?o property:P20 ?j } . ?j rdf:type ontology:Q56061 }
Nik Welter Louis Vigouroux
action filter_type
action union
action find
entity Louis Vigouroux
relation place of death
action find
entity Nik Welter
relation place of death
type administrative territorial entity
{'OR': [['Louis Vigouroux', 'place of death', {'concept': 'administrative territorial entity'}], ['Nik Welter', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?o ) { ( resource:Louis_Vigouroux ) ( resource:Nik_Welter ) } . ?o property:place_of_death ?j } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90 Q1842
SYSTEM
Paris, Luxembourg
Q90 Q1842
OR((Q8332480,P20,c(Q56061)), (Q637010,P20,c(Q56061)))
action filter_type
action union
action find
entity Q8332480
relation P20
action find
entity Q637010
relation P20
type Q56061
Louis Vigouroux or Nik Welter died in [ANSWERS]
{'OR': [['Q8332480', 'P20', {'concept': 'Q56061'}], ['Q637010', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?o ) { ( resource:Q8332480 ) ( resource:Q637010 ) } . ?o property:P20 ?j } . ?j rdf:type ontology:Q56061 }
Paris Luxembourg
Louis Vigouroux or Nik Welter died in Paris and Luxembourg
Paris Luxembourg
action filter_type
action union
action find
entity Louis Vigouroux
relation place of death
action find
entity Nik Welter
relation place of death
type administrative territorial entity
{'OR': [['Louis Vigouroux', 'place of death', {'concept': 'administrative territorial entity'}], ['Nik Welter', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?o ) { ( resource:Louis_Vigouroux ) ( resource:Nik_Welter ) } . ?o property:place_of_death ?j } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1842 Q23111
P740
Q2088357
USER
How many musical ensembles originated at Luxembourg or Suffolk ?
(c(Q2088357),P740,Q1842) (c(Q2088357),P740,Q23111)
action count
action union
action filter_type
action find_reverse
entity Q1842
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q23111
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q1842'] [{'concept': 'Q2088357'}, 'P740', 'Q23111']
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { ?p property:P740 resource:Q1842 . ?p rdf:type ontology:Q2088357 } UNION { ?p property:P740 resource:Q23111 . ?p rdf:type ontology:Q2088357 } }
Luxembourg Suffolk
action count
action union
action filter_type
action find_reverse
entity Luxembourg
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Suffolk
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Luxembourg'] [{'concept': 'musical ensemble'}, 'location of formation', 'Suffolk']
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { ?p property:location_of_formation resource:Luxembourg . ?p rdf:type ontology:musical_ensemble } UNION { ?p property:location_of_formation resource:Suffolk . ?p rdf:type ontology:musical_ensemble } }
[]
musical ensemble
SYSTEM
2
Q300307 Q487479
(c(Q2088357),P740,Q1842) (c(Q2088357),P740,Q23111)
action count
action union
action filter_type
action find_reverse
entity Q1842
relation P740
type Q2088357
action filter_type
action find_reverse
entity Q23111
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q2088357'}, 'P740', 'Q1842'] [{'concept': 'Q2088357'}, 'P740', 'Q23111']
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { ?p property:P740 resource:Q1842 . ?p rdf:type ontology:Q2088357 } UNION { ?p property:P740 resource:Q23111 . ?p rdf:type ontology:Q2088357 } }
A Cradle of Filth
2
action count
action union
action filter_type
action find_reverse
entity Luxembourg
relation location of formation
type musical ensemble
action filter_type
action find_reverse
entity Suffolk
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Luxembourg'] [{'concept': 'musical ensemble'}, 'location of formation', 'Suffolk']
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { ?p property:location_of_formation resource:Luxembourg . ?p rdf:type ontology:musical_ensemble } UNION { ?p property:location_of_formation resource:Suffolk . ?p rdf:type ontology:musical_ensemble } }
[]