Simple Question (Direct)
Simple Question
Q2543740
P27
Q15617994
USER
Which administrative territory does Alin Artimon belong to ?
(Q2543740,P27,c(Q15617994))
action filter_type
action find
entity Q2543740
relation P27
type Q15617994
['Q2543740', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q2543740 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Alin Artimon
action filter_type
action find
entity Alin Artimon
relation country of citizenship
type designation for an administrative territorial entity
['Alin Artimon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Alin_Artimon property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
(Q2543740,P27,c(Q15617994))
action filter_type
action find
entity Q2543740
relation P27
type Q15617994
Alin Artimon belongs to [ANSWER]
['Q2543740', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q2543740 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Romania
Alin Artimon belongs to Romania
Romania
action filter_type
action find
entity Alin Artimon
relation country of citizenship
type designation for an administrative territorial entity
['Alin Artimon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Alin_Artimon property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2543740
P735
Q82799
USER
What the name that Alin Artimon is known by ?
(Q2543740,P735,c(Q82799))
action filter_type
action find
entity Q2543740
relation P735
type Q82799
['Q2543740', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q2543740 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Alin Artimon
action filter_type
action find
entity Alin Artimon
relation given name
type name
['Alin Artimon', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Alin_Artimon property:given_name ?d . ?d rdf:type ontology:name }
[]
name
Q20000077
SYSTEM
Alin
Q20000077
(Q2543740,P735,c(Q82799))
action filter_type
action find
entity Q2543740
relation P735
type Q82799
Known [ANSWER]
['Q2543740', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q2543740 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Alin
Known Alin
Alin
action filter_type
action find
entity Alin Artimon
relation given name
type name
['Alin Artimon', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Alin_Artimon property:given_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2543740
P21
Q290
USER
Which sex does Alin Artimon belong to ?
(Q2543740,P21,c(Q290))
action filter_type
action find
entity Q2543740
relation P21
type Q290
['Q2543740', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q2543740 property:P21 ?c . ?c rdf:type ontology:Q290 }
Alin Artimon
action filter_type
action find
entity Alin Artimon
relation gender
type sex
['Alin Artimon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Alin_Artimon property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2543740,P21,c(Q290))
action filter_type
action find
entity Q2543740
relation P21
type Q290
Alin Artimon belongs to [ANSWER]
['Q2543740', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q2543740 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Alin Artimon belongs to male
male
action filter_type
action find
entity Alin Artimon
relation gender
type sex
['Alin Artimon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Alin_Artimon property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2543740
P641
Q349
USER
Which sport did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q2543740
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q2543740 property:P641 ?m . ?m rdf:type ontology:Q349 }
Alin Artimon
action filter_type
action find
entity Alin Artimon
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Alin_Artimon property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q2543740
relation P641
type Q349
That person participated in [ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q2543740 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Alin Artimon
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Alin_Artimon property:sport ?m . ?m rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q218 Q33527
P172
Q502895
USER
How many people have Romania or Iranian languages as ethnic group ?
(c(Q502895),P172,Q218) (c(Q502895),P172,Q33527)
action count
action union
action filter_type
action find_reverse
entity Q218
relation P172
type Q502895
action filter_type
action find_reverse
entity Q33527
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q218'] [{'concept': 'Q502895'}, 'P172', 'Q33527']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:P172 resource:Q218 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P172 resource:Q33527 . ?y rdf:type ontology:Q502895 } }
Romania Iranian languages
action count
action union
action filter_type
action find_reverse
entity Romania
relation ethnic group
type common name
action filter_type
action find_reverse
entity Iranian languages
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Romania'] [{'concept': 'common name'}, 'ethnic group', 'Iranian languages']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:ethnic_group resource:Romania . ?y rdf:type ontology:common_name } UNION { ?y property:ethnic_group resource:Iranian_languages . ?y rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q1336281 Q333703
(c(Q502895),P172,Q218) (c(Q502895),P172,Q33527)
action count
action union
action filter_type
action find_reverse
entity Q218
relation P172
type Q502895
action filter_type
action find_reverse
entity Q33527
relation P172
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P172', 'Q218'] [{'concept': 'Q502895'}, 'P172', 'Q33527']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:P172 resource:Q218 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P172 resource:Q33527 . ?y rdf:type ontology:Q502895 } }
Emil Hurezeanu Fakhr al-Din al-Razi
2
action count
action union
action filter_type
action find_reverse
entity Romania
relation ethnic group
type common name
action filter_type
action find_reverse
entity Iranian languages
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Romania'] [{'concept': 'common name'}, 'ethnic group', 'Iranian languages']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { ?y property:ethnic_group resource:Romania . ?y rdf:type ontology:common_name } UNION { ?y property:ethnic_group resource:Iranian_languages . ?y rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P530
Q15617994
USER
Which administrative territories have diplomatic relations with Romania ?
(Q218,P530,c(Q15617994))
action filter_type
action find
entity Q218
relation P530
type Q15617994
['Q218', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q218 property:P530 ?e . ?e rdf:type ontology:Q15617994 }
Romania
action filter_type
action find
entity Romania
relation diplomatic relation
type designation for an administrative territorial entity
['Romania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Romania property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q38 Q881
SYSTEM
People's Republic of China, Italy, Vietnam
Q148 Q38 Q881
(Q218,P530,c(Q15617994))
action filter_type
action find
entity Q218
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with Romania
['Q218', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q218 property:P530 ?e . ?e rdf:type ontology:Q15617994 }
People's Republic of China Italy Vietnam
People's Republic of China, Italy and Vietnam have diplomatic relations with Romania
People's Republic of China Italy Vietnam
action filter_type
action find
entity Romania
relation diplomatic relation
type designation for an administrative territorial entity
['Romania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Romania property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q225
Q15617994
USER
And what about Bosnia and Herzegovina?
(Q225,P530,c(Q15617994))
action filter_type
action find
entity Q225
relation P530
type Q15617994
['Q225', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q225 property:P530 ?j }
Bosnia and Herzegovina
action filter_type
action find
entity Bosnia and Herzegovina
relation diplomatic relation
type designation for an administrative territorial entity
['Bosnia and Herzegovina', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bosnia_and_Herzegovina property:diplomatic_relation ?j }
[]
designation for an administrative territorial entity
Q38 Q142 Q43
SYSTEM
Italy, France, Turkey
Q142 Q236 Q224 Q43 Q221 Q215 Q403 Q38
(Q225,P530,c(Q15617994))
action filter_type
action find
entity Q225
relation P530
type Q15617994
[ANSWERS]
['Q225', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q225 property:P530 ?j }
France Montenegro Croatia Turkey Republic of Macedonia Slovenia Serbia Italy
Italy France Turkey
action filter_type
action find
entity Bosnia and Herzegovina
relation diplomatic relation
type designation for an administrative territorial entity
['Bosnia and Herzegovina', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bosnia_and_Herzegovina property:diplomatic_relation ?j }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with atleast 36 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 36
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?e >= 36 ) . { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?e ) WHERE { ?n property:P530 ?g . ?n rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?n } }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 36
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?e >= 36 ) . { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?e ) WHERE { ?n property:diplomatic_relation ?g . ?n rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 36
[ANSWERS] are known to have diplomatic connections with atleast 36 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?e >= 36 ) . { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?e ) WHERE { ?n property:P530 ?g . ?n rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 } GROUP BY ?n } }
Germany Australia
Germany and Australia are known to have diplomatic connections with atleast 36 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 36
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?e >= 36 ) . { SELECT DISTINCT ?n ( COUNT ( ?g ) AS ?e ) WHERE { ?n property:diplomatic_relation ?g . ?n rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21288499
P27
Q502895
USER
Are Antony Serres civilians of those political territories ?
(Q21288499,P27,Q183) (Q21288499,P27,Q408)
action is_in
entity prev_answer
action find
entity Q21288499
relation P27
['Q21288499', 'P27', 'Q183'] ['Q21288499', 'P27', 'Q408']
ASK WHERE { resource:Q21288499 property:P27 ?k . VALUES ( ?k ) { ( resource:Q183 ) ( resource:Q408 ) } }
Antony Serres
action is_in
entity prev_answer
action find
entity Antony Serres
relation country of citizenship
['Antony Serres', 'country of citizenship', 'Germany'] ['Antony Serres', 'country of citizenship', 'Australia']
ASK WHERE { resource:Antony_Serres property:country_of_citizenship ?k . VALUES ( ?k ) { ( resource:Germany ) ( resource:Australia ) } }
[]
common name
SYSTEM
NO
(Q21288499,P27,Q183) (Q21288499,P27,Q408)
action is_in
entity prev_answer
action find
entity Q21288499
relation P27
[ANSWER]
['Q21288499', 'P27', 'Q183'] ['Q21288499', 'P27', 'Q408']
ASK WHERE { resource:Q21288499 property:P27 ?k . VALUES ( ?k ) { ( resource:Q183 ) ( resource:Q408 ) } }
No
action is_in
entity prev_answer
action find
entity Antony Serres
relation country of citizenship
['Antony Serres', 'country of citizenship', 'Germany'] ['Antony Serres', 'country of citizenship', 'Australia']
ASK WHERE { resource:Antony_Serres property:country_of_citizenship ?k . VALUES ( ?k ) { ( resource:Germany ) ( resource:Australia ) } }
[]