Simple Question (Direct)
Simple Question
Q1364797
P47
Q20667921
USER
Who share the border with Thennelières ?
(Q1364797,P47,c(Q20667921))
action filter_type
action find
entity Q1364797
relation P47
type Q20667921
['Q1364797', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q1364797 property:P47 ?l . ?l rdf:type ontology:Q20667921 }
Thennelières
action filter_type
action find
entity Thennelières
relation shares border with
type type of french administrative division
['Thennelières', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Thennelières property:shares_border_with ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1362764 Q1437977 Q1153657
SYSTEM
Saint-Parres-aux-Tertres, Villechétif, Courteranges
Q1153657 Q1362764 Q43479 Q1437977 Q1104411 Q1374685
(Q1364797,P47,c(Q20667921))
action filter_type
action find
entity Q1364797
relation P47
type Q20667921
[ANSWERS] share the border with Thennelières
['Q1364797', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q1364797 property:P47 ?l . ?l rdf:type ontology:Q20667921 }
Courteranges Saint-Parres-aux-Tertres Bouranton Villechétif Ruvigny Laubressel
Saint-Parres-aux-Tertres, Villechétif and Courteranges share the border with Thennelières
Saint-Parres-aux-Tertres Villechétif Courteranges
action filter_type
action find
entity Thennelières
relation shares border with
type type of french administrative division
['Thennelières', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Thennelières property:shares_border_with ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1364797
P17
Q15617994
USER
Which administrative territory is Thennelières situated in ?
(Q1364797,P17,c(Q15617994))
action filter_type
action find
entity Q1364797
relation P17
type Q15617994
['Q1364797', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q1364797 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Thennelières
action filter_type
action find
entity Thennelières
relation country
type designation for an administrative territorial entity
['Thennelières', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Thennelières property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1364797,P17,c(Q15617994))
action filter_type
action find
entity Q1364797
relation P17
type Q15617994
Thennelières is situated in [ANSWER]
['Q1364797', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q1364797 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
France
Thennelières is situated in France
France
action filter_type
action find
entity Thennelières
relation country
type designation for an administrative territorial entity
['Thennelières', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Thennelières property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1321012
Q15617994
USER
And what about Shatsky National Natural Park?
(Q1321012,P17,c(Q15617994))
action filter_type
action find
entity Q1321012
relation P17
type Q15617994
['Q1321012', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q1321012 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Shatsky National Natural Park
action filter_type
action find
entity Shatsky National Natural Park
relation country
type designation for an administrative territorial entity
['Shatsky National Natural Park', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Shatsky_National_Natural_Park property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
(Q1321012,P17,c(Q15617994))
action filter_type
action find
entity Q1321012
relation P17
type Q15617994
[ANSWER]
['Q1321012', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q1321012 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Ukraine
Ukraine
action filter_type
action find
entity Shatsky National Natural Park
relation country
type designation for an administrative territorial entity
['Shatsky National Natural Park', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Shatsky_National_Natural_Park property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q212
P463
Q874405
USER
What were that administrative territory a member of ?
(Q212,P463,c(Q874405))
action filter_type
action find
entity Q212
relation P463
type Q874405
['Q212', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q212 property:P463 ?t . ?t rdf:type ontology:Q874405 }
Ukraine
action filter_type
action find
entity Ukraine
relation member of
type social group
['Ukraine', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:Ukraine property:member_of ?t . ?t rdf:type ontology:social_group }
[]
social group
Q782942 Q8908
SYSTEM
Australia Group, Council of Europe
Q782942 Q8908
(Q212,P463,c(Q874405))
action filter_type
action find
entity Q212
relation P463
type Q874405
[ANSWERS] a member of
['Q212', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q212 property:P463 ?t . ?t rdf:type ontology:Q874405 }
Australia Group Council of Europe
Australia Group and Council of Europe a member of
Australia Group Council of Europe
action filter_type
action find
entity Ukraine
relation member of
type social group
['Ukraine', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:Ukraine property:member_of ?t . ?t rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212
P1001
Q35798
USER
Which executive branch has jurisdiction over Ukraine ?
(c(Q35798),P1001,Q212)
action filter_type
action find_reverse
entity Q212
relation P1001
type Q35798
[{'concept': 'Q35798'}, 'P1001', 'Q212']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q212 . ?i rdf:type ontology:Q35798 }
Ukraine
action filter_type
action find_reverse
entity Ukraine
relation applies to jurisdiction
type executive branch
[{'concept': 'executive branch'}, 'applies to jurisdiction', 'Ukraine']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Ukraine . ?i rdf:type ontology:executive_branch }
[]
executive branch
Q4376007
SYSTEM
Fokin Government
Q4376007
(c(Q35798),P1001,Q212)
action filter_type
action find_reverse
entity Q212
relation P1001
type Q35798
[ANSWER] has jurisdiction over Ukraine
[{'concept': 'Q35798'}, 'P1001', 'Q212']
SELECT DISTINCT ?i WHERE { ?i property:P1001 resource:Q212 . ?i rdf:type ontology:Q35798 }
Fokin Government
Fokin Government has jurisdiction over Ukraine
Fokin Government
action filter_type
action find_reverse
entity Ukraine
relation applies to jurisdiction
type executive branch
[{'concept': 'executive branch'}, 'applies to jurisdiction', 'Ukraine']
SELECT DISTINCT ?i WHERE { ?i property:applies_to_jurisdiction resource:Ukraine . ?i rdf:type ontology:executive_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8908
P163
Q17335294
USER
Which coat of arms has Council of Europe as its flag ?
(Q8908,P163,c(Q17335294))
action filter_type
action find
entity Q8908
relation P163
type Q17335294
['Q8908', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?n WHERE { resource:Q8908 property:P163 ?n . ?n rdf:type ontology:Q17335294 }
Council of Europe
action filter_type
action find
entity Council of Europe
relation flag
type flag or coat of arms
['Council of Europe', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?n WHERE { resource:Council_of_Europe property:flag ?n . ?n rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q122482
SYSTEM
flag of Europe
Q122482
(Q8908,P163,c(Q17335294))
action filter_type
action find
entity Q8908
relation P163
type Q17335294
The [ANSWER] has Council of Europe as its flag
['Q8908', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?n WHERE { resource:Q8908 property:P163 ?n . ?n rdf:type ontology:Q17335294 }
flag of Europe
The flag of Europe has Council of Europe as its flag
flag of Europe
action filter_type
action find
entity Council of Europe
relation flag
type flag or coat of arms
['Council of Europe', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?n WHERE { resource:Council_of_Europe property:flag ?n . ?n rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q126758
Q17335294
USER
And what about Chernogorsk?
(Q126758,P163,c(Q17335294))
action filter_type
action find
entity Q126758
relation P163
type Q17335294
['Q126758', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?s WHERE { resource:Q126758 property:P163 ?s . ?s rdf:type ontology:Q17335294 }
Chernogorsk
action filter_type
action find
entity Chernogorsk
relation flag
type flag or coat of arms
['Chernogorsk', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?s WHERE { resource:Chernogorsk property:flag ?s . ?s rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q4490392
SYSTEM
flag of Chernogorsk
Q4490392
(Q126758,P163,c(Q17335294))
action filter_type
action find
entity Q126758
relation P163
type Q17335294
[ANSWER]
['Q126758', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?s WHERE { resource:Q126758 property:P163 ?s . ?s rdf:type ontology:Q17335294 }
flag of Chernogorsk
flag of Chernogorsk
action filter_type
action find
entity Chernogorsk
relation flag
type flag or coat of arms
['Chernogorsk', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?s WHERE { resource:Chernogorsk property:flag ?s . ?s rdf:type ontology:flag_or_coat_of_arms }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q82955 Q8908
P463 P106
Q502895
USER
Which people have a membership of Council of Europe and have politician as his/her means of employment ?
AND((c(Q502895),P463,Q8908), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q8908
relation P463
action find_reverse
entity Q82955
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P463', 'Q8908'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?q WHERE { ?q property:P463 resource:Q8908 . ?q property:P106 resource:Q82955 . ?q rdf:type ontology:Q502895 }
politician Council of Europe
action filter_type
action intersection
action find_reverse
entity Council of Europe
relation member of
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'member of', 'Council of Europe'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?q WHERE { ?q property:member_of resource:Council_of_Europe . ?q property:occupation resource:politician . ?q rdf:type ontology:common_name }
[]
common name
Q19993509
SYSTEM
Károly Lotz
Q19993509
AND((c(Q502895),P463,Q8908), (c(Q502895),P106,Q82955))
action filter_type
action intersection
action find_reverse
entity Q8908
relation P463
action find_reverse
entity Q82955
relation P106
type Q502895
[ANSWER] have a membership of Council of Europe and have politician as his/her means of employment
{'AND': [[{'concept': 'Q502895'}, 'P463', 'Q8908'], [{'concept': 'Q502895'}, 'P106', 'Q82955']]}
SELECT DISTINCT ?q WHERE { ?q property:P463 resource:Q8908 . ?q property:P106 resource:Q82955 . ?q rdf:type ontology:Q502895 }
Károly Lotz
Károly Lotz have a membership of Council of Europe and have politician as his/her means of employment
Károly Lotz
action filter_type
action intersection
action find_reverse
entity Council of Europe
relation member of
action find_reverse
entity politician
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'member of', 'Council of Europe'], [{'concept': 'common name'}, 'occupation', 'politician']]}
SELECT DISTINCT ?q WHERE { ?q property:member_of resource:Council_of_Europe . ?q property:occupation resource:politician . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q19993509 Q540005
P1038
Q502895
USER
Is Károly Lotz a kin of that one ?
(Q540005,P1038,Q19993509)
action is_in
entity Q540005
action find
entity Q19993509
relation P1038
['Q540005', 'P1038', 'Q19993509']
ASK WHERE { resource:Q19993509 property:P1038 resource:Q540005 }
Károly Lotz Károly Lotz
action is_in
entity Károly Lotz
action find
entity Károly Lotz
relation relative
['Károly Lotz', 'relative', 'Károly Lotz']
ASK WHERE { resource:Károly_Lotz property:relative resource:Károly_Lotz }
[]
common name
SYSTEM
YES
(Q540005,P1038,Q19993509)
action is_in
entity Q540005
action find
entity Q19993509
relation P1038
[ANSWER]
['Q540005', 'P1038', 'Q19993509']
ASK WHERE { resource:Q19993509 property:P1038 resource:Q540005 }
Yes
action is_in
entity Károly Lotz
action find
entity Károly Lotz
relation relative
['Károly Lotz', 'relative', 'Károly Lotz']
ASK WHERE { resource:Károly_Lotz property:relative resource:Károly_Lotz }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
Which cinematic techniques have been dubbed by atmost 47 people ?
(c(Q1001378),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 47
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?y <= 47 ) . { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?y ) WHERE { ?r property:P725 ?l . ?r rdf:type ontology:Q1001378 . ?l rdf:type ontology:Q502895 } GROUP BY ?r } }
action atmost
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 47
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?y <= 47 ) . { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?y ) WHERE { ?r property:voice_actor ?l . ?r rdf:type ontology:cinematic_technique . ?l rdf:type ontology:common_name } GROUP BY ?r } }
[]
common name cinematic technique
Q104905 Q6144664 Q15728879
SYSTEM
WALL•E, Inside Out, My Little Pony: Equestria Girls 2 – Rainbow Rocks
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q2329413 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q2388653 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action atmost
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 47
[ANSWERS] have been dubbed by atmost 47 people
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?y <= 47 ) . { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?y ) WHERE { ?r property:P725 ?l . ?r rdf:type ontology:Q1001378 . ?l rdf:type ontology:Q502895 } GROUP BY ?r } }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Barbie as the Princess and the Pauper Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Tom Sawyer Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
WALL•E, Inside Out and My Little Pony: Equestria Girls 2 – Rainbow Rocks have been dubbed by atmost 47 people
WALL•E Inside Out My Little Pony: Equestria Girls 2 – Rainbow Rocks
action atmost
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 47
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?y <= 47 ) . { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?y ) WHERE { ?r property:voice_actor ?l . ?r rdf:type ontology:cinematic_technique . ?l rdf:type ontology:common_name } GROUP BY ?r } }
[]