Simple Question (Direct)
Simple Question
Q379242
P53
Q13417114
USER
Which noble family did Ajatasatru belong to ?
(Q379242,P53,c(Q13417114))
action filter_type
action find
entity Q379242
relation P53
type Q13417114
['Q379242', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?q WHERE { resource:Q379242 property:P53 ?q . ?q rdf:type ontology:Q13417114 }
Ajatasatru
action filter_type
action find
entity Ajatasatru
relation noble family
type noble family
['Ajatasatru', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?q WHERE { resource:Ajatasatru property:noble_family ?q . ?q rdf:type ontology:noble_family }
[]
noble family
Q12459974
SYSTEM
Haryanka dynasty
Q12459974
(Q379242,P53,c(Q13417114))
action filter_type
action find
entity Q379242
relation P53
type Q13417114
Ajatasatru belonged to [ANSWER]
['Q379242', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?q WHERE { resource:Q379242 property:P53 ?q . ?q rdf:type ontology:Q13417114 }
Haryanka dynasty
Ajatasatru belonged to Haryanka dynasty
Haryanka dynasty
action filter_type
action find
entity Ajatasatru
relation noble family
type noble family
['Ajatasatru', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?q WHERE { resource:Ajatasatru property:noble_family ?q . ?q rdf:type ontology:noble_family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q379242
P26
Q502895
USER
Which person is the life partner of Ajatasatru ?
(c(Q502895),P26,Q379242)
action filter_type
action find
entity Q379242
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q379242']
SELECT DISTINCT ?w WHERE { resource:Q379242 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Ajatasatru
action filter_type
action find
entity Ajatasatru
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ajatasatru']
SELECT DISTINCT ?w WHERE { resource:Ajatasatru property:spouse ?w . ?w rdf:type ontology:common_name }
[]
common name
Q17014839
SYSTEM
Princess Vajira
Q17014839
(c(Q502895),P26,Q379242)
action filter_type
action find
entity Q379242
relation P26
type Q502895
[ANSWER] is the life partner of Ajatasatru
[{'concept': 'Q502895'}, 'P26', 'Q379242']
SELECT DISTINCT ?w WHERE { resource:Q379242 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Princess Vajira
Princess Vajira is the life partner of Ajatasatru
Princess Vajira
action filter_type
action find
entity Ajatasatru
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ajatasatru']
SELECT DISTINCT ?w WHERE { resource:Ajatasatru property:spouse ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q379242
P140
Q874405
USER
Which social group does Ajatasatru relate to ?
(Q379242,P140,c(Q874405))
action filter_type
action find
entity Q379242
relation P140
type Q874405
['Q379242', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q379242 property:P140 ?h . ?h rdf:type ontology:Q874405 }
Ajatasatru
action filter_type
action find
entity Ajatasatru
relation religion
type social group
['Ajatasatru', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Ajatasatru property:religion ?h . ?h rdf:type ontology:social_group }
[]
social group
Q9232
SYSTEM
Jainism
Q9232
(Q379242,P140,c(Q874405))
action filter_type
action find
entity Q379242
relation P140
type Q874405
Ajatasatru relates to [ANSWER]
['Q379242', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q379242 property:P140 ?h . ?h rdf:type ontology:Q874405 }
Jainism
Ajatasatru relates to Jainism
Jainism
action filter_type
action find
entity Ajatasatru
relation religion
type social group
['Ajatasatru', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Ajatasatru property:religion ?h . ?h rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q379242
P40
Q502895
USER
Who has Ajatasatru as an offspring ?
(c(Q502895),P40,Q379242)
action filter_type
action find_reverse
entity Q379242
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q379242']
SELECT DISTINCT ?y WHERE { ?y property:P40 resource:Q379242 . ?y rdf:type ontology:Q502895 }
Ajatasatru
action filter_type
action find_reverse
entity Ajatasatru
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ajatasatru']
SELECT DISTINCT ?y WHERE { ?y property:child resource:Ajatasatru . ?y rdf:type ontology:common_name }
[]
common name
Q317765
SYSTEM
Bimbisara
Q317765
(c(Q502895),P40,Q379242)
action filter_type
action find_reverse
entity Q379242
relation P40
type Q502895
[ANSWER] has Ajatasatru as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q379242']
SELECT DISTINCT ?y WHERE { ?y property:P40 resource:Q379242 . ?y rdf:type ontology:Q502895 }
Bimbisara
Bimbisara has Ajatasatru as an offspring
Bimbisara
action filter_type
action find_reverse
entity Ajatasatru
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ajatasatru']
SELECT DISTINCT ?y WHERE { ?y property:child resource:Ajatasatru . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q317765
P21
Q290
USER
Which sex does that person possess ?
(Q317765,P21,c(Q290))
action filter_type
action find
entity Q317765
relation P21
type Q290
['Q317765', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q317765 property:P21 ?g . ?g rdf:type ontology:Q290 }
Bimbisara
action filter_type
action find
entity Bimbisara
relation gender
type sex
['Bimbisara', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Bimbisara property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q317765,P21,c(Q290))
action filter_type
action find
entity Q317765
relation P21
type Q290
That person possesses a [ANSWER]
['Q317765', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q317765 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Bimbisara
relation gender
type sex
['Bimbisara', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Bimbisara property:gender ?g . ?g rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q1186572
P21
Q502895
USER
Does Zhang Shao have the gender as that sex ?
(Q1186572,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1186572
relation P21
['Q1186572', 'P21', 'Q6581097']
ASK WHERE { resource:Q1186572 property:P21 resource:Q6581097 }
male Zhang Shao
action is_in
entity male
action find
entity Zhang Shao
relation gender
['Zhang Shao', 'gender', 'male']
ASK WHERE { resource:Zhang_Shao property:gender resource:male }
[]
common name
SYSTEM
YES
(Q1186572,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1186572
relation P21
[ANSWER]
['Q1186572', 'P21', 'Q6581097']
ASK WHERE { resource:Q1186572 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Zhang Shao
relation gender
['Zhang Shao', 'gender', 'male']
ASK WHERE { resource:Zhang_Shao property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P466
Q874405 Q811979 Q811430
USER
How many social groups were the tenants of atmost 2 architectural structures and constructions ?
(c(Q811979)|c(Q811430),P466,c(Q874405))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P466
type Q874405
type Q811979
action find_reverse_tuple_counts
relation P466
type Q874405
type Q811430
value 2
[[{'concept': 'Q811979'}, {'concept': 'Q811430'}], 'P466', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?b ) WHERE { { ?i property:P466 ?j . ?j rdf:type ontology:Q874405 . ?i rdf:type ontology:Q811979 } UNION { ?i property:P466 ?j . ?i rdf:type ontology:Q811430 . ?j rdf:type ontology:Q874405 } } GROUP BY ?j } . FILTER ( ?b <= 2 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation occupant
type social group
type architectural structure
action find_reverse_tuple_counts
relation occupant
type social group
type construction
value 2
[[{'concept': 'architectural structure'}, {'concept': 'construction'}], 'occupant', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?b ) WHERE { { ?i property:occupant ?j . ?j rdf:type ontology:social_group . ?i rdf:type ontology:architectural_structure } UNION { ?i property:occupant ?j . ?i rdf:type ontology:construction . ?j rdf:type ontology:social_group } } GROUP BY ?j } . FILTER ( ?b <= 2 ) }
[]
social group architectural structure construction
SYSTEM
78
Q3005617 Q6670780 Q3286027 Q430166 Q3229159 Q5062908 Q896965 Q5711262 Q2936194 Q6462072 Q7085655 Q6035456 Q3374818 Q7566966 Q5465823 Q3567951 Q18691036 Q17101284 Q627657 Q2459712 Q665111 Q3325289 Q8035013 Q1202117 Q6000937 Q4794138 Q3567556 Q7888328 Q1101257 Q3495259 Q7996014 Q3143019 Q3322893 Q551040 Q3999864 Q1632484 Q3495256 Q1881775 Q3142169 Q6971262 Q3143339 Q3469726 Q2885699 Q2549837 Q1574487 Q1134319 Q2868054 Q1851405 Q452395 Q2941467 Q3532920 Q2480264 Q3344159 Q213283 Q6689132 Q3109995 Q862384 Q1426308 Q2352689 Q819187 Q3572603 Q1210267 Q2573367 Q682520 Q3125972 Q2891406 Q5256875 Q3339101 Q3366024 Q3003720 Q863661 Q3194676 Q3067834 Q680212 Q3339085 Q4975841 Q2881454 Q2936583
(c(Q811979)|c(Q811430),P466,c(Q874405))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P466
type Q874405
type Q811979
action find_reverse_tuple_counts
relation P466
type Q874405
type Q811430
value 2
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q811430'}], 'P466', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?b ) WHERE { { ?i property:P466 ?j . ?j rdf:type ontology:Q874405 . ?i rdf:type ontology:Q811979 } UNION { ?i property:P466 ?j . ?i rdf:type ontology:Q811430 . ?j rdf:type ontology:Q874405 } } GROUP BY ?j } . FILTER ( ?b <= 2 ) }
Crusaders Rugby League London Skolars Manly-Warringah Sea Eagles Dewsbury Rams Leigh Centurions Centro de Estudios Políticos y Constitucionales Bradford Park Avenue A.F.C. Hemel Stags Canberra Raiders La Crosse Loggers Oldham Roughyeds Inner London Education Authority Penrith Panthers South Dakota High School Activities Association Football Federation Tasmania Widnes Vikings Federation of Finnish Learned Societies Goethe-Institut, New York Arbeitsgemeinschaft für Osteosynthesefragen Commission on Elections Brisbane Broncos South Sydney Rabbitohs Workington Town Leeds Rhinos Iloilo F.A. Army Football Association Wests Tigers United Nations Association UK Clifford Chance St. George Illawarra Dragons Whitehaven RLFC Hull Kingston Rovers Montpellier Red Devils Mann family Trump family Society of the Cincinnati St. George Dragons Senate of Finland Huddersfield Giants National Capital Region F.A. Hunslet Hawks Salford Red Devils Barrow Raiders Warrington Wolves Melbourne Storm St Helens RLFC AS Carcassonne Met Office Soviet Military Administration in Germany Castleford Tigers Toulouse Olympique International Esperanto Institute North Queensland Cowboys diplomatic mission Louisiana High School Athletic Association Gold Coast Titans Catalans Dragons Japan Sumo Association Bradford Bulls Deutsche Physikalische Gesellschaft York City Knights Wigan Warriors Sydney Roosters Transport for London Halifax RLFC Batley Bulldogs Dene Tha' Newcastle Knights Parramatta Eels Cronulla-Sutherland Sharks Hull F.C. Keighley Cougars Featherstone Rovers United Nations Office at Geneva New Zealand Warriors Broughton Rangers Balmain Tigers Canterbury-Bankstown Bulldogs
78
action count
action atmost
action union
action find_reverse_tuple_counts
relation occupant
type social group
type architectural structure
action find_reverse_tuple_counts
relation occupant
type social group
type construction
value 2
[[{'concept': 'architectural structure'}, {'concept': 'construction'}], 'occupant', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?b ) WHERE { { ?i property:occupant ?j . ?j rdf:type ontology:social_group . ?i rdf:type ontology:architectural_structure } UNION { ?i property:occupant ?j . ?i rdf:type ontology:construction . ?j rdf:type ontology:social_group } } GROUP BY ?j } . FILTER ( ?b <= 2 ) }
[]