Simple Question (Direct)
Simple Question
Q7281650
P641
Q349
USER
Which sport was Radosław Pindiur a part of ?
(Q7281650,P641,c(Q349))
action filter_type
action find
entity Q7281650
relation P641
type Q349
['Q7281650', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q7281650 property:P641 ?z . ?z rdf:type ontology:Q349 }
Radosław Pindiur
action filter_type
action find
entity Radosław Pindiur
relation sport
type sport
['Radosław Pindiur', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Radosław_Pindiur property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7281650,P641,c(Q349))
action filter_type
action find
entity Q7281650
relation P641
type Q349
The [ANSWER] was Radosław Pindiur a part of
['Q7281650', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q7281650 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
The association football was Radosław Pindiur a part of
association football
action filter_type
action find
entity Radosław Pindiur
relation sport
type sport
['Radosław Pindiur', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Radosław_Pindiur property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7281650
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q7281650
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q7281650 property:P106 ?v }
Radosław Pindiur
action filter_type
action find
entity Radosław Pindiur
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Radosław_Pindiur property:occupation ?v }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q7281650
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q7281650 property:P106 ?v }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Radosław Pindiur
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Radosław_Pindiur property:occupation ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7281650
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q937857,P27,c(Q1048835))
action filter_type
action find
entity Q7281650
relation P27
type Q1048835
['Q937857', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q7281650 property:P27 ?j }
Radosław Pindiur
action filter_type
action find
entity Radosław Pindiur
relation country of citizenship
type political territorial entity
['association football player', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Radosław_Pindiur property:country_of_citizenship ?j }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q937857,P27,c(Q1048835))
action filter_type
action find
entity Q7281650
relation P27
type Q1048835
That person belongs to the [ANSWER]
['Q937857', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q7281650 property:P27 ?j }
Canada
That person belongs to the Canada
Canada
action filter_type
action find
entity Radosław Pindiur
relation country of citizenship
type political territorial entity
['association football player', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Radosław_Pindiur property:country_of_citizenship ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q20724701 Q215380
USER
How many city or town in Armenias or bands have a job as association football player ?
(c(Q20724701),P106,Q937857) (c(Q215380),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q20724701
action filter_type
action find_reverse
entity Q937857
relation P106
type Q215380
[{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { ?t property:P106 resource:Q937857 . ?t rdf:type ontology:Q20724701 } UNION { ?t property:P106 resource:Q937857 . ?t rdf:type ontology:Q215380 } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type city or town in Armenia
action filter_type
action find_reverse
entity association football player
relation occupation
type band
[{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { ?t property:occupation resource:association_football_player . ?t rdf:type ontology:city_or_town_in_Armenia } UNION { ?t property:occupation resource:association_football_player . ?t rdf:type ontology:band } }
[]
city or town in Armenia band
SYSTEM
2
Q6835842 Q2817360
(c(Q20724701),P106,Q937857) (c(Q215380),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q20724701
action filter_type
action find_reverse
entity Q937857
relation P106
type Q215380
[ANSWER]
[{'concept': 'Q20724701'}, 'P106', 'Q937857'] [{'concept': 'Q215380'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { ?t property:P106 resource:Q937857 . ?t rdf:type ontology:Q20724701 } UNION { ?t property:P106 resource:Q937857 . ?t rdf:type ontology:Q215380 } }
Michal Vepřek Masis Voskanyan
2
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type city or town in Armenia
action filter_type
action find_reverse
entity association football player
relation occupation
type band
[{'concept': 'city or town in Armenia'}, 'occupation', 'association football player'] [{'concept': 'band'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?t ) AS ?j ) WHERE { { ?t property:occupation resource:association_football_player . ?t rdf:type ontology:city_or_town_in_Armenia } UNION { ?t property:occupation resource:association_football_player . ?t rdf:type ontology:band } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4118513 Q16
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Canada and are Fdalate a part of ?
AND((Q16,P530,c(Q15617994)), (Q4118513,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q4118513
relation P17
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q4118513', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { resource:Q16 property:P530 ?r . resource:Q4118513 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Fdalate Canada
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Fdalate
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Fdalate', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Canada property:diplomatic_relation ?r . resource:Fdalate property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1028
SYSTEM
Morocco
Q1028
AND((Q16,P530,c(Q15617994)), (Q4118513,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q4118513
relation P17
type Q15617994
[ANSWER] have diplomatic relationships with Canada and are Fdalate a part of
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q4118513', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { resource:Q16 property:P530 ?r . resource:Q4118513 property:P17 ?r . ?r rdf:type ontology:Q15617994 }
Morocco
Morocco have diplomatic relationships with Canada and are Fdalate a part of
Morocco
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Fdalate
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Fdalate', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { resource:Canada property:diplomatic_relation ?r . resource:Fdalate property:country ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1028 Q21695028 Q4080229
P530
Q1048835
USER
Does that administrative territory have diplomatic relations with East Riding of Yorkshire and Bashmachka ?
(Q1028,P530,Q21695028) (Q1028,P530,Q4080229)
action is_in
entity Q1028
action intersection
action find_reverse
entity Q21695028
relation P530
action find_reverse
entity Q4080229
relation P530
['Q1028', 'P530', 'Q21695028'] ['Q1028', 'P530', 'Q4080229']
ASK WHERE { resource:Q1028 property:P530 resource:Q21695028 . resource:Q1028 property:P530 resource:Q4080229 }
Morocco East Riding of Yorkshire Bashmachka
action is_in
entity Morocco
action intersection
action find_reverse
entity East Riding of Yorkshire
relation diplomatic relation
action find_reverse
entity Bashmachka
relation diplomatic relation
['Morocco', 'diplomatic relation', 'East Riding of Yorkshire'] ['Morocco', 'diplomatic relation', 'Bashmachka']
ASK WHERE { resource:Morocco property:diplomatic_relation resource:East_Riding_of_Yorkshire . resource:Morocco property:diplomatic_relation resource:Bashmachka }
[]
political territorial entity
SYSTEM
NO
(Q1028,P530,Q21695028) (Q1028,P530,Q4080229)
action is_in
entity Q1028
action intersection
action find_reverse
entity Q21695028
relation P530
action find_reverse
entity Q4080229
relation P530
[ANSWER]
['Q1028', 'P530', 'Q21695028'] ['Q1028', 'P530', 'Q4080229']
ASK WHERE { resource:Q1028 property:P530 resource:Q21695028 . resource:Q1028 property:P530 resource:Q4080229 }
No
action is_in
entity Morocco
action intersection
action find_reverse
entity East Riding of Yorkshire
relation diplomatic relation
action find_reverse
entity Bashmachka
relation diplomatic relation
['Morocco', 'diplomatic relation', 'East Riding of Yorkshire'] ['Morocco', 'diplomatic relation', 'Bashmachka']
ASK WHERE { resource:Morocco property:diplomatic_relation resource:East_Riding_of_Yorkshire . resource:Morocco property:diplomatic_relation resource:Bashmachka }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have tactful political relations with approximately 44 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 44
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?o ) WHERE { ?c rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 . ?c property:P530 ?e } GROUP BY ?c } . FILTER ( ?o = 44 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 44
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?o ) WHERE { ?c rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?e } GROUP BY ?c } . FILTER ( ?o = 44 ) }
[]
designation for an administrative territorial entity political territorial entity
Q40 Q35 Q16
SYSTEM
Austria, Denmark, Canada
Q40 Q35 Q16
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 44
[ANSWERS] have tactful political relations with approximately 44 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?o ) WHERE { ?c rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 . ?c property:P530 ?e } GROUP BY ?c } . FILTER ( ?o = 44 ) }
Austria Denmark Canada
Austria, Denmark and Canada have tactful political relations with approximately 44 administrative territories
Austria Denmark Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 44
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?o ) WHERE { ?c rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?e } GROUP BY ?c } . FILTER ( ?o = 44 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q40 Q35 Q16
P610
Q14524493
USER
Which terrains are the highest point of Austria, Denmark and Canada ?
(Q40,P610,c(Q14524493)) (Q35,P610,c(Q14524493)) (Q16,P610,c(Q14524493))
action union
action filter_type
action find
entity Q40
relation P610
type Q14524493
action filter_type
action find
entity Q35
relation P610
type Q14524493
action filter_type
action find
entity Q16
relation P610
type Q14524493
['Q40', 'P610', {'concept': 'Q14524493'}] ['Q35', 'P610', {'concept': 'Q14524493'}] ['Q16', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?g ) { ( resource:Q35 ) ( resource:Q40 ) } . ?g property:P610 ?j }
Austria Denmark Canada
action union
action filter_type
action find
entity Austria
relation highest point
type terrain
action filter_type
action find
entity Denmark
relation highest point
type terrain
action filter_type
action find
entity Canada
relation highest point
type terrain
['Austria', 'highest point', {'concept': 'terrain'}] ['Denmark', 'highest point', {'concept': 'terrain'}] ['Canada', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?g ) { ( resource:Denmark ) ( resource:Austria ) } . ?g property:highest_point ?j }
[]
terrain
Q3388 Q689106 Q120306
SYSTEM
Grossglockner, Møllehøj, Mount Logan
Q3388 Q689106 Q120306
(Q40,P610,c(Q14524493)) (Q35,P610,c(Q14524493)) (Q16,P610,c(Q14524493))
action union
action filter_type
action find
entity Q40
relation P610
type Q14524493
action filter_type
action find
entity Q35
relation P610
type Q14524493
action filter_type
action find
entity Q16
relation P610
type Q14524493
[ANSWERS] are the highest point of Austria, Denmark and Canada
['Q40', 'P610', {'concept': 'Q14524493'}] ['Q35', 'P610', {'concept': 'Q14524493'}] ['Q16', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?g ) { ( resource:Q35 ) ( resource:Q40 ) } . ?g property:P610 ?j }
Grossglockner Møllehøj Mount Logan
Grossglockner, Møllehøj and Mount Logan are the highest point of Austria, Denmark and Canada
Grossglockner Møllehøj Mount Logan
action union
action filter_type
action find
entity Austria
relation highest point
type terrain
action filter_type
action find
entity Denmark
relation highest point
type terrain
action filter_type
action find
entity Canada
relation highest point
type terrain
['Austria', 'highest point', {'concept': 'terrain'}] ['Denmark', 'highest point', {'concept': 'terrain'}] ['Canada', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { VALUES ( ?g ) { ( resource:Denmark ) ( resource:Austria ) } . ?g property:highest_point ?j }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3388 Q689106 Q120306
P610
Q1048835
USER
Which political territories are Grossglockner, Møllehøj and Mount Logan the highest point of ?
(c(Q1048835),P610,Q3388) (c(Q1048835),P610,Q689106) (c(Q1048835),P610,Q120306)
action union
action filter_type
action find_reverse
entity Q3388
relation P610
type Q1048835
action filter_type
action find_reverse
entity Q689106
relation P610
type Q1048835
action filter_type
action find_reverse
entity Q120306
relation P610
type Q1048835
[{'concept': 'Q1048835'}, 'P610', 'Q3388'] [{'concept': 'Q1048835'}, 'P610', 'Q689106'] [{'concept': 'Q1048835'}, 'P610', 'Q120306']
SELECT DISTINCT ?c WHERE { ?c property:P610 ?j . VALUES ( ?j ) { ( resource:Q3388 ) ( resource:Q689106 ) } }
Grossglockner Møllehøj Mount Logan
action union
action filter_type
action find_reverse
entity Grossglockner
relation highest point
type political territorial entity
action filter_type
action find_reverse
entity Møllehøj
relation highest point
type political territorial entity
action filter_type
action find_reverse
entity Mount Logan
relation highest point
type political territorial entity
[{'concept': 'political territorial entity'}, 'highest point', 'Grossglockner'] [{'concept': 'political territorial entity'}, 'highest point', 'Møllehøj'] [{'concept': 'political territorial entity'}, 'highest point', 'Mount Logan']
SELECT DISTINCT ?c WHERE { ?c property:highest_point ?j . VALUES ( ?j ) { ( resource:Grossglockner ) ( resource:Møllehøj ) } }
[]
political territorial entity
Q40 Q35 Q16
SYSTEM
Austria, Denmark, Canada
Q40 Q35 Q16
(c(Q1048835),P610,Q3388) (c(Q1048835),P610,Q689106) (c(Q1048835),P610,Q120306)
action union
action filter_type
action find_reverse
entity Q3388
relation P610
type Q1048835
action filter_type
action find_reverse
entity Q689106
relation P610
type Q1048835
action filter_type
action find_reverse
entity Q120306
relation P610
type Q1048835
[ANSWERS] are Grossglockner, Møllehøj and Mount Logan the highest point of
[{'concept': 'Q1048835'}, 'P610', 'Q3388'] [{'concept': 'Q1048835'}, 'P610', 'Q689106'] [{'concept': 'Q1048835'}, 'P610', 'Q120306']
SELECT DISTINCT ?c WHERE { ?c property:P610 ?j . VALUES ( ?j ) { ( resource:Q3388 ) ( resource:Q689106 ) } }
Austria Denmark Canada
Austria, Denmark and Canada are Grossglockner, Møllehøj and Mount Logan the highest point of
Austria Denmark Canada
action union
action filter_type
action find_reverse
entity Grossglockner
relation highest point
type political territorial entity
action filter_type
action find_reverse
entity Møllehøj
relation highest point
type political territorial entity
action filter_type
action find_reverse
entity Mount Logan
relation highest point
type political territorial entity
[{'concept': 'political territorial entity'}, 'highest point', 'Grossglockner'] [{'concept': 'political territorial entity'}, 'highest point', 'Møllehøj'] [{'concept': 'political territorial entity'}, 'highest point', 'Mount Logan']
SELECT DISTINCT ?c WHERE { ?c property:highest_point ?j . VALUES ( ?j ) { ( resource:Grossglockner ) ( resource:Møllehøj ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q40 Q35 Q16
P17
Q874405
USER
Which social groups are located in Austria, Denmark and Canada ?
(c(Q874405),P17,Q40) (c(Q874405),P17,Q35) (c(Q874405),P17,Q16)
action union
action filter_type
action find_reverse
entity Q40
relation P17
type Q874405
action filter_type
action find_reverse
entity Q35
relation P17
type Q874405
action filter_type
action find_reverse
entity Q16
relation P17
type Q874405
[{'concept': 'Q874405'}, 'P17', 'Q40'] [{'concept': 'Q874405'}, 'P17', 'Q35'] [{'concept': 'Q874405'}, 'P17', 'Q16']
SELECT DISTINCT ?f WHERE { { ?f property:P17 resource:Q40 . ?f rdf:type ontology:Q874405 } UNION { ?f property:P17 resource:Q35 . ?f rdf:type ontology:Q874405 } }
Austria Denmark Canada
action union
action filter_type
action find_reverse
entity Austria
relation country
type social group
action filter_type
action find_reverse
entity Denmark
relation country
type social group
action filter_type
action find_reverse
entity Canada
relation country
type social group
[{'concept': 'social group'}, 'country', 'Austria'] [{'concept': 'social group'}, 'country', 'Denmark'] [{'concept': 'social group'}, 'country', 'Canada']
SELECT DISTINCT ?f WHERE { { ?f property:country resource:Austria . ?f rdf:type ontology:social_group } UNION { ?f property:country resource:Denmark . ?f rdf:type ontology:social_group } }
[]
social group
Q1043358 Q3480188 Q21402595
SYSTEM
Carlsberg Foundation, NORDUnet, Technoflex International
Q302168 Q306657 Q2307588 Q651475 Q3568240 Q422403 Q303786 Q876514 Q6324948 Q187431 Q306519 Q2449226 Q19844881 Q383273 Q27067585 Q17081528 Q304062 Q673565 Q1954729 Q2648854 Q386730 Q377747 Q663032 Q12305600 Q5221071 Q12307448 Q16323588 Q11986495 Q3480188 Q11959645 Q12321662 Q16325018 Q12308341 Q12300098 Q294089 Q1043358 Q5219716 Q12300279 Q12328188 Q6032416 Q12341903 Q12307224 Q1286613 Q843116 Q4994725 Q17195802 Q5213038 Q19280196 Q12341623 Q12302534 Q7374065 Q6867664 Q5030463 Q14875241 Q5011064 Q3487720 Q3487723 Q16210224 Q17004461 Q5176370 Q5030620 Q16986502 Q18029271 Q4969730 Q2822353 Q7109231 Q5030648 Q7094650 Q5164728 Q5451985 Q7709980 Q3151854 Q5030000 Q17016834 Q2867377 Q7109261 Q7094902 Q544545 Q4697772 Q18167894 Q3508222 Q6296274 Q5291088 Q18167781 Q7109241 Q3359694 Q5256875 Q3977459 Q5505965 Q7726765 Q7118977 Q16833918 Q6765526 Q7319369 Q5644891 Q7109164 Q7570127 Q18019688 Q5030163 Q20800709 Q3091639 Q18168151 Q1439256 Q21188805 Q3488642 Q24056273 Q7373910 Q2948156 Q4916156 Q24054847 Q6876572 Q5339020 Q7373978 Q18356628 Q5030578 Q4809577 Q19877790 Q7552103 Q5223275 Q3488605 Q5210038 Q7208304 Q5060241 Q7094839 Q3015437 Q6941690 Q7649566 Q6929064 Q5418330 Q16981451 Q4857635 Q3092250 Q4671432 Q5029397 Q21402595 Q1032374 Q6726113 Q6427369 Q7094661 Q5029271 Q7373897 Q7552324 Q21188782 Q5008776 Q7276281 Q5029849 Q3069874 Q6867542 Q3498120 Q5030185 Q17109185 Q2906450 Q3654987 Q1993509 Q7914205 Q5030193 Q5568832 Q7799743 Q7775935 Q2867831 Q3326488 Q4810849 Q7252644 Q6352502 Q5029800 Q7711946 Q5030050 Q7898956 Q7374375 Q4711617 Q4636665 Q7307419 Q3359043 Q7332566 Q2867874 Q7094898 Q4639196 Q6477207 Q3270231 Q7745348 Q2945848 Q774093 Q16983916 Q24055207 Q7840289 Q2873452 Q6876392 Q7374960 Q16932537 Q16958926 Q17514075 Q5034106 Q2983889 Q18712204 Q7270275 Q3553040 Q18355640 Q8038448 Q15994965 Q6083455 Q3488128 Q6039884 Q2993672 Q18352213 Q677937 Q3151856 Q3591464 Q6982650 Q890180 Q16955316 Q5323349 Q2974478 Q14566209 Q7148893 Q6880390 Q20442226 Q5551060 Q7896617 Q3316795 Q6806317 Q6368707 Q5029765 Q4738830 Q7107666 Q478685 Q8001578 Q6980891 Q3022170 Q2883436 Q3487859 Q5030394 Q392496 Q4852579 Q7714734 Q5470697 Q5595043 Q16249312 Q7826475 Q16211576 Q2993792 Q6046681 Q7886411 Q5030588 Q5514121 Q7914144 Q7053823 Q19340777 Q5053204 Q1032100 Q7280653 Q17009916 Q16955245 Q3977254 Q2943074 Q5030520 Q7374609 Q3478318 Q5029773 Q4668433 Q8030964 Q7374611 Q5493608 Q20717550 Q22045560 Q4546487 Q5030349 Q22662805 Q5030567 Q7552504 Q6869672 Q22575812 Q21002393 Q3588987 Q600508 Q21015784 Q18120955 Q5209568 Q2941384 Q7199651 Q7737108 Q7400151 Q7074264 Q3098719 Q5030291 Q5178995 Q5347665 Q3488242 Q5030289 Q5030288 Q1107797 Q3977358 Q18149761 Q7443175 Q6647642 Q1091412 Q3206579 Q5440872 Q7561647 Q5030438 Q7957219 Q13512302 Q7826580 Q8075197 Q4857990 Q5100398 Q14422052 Q6862218 Q5572081 Q4646767 Q5027389 Q4668350 Q5690376 Q5030268 Q5030405 Q550482 Q7200241 Q1332419 Q2170957
(c(Q874405),P17,Q40) (c(Q874405),P17,Q35) (c(Q874405),P17,Q16)
action union
action filter_type
action find_reverse
entity Q40
relation P17
type Q874405
action filter_type
action find_reverse
entity Q35
relation P17
type Q874405
action filter_type
action find_reverse
entity Q16
relation P17
type Q874405
[ANSWERS] are located in Austria, Denmark and Canada
[{'concept': 'Q874405'}, 'P17', 'Q40'] [{'concept': 'Q874405'}, 'P17', 'Q35'] [{'concept': 'Q874405'}, 'P17', 'Q16']
SELECT DISTINCT ?f WHERE { { ?f property:P17 resource:Q40 . ?f rdf:type ontology:Q874405 } UNION { ?f property:P17 resource:Q35 . ?f rdf:type ontology:Q874405 } }
Workers Viewpoint Austrian Cultural Forum Sparkasse Oberösterreich Documentation Centre of Austrian Resistance Landig Group Aktion Leben Austrian Mathematical Society Metalab KAICIID Dialogue Centre Zelkinger Österreichischer Versuchssenderverband Transitforum Austria Tirol Austrian Biologist Association Austrian Science Fund Austrian Music Council International Federation of Freight Forwarders Associations Austrian Physical Society Ö1 International Museum in progress Allgemeine Unfallversicherungsanstalt Austrian Service Abroad Los TNT Astronomische Vereinigung Kärntens Center for Health and Lifestyle Dansk Orienterings-Forbund Geological Society of Denmark Fucking Flink Danish Literature Critics Association NORDUnet Augustinus Fonden Danish Chemical Society Vindmølleindustrien Danish Council for Independent Research AKKS AK81 Carlsberg Foundation Danish Fashion Institute Aalborg Portland A/S NOAH Friends of the Earth Denmark Inges kattehjem DaneAge Association Danish Film Academy Team Danmark Danish Cultural Institute Lambda Labitat DanChurchAid Danish Islamic Council Wonderful Copenhagen Avalon Royal Copenhagen Shooting Society Ministry of Youth Protection and Rehabilitation Canadian Peace Congress Kingston Yacht Club CHCA-TV Canadian Identification Society Canadian Psychoanalytic Society Interdepartmental Working Group on Trafficking in Persons Miss World Canada Council of Canadian Academies Canadian Thoroughbred Horse Society Integritybc Territorial Grain Growers' Association British Columbia Medical Association Académie de musique du Québec Ottawa River Runners Canadian Unitarian Council Ontario Dental Association Consumers' Association of Canada Firestone Institute for Respiratory Health Thamil Isai Kalaamanram Institut canadien de Québec Canadian Film Institute Saddle Lake Cree Nation Canadian Association of Physicists Ottawa Trades Council Ontario Society for the Prevention of Cruelty to Animals Fields Institute Air Cadet League of Canada Heliconian Club SPQ Libre Journalists for Human Rights Dominion of Canada Rifle Association Alberta Farmers' Association Ottawa Science Fiction Society PHP Quebec Dene Tha' Sisters of Charity of Saint Vincent de Paul Frontier College The College of Family Physicians Canada PEN Canada Count Me In Mariposa School of Skating Rexdale Women's Centre Hamilton Conservation Authority Ottawa District Badminton Association Southern Medical Program Manitoba Grain Growers Association Canadian Independent Record Production Association Centre de développement du porc du Québec Fédération des femmes du Québec Women's Art Association of Canada Friends of Science Silvera for Seniors Royal Astronomical Society of Canada Poudrette family Royal Canadian Numismatic Association Board of Trade of Metropolitan Montreal Birdtail Sioux First Nation Heart Lake Miss Earth Canada Edmonton Chinese Bilingual Education Association Royal College of Dentists of Canada Furniture Bank Canadian Society of Forensic Science Association in Defence of the Wrongly Convicted Excellence Canada Society for Digital Humanities Dark Illustrated Société pour la promotion de la relève musicale de l'espace francophone Dakota Plains First Nation Pointe-Claire Yacht Club Central Ontario Model Parliament Le Bon Dieu Dans La Rue (Dans La Rue) Music Waves Sustainable Archaeology Mr. Pakistan World EvidenceNetwork.ca French for the Future Baptist General Conference of Canada Fédération étudiante universitaire du Québec Academy of Canadian Cinema & Television Canada Lands Company Technoflex International Canadian Standards Association Madacy Entertainment Kollel Ohr Yosef Ontario Federation of Agriculture Canada-Ukraine Parliamentary Program Royal Canadian Marine Search and Rescue Society for the Study of Architecture in Canada Saugeen Valley Conservation Authority CAP Society of Cape Breton County REAL Women of Canada Canadian Children's Rights Council Caribana Ministry of Skills Development Stella, l’amie de Maimie Canadian Institute of Planners Manitoba Health Research Council CNIB Canadian Institute of Mining, Metallurgy and Petroleum Nisga’a people Vancouver Island Health Authority Canadian Institutes of Health Research Glenn Gould Foundation Thyroid Cancer Canada The World Affairs Conference International Association of Quebec Studies Mouvement Québec français Asthma Society of Canada Provincial Health Services Authority Winnipeg Regional Health Authority Canadian Canoe Association The 519 Church Street Community Centre Canadian Foundation for AIDS Research Upper Thames River Conservation Authority Royal Lake of the Woods Yacht Club Alberta Dental Association and College 3rd Battalion Reform Party of Ontario Oxfam Canada Rideau Canoe Club Canadian Medical Association Ontario Soccer Association 4th Battalion (Central Ontario), CEF Lake Ontario Waterkeeper Royal Canadian Legion The Land Conservancy of British Columbia Centre for Justice and Faith U15 Heritage Canada Kehewin Cree Nation tribal council Avenir d'enfants Miss Community Gardens Royal Vancouver Yacht Club Royal Heraldry Society of Canada Northern Health Canadian Society of Graphic Art Canupawakpa Dakota First Nation Royal College of Physicians and Surgeons of Canada EPACT Network Queen City Yacht Club V Save Ontario Shipwrecks Writers' Trust of Canada Canadian Society of Petroleum Geologists Island Yacht Club Société des designers graphiques du Québec Institute of Asian Research Canadian Broadcast Standards Council Manitoba Political Equality League The Law Society of Upper Canada Canadian Institute of Actuaries Érudit Navy League of Canada Boeing Canada Canadian Journalists for Free Expression EMAS Canada Citizens for a Canadian Republic Canadian Foundation for Healthcare Improvement Pauktuutit Mistigris St. Peters Bay German Canadian Club Hansa University of Windsor Students' Alliance Esprit-Saint Mission Medical Council of Canada Karate Canada Canadian Bar Association Alzheimer Society of Ontario Osterrath Distribution Select Wildwood Park Nature Canada Democracy Watch Provincial Bank of Canada James Bay Energy Canadian Nurses Association Agence métropolitaine de transport Balsillie School of International Affairs Association of Registered Graphic Designers of Ontario FortWhyte Alive Grand River Conservation Authority Canadian Poetry Association Toronto Port Authority Ride for Refuge Conseil de la Souveraineté du Québec Interior Health Union des Municipalités du Québec Canadian Society of Respiratory Therapists GO Info Vancouver Coastal Health North American Native Plant Society White Ribbon Campaign Catholic Missions in Canada Canadian Federation of Engineering Students Radio Amateurs of Canada Proud Politics Canadian Coalition for the Rights of Children Grey Sisters of the Immaculate Conception New Democratic Party Socialist Caucus Canadian Real Estate Association Royal Nova Scotia International Tattoo Pride Week Canadian Battlefields Memorials Commission Abortion Rights Coalition of Canada Women's Legal Education and Action Fund Royal Nova Scotia Yacht Squadron Fraser Health Keystone Agricultural Producers Black Business and Professional Association The 103rd Regiment (Calgary Rifles) Canadian Museums Association Canadian Geotechnical Society Canadian Snowbird Association Society of Graphic Designers of Canada Minto Skating Club Canadian Sociology and Anthropology Association Richmond Animal Protection Society Énergie solaire Québec International Political Science Association LGBTory Saskatchewan Grain Growers' Association Dairy Farmers of Canada Castell of Montreal Pivot Legal Society The Golden Seals Sail and Life Training Society Oakville Yacht Squadron Royal Canadian Geographical Society Canadian Linguistic Association Covenant Health Egale Canada Société du parler français au Canada Canadian Lesbian and Gay Archives Canadian Library Association Cold Lake First Nations Sisters of the Holy Names of Jesus and Mary Canadian Society of Clinical Chemists Second Chance Animal Rescue Society Literary and Historical Society of Quebec Inuit Tapiriit Kanatami La Belle Province Federation of Quebec Maple Syrup Producers Songwriters Association of Canada Canadian Paper Money Society WWF-Canada ICE Advertisements Toronto and Region Conservation Authority Zulu Records Bar of Montreal Chinese Canadian National Council Lufa Farms Mimic ASCII Gloucester Skating Club A&A Records Camp Massad Aboriginal Multi-Media Society HealthLinkBC Canadian Labour Defence League Canadian Organization for Tropical Education and Research Bonsound Place des Arts The Real News Royal Architectural Institute of Canada
Carlsberg Foundation, NORDUnet and Technoflex International are located in Austria, Denmark and Canada
Carlsberg Foundation NORDUnet Technoflex International
action union
action filter_type
action find_reverse
entity Austria
relation country
type social group
action filter_type
action find_reverse
entity Denmark
relation country
type social group
action filter_type
action find_reverse
entity Canada
relation country
type social group
[{'concept': 'social group'}, 'country', 'Austria'] [{'concept': 'social group'}, 'country', 'Denmark'] [{'concept': 'social group'}, 'country', 'Canada']
SELECT DISTINCT ?f WHERE { { ?f property:country resource:Austria . ?f rdf:type ontology:social_group } UNION { ?f property:country resource:Denmark . ?f rdf:type ontology:social_group } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3480188
P127
Q895526
USER
Which authority organ is the owner of that social group ?
(Q3480188,P127,c(Q895526))
action filter_type
action find
entity Q3480188
relation P127
type Q895526
['Q3480188', 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ?p WHERE { resource:Q3480188 property:P127 ?p . ?p rdf:type ontology:Q895526 }
NORDUnet
action filter_type
action find
entity NORDUnet
relation owned by
type authority organ
['NORDUnet', 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ?p WHERE { resource:NORDUnet property:owned_by ?p . ?p rdf:type ontology:authority_organ }
[]
authority organ
Clarification for simple ques.
Q1043358
SYSTEM
Did you mean Carlsberg Foundation ?
Q1043358 Q3480188 Q21402595
(Q1043358,P127,c(Q895526)) (Q3480188,P127,c(Q895526)) (Q21402595,P127,c(Q895526))
[ANSWER]
['Q1043358', 'P127', {'concept': 'Q895526'}] ['Q3480188', 'P127', {'concept': 'Q895526'}] ['Q21402595', 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ?p WHERE { resource:Q3480188 property:P127 ?p . ?p rdf:type ontology:Q895526 }
Carlsberg Foundation NORDUnet Technoflex International
Did you mean Carlsberg Foundation ?
Carlsberg Foundation
['Carlsberg Foundation', 'owned by', {'concept': 'authority organ'}] ['NORDUnet', 'owned by', {'concept': 'authority organ'}] ['Technoflex International', 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ?p WHERE { resource:NORDUnet property:owned_by ?p . ?p rdf:type ontology:authority_organ }
[]
Simple Question (Coreferenced)
USER
No, I meant NORDUnet. Could you tell me the answer for that?
(Q3480188,P127,c(Q895526))
Q3480188
['Q3480188', 'P127', {'concept': 'Q895526'}]
['NORDUnet', 'owned by', {'concept': 'authority organ'}]
[]
Q7654827
SYSTEM
Swedish Research Council
Q7654827
(Q3480188,P127,c(Q895526))
action filter_type
action find
entity Q3480188
relation P127
type Q895526
[ANSWER] is the owner of that social group
['Q3480188', 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ?p WHERE { resource:Q3480188 property:P127 ?p . ?p rdf:type ontology:Q895526 }
Swedish Research Council
Swedish Research Council is the owner of that social group
Swedish Research Council
action filter_type
action find
entity NORDUnet
relation owned by
type authority organ
['NORDUnet', 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ?p WHERE { resource:NORDUnet property:owned_by ?p . ?p rdf:type ontology:authority_organ }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16
P530
Q1048835 Q15617994
USER
How many political territories or administrative territories have tactful political relations with Canada ?
(c(Q1048835),P530,Q16) (c(Q15617994),P530,Q16)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q16
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', 'Q16'] [{'concept': 'Q15617994'}, 'P530', 'Q16']
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { ?h rdf:type ontology:Q1048835 . ?h property:P530 resource:Q16 } UNION { ?h property:P530 resource:Q16 . ?h rdf:type ontology:Q15617994 } }
Canada
action count
action union
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Canada'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Canada']
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { ?h rdf:type ontology:political_territorial_entity . ?h property:diplomatic_relation resource:Canada } UNION { ?h property:diplomatic_relation resource:Canada . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
42
Q804 Q801 Q843 Q1029 Q183 Q664 Q145 Q229 Q33 Q30 Q36 Q79 Q34 Q928 Q39 Q38 Q878 Q739 Q833 Q711 Q35 Q1030 Q851 Q29999 Q1028 Q77 Q408 Q252 Q159 Q258 Q212 Q230 Q43 Q155 Q218 Q889 Q20 Q953 Q27 Q423 Q115 Q884
(c(Q1048835),P530,Q16) (c(Q15617994),P530,Q16)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q16
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q16'] [{'concept': 'Q15617994'}, 'P530', 'Q16']
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { ?h rdf:type ontology:Q1048835 . ?h property:P530 resource:Q16 } UNION { ?h property:P530 resource:Q16 . ?h rdf:type ontology:Q15617994 } }
Panama Israel Pakistan Mozambique Germany New Zealand United Kingdom Cyprus Finland United States of America Poland Egypt Sweden Philippines Switzerland Italy United Arab Emirates Colombia Malaysia Mongolia Denmark Namibia Saudi Arabia Kingdom of the Netherlands Morocco Uruguay Australia Indonesia Russia South Africa Ukraine Georgia Turkey Brazil Romania Afghanistan Norway Zambia Ireland North Korea Ethiopia South Korea
42
action count
action union
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Canada'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Canada']
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { ?h rdf:type ontology:political_territorial_entity . ?h property:diplomatic_relation resource:Canada } UNION { ?h property:diplomatic_relation resource:Canada . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q2221906 Q1267889 Q1048835
USER
How many political territories are located in around 1 geographic locations or waterways ?
(c(Q1048835),P706,c(Q2221906)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
value 1
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?q WHERE { { ?q property:P706 ?a . ?a rdf:type ontology:Q2221906 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P706 ?a . ?q rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1267889 } } GROUP BY ?q } . FILTER ( ?p = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?q WHERE { { ?q property:located_on_terrain_feature ?a . ?a rdf:type ontology:geographic_location . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:located_on_terrain_feature ?a . ?q rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:waterway } } GROUP BY ?q } . FILTER ( ?p = 1 ) }
[]
geographic location waterway political territorial entity
SYSTEM
17
Q13353 Q6139 Q785 Q904566 Q42314 Q898856 Q168856 Q5785 Q3405693 Q25228 Q202023 Q170213 Q766 Q18221 Q778 Q5700 Q25305
(c(Q1048835),P706,c(Q2221906)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?q WHERE { { ?q property:P706 ?a . ?a rdf:type ontology:Q2221906 . ?q rdf:type ontology:Q1048835 } UNION { ?q property:P706 ?a . ?q rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q1267889 } } GROUP BY ?q } . FILTER ( ?p = 1 ) }
Montserrat Havelland Jersey Brecqhou Channel Islands Jethou Chernivtsi Oblast Cayman Islands Sark Anguilla Herm Zakarpattia Oblast Jamaica Turks and Caicos Islands The Bahamas Lapland British Virgin Islands
17
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?q WHERE { { ?q property:located_on_terrain_feature ?a . ?a rdf:type ontology:geographic_location . ?q rdf:type ontology:political_territorial_entity } UNION { ?q property:located_on_terrain_feature ?a . ?q rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:waterway } } GROUP BY ?q } . FILTER ( ?p = 1 ) }
[]