Simple Question (Direct)
Simple Question
Q20641599
P106
Q12737077
USER
Which occupation has Justine Vanhaevermaet as his/her 's career ?
(Q20641599,P106,c(Q12737077))
action filter_type
action find
entity Q20641599
relation P106
type Q12737077
['Q20641599', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q20641599 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Justine Vanhaevermaet
action filter_type
action find
entity Justine Vanhaevermaet
relation occupation
type occupation
['Justine Vanhaevermaet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Justine_Vanhaevermaet property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q20641599,P106,c(Q12737077))
action filter_type
action find
entity Q20641599
relation P106
type Q12737077
The [ANSWER] has Justine Vanhaevermaet as his/her 's career
['Q20641599', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q20641599 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
association football player
The association football player has Justine Vanhaevermaet as his/her 's career
association football player
action filter_type
action find
entity Justine Vanhaevermaet
relation occupation
type occupation
['Justine Vanhaevermaet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Justine_Vanhaevermaet property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20641599
P641
Q349
USER
Which sport was that person a part of ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q20641599
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q20641599 property:P641 ?h . ?h rdf:type ontology:Q349 }
Justine Vanhaevermaet
action filter_type
action find
entity Justine Vanhaevermaet
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Justine_Vanhaevermaet property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q20641599
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q20641599 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Justine Vanhaevermaet
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Justine_Vanhaevermaet property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20641599
P21
Q290
USER
Which sex does that person have ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q20641599
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q20641599 property:P21 ?u . ?u rdf:type ontology:Q290 }
Justine Vanhaevermaet
action filter_type
action find
entity Justine Vanhaevermaet
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Justine_Vanhaevermaet property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q20641599
relation P21
type Q290
That person has a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q20641599 property:P21 ?u . ?u rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Justine Vanhaevermaet
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Justine_Vanhaevermaet property:gender ?u . ?u rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q78495
P21
Q502895
USER
Is Roland Ratzenberger a that sex ?
(Q78495,P21,Q6581072)
action is_in
entity Q78495
action find
entity Q6581072
relation P21
['Q78495', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q78495 }
female Roland Ratzenberger
action is_in
entity Roland Ratzenberger
action find
entity female
relation gender
['Roland Ratzenberger', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Roland_Ratzenberger }
[]
common name
SYSTEM
NO
(Q78495,P21,Q6581072)
action is_in
entity Q78495
action find
entity Q6581072
relation P21
[ANSWER]
['Q78495', 'P21', 'Q6581072']
ASK WHERE { resource:Q6581072 property:P21 resource:Q78495 }
No
action is_in
entity Roland Ratzenberger
action find
entity female
relation gender
['Roland Ratzenberger', 'gender', 'female']
ASK WHERE { resource:female property:gender resource:Roland_Ratzenberger }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q39546 Q41176
USER
Which sports are considered to be the main utilization of atleast 1 tools or buildings ?
(c(Q39546)|c(Q41176),P366,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
value 1
[[{'concept': 'Q39546'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?h ) WHERE { { ?j property:P366 ?d . ?d rdf:type ontology:Q349 . ?j rdf:type ontology:Q41176 } UNION { ?j property:P366 ?d . ?d rdf:type ontology:Q349 . ?j rdf:type ontology:Q39546 } } GROUP BY ?d } . FILTER ( ?h >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type tool
action find_reverse_tuple_counts
relation use
type sport
type building
value 1
[[{'concept': 'tool'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?h ) WHERE { { ?j property:use ?d . ?d rdf:type ontology:sport . ?j rdf:type ontology:building } UNION { ?j property:use ?d . ?d rdf:type ontology:sport . ?j rdf:type ontology:tool } } GROUP BY ?d } . FILTER ( ?h >= 1 ) }
[]
sport tool building
Q41466 Q22857
SYSTEM
ice hockey, climbing
Q41466 Q22857
(c(Q39546)|c(Q41176),P366,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
value 1
[ANSWERS] are considered to be the main utilization of atleast 1 tools or buildings
[[{'concept': 'Q39546'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?h ) WHERE { { ?j property:P366 ?d . ?d rdf:type ontology:Q349 . ?j rdf:type ontology:Q41176 } UNION { ?j property:P366 ?d . ?d rdf:type ontology:Q349 . ?j rdf:type ontology:Q39546 } } GROUP BY ?d } . FILTER ( ?h >= 1 ) }
ice hockey climbing
Ice hockey and climbing are considered to be the main utilization of atleast 1 tools or buildings
ice hockey climbing
action atleast
action union
action find_reverse_tuple_counts
relation use
type sport
type tool
action find_reverse_tuple_counts
relation use
type sport
type building
value 1
[[{'concept': 'tool'}, {'concept': 'building'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?j ) AS ?h ) WHERE { { ?j property:use ?d . ?d rdf:type ontology:sport . ?j rdf:type ontology:building } UNION { ?j property:use ?d . ?d rdf:type ontology:sport . ?j rdf:type ontology:tool } } GROUP BY ?d } . FILTER ( ?h >= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23818756 Q20641599
P19
Q15617994
USER
Which administrative territories were Justine Vanhaevermaet or Giovanni Balansino born at ?
OR((Q20641599,P19,c(Q15617994)), (Q23818756,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q20641599
relation P19
action find
entity Q23818756
relation P19
type Q15617994
{'OR': [['Q20641599', 'P19', {'concept': 'Q15617994'}], ['Q23818756', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q20641599 property:P19 ?u } UNION { resource:Q23818756 property:P19 ?u } } . ?u rdf:type ontology:Q15617994 }
Giovanni Balansino Justine Vanhaevermaet
action filter_type
action union
action find
entity Justine Vanhaevermaet
relation place of birth
action find
entity Giovanni Balansino
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Justine Vanhaevermaet', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Giovanni Balansino', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Justine_Vanhaevermaet property:place_of_birth ?u } UNION { resource:Giovanni_Balansino property:place_of_birth ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q20489
SYSTEM
Belgium, Savigliano
Q31 Q20489
OR((Q20641599,P19,c(Q15617994)), (Q23818756,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q20641599
relation P19
action find
entity Q23818756
relation P19
type Q15617994
Justine Vanhaevermaet or Giovanni Balansino were born in [ANSWERS]
{'OR': [['Q20641599', 'P19', {'concept': 'Q15617994'}], ['Q23818756', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q20641599 property:P19 ?u } UNION { resource:Q23818756 property:P19 ?u } } . ?u rdf:type ontology:Q15617994 }
Belgium Savigliano
Justine Vanhaevermaet or Giovanni Balansino were born in Belgium and Savigliano
Belgium Savigliano
action filter_type
action union
action find
entity Justine Vanhaevermaet
relation place of birth
action find
entity Giovanni Balansino
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Justine Vanhaevermaet', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Giovanni Balansino', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Justine_Vanhaevermaet property:place_of_birth ?u } UNION { resource:Giovanni_Balansino property:place_of_birth ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with atleast 4 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 4
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?w ) WHERE { ?x property:P530 ?j . ?x rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?w >= 4 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?w ) WHERE { ?x property:diplomatic_relation ?j . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?w >= 4 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q34 Q38 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 4
[ANSWERS] have diplomatic relations with atleast 4 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?w ) WHERE { ?x property:P530 ?j . ?x rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?w >= 4 ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Sweden Italy North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
Italy, Brazil and United States of America have diplomatic relations with atleast 4 administrative territories
Italy Brazil United States of America
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?w ) WHERE { ?x property:diplomatic_relation ?j . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?w >= 4 ) }
[]