Simple Question (Direct)
Simple Question
Q18197708
P106
Q12737077
USER
What are the professions of Auguste Prost ?
(Q18197708,P106,c(Q12737077))
action filter_type
action find
entity Q18197708
relation P106
type Q12737077
['Q18197708', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q18197708 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Auguste Prost
action filter_type
action find
entity Auguste Prost
relation occupation
type occupation
['Auguste Prost', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Auguste_Prost property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q201788 Q2330979 Q3621491
SYSTEM
historian, polygraph, archaeologist
Q201788 Q2330979 Q3621491
(Q18197708,P106,c(Q12737077))
action filter_type
action find
entity Q18197708
relation P106
type Q12737077
The professions of Auguste Prost are [ANSWERS]
['Q18197708', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q18197708 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
historian polygraph archaeologist
The professions of Auguste Prost are historian, polygraph and archaeologist
historian polygraph archaeologist
action filter_type
action find
entity Auguste Prost
relation occupation
type occupation
['Auguste Prost', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Auguste_Prost property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18197708
P19
Q20667921
USER
Where was that person born ?
(Q201788,P19,c(Q20667921)) (Q2330979,P19,c(Q20667921)) (Q3621491,P19,c(Q20667921))
action filter_type
action find
entity Q18197708
relation P19
type Q20667921
['Q201788', 'P19', {'concept': 'Q20667921'}] ['Q2330979', 'P19', {'concept': 'Q20667921'}] ['Q3621491', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q18197708 property:P19 ?k . ?k rdf:type ontology:Q20667921 }
Auguste Prost
action filter_type
action find
entity Auguste Prost
relation place of birth
type type of french administrative division
['historian', 'place of birth', {'concept': 'type of french administrative division'}] ['polygraph', 'place of birth', {'concept': 'type of french administrative division'}] ['archaeologist', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Auguste_Prost property:place_of_birth ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q22690
SYSTEM
Metz
Q22690
(Q201788,P19,c(Q20667921)) (Q2330979,P19,c(Q20667921)) (Q3621491,P19,c(Q20667921))
action filter_type
action find
entity Q18197708
relation P19
type Q20667921
That person was born in [ANSWER]
['Q201788', 'P19', {'concept': 'Q20667921'}] ['Q2330979', 'P19', {'concept': 'Q20667921'}] ['Q3621491', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { resource:Q18197708 property:P19 ?k . ?k rdf:type ontology:Q20667921 }
Metz
That person was born in Metz
Metz
action filter_type
action find
entity Auguste Prost
relation place of birth
type type of french administrative division
['historian', 'place of birth', {'concept': 'type of french administrative division'}] ['polygraph', 'place of birth', {'concept': 'type of french administrative division'}] ['archaeologist', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { resource:Auguste_Prost property:place_of_birth ?k . ?k rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P36
Q20667921 Q19953632
USER
How many french administrative divisions and former administrative territories contain that french administrative division as their capital ?
(c(Q20667921),P36,Q22690) (c(Q19953632),P36,Q22690) (c(Q20667921),P36,Q22690) (c(Q19953632),P36,Q22690)
action count
action union
action filter_type
action find_reverse
entity Q22690
relation P36
type Q20667921
action filter_type
action find_reverse
entity Q22690
relation P36
type Q19953632
[{'concept': 'Q20667921'}, 'P36', 'Q22690'] [{'concept': 'Q19953632'}, 'P36', 'Q22690'] [{'concept': 'Q20667921'}, 'P36', 'Q22690'] [{'concept': 'Q19953632'}, 'P36', 'Q22690']
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { ?m rdf:type ontology:Q20667921 . ?m property:P36 resource:Q22690 } UNION { ?m property:P36 resource:Q22690 . ?m rdf:type ontology:Q19953632 } }
action count
action union
action filter_type
action find_reverse
entity Metz
relation capital
type type of french administrative division
action filter_type
action find_reverse
entity Metz
relation capital
type former administrative territorial entity
[{'concept': 'type of french administrative division'}, 'capital', 'Metz'] [{'concept': 'former administrative territorial entity'}, 'capital', 'Metz'] [{'concept': 'type of french administrative division'}, 'capital', 'Metz'] [{'concept': 'former administrative territorial entity'}, 'capital', 'Metz']
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { ?m rdf:type ontology:type_of_french_administrative_division . ?m property:capital resource:Metz } UNION { ?m property:capital resource:Metz . ?m rdf:type ontology:former_administrative_territorial_entity } }
[]
type of french administrative division former administrative territorial entity
SYSTEM
7 french administrative divisions and 1 former administrative territories
Q1137 Q17622837 Q1399151 Q1397943 Q17622843 Q17622846 Q1397924 Q1397952
(c(Q20667921),P36,Q22690) (c(Q19953632),P36,Q22690) (c(Q20667921),P36,Q22690) (c(Q19953632),P36,Q22690)
action count
action union
action filter_type
action find_reverse
entity Q22690
relation P36
type Q20667921
action filter_type
action find_reverse
entity Q22690
relation P36
type Q19953632
[ANSWER]
[{'concept': 'Q20667921'}, 'P36', 'Q22690'] [{'concept': 'Q19953632'}, 'P36', 'Q22690'] [{'concept': 'Q20667921'}, 'P36', 'Q22690'] [{'concept': 'Q19953632'}, 'P36', 'Q22690']
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { ?m rdf:type ontology:Q20667921 . ?m property:P36 resource:Q22690 } UNION { ?m property:P36 resource:Q22690 . ?m rdf:type ontology:Q19953632 } }
Lorraine canton of Metz-1 canton of Metz-Ville-1 canton of Metz-Ville-4 canton of Metz-2 canton of Metz-3 canton of Metz-Ville-2 canton of Metz-Ville-3
7 french administrative divisions and 1 former administrative territories
action count
action union
action filter_type
action find_reverse
entity Metz
relation capital
type type of french administrative division
action filter_type
action find_reverse
entity Metz
relation capital
type former administrative territorial entity
[{'concept': 'type of french administrative division'}, 'capital', 'Metz'] [{'concept': 'former administrative territorial entity'}, 'capital', 'Metz'] [{'concept': 'type of french administrative division'}, 'capital', 'Metz'] [{'concept': 'former administrative territorial entity'}, 'capital', 'Metz']
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { ?m rdf:type ontology:type_of_french_administrative_division . ?m property:capital resource:Metz } UNION { ?m property:capital resource:Metz . ?m rdf:type ontology:former_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q20667921 Q515
USER
How many cities are the county seat for around 11 french administrative divisions ?
(c(Q515),P1376,c(Q20667921))
action count
action approx
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 11
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { FILTER ( ?x = 11 ) . { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?x ) WHERE { ?t property:P1376 ?z . ?t rdf:type ontology:Q515 . ?z rdf:type ontology:Q20667921 } GROUP BY ?t } }
action count
action approx
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 11
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { FILTER ( ?x = 11 ) . { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?x ) WHERE { ?t property:capital_of ?z . ?t rdf:type ontology:city . ?z rdf:type ontology:type_of_french_administrative_division } GROUP BY ?t } }
[]
type of french administrative division city
SYSTEM
1
Q6602
(c(Q515),P1376,c(Q20667921))
action count
action approx
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 11
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { FILTER ( ?x = 11 ) . { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?x ) WHERE { ?t property:P1376 ?z . ?t rdf:type ontology:Q515 . ?z rdf:type ontology:Q20667921 } GROUP BY ?t } }
Strasbourg
1
action count
action approx
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 11
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { FILTER ( ?x = 11 ) . { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?x ) WHERE { ?t property:capital_of ?z . ?t rdf:type ontology:city . ?z rdf:type ontology:type_of_french_administrative_division } GROUP BY ?t } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22690
P119
Q502895
USER
Which person has that french administrative division as resting place ?
action filter_type
action find_reverse
entity Q22690
relation P119
type Q502895
SELECT DISTINCT ?j WHERE { ?j property:P119 resource:Q22690 . ?j rdf:type ontology:Q502895 }
Metz
action filter_type
action find_reverse
entity Metz
relation place of burial
type common name
SELECT DISTINCT ?j WHERE { ?j property:place_of_burial resource:Metz . ?j rdf:type ontology:common_name }
[]
common name
Q3386276
SYSTEM
Pierre Michel
Q3386276
action filter_type
action find_reverse
entity Q22690
relation P119
type Q502895
[ANSWER] has that french administrative division as resting place
SELECT DISTINCT ?j WHERE { ?j property:P119 resource:Q22690 . ?j rdf:type ontology:Q502895 }
Pierre Michel
Pierre Michel has that french administrative division as resting place
Pierre Michel
action filter_type
action find_reverse
entity Metz
relation place of burial
type common name
SELECT DISTINCT ?j WHERE { ?j property:place_of_burial resource:Metz . ?j rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3386276 Q383183
P19
Q20667921
USER
Is Trégarvan the birthplace of that person ?
(Q3386276,P19,Q383183)
action is_in
entity Q383183
action find
entity Q3386276
relation P19
['Q3386276', 'P19', 'Q383183']
ASK WHERE { resource:Q3386276 property:P19 resource:Q383183 }
Pierre Michel Trégarvan
action is_in
entity Trégarvan
action find
entity Pierre Michel
relation place of birth
['Pierre Michel', 'place of birth', 'Trégarvan']
ASK WHERE { resource:Pierre_Michel property:place_of_birth resource:Trégarvan }
[]
type of french administrative division
SYSTEM
NO
(Q3386276,P19,Q383183)
action is_in
entity Q383183
action find
entity Q3386276
relation P19
[ANSWER]
['Q3386276', 'P19', 'Q383183']
ASK WHERE { resource:Q3386276 property:P19 resource:Q383183 }
No
action is_in
entity Trégarvan
action find
entity Pierre Michel
relation place of birth
['Pierre Michel', 'place of birth', 'Trégarvan']
ASK WHERE { resource:Pierre_Michel property:place_of_birth resource:Trégarvan }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3386276
P734
Q82799
USER
Which name is associated with that person ?
action filter_type
action find
entity Q3386276
relation P734
type Q82799
SELECT DISTINCT ?i WHERE { resource:Q3386276 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Pierre Michel
action filter_type
action find
entity Pierre Michel
relation family name
type name
SELECT DISTINCT ?i WHERE { resource:Pierre_Michel property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q12036851
SYSTEM
Michel
Q12036851
action filter_type
action find
entity Q3386276
relation P734
type Q82799
[ANSWER] is associated with that person
SELECT DISTINCT ?i WHERE { resource:Q3386276 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Michel
Michel is associated with that person
Michel
action filter_type
action find
entity Pierre Michel
relation family name
type name
SELECT DISTINCT ?i WHERE { resource:Pierre_Michel property:family_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18197708
P21
Q290
USER
What is the sex of Auguste Prost ?
(Q18197708,P21,c(Q290))
action filter_type
action find
entity Q18197708
relation P21
type Q290
['Q18197708', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q18197708 property:P21 ?b . ?b rdf:type ontology:Q290 }
Auguste Prost
action filter_type
action find
entity Auguste Prost
relation gender
type sex
['Auguste Prost', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Auguste_Prost property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18197708,P21,c(Q290))
action filter_type
action find
entity Q18197708
relation P21
type Q290
The sex of Auguste Prost is the [ANSWER]
['Q18197708', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q18197708 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of Auguste Prost is the male
male
action filter_type
action find
entity Auguste Prost
relation gender
type sex
['Auguste Prost', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Auguste_Prost property:gender ?b . ?b rdf:type ontology:sex }
[]