Simple Question (Direct)
Simple Question
Q3167617
P39
Q12737077
USER
Which occupation was a position occupied by Jean-Marie Corbun ?
(Q3167617,P39,c(Q12737077))
action filter_type
action find
entity Q3167617
relation P39
type Q12737077
['Q3167617', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3167617 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Jean-Marie Corbun
action filter_type
action find
entity Jean-Marie Corbun
relation position held
type occupation
['Jean-Marie Corbun', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jean-Marie_Corbun property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3167617,P39,c(Q12737077))
action filter_type
action find
entity Q3167617
relation P39
type Q12737077
A member of the French National Assembly was a position occupied by Jean-Marie Corbun
['Q3167617', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3167617 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
member of the French National Assembly
A member of the French National Assembly was a position occupied by Jean-Marie Corbun
member of the French National Assembly
action filter_type
action find
entity Jean-Marie Corbun
relation position held
type occupation
['Jean-Marie Corbun', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jean-Marie_Corbun property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3044918
P1001
Q15617994
USER
Which administrative territory applies to jurisdiction of that occupation ?
(Q3044918,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
['Q3044918', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3044918 property:P1001 ?f . ?f rdf:type ontology:Q15617994 }
member of the French National Assembly
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3044918,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
To [ANSWER] applies to jurisdiction of that occupation
['Q3044918', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3044918 property:P1001 ?f . ?f rdf:type ontology:Q15617994 }
France
To France applies to jurisdiction of that occupation
France
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P610
Q14524493
USER
Which is the highest point of that administrative territory ?
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q14524493 . resource:Q142 property:P610 ?u }
France
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:terrain . resource:France property:highest_point ?u }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
The highest point of that administrative territory is the [ANSWER]
['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q14524493 . resource:Q142 property:P610 ?u }
Mont Blanc
The highest point of that administrative territory is the Mont Blanc
Mont Blanc
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:terrain . resource:France property:highest_point ?u }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q7675044
P3173
Q14524493 Q811979
USER
Which architectural structures contain views of greater number of terrains than Taft Point ?
(c(Q811979),P3173,c(Q14524493))
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q14524493
action count
action filter_type
action find
entity Q7675044
relation P3173
type Q811979
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q14524493'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?e ) WHERE { ?d property:P3173 ?p . ?d rdf:type ontology:Q811979 . ?p rdf:type ontology:Q14524493 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Q7675044 property:P3173 ?a . ?a rdf:type ontology:Q811979 } } . FILTER ( ?e > ?v ) }
Taft Point
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type terrain
action count
action filter_type
action find
entity Taft Point
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'terrain'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?e ) WHERE { ?d property:offers_view_on ?p . ?d rdf:type ontology:architectural_structure . ?p rdf:type ontology:terrain } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Taft_Point property:offers_view_on ?a . ?a rdf:type ontology:architectural_structure } } . FILTER ( ?e > ?v ) }
[]
terrain architectural structure
Q7088437 Q3367142 Q2433474
SYSTEM
Olmsted Point, Pas de Bellecombe, Tunnel View
Q3367142 Q3108318 Q7088437 Q26196531 Q27267334 Q2433474
(c(Q811979),P3173,c(Q14524493))
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q14524493
action count
action filter_type
action find
entity Q7675044
relation P3173
type Q811979
[ANSWERS] contain views of greater number of terrains than Taft Point
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q14524493'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?e ) WHERE { ?d property:P3173 ?p . ?d rdf:type ontology:Q811979 . ?p rdf:type ontology:Q14524493 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Q7675044 property:P3173 ?a . ?a rdf:type ontology:Q811979 } } . FILTER ( ?e > ?v ) }
Pas de Bellecombe Glacier Point Olmsted Point Washburn Point Dewey Point Tunnel View
Olmsted Point, Pas de Bellecombe and Tunnel View contain views of greater number of terrains than Taft Point
Olmsted Point Pas de Bellecombe Tunnel View
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type terrain
action count
action filter_type
action find
entity Taft Point
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'terrain'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?p ) AS ?e ) WHERE { ?d property:offers_view_on ?p . ?d rdf:type ontology:architectural_structure . ?p rdf:type ontology:terrain } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Taft_Point property:offers_view_on ?a . ?a rdf:type ontology:architectural_structure } } . FILTER ( ?e > ?v ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P655
Q502895 Q571 Q7725634
USER
Which people are the translator of around 3 books and literary works ?
(c(Q571)|c(Q7725634),P655,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
value 3
[[{'concept': 'Q571'}, {'concept': 'Q7725634'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?b ) WHERE { { ?o property:P655 ?n . ?n rdf:type ontology:Q502895 . ?o rdf:type ontology:Q7725634 } UNION { ?o property:P655 ?n . ?n rdf:type ontology:Q502895 . ?o rdf:type ontology:Q571 } } GROUP BY ?n } . FILTER ( ?b = 3 ) }
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type literary work
value 3
[[{'concept': 'book'}, {'concept': 'literary work'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?b ) WHERE { { ?o property:translator ?n . ?n rdf:type ontology:common_name . ?o rdf:type ontology:literary_work } UNION { ?o property:translator ?n . ?n rdf:type ontology:common_name . ?o rdf:type ontology:book } } GROUP BY ?n } . FILTER ( ?b = 3 ) }
[]
common name book literary work
Q172599 Q215896 Q2157568
SYSTEM
Giacomo Leopardi, Alfred Schmidt, Robert Hillyer
Q2866084 Q215896 Q2157568 Q1245203 Q172599
(c(Q571)|c(Q7725634),P655,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
value 3
[ANSWERS] are the translator of around 3 books and literary works
[[{'concept': 'Q571'}, {'concept': 'Q7725634'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?b ) WHERE { { ?o property:P655 ?n . ?n rdf:type ontology:Q502895 . ?o rdf:type ontology:Q7725634 } UNION { ?o property:P655 ?n . ?n rdf:type ontology:Q502895 . ?o rdf:type ontology:Q571 } } GROUP BY ?n } . FILTER ( ?b = 3 ) }
Arvède Barine Alfred Schmidt Robert Hillyer Doris Kilias Giacomo Leopardi
Giacomo Leopardi, Alfred Schmidt and Robert Hillyer are the translator of around 3 books and literary works
Giacomo Leopardi Alfred Schmidt Robert Hillyer
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type literary work
value 3
[[{'concept': 'book'}, {'concept': 'literary work'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?b ) WHERE { { ?o property:translator ?n . ?n rdf:type ontology:common_name . ?o rdf:type ontology:literary_work } UNION { ?o property:translator ?n . ?n rdf:type ontology:common_name . ?o rdf:type ontology:book } } GROUP BY ?n } . FILTER ( ?b = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
Which television programs did approximately 21 people do the dubbing for ?
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 21
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?w ) WHERE { ?i rdf:type ontology:Q15416 . ?n rdf:type ontology:Q502895 . ?i property:P725 ?n } GROUP BY ?i } . FILTER ( ?w = 21 ) }
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 21
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?w ) WHERE { ?i rdf:type ontology:television_program . ?n rdf:type ontology:common_name . ?i property:voice_actor ?n } GROUP BY ?i } . FILTER ( ?w = 21 ) }
[]
common name television program
Q23558
SYSTEM
House
Q23558
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 21
Approximately 21 people did the [ANSWER] the dubbing for
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?w ) WHERE { ?i rdf:type ontology:Q15416 . ?n rdf:type ontology:Q502895 . ?i property:P725 ?n } GROUP BY ?i } . FILTER ( ?w = 21 ) }
House
Approximately 21 people did the House the dubbing for
House
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 21
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?w ) WHERE { ?i rdf:type ontology:television_program . ?n rdf:type ontology:common_name . ?i property:voice_actor ?n } GROUP BY ?i } . FILTER ( ?w = 21 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q215896
P50
Q2342494 Q571
USER
How many collectables and books are written by Alfred Schmidt ?
(c(Q2342494),P50,Q215896) (c(Q571),P50,Q215896)
action count
action union
action filter_type
action find_reverse
entity Q215896
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q215896
relation P50
type Q571
[{'concept': 'Q2342494'}, 'P50', 'Q215896'] [{'concept': 'Q571'}, 'P50', 'Q215896']
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { ?p property:P50 resource:Q215896 . ?p rdf:type ontology:Q571 } UNION { ?p rdf:type ontology:Q2342494 . ?p property:P50 resource:Q215896 } }
Alfred Schmidt
action count
action union
action filter_type
action find_reverse
entity Alfred Schmidt
relation author
type collectable
action filter_type
action find_reverse
entity Alfred Schmidt
relation author
type book
[{'concept': 'collectable'}, 'author', 'Alfred Schmidt'] [{'concept': 'book'}, 'author', 'Alfred Schmidt']
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { ?p property:author resource:Alfred_Schmidt . ?p rdf:type ontology:book } UNION { ?p rdf:type ontology:collectable . ?p property:author resource:Alfred_Schmidt } }
[]
collectable book
SYSTEM
2 collectables and 6 books
Q17361124 Q17379563 Q17361120 Q17416765 Q17320221 Q17417565 Q7727273 Q17374253
(c(Q2342494),P50,Q215896) (c(Q571),P50,Q215896)
action count
action union
action filter_type
action find_reverse
entity Q215896
relation P50
type Q2342494
action filter_type
action find_reverse
entity Q215896
relation P50
type Q571
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q215896'] [{'concept': 'Q571'}, 'P50', 'Q215896']
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { ?p property:P50 resource:Q215896 . ?p rdf:type ontology:Q571 } UNION { ?p rdf:type ontology:Q2342494 . ?p property:P50 resource:Q215896 } }
History and Structure (English edition, 1981) The Concept of Nature in Marx (German edition, 1993) History and Structure Existentialistische Marx-Interpretation The Concept of Nature in Marx (Italian edition, 1973) The Concept of Nature in Marx (Spanish edition, 1976) The Concept of Nature in Marx The Concept of Nature in Marx (German edition, 1962)
2 collectables and 6 books
action count
action union
action filter_type
action find_reverse
entity Alfred Schmidt
relation author
type collectable
action filter_type
action find_reverse
entity Alfred Schmidt
relation author
type book
[{'concept': 'collectable'}, 'author', 'Alfred Schmidt'] [{'concept': 'book'}, 'author', 'Alfred Schmidt']
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { ?p property:author resource:Alfred_Schmidt . ?p rdf:type ontology:book } UNION { ?p rdf:type ontology:collectable . ?p property:author resource:Alfred_Schmidt } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q15416 Q386724
USER
Which works were described in min number of television programs ?
(c(Q386724),P1445,c(Q15416))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q15416
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?n ) { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?x ) WHERE { ?v property:P1445 ?r . ?r rdf:type ontology:Q15416 . ?v rdf:type ontology:Q386724 } GROUP BY ?v } } . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?f ) WHERE { ?y property:P1445 ?k . ?y rdf:type ontology:Q386724 . ?k rdf:type ontology:Q15416 } GROUP BY ?y } . FILTER ( ?f = ?n ) }
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?n ) { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?x ) WHERE { ?v property:fictional_universe_described_in ?r . ?r rdf:type ontology:television_program . ?v rdf:type ontology:work } GROUP BY ?v } } . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?f ) WHERE { ?y property:fictional_universe_described_in ?k . ?y rdf:type ontology:work . ?k rdf:type ontology:television_program } GROUP BY ?y } . FILTER ( ?f = ?n ) }
[]
television program work
Q384426
SYSTEM
Pirates of the Caribbean
Q384426
(c(Q386724),P1445,c(Q15416))
action argmin
action find_tuple_counts
relation P1445
type Q386724
type Q15416
[ANSWER] was described in min number of television programs
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?n ) { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?x ) WHERE { ?v property:P1445 ?r . ?r rdf:type ontology:Q15416 . ?v rdf:type ontology:Q386724 } GROUP BY ?v } } . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?f ) WHERE { ?y property:P1445 ?k . ?y rdf:type ontology:Q386724 . ?k rdf:type ontology:Q15416 } GROUP BY ?y } . FILTER ( ?f = ?n ) }
Pirates of the Caribbean
Pirates of the Caribbean was described in min number of television programs
Pirates of the Caribbean
action argmin
action find_tuple_counts
relation fictional universe described in
type work
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?n ) { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?x ) WHERE { ?v property:fictional_universe_described_in ?r . ?r rdf:type ontology:television_program . ?v rdf:type ontology:work } GROUP BY ?v } } . { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?f ) WHERE { ?y property:fictional_universe_described_in ?k . ?y rdf:type ontology:work . ?k rdf:type ontology:television_program } GROUP BY ?y } . FILTER ( ?f = ?n ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q384426
P1434
Q36649
USER
Which visual arts has its story in that work ?
(c(Q36649),P1434,Q384426)
action filter_type
action find_reverse
entity Q384426
relation P1434
type Q36649
[{'concept': 'Q36649'}, 'P1434', 'Q384426']
SELECT DISTINCT ?o WHERE { ?o property:P1434 resource:Q384426 . ?o rdf:type ontology:Q36649 }
Pirates of the Caribbean
action filter_type
action find_reverse
entity Pirates of the Caribbean
relation describes the fictional universe
type visual arts
[{'concept': 'visual arts'}, 'describes the fictional universe', 'Pirates of the Caribbean']
SELECT DISTINCT ?o WHERE { ?o property:describes_the_fictional_universe resource:Pirates_of_the_Caribbean . ?o rdf:type ontology:visual_arts }
[]
visual arts
Q194318
SYSTEM
Pirates of the Caribbean
Q194318
(c(Q36649),P1434,Q384426)
action filter_type
action find_reverse
entity Q384426
relation P1434
type Q36649
[ANSWER] has its story in that work
[{'concept': 'Q36649'}, 'P1434', 'Q384426']
SELECT DISTINCT ?o WHERE { ?o property:P1434 resource:Q384426 . ?o rdf:type ontology:Q36649 }
Pirates of the Caribbean
Pirates of the Caribbean has its story in that work
Pirates of the Caribbean
action filter_type
action find_reverse
entity Pirates of the Caribbean
relation describes the fictional universe
type visual arts
[{'concept': 'visual arts'}, 'describes the fictional universe', 'Pirates of the Caribbean']
SELECT DISTINCT ?o WHERE { ?o property:describes_the_fictional_universe resource:Pirates_of_the_Caribbean . ?o rdf:type ontology:visual_arts }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q194318 Q37175
P161
Q502895
USER
Did Johnny Depp star in that visual arts ?
(Q194318,P161,Q37175)
action is_in
entity Q37175
action find
entity Q194318
relation P161
['Q194318', 'P161', 'Q37175']
ASK WHERE { resource:Q194318 property:P161 resource:Q37175 }
Pirates of the Caribbean Johnny Depp
action is_in
entity Johnny Depp
action find
entity Pirates of the Caribbean
relation cast member
['Pirates of the Caribbean', 'cast member', 'Johnny Depp']
ASK WHERE { resource:Pirates_of_the_Caribbean property:cast_member resource:Johnny_Depp }
[]
common name
SYSTEM
YES
(Q194318,P161,Q37175)
action is_in
entity Q37175
action find
entity Q194318
relation P161
[ANSWER]
['Q194318', 'P161', 'Q37175']
ASK WHERE { resource:Q194318 property:P161 resource:Q37175 }
Yes
action is_in
entity Johnny Depp
action find
entity Pirates of the Caribbean
relation cast member
['Pirates of the Caribbean', 'cast member', 'Johnny Depp']
ASK WHERE { resource:Pirates_of_the_Caribbean property:cast_member resource:Johnny_Depp }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q215896 Q966759
P27
Q1048835
USER
Is Hertopy the country of citizenship of Alfred Schmidt ?
(Q215896,P27,Q966759)
action is_in
entity Q966759
action find
entity Q215896
relation P27
['Q215896', 'P27', 'Q966759']
ASK WHERE { resource:Q215896 property:P27 resource:Q966759 }
Alfred Schmidt Hertopy
action is_in
entity Hertopy
action find
entity Alfred Schmidt
relation country of citizenship
['Alfred Schmidt', 'country of citizenship', 'Hertopy']
ASK WHERE { resource:Alfred_Schmidt property:country_of_citizenship resource:Hertopy }
[]
political territorial entity
SYSTEM
NO
(Q215896,P27,Q966759)
action is_in
entity Q966759
action find
entity Q215896
relation P27
[ANSWER]
['Q215896', 'P27', 'Q966759']
ASK WHERE { resource:Q215896 property:P27 resource:Q966759 }
No
action is_in
entity Hertopy
action find
entity Alfred Schmidt
relation country of citizenship
['Alfred Schmidt', 'country of citizenship', 'Hertopy']
ASK WHERE { resource:Alfred_Schmidt property:country_of_citizenship resource:Hertopy }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4662095 Q7675044
P27 P17
Q15617994
USER
Which administrative territories do Taft Point belong to and are the native countriesof Aaron Hicklin ?
AND((Q7675044,P17,c(Q15617994)), (Q4662095,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q7675044
relation P17
action find
entity Q4662095
relation P27
type Q15617994
{'AND': [['Q7675044', 'P17', {'concept': 'Q15617994'}], ['Q4662095', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { resource:Q4662095 property:P27 ?r . resource:Q7675044 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Aaron Hicklin Taft Point
action filter_type
action intersection
action find
entity Taft Point
relation country
action find
entity Aaron Hicklin
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Taft Point', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Aaron Hicklin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Aaron_Hicklin property:country_of_citizenship ?r . resource:Taft_Point property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q7675044,P17,c(Q15617994)), (Q4662095,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q7675044
relation P17
action find
entity Q4662095
relation P27
type Q15617994
Taft Point belong to [ANSWER] and are the native countriesof Aaron Hicklin
{'AND': [['Q7675044', 'P17', {'concept': 'Q15617994'}], ['Q4662095', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { resource:Q4662095 property:P27 ?r . resource:Q7675044 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
United States of America
Taft Point belong to United States of America and are the native countriesof Aaron Hicklin
United States of America
action filter_type
action intersection
action find
entity Taft Point
relation country
action find
entity Aaron Hicklin
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Taft Point', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Aaron Hicklin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Aaron_Hicklin property:country_of_citizenship ?r . resource:Taft_Point property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q583
P138
Q22746 Q14524493
USER
How many urban parks or terrains have Mont Blanc as their namesake ?
(c(Q22746),P138,Q583) (c(Q14524493),P138,Q583)
action count
action union
action filter_type
action find_reverse
entity Q583
relation P138
type Q22746
action filter_type
action find_reverse
entity Q583
relation P138
type Q14524493
[{'concept': 'Q22746'}, 'P138', 'Q583'] [{'concept': 'Q14524493'}, 'P138', 'Q583']
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { ?s property:P138 resource:Q583 . ?s rdf:type ontology:Q22746 } UNION { ?s property:P138 resource:Q583 . ?s rdf:type ontology:Q14524493 } }
Mont Blanc
action count
action union
action filter_type
action find_reverse
entity Mont Blanc
relation named after
type urban park
action filter_type
action find_reverse
entity Mont Blanc
relation named after
type terrain
[{'concept': 'urban park'}, 'named after', 'Mont Blanc'] [{'concept': 'terrain'}, 'named after', 'Mont Blanc']
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { ?s property:named_after resource:Mont_Blanc . ?s rdf:type ontology:urban_park } UNION { ?s property:named_after resource:Mont_Blanc . ?s rdf:type ontology:terrain } }
[]
urban park terrain
SYSTEM
2
Q3495042 Q499158
(c(Q22746),P138,Q583) (c(Q14524493),P138,Q583)
action count
action union
action filter_type
action find_reverse
entity Q583
relation P138
type Q22746
action filter_type
action find_reverse
entity Q583
relation P138
type Q14524493
[ANSWER]
[{'concept': 'Q22746'}, 'P138', 'Q583'] [{'concept': 'Q14524493'}, 'P138', 'Q583']
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { ?s property:P138 resource:Q583 . ?s rdf:type ontology:Q22746 } UNION { ?s property:P138 resource:Q583 . ?s rdf:type ontology:Q14524493 } }
square du Mont-Blanc Mons Blanc
2
action count
action union
action filter_type
action find_reverse
entity Mont Blanc
relation named after
type urban park
action filter_type
action find_reverse
entity Mont Blanc
relation named after
type terrain
[{'concept': 'urban park'}, 'named after', 'Mont Blanc'] [{'concept': 'terrain'}, 'named after', 'Mont Blanc']
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { ?s property:named_after resource:Mont_Blanc . ?s rdf:type ontology:urban_park } UNION { ?s property:named_after resource:Mont_Blanc . ?s rdf:type ontology:terrain } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q583
P30
Q2221906
USER
Which geographic location is Mont Blanc a part of ?
(Q583,P30,c(Q2221906))
action filter_type
action find
entity Q583
relation P30
type Q2221906
['Q583', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2221906 . resource:Q583 property:P30 ?j }
Mont Blanc
action filter_type
action find
entity Mont Blanc
relation continent
type geographic location
['Mont Blanc', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:geographic_location . resource:Mont_Blanc property:continent ?j }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q583,P30,c(Q2221906))
action filter_type
action find
entity Q583
relation P30
type Q2221906
It [ANSWER] is Mont Blanc a part of
['Q583', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2221906 . resource:Q583 property:P30 ?j }
Europe
It Europe is Mont Blanc a part of
Europe
action filter_type
action find
entity Mont Blanc
relation continent
type geographic location
['Mont Blanc', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:geographic_location . resource:Mont_Blanc property:continent ?j }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q706112
Q2221906
USER
And also tell me about Gera?
(Q706112,P30,c(Q2221906))
action filter_type
action find
entity Q706112
relation P30
type Q2221906
['Q706112', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q706112 property:P30 ?e . ?e rdf:type ontology:Q2221906 }
Gera
action filter_type
action find
entity Gera
relation continent
type geographic location
['Gera', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:Gera property:continent ?e . ?e rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q706112,P30,c(Q2221906))
action filter_type
action find
entity Q706112
relation P30
type Q2221906
[ANSWER]
['Q706112', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q706112 property:P30 ?e . ?e rdf:type ontology:Q2221906 }
Europe
Europe
action filter_type
action find
entity Gera
relation continent
type geographic location
['Gera', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:Gera property:continent ?e . ?e rdf:type ontology:geographic_location }
[]