Simple Question (Direct)
Simple Question
Q6162772
P54
Q1194951
USER
Which national sports team is Jason James a member of ?
(Q6162772,P54,c(Q1194951))
action filter_type
action find
entity Q6162772
relation P54
type Q1194951
['Q6162772', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q6162772 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Jason James
action filter_type
action find
entity Jason James
relation member of sports team
type national sports team
['Jason James', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Jason_James property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
national sports team
Q270666
SYSTEM
Grenada national football team
Q270666
(Q6162772,P54,c(Q1194951))
action filter_type
action find
entity Q6162772
relation P54
type Q1194951
The [ANSWER] is Jason James a member of
['Q6162772', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?e WHERE { resource:Q6162772 property:P54 ?e . ?e rdf:type ontology:Q1194951 }
Grenada national football team
The Grenada national football team is Jason James a member of
Grenada national football team
action filter_type
action find
entity Jason James
relation member of sports team
type national sports team
['Jason James', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?e WHERE { resource:Jason_James property:member_of_sports_team ?e . ?e rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6162772
P734
Q82799
USER
Who is associated with Jason James ?
(Q6162772,P734,c(Q82799))
action filter_type
action find
entity Q6162772
relation P734
type Q82799
['Q6162772', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q6162772 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Jason James
action filter_type
action find
entity Jason James
relation family name
type name
['Jason James', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Jason_James property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q12188082
SYSTEM
James
Q12188082
(Q6162772,P734,c(Q82799))
action filter_type
action find
entity Q6162772
relation P734
type Q82799
[ANSWER] is associated with Jason [ANSWER]
['Q6162772', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q6162772 property:P734 ?f . ?f rdf:type ontology:Q82799 }
James
James is associated with Jason James
James
action filter_type
action find
entity Jason James
relation family name
type name
['Jason James', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Jason_James property:family_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q102326
Q82799
USER
And also tell me about Matthias Keller?
(Q102326,P734,c(Q82799))
action filter_type
action find
entity Q102326
relation P734
type Q82799
['Q102326', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q102326 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Matthias Keller
action filter_type
action find
entity Matthias Keller
relation family name
type name
['Matthias Keller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Matthias_Keller property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q1738213
SYSTEM
Keller
Q1738213
(Q102326,P734,c(Q82799))
action filter_type
action find
entity Q102326
relation P734
type Q82799
[ANSWER]
['Q102326', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q102326 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Keller
Keller
action filter_type
action find
entity Matthias Keller
relation family name
type name
['Matthias Keller', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Matthias_Keller property:family_name ?n . ?n rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270666
P1532
Q1048835
USER
Which political territory is represented by Grenada national football team ?
(Q270666,P1532,c(Q1048835))
action filter_type
action find
entity Q270666
relation P1532
type Q1048835
['Q270666', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q270666 property:P1532 ?o . ?o rdf:type ontology:Q1048835 }
Grenada national football team
action filter_type
action find
entity Grenada national football team
relation country for sport
type political territorial entity
['Grenada national football team', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Grenada_national_football_team property:country_for_sport ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q769
SYSTEM
Grenada
Q769
(Q270666,P1532,c(Q1048835))
action filter_type
action find
entity Q270666
relation P1532
type Q1048835
And [ANSWER] is represented by [ANSWER] national football team
['Q270666', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q270666 property:P1532 ?o . ?o rdf:type ontology:Q1048835 }
Grenada
And Grenada is represented by Grenada national football team
Grenada
action filter_type
action find
entity Grenada national football team
relation country for sport
type political territorial entity
['Grenada national football team', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Grenada_national_football_team property:country_for_sport ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7027756
Q1048835
USER
And what about Nick Porzig?
(Q7027756,P1532,c(Q1048835))
action filter_type
action find
entity Q7027756
relation P1532
type Q1048835
['Q7027756', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q7027756 property:P1532 ?k . ?k rdf:type ontology:Q1048835 }
Nick Porzig
action filter_type
action find
entity Nick Porzig
relation country for sport
type political territorial entity
['Nick Porzig', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Nick_Porzig property:country_for_sport ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q7027756,P1532,c(Q1048835))
action filter_type
action find
entity Q7027756
relation P1532
type Q1048835
[ANSWER]
['Q7027756', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q7027756 property:P1532 ?k . ?k rdf:type ontology:Q1048835 }
Australia
Australia
action filter_type
action find
entity Nick Porzig
relation country for sport
type political territorial entity
['Nick Porzig', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Nick_Porzig property:country_for_sport ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15724847 Q7027756
P27
Q15617994
USER
Which administrative territories do Nick Porzig or Bimbadhar Varma belong to ?
OR((Q7027756,P27,c(Q15617994)), (Q15724847,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7027756
relation P27
action find
entity Q15724847
relation P27
type Q15617994
{'OR': [['Q7027756', 'P27', {'concept': 'Q15617994'}], ['Q15724847', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q15724847 property:P27 ?v } UNION { resource:Q7027756 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Bimbadhar Varma Nick Porzig
action filter_type
action union
action find
entity Nick Porzig
relation country of citizenship
action find
entity Bimbadhar Varma
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Nick Porzig', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bimbadhar Varma', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Bimbadhar_Varma property:country_of_citizenship ?v } UNION { resource:Nick_Porzig property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q258 Q668
SYSTEM
South Africa, India
Q258 Q668
OR((Q7027756,P27,c(Q15617994)), (Q15724847,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7027756
relation P27
action find
entity Q15724847
relation P27
type Q15617994
Nick Porzig or Bimbadhar Varma belong to the [ANSWERS]
{'OR': [['Q7027756', 'P27', {'concept': 'Q15617994'}], ['Q15724847', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q15724847 property:P27 ?v } UNION { resource:Q7027756 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
South Africa India
Nick Porzig or Bimbadhar Varma belong to the South Africa and India
South Africa India
action filter_type
action union
action find
entity Nick Porzig
relation country of citizenship
action find
entity Bimbadhar Varma
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Nick Porzig', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bimbadhar Varma', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Bimbadhar_Varma property:country_of_citizenship ?v } UNION { resource:Nick_Porzig property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23822720 Q12188082
P361
Q853614
USER
Which identifiers are James or Malick a part of ?
OR((Q12188082,P361,c(Q853614)), (Q23822720,P361,c(Q853614)))
action filter_type
action union
action find
entity Q12188082
relation P361
action find
entity Q23822720
relation P361
type Q853614
{'OR': [['Q12188082', 'P361', {'concept': 'Q853614'}], ['Q23822720', 'P361', {'concept': 'Q853614'}]]}
SELECT DISTINCT ?h WHERE { { ?b property:P361 ?h . VALUES ( ?b ) { ( resource:Q23822720 ) ( resource:Q12188082 ) } } . ?h rdf:type ontology:Q853614 }
Malick James
action filter_type
action union
action find
entity James
relation part of
action find
entity Malick
relation part of
type identifier
{'OR': [['James', 'part of', {'concept': 'identifier'}], ['Malick', 'part of', {'concept': 'identifier'}]]}
SELECT DISTINCT ?h WHERE { { ?b property:part_of ?h . VALUES ( ?b ) { ( resource:Malick ) ( resource:James ) } } . ?h rdf:type ontology:identifier }
[]
identifier
Q18197979 Q20730777
SYSTEM
James, Malick
Q18197979 Q20730777
OR((Q12188082,P361,c(Q853614)), (Q23822720,P361,c(Q853614)))
action filter_type
action union
action find
entity Q12188082
relation P361
action find
entity Q23822720
relation P361
type Q853614
Are [ANSWERS] are James or Malick a part of
{'OR': [['Q12188082', 'P361', {'concept': 'Q853614'}], ['Q23822720', 'P361', {'concept': 'Q853614'}]]}
SELECT DISTINCT ?h WHERE { { ?b property:P361 ?h . VALUES ( ?b ) { ( resource:Q23822720 ) ( resource:Q12188082 ) } } . ?h rdf:type ontology:Q853614 }
James Malick
Are James and Malick are James or Malick a part of
James Malick
action filter_type
action union
action find
entity James
relation part of
action find
entity Malick
relation part of
type identifier
{'OR': [['James', 'part of', {'concept': 'identifier'}], ['Malick', 'part of', {'concept': 'identifier'}]]}
SELECT DISTINCT ?h WHERE { { ?b property:part_of ?h . VALUES ( ?b ) { ( resource:Malick ) ( resource:James ) } } . ?h rdf:type ontology:identifier }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q1048835 Q4830453 Q483110
USER
How many political territories owned exactly 1 business enterprises or stadia ?
(c(Q4830453)|c(Q483110),P127,c(Q1048835))
action count
action equal
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q4830453
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
value 1
[[{'concept': 'Q4830453'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?a WHERE { ?e rdf:type ?x . VALUES ( ?x ) { ( ontology:Q4830453 ) ( ontology:Q483110 ) } } GROUP BY ?a } }
action count
action equal
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type business enterprise
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
value 1
[[{'concept': 'business enterprise'}, {'concept': 'stadium'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?a WHERE { ?e rdf:type ?x . VALUES ( ?x ) { ( ontology:business_enterprise ) ( ontology:stadium ) } } GROUP BY ?a } }
[]
political territorial entity business enterprise stadium
SYSTEM
12
Q318314 Q192387 Q217838 Q6139 Q6339 Q5783 Q741765 Q276176 Q2271 Q6142 Q207111 Q5756
(c(Q4830453)|c(Q483110),P127,c(Q1048835))
action count
action equal
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q4830453
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
value 1
[ANSWER]
[[{'concept': 'Q4830453'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?a WHERE { ?e rdf:type ?x . VALUES ( ?x ) { ( ontology:Q4830453 ) ( ontology:Q483110 ) } } GROUP BY ?a } }
Ipatinga Londrina Stirling Havelland Erzgebirgskreis Andalusia San Fernando Volta Redonda South Sumatra Potsdam-Mittelmark North Lanarkshire Community of Madrid
12
action count
action equal
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type business enterprise
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
value 1
[[{'concept': 'business enterprise'}, {'concept': 'stadium'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?c ) ?a WHERE { ?e rdf:type ?x . VALUES ( ?x ) { ( ontology:business_enterprise ) ( ontology:stadium ) } } GROUP BY ?a } }
[]